PairCreatedevent is emitted. Contracts can be deployed to listen for new pairs on the uTrade V2 IoTeX Factory address.
allPairs(uint)to return the address. The current number, and therefore the total number of LP pools on uTrade V2 ETH, can be accessed using the
getPairfunction returns the address of the pair for tokenA and tokenB.
allPairsfunction returns the address of a pair based on the indexed uint value assigned upon creation of the LP.
allPairs(0)will return the first pair created on uTrade V2 IoTeX.
allPairsLengthfunction returns the current number of pairs.
feeTofunction returns the percentage of trading fees that Unifi Protocol receives.
feeToSetterfunction returns the address to which the
feeTowould send trading fees, if trading fees were collected.
PairCreatedevent is emitted.