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

Update src/hooks/usePublish/usePublish.ts

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
This commit is contained in:
mihaisc 2020-09-07 15:28:46 +03:00 committed by GitHub
parent 6311d59cbb
commit 4b08d67fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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