Skip to main content

IButtonswapPairEvents

Inherits: IButtonswapERC20Events

Events

Mint

Emitted when a {IButtonswapPair-mint} is performed. Some token0 and token1 are deposited in exchange for liquidity tokens representing a claim on them.

event Mint(address indexed from, uint256 amount0, uint256 amount1, uint256 amountOut, address indexed to);

Burn

Emitted when a {IButtonswapPair-burn} is performed. Liquidity tokens are redeemed for underlying token0 and token1.

event Burn(address indexed from, uint256 amountIn, uint256 amount0, uint256 amount1, address indexed to);

Swap

Emitted when a {IButtonswapPair-swap} is performed.

event Swap(
address indexed from,
uint256 amount0In,
uint256 amount1In,
uint256 amount0Out,
uint256 amount1Out,
address indexed to
);

MovingAverageWindowUpdated

Emitted when the movingAverageWindow parameter for the pair has been updated.

event MovingAverageWindowUpdated(uint32 newMovingAverageWindow);

MaxVolatilityBpsUpdated

Emitted when the maxVolatilityBps parameter for the pair has been updated.

event MaxVolatilityBpsUpdated(uint16 newMaxVolatilityBps);

MinTimelockDurationUpdated

Emitted when the minTimelockDuration parameter for the pair has been updated.

event MinTimelockDurationUpdated(uint32 newMinTimelockDuration);

MaxTimelockDurationUpdated

Emitted when the maxTimelockDuration parameter for the pair has been updated.

event MaxTimelockDurationUpdated(uint32 newMaxTimelockDuration);

MaxSwappableReservoirLimitBpsUpdated

Emitted when the maxSwappableReservoirLimitBps parameter for the pair has been updated.

event MaxSwappableReservoirLimitBpsUpdated(uint16 newMaxSwappableReservoirLimitBps);

SwappableReservoirGrowthWindowUpdated

Emitted when the swappableReservoirGrowthWindow parameter for the pair has been updated.

event SwappableReservoirGrowthWindowUpdated(uint32 newSwappableReservoirGrowthWindow);