Skip to main content

IButtonswapFactoryEvents

Events

PairCreated

Emitted when a new Pair is created.

event PairCreated(address indexed token0, address indexed token1, address pair, uint256 count);

DefaultParametersUpdated

Emitted when the default parameters for a new pair have been updated.

event DefaultParametersUpdated(
address indexed paramSetter,
uint32 newDefaultMovingAverageWindow,
uint16 newDefaultMaxVolatilityBps,
uint32 newDefaultMinTimelockDuration,
uint32 newDefaultMaxTimelockDuration,
uint16 newDefaultMaxSwappableReservoirLimitBps,
uint32 newDefaultSwappableReservoirGrowthWindow
);