Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/mainnet/processors/erc20s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ const simpleTracks: Record<string, Parameters<typeof createERC20SimpleTracker>[0
from: 14439231,
address: tokens.OGV,
},
veOGV: {
from: 15089596,
address: tokens.veOGV,
},
primeETH: {
from: 19138973,
address: tokens.primeETH,
},
}
const tracks: Record<string, Parameters<typeof createERC20Tracker>[0]> = {
// Origin Specific
Expand Down
16 changes: 15 additions & 1 deletion src/ousd/processors/erc20s.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
import * as otoken from '@abi/otoken'
import { createERC20Tracker } from '@templates/erc20'
import { OUSD_VAULT_ADDRESS, ousdStrategyArray, tokens } from '@utils/addresses'
import { OUSD_ADDRESS, OUSD_VAULT_ADDRESS, ousdStrategyArray, tokens } from '@utils/addresses'
import { logFilter } from '@utils/logFilter'

const tracks: Record<string, Parameters<typeof createERC20Tracker>[0]> = {
OUSD: {
from: 10884563, // From Reset:
address: tokens.OUSD,
rebaseFilters: [
logFilter({
address: [OUSD_ADDRESS],
topic0: [otoken.events.TotalSupplyUpdatedHighres.topic],
transaction: true,
range: { from: 10884563 },
}),
],
},
// OUSD Related
USDT: {
// from: 11362821,
Expand Down
2 changes: 2 additions & 0 deletions src/utils/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const OETH_ZAPPER_ADDRESS = '0x9858e47bcbbe6fbac040519b02d7cd4b2c470c66'
export const OETH_DRIPPER_ADDRESS = '0xc0f42f73b8f01849a2dd99753524d4ba14317eb3'
export const WOETH_ADDRESS = '0xdcee70654261af21c44c093c300ed3bb97b78192'
export const WOETH_ARBITRUM_ADDRESS = '0xd8724322f44e5c58d7a815f542036fb17dbbf839'
export const PRIME_ETH_ADDRESS = '0x6ef3d766dfe02dc4bf04aae9122eb9a0ded25615'

export const WETH_ADDRESS = '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
export const STETH_ADDRESS = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
Expand Down Expand Up @@ -92,6 +93,7 @@ export const tokens = {
rETH: RETH_ADDRESS,
frxETH: FRXETH_ADDRESS,
sfrxETH: SFRXETH_ADDRESS,
primeETH: PRIME_ETH_ADDRESS,

// Non-stable
BAL: BAL_ADDRESS,
Expand Down