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,
|
||||
type: 'fixed',
|
||||
weightOnDataToken: '',
|
||||
liquidityProviderFee: ''
|
||||
swapFee: ''
|
||||
}
|
||||
|
||||
const ddo = await publish(asset as Metadata, priceOptions, 'access')
|
||||
|
@ -3,5 +3,5 @@ export interface PriceOptions {
|
||||
tokensToMint: number
|
||||
type: 'fixed' | 'dynamic' | string
|
||||
weightOnDataToken: string
|
||||
liquidityProviderFee: string
|
||||
swapFee: string
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ export default function MyComponent() {
|
||||
tokensToMint: 10,
|
||||
type: 'fixed',
|
||||
weightOnDataToken: '',
|
||||
liquidityProviderFee: ''
|
||||
swapFee: ''
|
||||
}
|
||||
|
||||
async function handlePublish() {
|
||||
|
@ -54,7 +54,7 @@ function usePublish(): UsePublish {
|
||||
dataTokenAddress,
|
||||
priceOptions.tokensToMint.toString(),
|
||||
priceOptions.weightOnDataToken,
|
||||
priceOptions.liquidityProviderFee
|
||||
priceOptions.swapFee
|
||||
)
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user