V3Factory

This contract deploys V3 pools and manages ownership and control over pool protocol fees

Code

Github Link: (Will be updated after official launch)

Address

Events, Read-Only Functions, and State-Changing Functions

Events

PoolCreated

event PoolCreated(
    address indexed token0,
    address indexed token1,
    uint24 indexed fee,
    int24 tickSpacing,
    address pool,
    uint256 exid
)

Emitted when a pool is created

Parameters:

NameTypeDescription

token0

address

The first token of the pool by address sort order

token1

address

The second token of the pool by address sort order

fee

uint24

The fee collected upon every swap in the pool, denominated in hundredths of a bip

tickSpacing

int24

The minimum number of ticks between initialized ticks

pool

address

The address of the created pool

FeeAmountEnabled

event FeeAmountEnabled(
    uint24 fee,
    int24 tickSpacing
)

Emitted when a new fee amount is enabled for pool creation via the factory

Parameters:

NameTypeDescription

fee

uint24

The enabled fee, denominated in hundredths of a bip

tickSpacing

int24

The minimum number of ticks between initialized ticks for pools created with the given fee

Last updated