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

depositingEnabled()

This function is in the BancorNetworkInfo.sol contract.

Function depositingEnabled()

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

This function is used to determine if deposits are enabled for a specific token.

Function Arguments

Name
Type
Description

pool

Token

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

Return Variables

This function returns true or false to indicate if pool deposits are enabled.

Variable Type
Returns

boolean

True: Deposits are enabled for the specified token. False: Deposits are disabled for the specified token.

Last updated