Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2023 Changes in this version + const KeyPrefixTxHash + const KeyPrefixTxIndex + const TxIndexKeyLength + func LoadFirstBlock(db dbm.DB) (int64, error) + func LoadLastBlock(db dbm.DB) (int64, error) + func TxHashKey(hash common.Hash) []byte + func TxIndexKey(blockNumber int64, txIndex int32) []byte + type KVIndexer struct + func NewKVIndexer(db dbm.DB, logger log.Logger, clientCtx client.Context) *KVIndexer + func (kv *KVIndexer) FirstIndexedBlock() (int64, error) + func (kv *KVIndexer) GetByBlockAndIndex(blockNumber int64, txIndex int32) (*ethermint.TxResult, error) + func (kv *KVIndexer) GetByTxHash(hash common.Hash) (*ethermint.TxResult, error) + func (kv *KVIndexer) IndexBlock(block *tmtypes.Block, txResults []*abci.ResponseDeliverTx) error + func (kv *KVIndexer) LastIndexedBlock() (int64, error)