constants.ts
Last modified:
path: /src/utils/constants.ts
ADDRESS_ZERO
- type: String
- value: '0x0000000000000000000000000000000000000000'Represents the null address in ethereum.
Referenced at:
FACTORY_ADDRESS
- type: String
- value: '0x1F98431c8aD98523631AE4a59f267346ea31F984'Referenced at:
ZERO_BI
- type: BigInt
- value: 0Other Chains
Referenced at:
- updatePoolDayData()
- updatePoolHourData()
- findEthPerToken()
- handlePoolCreated()
- exponentToBigDecimal()
- bigDecimalExponated()
- tokenAmountToDecimal()
- priceToDecimal()
- convertTokenToDecimal()
- createTick()
- getPosition()
- handleSwap()
Optimism
Additionally Invoked At:
ONE_BI
- type: BigInt
- value: 1Referenced at:
- updatePoolDayData()
- updatePoolHourData()
- handlePoolCreated()
- exponentToBigDecimal()
- bigDecimalExponated()
- handleMint()
- handleBurn()
- handleSwap()
TWO_BI
Arbitrum-One
- type: BigInt
- value: 2Referenced at:
Other Chains
The Value is not present in any other chain.
ZERO_BD
- type: BigDecimal
- value: 0Other Chains
Referenced at:
- updatePoolDayData()
- updatePoolHourData()
- updateTokenDayData()
- updateTokenHourData()
- updateCenturionDayData()
- findEthPerToken()
- getTrackedAmountUSD()
- handlePoolCreated()
- safeDiv()
- equalToZero()
- createTick()
- getPosition()
- handleSwap()
Optimism
Additionally Invoked At:
ONE_BD
- type: BigDecimal
- value: 1Referenced at:
BI_18
- type: BigInt
- value: 18factoryContract
An object representing a smart contract based on abis/factory.json abi, binded to FACTORY_ADDRESS to query the smart contract data.