Skip to main content

IPoolEvents

Git Source Inherits: CommonEvents any change in this interface most likely means a breaking change with monitoring services events for the pool contract

Events

LiquidityXTokenAdded

event LiquidityXTokenAdded(address indexed _token, uint256 amount);

PoolClosed

event PoolClosed(uint256 indexed amountOutTokenX, uint256 indexed amountOutTokenY);

Swap

event Swap(address indexed _tokenIn, uint256 indexed _amountIn, uint256 indexed _amountOut, uint256 _minOut);

LPFeeSet

event LPFeeSet(uint16 indexed _fee);

LPFeeGenerated

event LPFeeGenerated(uint256 indexed _amount);

ProtocolFeeGenerated

event ProtocolFeeGenerated(uint256 indexed _amount);

LPFeesCollected

event LPFeesCollected(address indexed _collector, uint256 indexed _amount);

ProtocolFeesCollected

event ProtocolFeesCollected(address indexed _collector, uint256 indexed _amount);

RevenueWithdrawn

event RevenueWithdrawn(address indexed _collector, uint256 indexed _amount);

CumulativePriceUpdated

event CumulativePriceUpdated(uint256 indexed blockTimestamp, uint256 cumulativePrice);