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.6
type BlockRepository ¶
type CheckedHeadersRepository ¶ added in v0.0.7
type CheckedLogsRepository ¶ added in v0.0.7
type ContractRepository ¶
type FilterRepository ¶
type FullSyncLogRepository ¶ added in v0.0.7
type FullSyncLogRepository interface { CreateLogs(logs []core.FullSyncLog, receiptId int64) error GetLogs(address string, blockNumber int64) ([]core.FullSyncLog, error) }
type FullSyncReceiptRepository ¶ added in v0.0.6
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.7
type HeaderSyncReceiptRepository ¶ added in v0.0.6
type WatchedEventRepository ¶
type WatchedEventRepository interface {
GetWatchedEvents(name string) ([]*core.WatchedEvent, error)
}
Click to show internal directories.
Click to hide internal directories.