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:
parent
e1c7eeb6ba
commit
6d85b467c3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user