1
0
mirror of https://github.com/oceanprotocol/react.git synced 2025-02-14 21:10:38 +01:00

Merge pull request #126 from oceanprotocol/feature/swapfee

liquidityProviderFee → swapFee
This commit is contained in:
Matthias Kretschmann 2020-09-29 13:38:59 +02:00 committed by GitHub
commit 14d0ab3468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}