From 1d4853df571b20689db1e878839f3390b12dcfed Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Mon, 6 Apr 2026 18:32:12 +0300 Subject: [PATCH] update the pair address on hoodi Signed-off-by: Uncle Stretch --- main.py | 6 +++--- networks.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index dd26aa8..ba46254 100644 --- a/main.py +++ b/main.py @@ -151,7 +151,7 @@ class EventBot: network_data["ftso"], log ) - await self.send_alert(message, button) + await self.send_alert(network_name, message, button) checked_index = 0 last_block = current_block @@ -164,7 +164,7 @@ class EventBot: finally: rpc_manager.next_rpc() - async def send_alert(self, message, button_reply_markup): + async def send_alert(self, network_name, message, button_reply_markup): try: await self.bot.send_message( chat_id=self.chat_id, @@ -175,7 +175,7 @@ class EventBot: ) await asyncio.sleep(0.5) except Exception as e: - logger.error(f"[{network}] TG error during sending: {e}.") + logger.error(f"[{network_name}] TG error during sending: {e}.") async def start(self, networks): tasks = [ diff --git a/networks.json b/networks.json index a719fc8..2d32f9b 100644 --- a/networks.json +++ b/networks.json @@ -77,7 +77,7 @@ "events": [ { "name": "Swap", - "address": "0x53B13C4722081c405ce25c7A7629fC326A49a469", + "address": "0x32388605b5E83Ea79CDdC479AA9939DBCF98f59D", "topic": "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822" }, {