# Functions
Connect returns a gorm.DB specified in the config.
No description provided by the author
FetchLatestLogsByAddressAndTopic0 returns the last Number of logs with Topic0 emitted by Address.
FetchLogsByAddressAndTopic0BlockNumber fetches all logs matching Address and Topic0 from block range (From, To], order by timestamp.
FetchLogsByAddressAndTopic0FromTimestampToBlockNumber fetches all logs matching Address and Topic0 From timestamp (included) To block number (included), order by timestamp.
FetchLogsByAddressAndTopic0Timestamp fetches all logs matching address and topic0 from timestamp range (from, to], order by timestamp.
FetchState returns the state of the indexer database.
FetchTransactionsByAddressAndSelectorBlockNumber fetches all transactions matching ToAddress and FunctionSel from block number range (From, To], order by timestamp.
FetchTransactionsByAddressAndSelectorBlockNumber fetches all transactions matching ToAddress and FunctionSel with blockNumber higher than From, order by timestamp.
FetchTransactionsByAddressAndSelectorTimestamp fetches all transactions matching ToAddress and FunctionSel from timestamp range (From, To], order by timestamp.
RetryWrapper wraps a query function to retry until success of 15 second with exponential backoff.
# Structs
Abstract entity, all other entities should be derived from it.
No description provided by the author
No description provided by the author
Should be synchronized with the the c-chain indexer.
No description provided by the author
Should be synchronized with the the c-chain indexer.
Should be synchronized with the c-chain indexer.
No description provided by the author