Search…
About Bancor Network
Bancor V3
Bancor Basics
Resources for DAOs
Security & Audits
Contracts & Functions
Contracts
Write Functions
Read Functions
Data & Events
General Data
Trading Data
Liquidity Data
TotalLiquidityUpdated()
TradingLiquidityUpdated()
TokensDeposited()
TokensWithdrawn()
WithdrawalInitiated()
WithdrawalCancelled()
WithdrawalCompleted()
LockDurationUpdated()
Cross AMM Migration Data
Flashloan Data
Rewards
Developer Guides
Bancor Vortex Burner
Bancor Etherscan Guide
REST API
Marketing
Brand Guide
Powered By
GitBook
TokensDeposited()
event TokensDeposited()
This event is emitted when tokens are deposited into Bancor liquidity pools.
event
TokensDeposited
(
bytes32 indexed contextId
,
address indexed provider
,
Token indexed token
,
uint256 tokenAmount
,
uint256 poolTokenAmount
);
Parameter Name
Type
Description
contextId
bytes32
Unique identifier for the specific transaction (can be used for grouping multiple events)
provider
address
The address that deposited
token
token
The address of the deposited token
tokenAmount
unit256
The number of tokens deposited into the pool
poolTokenAmount
unit256
The number of Bancor pool tokens (bnTokens) received
Uses
This event can be used to:
Monitor deposits
Triggered By
This event is triggered by the following functions:
deposit()
depositPermitted()
depositFor()
depositForPermitted()
Previous
TradingLiquidityUpdated()
Next
TokensWithdrawn()
Last modified
2mo ago
Copy link
Outline
event TokensDeposited()
Uses
Triggered By