deposit()
Deposit tokens for ownership in a liquidity pool
Last updated
Deposit tokens for ownership in a liquidity pool
Last updated
Some pools might be in deficit which might effect the ability to withdraw the full amount you have deposited ().
deposit
is a function that allows you to deposit tokens into a Bancor liquidity pool.
pool
Token
The address of the token deposited into the pool
tokenAmount
uint256
The amount to deposit
Bancor v3 use the Token address to indicate the pool mapping. Meaning, when asked to provide a pool
address, you can use the token
address.
When you deposit
BNT into the Bancor pool, you will receive vBNT equal to the number of pool tokens.
Bancor v3 supports infinity pools and deposits as a result. However, the trading liquidity is limited based on the poolFundingLimit()
function.
See for a list of common errors and how to resolve them.