Skip to main content
Contains all events emitted by the pool

Events

Initialize

Emitted exactly once by a pool when #initialize is first called on the pool Mint/Burn/Swap cannot be emitted by the pool before Initialize

Parameters:

Mint

Emitted when liquidity is minted for a given position

Parameters:

Collect

Emitted when fees are collected by the owner of a position Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees

Parameters:

Burn

Emitted when a position’s liquidity is removed Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect

Parameters:

Swap

Emitted by the pool for any swaps between token0 and token1

Parameters:

Flash

Emitted by the pool for any flashes of token0/token1

Parameters:

IncreaseObservationCardinalityNext

Emitted by the pool for increases to the number of observations that can be stored observationCardinalityNext is not the observation cardinality until an observation is written at the index just before a mint/swap/burn.

Parameters:

SetFeeProtocol

Emitted when the protocol fee is changed by the pool

Parameters:

CollectProtocol

Emitted when the collected protocol fees are withdrawn by the factory owner

Parameters: