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

Update src/balancer/Pool.ts

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
This commit is contained in:
Alex Coseru 2020-10-05 23:33:17 +03:00 committed by GitHub
parent 66f320600c
commit 7f48fe2ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -398,7 +398,7 @@ export class Pool extends PoolFactory {
/**
* Get pool fee
* @param {String} poolAddress
* @return {String} Swap fee (0.1=10% fee)
* @return {String} Swap fee. To get the percentage value, substract by 100. E.g. `0.1` represents a 10% swap fee.
*/
async getSwapFee(poolAddress: string): Promise<string> {
const pool = new this.web3.eth.Contract(this.poolABI, poolAddress)