From 26039edbd397e83410f40f193f536c95958a5b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Elizondo?= Date: Fri, 19 Jul 2024 11:23:20 -0600 Subject: [PATCH] Removes zid filters for wraps/unwraps and ERC20 transfers. --- src/events.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/events.ts b/src/events.ts index 4754a216..ac367b0c 100644 --- a/src/events.ts +++ b/src/events.ts @@ -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, @@ -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, @@ -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, @@ -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, @@ -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,