From 26e20e38695c4f05cac09f87fda27d16e7b25075 Mon Sep 17 00:00:00 2001 From: Nicholas Welch Date: Fri, 10 May 2024 11:24:01 +1000 Subject: [PATCH 1/2] TEMP: focus the pol to ETH only temp solve multicall --- fastlane_bot/events/pools/bancor_pol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane_bot/events/pools/bancor_pol.py b/fastlane_bot/events/pools/bancor_pol.py index 12acc7b95..58e58bc83 100644 --- a/fastlane_bot/events/pools/bancor_pol.py +++ b/fastlane_bot/events/pools/bancor_pol.py @@ -58,7 +58,7 @@ def event_matches_format( """ event_args = event["args"] - return "token" in event_args and "token0" not in event_args + return ("token" in event_args) and ("token0" not in event_args) and (event_args['token'] == "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE") def update_from_event( self, event_args: Dict[str, Any], data: Dict[str, Any] From e5403611e217c9325b49f68a15ad17776aef3e72 Mon Sep 17 00:00:00 2001 From: Doron Zavelevsky Date: Fri, 10 May 2024 08:59:04 +0100 Subject: [PATCH 2/2] Revert "focus the pol to ETH only temp solve multicall" --- fastlane_bot/events/pools/bancor_pol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane_bot/events/pools/bancor_pol.py b/fastlane_bot/events/pools/bancor_pol.py index 58e58bc83..12acc7b95 100644 --- a/fastlane_bot/events/pools/bancor_pol.py +++ b/fastlane_bot/events/pools/bancor_pol.py @@ -58,7 +58,7 @@ def event_matches_format( """ event_args = event["args"] - return ("token" in event_args) and ("token0" not in event_args) and (event_args['token'] == "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE") + return "token" in event_args and "token0" not in event_args def update_from_event( self, event_args: Dict[str, Any], data: Dict[str, Any]