1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-22 17:23:32 +01:00

liquidityProviderFee → swapFee

This commit is contained in:
Matthias Kretschmann 2020-09-28 15:46:04 +00:00
parent 3e75d06f3b
commit b8d1885d4c
4 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ export function Publish() {
tokensToMint: 10,
type: 'fixed',
weightOnDataToken: '',
liquidityProviderFee: ''
swapFee: ''
}
const ddo = await publish(asset as Metadata, priceOptions, 'access')

View File

@ -3,5 +3,5 @@ export interface PriceOptions {
tokensToMint: number
type: 'fixed' | 'dynamic' | string
weightOnDataToken: string
liquidityProviderFee: string
swapFee: string
}

View File

@ -29,7 +29,7 @@ export default function MyComponent() {
tokensToMint: 10,
type: 'fixed',
weightOnDataToken: '',
liquidityProviderFee: ''
swapFee: ''
}
async function handlePublish() {

View File

@ -54,7 +54,7 @@ function usePublish(): UsePublish {
dataTokenAddress,
priceOptions.tokensToMint.toString(),
priceOptions.weightOnDataToken,
priceOptions.liquidityProviderFee
priceOptions.swapFee
)
break
}