|
| 1 | +import { Address, BigDecimal, BigInt } from '@graphprotocol/graph-ts' |
| 2 | + |
| 3 | +const PATHUSD = '0x20C0000000000000000000000000000000000000'.toLowerCase() |
| 4 | +const USDT0 = '0x20c00000000000000000000014f22ca97301eb73'.toLowerCase() |
| 5 | +const USDCE = '0x20C000000000000000000000b9537d11c60E8b50'.toLowerCase() |
| 6 | +const EURC = '0x20c0000000000000000000001621e21F71CF12fb'.toLowerCase() |
| 7 | + |
| 8 | +const PATHUSD_USDC_POOL = '0x704214be4982ccec66c5d538f2721085414320ee'.toLowerCase() |
| 9 | + |
| 10 | +export const FACTORY_ADDRESS = '0x24a3d4757e330890a8b8978028c9e58e04611fd6' |
| 11 | + |
| 12 | +export const REFERENCE_TOKEN = PATHUSD |
| 13 | +export const STABLE_TOKEN_POOL = PATHUSD_USDC_POOL |
| 14 | + |
| 15 | +export const TVL_MULTIPLIER_THRESHOLD = '2' |
| 16 | +export const MATURE_MARKET = '1000000' |
| 17 | +export const MINIMUM_NATIVE_LOCKED = BigDecimal.fromString('2000') |
| 18 | + |
| 19 | +export const ROLL_DELETE_HOUR = 768 |
| 20 | +export const ROLL_DELETE_MINUTE = 1680 |
| 21 | + |
| 22 | +export const ROLL_DELETE_HOUR_LIMITER = BigInt.fromI32(500) |
| 23 | +export const ROLL_DELETE_MINUTE_LIMITER = BigInt.fromI32(1000) |
| 24 | + |
| 25 | +// token where amounts should contribute to tracked volume and liquidity |
| 26 | +// usually tokens that many tokens are paired with s |
| 27 | +export const WHITELIST_TOKENS: string[] = [PATHUSD, USDT0, USDCE, EURC] |
| 28 | + |
| 29 | +export const STABLE_COINS: string[] = [PATHUSD, USDT0, USDCE] |
| 30 | + |
| 31 | +export const SKIP_POOLS: string[] = [] |
| 32 | + |
| 33 | +export const POOL_MAPINGS: Array<Address[]> = [] |
| 34 | + |
| 35 | +export class TokenDefinition { |
| 36 | + address: Address |
| 37 | + symbol: string |
| 38 | + name: string |
| 39 | + decimals: BigInt |
| 40 | +} |
| 41 | + |
| 42 | +export const STATIC_TOKEN_DEFINITIONS: TokenDefinition[] = [] |
0 commit comments