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

Update Pool.ts

This commit is contained in:
Alex Coseru 2020-10-05 23:24:56 +03:00 committed by GitHub
parent e1c7eeb6ba
commit 6d85b467c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ export class Pool extends PoolFactory {
* Set pool fee
* @param {String} account
* @param {String} poolAddress
* @param {String} fee (will be converted to wei)
* @param {String} fee 0.1=10% fee(max allowed)
*/
async setSwapFee(
account: string,
@ -398,7 +398,7 @@ export class Pool extends PoolFactory {
/**
* Get pool fee
* @param {String} poolAddress
* @return {String} Swap fee in wei
* @return {String} Swap fee (0.1=10% fee)
*/
async getSwapFee(poolAddress: string): Promise<string> {
const pool = new this.web3.eth.Contract(this.poolABI, poolAddress)