industryFactory Contract

Read functions

getPair

function getPair(
    address tokenA,
    address tokenB,
    uint24 fee
) external view returns (address pair);

allPairs

function allPairs(uint) external view returns (address pair);

Returns the address of the nth pair (0-indexed) created through the Factory contract.

Returns 0x0000000000000000000000000000000000000000 where pair has not yet been created.

Begins at 0 for first created pair.

allPairsLength

function allPairsLength() external view returns (uint);

Displays the current number of pairs created through the Factory contract as an integer.

feeTo

The address to where non-LP-holder fees are sent.

feeToSetter

The address with permission to set the feeTo address.

feeconstant


Write functions

createPair

setFeeTo

Sets address for feeTo.

setFeeToSetter

Sets address for permission to adjust feeTo.


Last updated