TradingLiquidityUpdated()
Last updated
Last updated
This event is triggered by changes in the amount of available trading liquidity, including trades, deposits, and withdrawals.
This event is typically emitted twice to indicate the change in both TOKEN and BNT trade liquidity
Parameter Name | Type | Description |
---|---|---|
This event can be used to:
Monitor changes in liquidity pools
Monitor the amount of liquidity in pools
This event is triggered by the following functions:
trade()
deposit()
depositPermitted()
depositFor()
depositForPermitted()
withdraw()
contextId
bytes32
Unique identifier for the specific transaction (can be used for grouping multiple events)
pool
Token
The address of the Bancor pool token (bnToken)
token
Token
The address of the token
prevLiquidity
unit256
The total number of tokens in the liquidity pool before the transaction
newLiquidity
unit256
The total number of tokens in the liquidity pool after the transaction