For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Name
Type
Description

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 Type
Returns

boolean

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

Last updated