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

Merge branch 'feature/fixedPrice' of https://github.com/oceanprotocol/react into feature/fixedPrice

This commit is contained in:
mihaisc 2020-09-07 15:48:14 +03:00
commit b30c10bd3f
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ export function Publish() {
const priceOptions = { const priceOptions = {
price: 10, price: 10,
tokensToMint: 10, tokensToMint: 10,
type: 'simple', type: 'fixed',
weightOnDataToken: '', weightOnDataToken: '',
liquidityProviderFee: '' liquidityProviderFee: ''
} }

View File

@ -40,7 +40,7 @@ function usePublish(): UsePublish {
/** /**
* Publish an asset.It also creates the datatoken, mints tokens and gives the market allowance * Publish an asset.It also creates the datatoken, mints tokens and gives the market allowance
* @param {Metadata} asset The metadata of the asset. * @param {Metadata} asset The metadata of the asset.
* @param {PriceOptions} priceOptions : number of tokens to mint, datatoken weight , liquidity fee, type : simple, advanced * @param {PriceOptions} priceOptions : number of tokens to mint, datatoken weight , liquidity fee, type : fixed, dynamic
* @param {ServiceType} serviceType Desired service type of the asset access or compute * @param {ServiceType} serviceType Desired service type of the asset access or compute
* @param {string} mpAddress The address of the market * @param {string} mpAddress The address of the market
* @param {string} mpFee The fee of the market * @param {string} mpFee The fee of the market