Versions in this module Expand all Collapse all v1 v1.0.0 Mar 26, 2021 Changes in this version + func NewQuerier(keeper Keeper) sdk.Querier + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + type Keeper struct + Bloom *big.Int + CommitStateDB *types.CommitStateDB + TxCount int + func NewKeeper(cdc *codec.Codec, storeKey sdk.StoreKey, paramSpace params.Subspace, ...) *Keeper + func (k *Keeper) AddBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) + func (k *Keeper) AddLog(ctx sdk.Context, log *ethtypes.Log) + func (k *Keeper) AddPreimage(ctx sdk.Context, hash ethcmn.Hash, preimage []byte) + func (k *Keeper) AddRefund(ctx sdk.Context, gas uint64) + func (k *Keeper) AllLogs(ctx sdk.Context) []*ethtypes.Log + func (k *Keeper) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) + func (k *Keeper) BlockHash(ctx sdk.Context) ethcmn.Hash + func (k *Keeper) ClearStateObjects(ctx sdk.Context) + func (k *Keeper) Commit(ctx sdk.Context, deleteEmptyObjects bool) (root ethcmn.Hash, err error) + func (k *Keeper) Copy(ctx sdk.Context) ethvm.StateDB + func (k *Keeper) CreateAccount(ctx sdk.Context, addr ethcmn.Address) + func (k *Keeper) Database(ctx sdk.Context) ethstate.Database + func (k *Keeper) DeleteLogs(ctx sdk.Context, hash ethcmn.Hash) + func (k *Keeper) Empty(ctx sdk.Context, addr ethcmn.Address) bool + func (k *Keeper) Error(ctx sdk.Context) error + func (k *Keeper) Exist(ctx sdk.Context, addr ethcmn.Address) bool + func (k *Keeper) Finalise(ctx sdk.Context, deleteEmptyObjects bool) error + func (k *Keeper) ForEachStorage(ctx sdk.Context, addr ethcmn.Address, cb func(key, value ethcmn.Hash) bool) error + func (k *Keeper) GetBalance(ctx sdk.Context, addr ethcmn.Address) *big.Int + func (k *Keeper) GetCode(ctx sdk.Context, addr ethcmn.Address) []byte + func (k *Keeper) GetCodeHash(ctx sdk.Context, addr ethcmn.Address) ethcmn.Hash + func (k *Keeper) GetCodeSize(ctx sdk.Context, addr ethcmn.Address) int + func (k *Keeper) GetCommittedState(ctx sdk.Context, addr ethcmn.Address, hash ethcmn.Hash) ethcmn.Hash + func (k *Keeper) GetLogs(ctx sdk.Context, hash ethcmn.Hash) ([]*ethtypes.Log, error) + func (k *Keeper) GetNonce(ctx sdk.Context, addr ethcmn.Address) uint64 + func (k *Keeper) GetOrNewStateObject(ctx sdk.Context, addr ethcmn.Address) types.StateObject + func (k *Keeper) GetRefund(ctx sdk.Context) uint64 + func (k *Keeper) GetState(ctx sdk.Context, addr ethcmn.Address, hash ethcmn.Hash) ethcmn.Hash + func (k *Keeper) HasSuicided(ctx sdk.Context, addr ethcmn.Address) bool + func (k *Keeper) IntermediateRoot(ctx sdk.Context, deleteEmptyObjects bool) error + func (k *Keeper) Preimages(ctx sdk.Context) map[ethcmn.Hash][]byte + func (k *Keeper) Prepare(ctx sdk.Context, thash ethcmn.Hash, txi int) + func (k *Keeper) Reset(ctx sdk.Context, root ethcmn.Hash) error + func (k *Keeper) RevertToSnapshot(ctx sdk.Context, revID int) + func (k *Keeper) SetBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) + func (k *Keeper) SetCode(ctx sdk.Context, addr ethcmn.Address, code []byte) + func (k *Keeper) SetLogs(ctx sdk.Context, hash ethcmn.Hash, logs []*ethtypes.Log) error + func (k *Keeper) SetNonce(ctx sdk.Context, addr ethcmn.Address, nonce uint64) + func (k *Keeper) SetState(ctx sdk.Context, addr ethcmn.Address, key, value ethcmn.Hash) + func (k *Keeper) Snapshot(ctx sdk.Context) int + func (k *Keeper) StorageTrie(ctx sdk.Context, addr ethcmn.Address) ethstate.Trie + func (k *Keeper) SubBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) + func (k *Keeper) SubRefund(ctx sdk.Context, gas uint64) + func (k *Keeper) Suicide(ctx sdk.Context, addr ethcmn.Address) bool + func (k *Keeper) TxIndex(ctx sdk.Context) int + func (k *Keeper) UpdateAccounts(ctx sdk.Context) + func (k Keeper) BalanceInvariant() sdk.Invariant + func (k Keeper) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate + func (k Keeper) EthereumTx(ctx sdk.Context, msg types.MsgEthereumTx) (*sdk.Result, error) + func (k Keeper) GetAccountStorage(ctx sdk.Context, address common.Address) (types.Storage, error) + func (k Keeper) GetAllTxLogs(ctx sdk.Context) []types.TransactionLogs + func (k Keeper) GetBlockBloom(ctx sdk.Context, height int64) (ethtypes.Bloom, bool) + func (k Keeper) GetBlockHash(ctx sdk.Context, hash []byte) (int64, bool) + func (k Keeper) GetChainConfig(ctx sdk.Context) (types.ChainConfig, bool) + func (k Keeper) GetHeightHash(ctx sdk.Context, height uint64) common.Hash + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) NonceInvariant() sdk.Invariant + func (k Keeper) SetBlockBloom(ctx sdk.Context, height int64, bloom ethtypes.Bloom) + func (k Keeper) SetBlockHash(ctx sdk.Context, hash []byte, height int64) + func (k Keeper) SetChainConfig(ctx sdk.Context, config types.ChainConfig) + func (k Keeper) SetHeightHash(ctx sdk.Context, height uint64, hash common.Hash) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params)