From eaf18c5164fdb8dc70edd33cf40c91d0067d125a Mon Sep 17 00:00:00 2001 From: Sheng Lundquist Date: Mon, 25 Nov 2024 06:56:20 -0800 Subject: [PATCH] Removing stale todos --- src/agent0/chainsync/db/hyperdrive/schema.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/agent0/chainsync/db/hyperdrive/schema.py b/src/agent0/chainsync/db/hyperdrive/schema.py index 2b5e3ec669..b26dee37dd 100644 --- a/src/agent0/chainsync/db/hyperdrive/schema.py +++ b/src/agent0/chainsync/db/hyperdrive/schema.py @@ -20,7 +20,6 @@ ## Base schemas for raw data -# TODO add column for timestamp in seconds in db class DBHyperdriveAddrToName(DBBase): @@ -92,7 +91,6 @@ class DBCheckpointInfo(DBBase): """The lp share price at the checkpoint.""" -# TODO change this table to allow for missing data in block time. class DBPoolInfo(DBBase): """Table/dataclass schema for pool info. @@ -139,16 +137,7 @@ class DBPoolInfo(DBBase): class DBTradeEvent(DBBase): - """Table for storing any transfer events emitted by the Hyperdrive contract. - This table only contains events of "registered" wallet addresses, which are any agents - that are managed by agent0. This table does not store all wallet addresses that have - interacted with all Hyperdrive contracts. - TODO this table would take the place of the `WalletDelta` table with the following updates: - - We explicitly fill this table with all addresses that have interacted with all hyperdrive pools. - - This is very slow on existing pools, which makes it useful for simulations and - any managed chains to run a dashboard on, but not so much for connections to remote chains - to execute trades. - """ + """Table for storing any transfer events emitted by the Hyperdrive contract.""" __tablename__ = "trade_event" # Indices