mirror of
https://github.com/oceanprotocol/react.git
synced 2024-12-22 17:23:32 +01:00
Merge branch 'feature/fixedPrice' of https://github.com/oceanprotocol/react into feature/fixedPrice
This commit is contained in:
commit
b30c10bd3f
@ -36,7 +36,7 @@ export function Publish() {
|
||||
const priceOptions = {
|
||||
price: 10,
|
||||
tokensToMint: 10,
|
||||
type: 'simple',
|
||||
type: 'fixed',
|
||||
weightOnDataToken: '',
|
||||
liquidityProviderFee: ''
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ function usePublish(): UsePublish {
|
||||
/**
|
||||
* Publish an asset.It also creates the datatoken, mints tokens and gives the market allowance
|
||||
* @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 {string} mpAddress The address of the market
|
||||
* @param {string} mpFee The fee of the market
|
||||
|
Loading…
Reference in New Issue
Block a user