Documentation ¶
Index ¶
- func ErrBlockDoesNotExist(blockNumber int64) error
- func ErrContractDoesNotExist(contractHash string) error
- func ErrFilterDoesNotExist(name string) error
- func ErrReceiptDoesNotExist(txHash string) error
- type BlockRepository
- type ContractRepository
- type FilterRepository
- type HeaderRepository
- type LogRepository
- type ReceiptRepository
- type WatchedEventRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrBlockDoesNotExist ¶
func ErrContractDoesNotExist ¶
func ErrFilterDoesNotExist ¶
func ErrReceiptDoesNotExist ¶
Types ¶
type BlockRepository ¶
type ContractRepository ¶
type FilterRepository ¶
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 LogRepository ¶
type ReceiptRepository ¶
type WatchedEventRepository ¶
type WatchedEventRepository interface {
GetWatchedEvents(name string) ([]*core.WatchedEvent, error)
}
Click to show internal directories.
Click to hide internal directories.