Skip to content

Commit

Permalink
Removes zid filters for wraps/unwraps and ERC20 transfers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrés Elizondo committed Jul 19, 2024
1 parent dc2ff3d commit 26039ed
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,7 @@ 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 @@ -604,8 +603,7 @@ 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 @@ -616,8 +614,7 @@ 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 @@ -628,8 +625,7 @@ 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 @@ -794,8 +790,6 @@ 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 26039ed

Please sign in to comment.