Skip to content

Commit

Permalink
Revert "Removes zid filters for wraps/unwraps and ERC20 transfers."
Browse files Browse the repository at this point in the history
This reverts commit 26039ed.
  • Loading branch information
Andrés Elizondo committed Aug 8, 2024
1 parent 26039ed commit 586c903
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ export const eventScrperProps: EventScraperProps[] = [
contractAddress: WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS,
startBlock: WRAP_UNWRAP_NATIVE_START_BLOCK,
parser: parseWrapNativeEvent,

filterFunction: filterWrapUnwrapEvents,
filterFunctionGetContext: filterWrapUnwrapEventsGetContext,
},
{
enabled: FEAT_WRAP_UNWRAP_NATIVE_EVENT,
Expand All @@ -603,7 +604,8 @@ export const eventScrperProps: EventScraperProps[] = [
contractAddress: WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS,
startBlock: WRAP_UNWRAP_NATIVE_START_BLOCK,
parser: parseUnwrapNativeEvent,

filterFunction: filterWrapUnwrapEvents,
filterFunctionGetContext: filterWrapUnwrapEventsGetContext,
},
{
enabled: FEAT_WRAP_UNWRAP_NATIVE_TRANSFER_EVENT,
Expand All @@ -614,7 +616,8 @@ export const eventScrperProps: EventScraperProps[] = [
contractAddress: WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS,
startBlock: WRAP_UNWRAP_NATIVE_START_BLOCK,
parser: parseWrapNativeTransferEvent,

filterFunction: filterWrapUnwrapEvents,
filterFunctionGetContext: filterWrapUnwrapEventsGetContext,
},
{
enabled: FEAT_WRAP_UNWRAP_NATIVE_TRANSFER_EVENT,
Expand All @@ -625,7 +628,8 @@ export const eventScrperProps: EventScraperProps[] = [
contractAddress: WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS,
startBlock: WRAP_UNWRAP_NATIVE_START_BLOCK,
parser: parseUnwrapNativeTransferEvent,

filterFunction: filterWrapUnwrapEvents,
filterFunctionGetContext: filterWrapUnwrapEventsGetContext,
},
{
enabled: FEAT_SOCKET_BRIDGE_EVENT,
Expand Down Expand Up @@ -790,6 +794,8 @@ export const eventScrperProps: EventScraperProps[] = [
contractAddress: null,
startBlock: SETTLER_DEPLOYMENT_BLOCK,
parser: parseERC20TransferEvent,
filterFunction: filterERC20TransferEvents,
filterFunctionGetContext: filterERC20TransferEventsGetContext,
},
{
enabled: FEAT_SETTLER_ERC721_TRANSFER_EVENT,
Expand Down

0 comments on commit 586c903

Please sign in to comment.