Skip to content

Commit

Permalink
remove dupe
Browse files Browse the repository at this point in the history
  • Loading branch information
mzywang committed Apr 25, 2024
1 parent 3b4a84e commit d7f3f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/mappings/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function handlePoolCreated(event: PoolCreated): void {
bundle.ethPriceUSD = ZERO_BD
bundle.save()

// on factory creation, create the inital pools from pre-regenesis
populateEmptyPools(event)
}

Expand Down
8 changes: 3 additions & 5 deletions src/utils/pricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ import { ONE_BD, ZERO_BD, ZERO_BI } from './constants'
const WETH_ADDRESS = '0x4200000000000000000000000000000000000006'
const DAI_WETH_03_POOL = '0x03af20bdaaffb4cc0a521796a223f7d85e2aac31'

const DAI_ADDRESS = '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' // DAI
const USDC_ADDRESS = '0x7f5c764cbc14f9669b88837ca1490cca17c31607' // USDC
const USDT_ADDRESS = '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58' // USDT

const USDC_ADDRESS = '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
const DAI_ADDRESS = '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1'
const USDC_ADDRESS = '0x7f5c764cbc14f9669b88837ca1490cca17c31607'
const USDT_ADDRESS = '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58'

// token where amounts should contribute to tracked volume and liquidity
// usually tokens that many tokens are paired with
Expand Down

0 comments on commit d7f3f87

Please sign in to comment.