mirror of
https://github.com/oceanprotocol/react.git
synced 2024-12-23 01:29:49 +01:00
liquidityProviderFee → swapFee
This commit is contained in:
parent
3e75d06f3b
commit
b8d1885d4c
@ -36,7 +36,7 @@ export function Publish() {
|
|||||||
tokensToMint: 10,
|
tokensToMint: 10,
|
||||||
type: 'fixed',
|
type: 'fixed',
|
||||||
weightOnDataToken: '',
|
weightOnDataToken: '',
|
||||||
liquidityProviderFee: ''
|
swapFee: ''
|
||||||
}
|
}
|
||||||
|
|
||||||
const ddo = await publish(asset as Metadata, priceOptions, 'access')
|
const ddo = await publish(asset as Metadata, priceOptions, 'access')
|
||||||
|
@ -3,5 +3,5 @@ export interface PriceOptions {
|
|||||||
tokensToMint: number
|
tokensToMint: number
|
||||||
type: 'fixed' | 'dynamic' | string
|
type: 'fixed' | 'dynamic' | string
|
||||||
weightOnDataToken: string
|
weightOnDataToken: string
|
||||||
liquidityProviderFee: string
|
swapFee: string
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ export default function MyComponent() {
|
|||||||
tokensToMint: 10,
|
tokensToMint: 10,
|
||||||
type: 'fixed',
|
type: 'fixed',
|
||||||
weightOnDataToken: '',
|
weightOnDataToken: '',
|
||||||
liquidityProviderFee: ''
|
swapFee: ''
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handlePublish() {
|
async function handlePublish() {
|
||||||
|
@ -54,7 +54,7 @@ function usePublish(): UsePublish {
|
|||||||
dataTokenAddress,
|
dataTokenAddress,
|
||||||
priceOptions.tokensToMint.toString(),
|
priceOptions.tokensToMint.toString(),
|
||||||
priceOptions.weightOnDataToken,
|
priceOptions.weightOnDataToken,
|
||||||
priceOptions.liquidityProviderFee
|
priceOptions.swapFee
|
||||||
)
|
)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user