isPoolStable()

This function is in the BancorNetworkInfo.sol contract.

Function isPoolStable()

BancorNetworkInfo.sol
function isPoolStable(Token pool) external view returns (bool);

This function is used to determine if it's currently possible to withdraw from a liquidity pool.

When pools experience significant volatility, withdrawals are temporarily disabled. This is typically resolved in a short amount of time.

Function Arguments

NameTypeDescription

pool

Token

The contract address of the token. For example, DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F

Return Variables

This function returns true or false to indicate if it's currently possible to withdraw from the given pool.

Variable TypeReturns

boolean

True: Withdrawals are possible. False: Withdrawals are not currently possible.

Last updated