pairs()

CarbonController.sol
    function pairs() external view returns (Token[2][] memory)

This function returns a list of all initialized token pairs.

Example

// Returns:
[
[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0x514910771AF9Ca656af840dff83E8264EcF986CA],  
[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C]
]

For the ETH token, use the contract address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE

Last updated