diff --git a/src/constants.ts b/src/constants.ts index 09ad4c35..ae260300 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -61,7 +61,6 @@ export const DEFAULT_STAKING_PROXY_ADDRESS = '0xa26e80e7dea86279c6d778d702cc413e export const V4_CANCEL_EVENT_TOPIC = ['0xa6eb7cdc219e1518ced964e9a34e61d68a94e4f1569db3e84256ba981ba52753']; export const EXPIRED_RFQ_ORDER_EVENT_TOPIC = ['0xd9ee00a67daf7d99c37893015dc900862c9a02650ef2d318697e502e5fb8bbe2']; export const OTC_ORDER_FILLED_EVENT_TOPIC = ['0xac75f773e3a92f1a02b12134d65e1f47f8a14eabe4eaf1e24624918e6a8b269f']; -export const ERC20_TRANSFER_EVENT_TOPIC = ['0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef']; export const UNISWAP_V2_PAIR_CREATED_TOPIC = ['0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9']; export const UNISWAP_V2_SYNC_TOPIC = ['0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1']; diff --git a/src/events.ts b/src/events.ts index 6c82dafb..de309fd5 100644 --- a/src/events.ts +++ b/src/events.ts @@ -101,7 +101,6 @@ import { STAKING_EPOCH_ENDED_TOPIC, STAKING_EPOCH_FINALIZED_TOPIC, STAKING_REWARDS_PAID_TOPIC, - ERC20_TRANSFER_EVENT_TOPIC, } from './constants'; import { Web3Source } from './data_sources/events/web3'; import { @@ -772,7 +771,7 @@ export const eventScrperProps: EventScraperProps[] = [ name: 'ERC20TransferEvent', tType: ERC20TransferEvent, table: 'erc20_transfer_events', - topics: ERC20_TRANSFER_EVENT_TOPIC, + topics: [TRANSFER_EVENT_TOPIC_0], contractAddress: null, startBlock: FLASHWALLET_DEPLOYMENT_BLOCK, parser: parseERC20TransferEvent,