updated types and poller

This commit is contained in:
KS Jannette
2026-03-01 20:32:21 -05:00
parent f01115de86
commit 25850825b4
10 changed files with 272 additions and 3 deletions

View File

@@ -12,4 +12,5 @@ type EthereumObserver interface {
GetLatestBlockNumber(ctx context.Context) (int, error)
GetBlockTransactions(ctx context.Context, blockNumber int) ([]domain.NormalizedTx, error)
GetBalance(ctx context.Context, address string) (string, error)
GetTokenTransfers(ctx context.Context, fromBlock, toBlock int, address string) ([]domain.NormalizedTx, error)
}