constants.ts
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: 0
- Other Chains
- Optimism
ONE_BI
- type: BigInt
- value: 1
Referenced at:
- updatePoolDayData()
- updatePoolHourData()
- handlePoolCreated()
- exponentToBigDecimal()
- bigDecimalExponated()
- handleMint()
- handleBurn()
- handleSwap()
TWO_BI
- Arbitrum-One
- Other Chains
The Value is not present in any other chain.
ZERO_BD
- type: BigDecimal
- value: 0
- Other Chains
- Optimism
ONE_BD
- type: BigDecimal
- value: 1
Referenced at:
BI_18
- type: BigInt
- value: 18
factoryContract
An object representing a smart contract based on abis/factory.json
abi, binded to FACTORY_ADDRESS
to query the smart contract data.