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:
parent
66f320600c
commit
7f48fe2ccb
@ -398,7 +398,7 @@ export class Pool extends PoolFactory {
|
|||||||
/**
|
/**
|
||||||
* Get pool fee
|
* Get pool fee
|
||||||
* @param {String} poolAddress
|
* @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> {
|
async getSwapFee(poolAddress: string): Promise<string> {
|
||||||
const pool = new this.web3.eth.Contract(this.poolABI, poolAddress)
|
const pool = new this.web3.eth.Contract(this.poolABI, poolAddress)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user