ICronV1PoolFactory

CronV1PoolCreated

event CronV1PoolCreated(address pool, address token0, address token1, enum ICronV1PoolEnums.PoolType poolType)

This event tracks pool creations from this factory

Parameters

CronV1PoolSet

event CronV1PoolSet(address pool, address token0, address token1, enum ICronV1PoolEnums.PoolType poolType)

This event tracks pool being set from this factory

Parameters

CronV1PoolRemoved

event CronV1PoolRemoved(address pool, address token0, address token1, enum ICronV1PoolEnums.PoolType poolType)

This event tracks pool deletions from this factory

Parameters

OwnerChanged

event OwnerChanged(address oldAdmin, address newAdmin)

This event tracks pool creations from this factory

Parameters

create

function create(address _token0, address _token1, string _name, string _symbol, uint256 _poolType) external returns (address)

set

function set(address _token0, address _token1, uint256 _poolType, address _pool) external

remove

function remove(address _token0, address _token1, uint256 _poolType) external

transferOwnership

function transferOwnership(address _newOwner, bool _direct, bool _renounce) external

claimOwnership

function claimOwnership() external

owner

function owner() external view returns (address)

pendingOwner

function pendingOwner() external view returns (address)

getPool

function getPool(address _token0, address _token1, uint256 _poolType) external view returns (address pool)

Last updated