Versions in this module Expand all Collapse all v1 v1.1.12 Jun 6, 2022 v1.1.11 Jun 6, 2022 Changes in this version + func CheckSenderBalance(balance sdk.Int, txData evmtypes.TxData) error + func GasToRefund(availableRefund, gasConsumed, refundQuotient uint64) uint64 + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey, transientKey sdk.StoreKey, ...) *Keeper + func (k *Keeper) ApplyMessage(ctx sdk.Context, msg core.Message, tracer vm.EVMLogger, commit bool) (*types.MsgEthereumTxResponse, error) + func (k *Keeper) ApplyMessageWithConfig(ctx sdk.Context, msg core.Message, tracer vm.EVMLogger, commit bool, ...) (*types.MsgEthereumTxResponse, error) + func (k *Keeper) ApplyTransaction(ctx sdk.Context, tx *ethtypes.Transaction) (*types.MsgEthereumTxResponse, error) + func (k *Keeper) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) + func (k *Keeper) DeleteAccount(ctx sdk.Context, addr common.Address) error + func (k *Keeper) EVMConfig(ctx sdk.Context) (*types.EVMConfig, error) + 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) ForEachStorage(ctx sdk.Context, addr common.Address, cb func(key, value common.Hash) bool) + func (k *Keeper) GetAccount(ctx sdk.Context, addr common.Address) *statedb.Account + func (k *Keeper) GetAccountOrEmpty(ctx sdk.Context, addr common.Address) statedb.Account + func (k *Keeper) GetAccountWithoutBalance(ctx sdk.Context, addr common.Address) *statedb.Account + func (k *Keeper) GetBalance(ctx sdk.Context, addr common.Address) *big.Int + func (k *Keeper) GetCode(ctx sdk.Context, codeHash common.Hash) []byte + func (k *Keeper) GetEthIntrinsicGas(ctx sdk.Context, msg core.Message, cfg *params.ChainConfig, ...) (uint64, error) + func (k *Keeper) GetNonce(ctx sdk.Context, addr common.Address) uint64 + func (k *Keeper) GetState(ctx sdk.Context, addr common.Address, key common.Hash) common.Hash + func (k *Keeper) NewEVM(ctx sdk.Context, msg core.Message, cfg *types.EVMConfig, tracer vm.EVMLogger, ...) *vm.EVM + func (k *Keeper) PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *ethtypes.Receipt) error + func (k *Keeper) RefundGas(ctx sdk.Context, msg core.Message, leftoverGas uint64, denom string) error + func (k *Keeper) ResetGasMeterAndConsumeGas(ctx sdk.Context, gasUsed uint64) + func (k *Keeper) SetAccount(ctx sdk.Context, addr common.Address, account statedb.Account) error + func (k *Keeper) SetBalance(ctx sdk.Context, addr common.Address, amount *big.Int) error + func (k *Keeper) SetCode(ctx sdk.Context, codeHash, code []byte) + func (k *Keeper) SetHooks(eh types.EvmHooks) *Keeper + func (k *Keeper) SetState(ctx sdk.Context, addr common.Address, key common.Hash, value []byte) + func (k *Keeper) TxConfig(ctx sdk.Context, txHash common.Hash) statedb.TxConfig + func (k *Keeper) WithChainID(ctx sdk.Context) + func (k Keeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error) + func (k Keeper) AddTransientGasUsed(ctx sdk.Context, gasUsed uint64) (uint64, error) + func (k Keeper) Balance(c context.Context, req *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error) + func (k Keeper) BaseFee(c context.Context, _ *types.QueryBaseFeeRequest) (*types.QueryBaseFeeResponse, error) + func (k Keeper) ChainID() *big.Int + 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) DeductTxCostsFromUserBalance(ctx sdk.Context, msgEthTx evmtypes.MsgEthereumTx, txData evmtypes.TxData, ...) (sdk.Coins, error) + func (k Keeper) EmitBlockBloomEvent(ctx sdk.Context, bloom ethtypes.Bloom) + 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 + func (k Keeper) GetBaseFee(ctx sdk.Context, ethCfg *params.ChainConfig) *big.Int + func (k Keeper) GetBlockBloomTransient(ctx sdk.Context) *big.Int + func (k Keeper) GetCoinbaseAddress(ctx sdk.Context) (common.Address, error) + func (k Keeper) GetHashFn(ctx sdk.Context) vm.GetHashFunc + func (k Keeper) GetLogSizeTransient(ctx sdk.Context) uint64 + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetTransientGasUsed(ctx sdk.Context) uint64 + func (k Keeper) GetTxIndexTransient(ctx sdk.Context) uint64 + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) ResetTransientGasUsed(ctx sdk.Context) + func (k Keeper) SetBlockBloomTransient(ctx sdk.Context, bloom *big.Int) + func (k Keeper) SetLogSizeTransient(ctx sdk.Context, logSize uint64) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetTransientGasUsed(ctx sdk.Context, gasUsed uint64) + func (k Keeper) SetTxIndexTransient(ctx sdk.Context, index uint64) + func (k Keeper) Storage(c context.Context, req *types.QueryStorageRequest) (*types.QueryStorageResponse, error) + func (k Keeper) TraceBlock(c context.Context, req *types.QueryTraceBlockRequest) (*types.QueryTraceBlockResponse, error) + func (k Keeper) TraceTx(c context.Context, req *types.QueryTraceTxRequest) (*types.QueryTraceTxResponse, error) + func (k Keeper) Tracer(ctx sdk.Context, msg core.Message, ethCfg *params.ChainConfig) vm.EVMLogger + func (k Keeper) VMConfig(ctx sdk.Context, msg core.Message, cfg *types.EVMConfig, tracer vm.EVMLogger) vm.Config + func (k Keeper) ValidatorAccount(c context.Context, req *types.QueryValidatorAccountRequest) (*types.QueryValidatorAccountResponse, error) + type Migrator struct + func NewMigrator(keeper Keeper) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error + type MultiEvmHooks []types.EvmHooks + func NewMultiEvmHooks(hooks ...types.EvmHooks) MultiEvmHooks + func (mh MultiEvmHooks) PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *ethtypes.Receipt) error