package
0.4.4
Repository: https://github.com/jiujiteiro/ethermint.git
Documentation: pkg.go.dev

# Functions

AddressStoragePrefix returns a prefix to iterate over a given account storage.
BloomKey defines the store key for a block Bloom.
DecodeTxResponse decodes an protobuf-encoded byte slice into TransactionLogs.
DecodeTxResponse decodes an protobuf-encoded byte slice into TxResponse.
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.
DeriveChainID derives the chain id from the given v parameter.
EncodeTransactionLogs encodes TransactionLogs slice into a protobuf-encoded byte slice.
KeyAddressStorage returns the key hash to access a given account state.
KeyBlockHeightTxs returns a key for accessing tx hash list by block height.
KeyHashTxReceipt returns a key for accessing tx receipt data by hash.
LogsToEthereum casts the Ethermint Logs to a slice of Ethereum Logs.
NewAccessList creates a new protobuf-compatible AccessList from an ethereum core AccessList type.
NewExecErrorWithReason unpacks the revert return bytes and returns a wrapped error with the return reason.
NewLogFromEth creates a new Log instance from a Ethereum type Log.
No description provided by the author
No description provided by the author
NewParams creates a new Params instance.
No description provided by the author
NewState creates a new State instance.
NewTransactionLogs creates a new NewTransactionLogs instance.
NewTransactionLogsFromEth creates a new NewTransactionLogs instance using []*ethtypes.Log.
NewTx returns a reference to a new Ethereum transaction message.
NewTxContract returns a reference to a new Ethereum transaction message designated for contract creation.
No description provided by the author
PackClientState constructs a new Any packed with the given tx data value.
ParamKeyTable returns the parameter key table.
RegisterInterfaces registers the client interfaces to protobuf Any.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
StateKey defines the full key under which an account state is stored.
UnpackTxData unpacks an Any into a TxData.

# Constants

Evm module events.
Evm module events.
Evm module events.
Evm module events.
Evm module events.
Evm module events.
No description provided by the author
Evm module events.
Evm module events.
Evm module events.
ModuleName string name of module.
RouterKey uses module name for routing.
StoreKey key for ethereum storage data, account code (StateDB) or block related data for Web3.
Transient Key is the key to access the EVM transient store, that is reset during the Commit phase.
TypeMsgEthereumTx defines the type string of an Ethereum transaction.

# Variables

No description provided by the author
ErrBloomNotFound returns an error if the block bloom cannot be found on the store.
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.
ErrEmptyHash returns an error resulting from an empty ethereum Hash.
ErrExecutionReverted returns an error resulting from an error in EVM execution.
ErrInconsistentGas returns an error if a the gas differs from the expected one.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidAmount returns an error if a tx contains an invalid amount.
ErrInvalidChainConfig returns an error resulting from an invalid ChainConfig.
ErrInvalidGasPrice returns an error if an invalid gas price is provided to the tx.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidRefund returns an error if a the gas refund value is invalid.
ErrInvalidState returns an error resulting from an invalid Storage State.
ErrTxReceiptNotFound returns an error if the transaction receipt could not be found.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrVMExecution returns an error resulting from an error in EVM execution.
ErrZeroAddress returns an error resulting from an zero (empty) ethereum Address.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.

# Structs

AccessListTx is the data of EIP-2930 access list transactions.
AccessTuple is the element type of an access list.
ChainConfig defines the Ethereum ChainConfig parameters using sdk.Int values instead of big.Int.
No description provided by the author
No description provided by the author
GenesisAccount defines an account to be initialized in the genesis state.
GenesisState defines the evm module's genesis state.
LegacyTx is the transaction data of regular Ethereum transactions.
Log represents an protobuf compatible Ethereum Log that defines a contract log event.
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
Params defines the EVM module parameters.
QueryAccountRequest is the request type for the Query/Account RPC method.
QueryAccountResponse is the response type for the Query/Account RPC method.
QueryBalanceRequest is the request type for the Query/Balance RPC method.
QueryBalanceResponse is the response type for the Query/Balance RPC method.
QueryBlockBloomRequest is the request type for the Query/BlockBloom RPC method.
QueryBlockBloomResponse is the response type for the Query/BlockBloom RPC method.
QueryBlockLogsRequest is the request type for the Query/BlockLogs RPC method.
QueryTxLogs is the response type for the Query/BlockLogs RPC method.
QueryChainConfigRequest defines the request type for querying x/evm chain configuration.
QueryChainConfigResponse defines the response type for querying x/evm chain configuration.
QueryCodeRequest is the request type for the Query/Code RPC method.
QueryCodeResponse is the response type for the Query/Code RPC method.
QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.
QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
QueryParamsRequest defines the request type for querying x/evm parameters.
QueryParamsResponse defines the response type for querying x/evm parameters.
QueryStaticCallRequest defines static call request.
// QueryStaticCallRequest defines static call response.
QueryStorageRequest is the request type for the Query/Storage RPC method.
QueryStorageResponse is the response type for the Query/Storage RPC method.
QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
QueryTxLogs is the response type for the Query/TxLogs RPC method.
QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.
QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
State represents a single Storage key value pair item.
TransactionLogs define the logs generated from a transaction execution with a given hash.
TxResult stores results of Tx execution.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the expected account keeper interface.
BankKeeper defines the expected interface needed to retrieve account balances.
No description provided by the author
No description provided by the author
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
StakingKeeper returns the historical headers kept in store.
TxData implements the Ethereum transaction tx structure.

# Type aliases

AccessList is an EIP-2930 access list that represents the slice of the protobuf AccessTuples.
Storage represents the account Storage map as a slice of single key value State pairs.