Versions in this module Expand all Collapse all v0 v0.1.2 Oct 9, 2021 Changes in this version + const Decimals18 + const Univ2Name + const Univ2Symbol + var B100 = big.NewInt(100) + var B1000 = big.NewInt(1000) + var B997 = big.NewInt(9975) + var FactoryAddress = common.HexToAddress("0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73") + var Five = big.NewInt(5) + var InitCodeHash = common.FromHex("0x00fb7f630766e6a796048ea87d01acd3068e8ff67d078148a3fa3f4a84f69bd5") + var MinimumLiquidity = big.NewInt(1000) + var One = big.NewInt(1) + var SolidityTypeMaxima = map[SolidityType]*big.Int + var Ten = big.NewInt(10) + var Three = big.NewInt(3) + var Two = big.NewInt(2) + var Zero = big.NewInt(0) + type ChainID int + const Mainnet + const Testnet + func (i ChainID) String() string + type Rounding int + const RoundDown + const RoundHalfUp + const RoundUp + func (r Rounding) Valid() bool + type SolidityType string + const Uint256 + const Uint8 + type TradeType int + const ExactInput + const ExactOutput