Skip to content

Commit

Permalink
Reuses existing Transfer event function signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrés Elizondo committed May 29, 2024
1 parent 7bdb072 commit b4fb4ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
3 changes: 1 addition & 2 deletions src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b4fb4ca

Please sign in to comment.