1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

update method docs

This commit is contained in:
ssallam 2020-08-27 09:46:54 +02:00
parent d47a9f02a6
commit 7078113110
2 changed files with 10 additions and 10 deletions

View File

@ -29,7 +29,7 @@ export class OceanPool extends Pool {
* @param {String} token DataToken address
* @param {String} amount DataToken amount
* @param {String} weight DataToken weight
* @param {String} fee Swap fee in Wei
* @param {String} fee Swap fee (as float)
* @return {String}
*/
public async createDTPool(

View File

@ -39,15 +39,15 @@ export class Pool extends PoolFactory {
* Setup a new pool by setting datatoken, base token, swap fee and
* finalizing the pool to make it public.
*
* @param account
* @param poolAddress
* @param dataToken
* @param dataTokenAmount
* @param dataTokenWeight
* @param baseToken
* @param baseTokenAmount
* @param baseTokenWeight
* @param swapFee
* @param {String} account ethereum address to use for sending this transaction
* @param {String} poolAddress address of new Balancer Pool
* @param {String} dataToken address of datatoken ERC20 contract
* @param {String} dataTokenAmount in wei
* @param {String} dataTokenWeight in wei
* @param {String} baseToken address of base token ERC20 contract
* @param {String} baseTokenAmount in wei
* @param {String} baseTokenWeight in wei
* @param {String} swapFee in wei
*/
async setup(
account: string,