Documentation ¶
Index ¶
Constants ¶
View Source
const PoolInitCodeHash = "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
Variables ¶
View Source
var ( FactoryAddress = common.HexToAddress("0x1F98431c8aD98523631AE4a59f267346ea31F984") AddressZero = common.HexToAddress("0x0000000000000000000000000000000000000000") )
View Source
var ( NegativeOne = big.NewInt(-1) Zero = big.NewInt(0) One = big.NewInt(1) // used in liquidity amount math Q96 = new(big.Int).Exp(big.NewInt(2), big.NewInt(96), nil) Q192 = new(big.Int).Exp(Q96, big.NewInt(2), nil) PercentZero = entities.NewFraction(big.NewInt(0), big.NewInt(1)) )
View Source
var TickSpacings = map[FeeAmount]int{ F100: 1, F400: 8, F500: 10, F1500: 30, F2500: 50, F3000: 60, F10000: 200, F50000: 1000, F100000: 2000, }
The default factory tick spacings by fee amount.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.