-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
151 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
/* eslint-disable prefer-const */ | ||
import { Address, BigDecimal, BigInt } from '@graphprotocol/graph-ts' | ||
|
||
import { Factory as FactoryContract } from '../types/templates/Pool/Factory' | ||
|
||
export const ADDRESS_ZERO = '0x0000000000000000000000000000000000000000' | ||
export const FACTORY_ADDRESS = '0x1F98431c8aD98523631AE4a59f267346ea31F984' | ||
|
||
export let ZERO_BI = BigInt.fromI32(0) | ||
export let ONE_BI = BigInt.fromI32(1) | ||
export let ZERO_BD = BigDecimal.fromString('0') | ||
export let ONE_BD = BigDecimal.fromString('1') | ||
export let BI_18 = BigInt.fromI32(18) | ||
export const ZERO_BI = BigInt.fromI32(0) | ||
export const ONE_BI = BigInt.fromI32(1) | ||
export const ZERO_BD = BigDecimal.fromString('0') | ||
export const ONE_BD = BigDecimal.fromString('1') | ||
export const BI_18 = BigInt.fromI32(18) | ||
|
||
export let factoryContract = FactoryContract.bind(Address.fromString(FACTORY_ADDRESS)) | ||
export const factoryContract = FactoryContract.bind(Address.fromString(FACTORY_ADDRESS)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.