Documentation ¶
Index ¶
- func ErrBlockDoesNotExist(blockNumber int64) error
- func ErrContractDoesNotExist(contractHash string) error
- func ErrFilterDoesNotExist(name string) error
- func ErrReceiptDoesNotExist(txHash string) error
- type AddressRepository
- type BlockRepository
- type CheckedHeadersRepository
- type CheckedLogsRepository
- type ContractRepository
- type FilterRepository
- type FullSyncLogRepository
- type FullSyncReceiptRepository
- type HeaderRepository
- type HeaderSyncLogRepository
- type HeaderSyncReceiptRepository
- type WatchedEventRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrBlockDoesNotExist ¶
func ErrContractDoesNotExist ¶
func ErrFilterDoesNotExist ¶
func ErrReceiptDoesNotExist ¶
Types ¶
type AddressRepository ¶ added in v0.0.10
type BlockRepository ¶
type CheckedHeadersRepository ¶ added in v0.0.10
type CheckedLogsRepository ¶ added in v0.0.10
type ContractRepository ¶
type FilterRepository ¶
type FullSyncLogRepository ¶ added in v0.0.10
type FullSyncLogRepository interface { CreateLogs(logs []core.FullSyncLog, receiptId int64) error GetLogs(address string, blockNumber int64) ([]core.FullSyncLog, error) }
type FullSyncReceiptRepository ¶ added in v0.0.10
type HeaderRepository ¶
type HeaderRepository interface { CreateOrUpdateHeader(header core.Header) (int64, error) CreateTransactions(headerID int64, transactions []core.TransactionModel) error GetHeader(blockNumber int64) (core.Header, error) MissingBlockNumbers(startingBlockNumber, endingBlockNumber int64, nodeID string) ([]int64, error) }
type HeaderSyncLogRepository ¶ added in v0.0.10
type HeaderSyncReceiptRepository ¶ added in v0.0.10
type WatchedEventRepository ¶
type WatchedEventRepository interface {
GetWatchedEvents(name string) ([]*core.WatchedEvent, error)
}
Click to show internal directories.
Click to hide internal directories.