Versions in this module Expand all Collapse all v1 v1.0.2 Mar 26, 2022 Changes in this version + type ContextStack struct + func (cs *ContextStack) Commit() + func (cs *ContextStack) CurrentContext() sdk.Context + func (cs *ContextStack) IsEmpty() bool + func (cs *ContextStack) Reset(ctx sdk.Context) + func (cs *ContextStack) RevertAll() + func (cs *ContextStack) RevertToSnapshot(target int) + func (cs *ContextStack) Snapshot() int + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey, transientKey sdk.StoreKey, ...) *Keeper + func (k *Keeper) AddAddressToAccessList(addr common.Address) + func (k *Keeper) AddBalance(addr common.Address, amount *big.Int) + func (k *Keeper) AddLog(log *ethtypes.Log) + func (k *Keeper) AddPreimage(_ common.Hash, _ []byte) + func (k *Keeper) AddRefund(gas uint64) + func (k *Keeper) AddSlotToAccessList(addr common.Address, slot common.Hash) + func (k *Keeper) AddressInAccessList(addr common.Address) bool + func (k *Keeper) ApplyMessage(evm *vm.EVM, msg core.Message, cfg *params.ChainConfig, query bool) (*types.MsgEthereumTxResponse, error) + func (k *Keeper) ApplyTransaction(tx *ethtypes.Transaction) (*types.MsgEthereumTxResponse, error) + func (k *Keeper) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) + func (k *Keeper) CachedContextsEmpty() bool + func (k *Keeper) CommitCachedContexts() + func (k *Keeper) CreateAccount(addr common.Address) + func (k *Keeper) Empty(addr common.Address) bool + func (k *Keeper) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate + func (k *Keeper) EthereumTx(goCtx context.Context, msg *types.MsgEthereumTx) (*types.MsgEthereumTxResponse, error) + func (k *Keeper) Exist(addr common.Address) bool + func (k *Keeper) ForEachStorage(addr common.Address, cb func(key, value common.Hash) bool) error + func (k *Keeper) GasToRefund(gasConsumed uint64) uint64 + func (k *Keeper) GetBalance(addr common.Address) *big.Int + func (k *Keeper) GetCode(addr common.Address) []byte + func (k *Keeper) GetCodeHash(addr common.Address) common.Hash + func (k *Keeper) GetCodeSize(addr common.Address) int + func (k *Keeper) GetCommittedState(addr common.Address, hash common.Hash) common.Hash + func (k *Keeper) GetEthIntrinsicGas(msg core.Message, cfg *params.ChainConfig, isContractCreation bool) (uint64, error) + func (k *Keeper) GetNonce(addr common.Address) uint64 + func (k *Keeper) GetRefund() uint64 + func (k *Keeper) GetState(addr common.Address, hash common.Hash) common.Hash + func (k *Keeper) HasSuicided(addr common.Address) bool + func (k *Keeper) NewEVM(msg core.Message, config *params.ChainConfig, params types.Params, ...) *vm.EVM + func (k *Keeper) PrepareAccessList(sender common.Address, dest *common.Address, precompiles []common.Address, ...) + func (k *Keeper) RefundGas(msg core.Message, leftoverGas uint64) (uint64, error) + func (k *Keeper) RevertToSnapshot(target int) + func (k *Keeper) SetCode(addr common.Address, code []byte) + func (k *Keeper) SetNonce(addr common.Address, nonce uint64) + func (k *Keeper) SetState(addr common.Address, key, value common.Hash) + func (k *Keeper) SlotInAccessList(addr common.Address, slot common.Hash) (addressOk bool, slotOk bool) + func (k *Keeper) Snapshot() int + func (k *Keeper) SubBalance(addr common.Address, amount *big.Int) + func (k *Keeper) SubRefund(gas uint64) + func (k *Keeper) Suicide(addr common.Address) bool + func (k *Keeper) WithChainID(ctx sdk.Context) + func (k *Keeper) WithContext(ctx sdk.Context) + func (k Keeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error) + func (k Keeper) Balance(c context.Context, req *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error) + func (k Keeper) BlockBloom(c context.Context, req *types.QueryBlockBloomRequest) (*types.QueryBlockBloomResponse, error) + func (k Keeper) BlockLogs(c context.Context, req *types.QueryBlockLogsRequest) (*types.QueryBlockLogsResponse, error) + func (k Keeper) ChainID() *big.Int + func (k Keeper) ClearBalance(addr sdk.AccAddress) (prevBalance sdk.Coin, err error) + func (k Keeper) Code(c context.Context, req *types.QueryCodeRequest) (*types.QueryCodeResponse, error) + func (k Keeper) CosmosAccount(c context.Context, req *types.QueryCosmosAccountRequest) (*types.QueryCosmosAccountResponse, error) + func (k Keeper) Ctx() sdk.Context + func (k Keeper) DeleteAccountStorage(addr common.Address) + func (k Keeper) DeleteCode(addr common.Address) + func (k Keeper) DeleteState(addr common.Address, key common.Hash) + func (k Keeper) DeleteTxLogs(ctx sdk.Context, txHash common.Hash) + func (k Keeper) EstimateGas(c context.Context, req *types.EthCallRequest) (*types.EstimateGasResponse, error) + func (k Keeper) EthCall(c context.Context, req *types.EthCallRequest) (*types.MsgEthereumTxResponse, 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) GetBlockBloomTransient() *big.Int + func (k Keeper) GetCoinbaseAddress() (common.Address, error) + func (k Keeper) GetHashFn() vm.GetHashFunc + func (k Keeper) GetLogEvents() string + func (k Keeper) GetLogSizeTransient() uint64 + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetTxHashTransient() common.Hash + func (k Keeper) GetTxIndexTransient() uint64 + func (k Keeper) GetTxLogs(txHash common.Hash) []*ethtypes.Log + func (k Keeper) IncreaseLogSizeTransient() + func (k Keeper) IncreaseTxIndexTransient() + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) ResetAccount(addr common.Address) + func (k Keeper) ResetRefundTransient(ctx sdk.Context) + func (k Keeper) SetBlockBloom(ctx sdk.Context, height int64, bloom ethtypes.Bloom) + func (k Keeper) SetBlockBloomTransient(bloom *big.Int) + func (k Keeper) SetLogs(txHash common.Hash, logs []*ethtypes.Log) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetTxHashTransient(hash common.Hash) + func (k Keeper) StaticCall(c context.Context, req *types.QueryStaticCallRequest) (*types.QueryStaticCallResponse, error) + func (k Keeper) Storage(c context.Context, req *types.QueryStorageRequest) (*types.QueryStorageResponse, error) + func (k Keeper) TxLogs(c context.Context, req *types.QueryTxLogsRequest) (*types.QueryTxLogsResponse, error) + func (k Keeper) VMConfig(msg core.Message, params types.Params, tracer vm.Tracer) vm.Config + func (k Keeper) ValidatorAccount(c context.Context, req *types.QueryValidatorAccountRequest) (*types.QueryValidatorAccountResponse, error)