Factory

The Factory smart contract oversees the full functionality of token pair registration and transactions in MESHswap.

Address

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

Events

ChangeCreateFee

event ChangeCreateFee(uint _createFee);
  • An event to change the Pool Contract Creation Fee when adding a new liquidity pool pair

CreatePool

event CreatePool(address token0, uint amount0, address token1, uint amount1, uint fee, address exchange, uint exid);
  • Event to create new liquidity pool

  • parameters

    • token0 : token0 address in pair

    • amount0 : token0 amount in pool

    • token1 : token1 address in pair

    • amount1 : token1 amount in pool

    • fee : pool fee rate

    • exchange : exchange contract address of this pool

    • exid : exchange id

Last updated