TradingLiquidityUpdated()

event TradingLiquidityUpdated()

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

event TradingLiquidityUpdated(
    bytes32 indexed contextId,
    Token indexed pool,
    Token indexed token,
    uint256 prevLiquidity,
    uint256 newLiquidity
);

Uses

This event can be used to:

  • Monitor changes in liquidity pools

  • Monitor the amount of liquidity in pools

Triggered By

This event is triggered by the following functions:

  • trade()

  • deposit()

  • depositPermitted()

  • depositFor()

  • depositForPermitted()

  • withdraw()

Last updated