package
0.4.1
Repository: https://github.com/cosmos/ethermint.git
Documentation: pkg.go.dev

# Functions

AbciHeaderToTendermint is a util function to parse a tendermint ABCI Header to tendermint types Header.
AddressStoragePrefix returns a prefix to iterate over a given account storage.
BloomKey defines the store key for a block Bloom.
No description provided by the author
DecodeResultData decodes an amino-encoded byte slice into ResultData.
DefaultChainConfig returns default evm parameters.
DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.
DefaultParams returns default evm parameters.
EncodeResultData takes all of the necessary data from the EVM execution and returns the data as a byte slice encoded with amino.
GenerateEthAddress generates an Ethereum address.
GetHashFn implements vm.GetHashFunc for Ethermint.
HashFromContext returns the Ethereum Header hash from the context's Tendermint block header.
HeightHashKey returns the key for the given chain epoch and height.
MarshalLogs encodes an array of logs using amino.
NewCommitStateDB returns a reference to a newly initialized CommitStateDB which implements Geth's state.StateDB interface.
NewMsgEthereumTx returns a reference to a new Ethereum transaction message.
NewMsgEthereumTxContract returns a reference to a new Ethereum transaction message designated for contract creation.
NewMsgEthermint returns a reference to a new Ethermint transaction.
NewParams creates a new Params instance.
NewState creates a new State instance.
NewTransactionLogs creates a new NewTransactionLogs instance.
ParamKeyTable returns the parameter key table.
RegisterCodec registers all the necessary types and interfaces for the evm module.
TxDecoder returns an sdk.TxDecoder that can decode both auth.StdTx and MsgEthereumTx transactions.
UnmarshalLogs decodes an amino-encoded byte array into an array of logs.
ValidateLog performs a basic validation of an ethereum Log fields.
ValidateSigner attempts to validate a signer for a given slice of bytes over which a signature and signer is given.

# Constants

Evm module events.
Evm module events.
Evm module events.
DefaultParamspace for params keeper.
Evm module events.
Evm module events.
ModuleName string name of module.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
Supported endpoints.
RouterKey uses module name for routing.
StoreKey key for ethereum storage data, account code (StateDB) or block related data for Web3.
TypeMsgEthereumTx defines the type string of an Ethereum tranasction.
TypeMsgEthermint defines the type string of Ethermint message.

# Variables

ErrCallDisabled returns an error if the EnableCall parameter is false.
ErrChainConfigNotFound returns an error if the chain config cannot be found on the store.
ErrCreateDisabled returns an error if the EnableCreate parameter is false.
ErrInvalidChainConfig returns an error resulting from an invalid ChainConfig.
ErrInvalidState returns an error resulting from an invalid Storage State.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
ModuleCdc defines the evm module's codec.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.

# Structs

ChainConfig defines the Ethereum ChainConfig parameters using sdk.Int values instead of big.Int.
CommitStateDB implements the Geth state.StateDB interface.
ExecutionResult represents what's returned from a transition.
GasInfo returns the gas limit, gas consumed and gas refunded from the EVM transition execution.
No description provided by the author
No description provided by the author
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
MsgEthermint implements a cosmos equivalent structure for Ethereum transactions.
Params defines the EVM module parameters.
QueryBloomFilter is response type for tx logs query.
QueryETHLogs is response type for tx logs query.
QueryAccount is response type for querying Ethereum state objects.
QueryResBalance is response type for balance query.
QueryResBlockNumber is response type for block number query.
QueryResCode is response type for code query.
QueryResNonce is response type for Nonce query.
QueryResStorage is response type for storage query.
Recipient is a wrapper of the.
ResultData represents the data returned in an sdk.Result.
State represents a single Storage key value pair item.
StateTransition defines data to transitionDB in evm.
TransactionLogs define the logs generated from a transaction execution with a given hash.
TxData implements the Ethereum transaction data structure.

# Interfaces

AccountKeeper defines the expected account keeper interface.
StateObject interface for interacting with state object.

# Type aliases

No description provided by the author
Storage represents the account Storage map as a slice of single key value State pairs.