evmos.proto.autogen.py.ethermint.evm.v1

Classes

AccessControl(create, call)

AccessControl defines the permission policy of the EVM for creating and calling contracts

AccessControlType(access_type, ...)

AccessControlType defines the permission type for policies

AccessListTx(chain_id, nonce, gas_price, ...)

AccessListTx is the data of EIP-2930 access list transactions.

AccessTuple(address, storage_keys)

AccessTuple is the element type of an access list.

AccessType(*values)

AccessType defines the types of permissions for the operations

ChainConfig(homestead_block, dao_fork_block, ...)

ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.

DynamicFeeTx(chain_id, nonce, gas_tip_cap, ...)

DynamicFeeTx is the data of EIP-1559 dynamic fee transactions.

EstimateGasResponse(gas, ret, vm_error)

EstimateGasResponse defines EstimateGas response

EthCallRequest(args, gas_cap, ...)

EthCallRequest defines EthCall request

EventBlockBloom(bloom)

EventBlockBloom defines an Ethereum block bloom filter event

EventEthereumTx(amount, eth_hash, index, ...)

EventEthereumTx defines the event for an Ethereum transaction

EventMessage(module, sender, tx_type)

EventTxLog(tx_logs)

EventTxLog defines the event for an Ethereum transaction log

ExtensionOptionsEthereumTx()

ExtensionOptionsEthereumTx is an extension option for ethereum transactions

GenesisAccount(address, code, storage)

GenesisAccount defines an account to be initialized in the genesis state.

GenesisState(accounts, params)

GenesisState defines the evm module's genesis state.

LegacyTx(nonce, gas_price, gas, to, value, ...)

LegacyTx is the transaction data of regular Ethereum transactions.

Log(address, topics, data, block_number, ...)

Log represents an protobuf compatible Ethereum Log that defines a contract log event.

MsgBase()

MsgEthereumTx(data, size, hash, from_)

MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.

MsgEthereumTxResponse(hash, logs, ret, ...)

MsgEthereumTxResponse defines the Msg/EthereumTx response type.

MsgStub(channel, *[, timeout, deadline, ...])

MsgUpdateParams(authority, params)

MsgUpdateParams defines a Msg for updating the x/evm module parameters.

MsgUpdateParamsResponse()

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Params(evm_denom, extra_eips, chain_config, ...)

Params defines the EVM module parameters

QueryAccountRequest(address)

QueryAccountRequest is the request type for the Query/Account RPC method.

QueryAccountResponse(balance, code_hash, nonce)

QueryAccountResponse is the response type for the Query/Account RPC method.

QueryBalanceRequest(address)

QueryBalanceRequest is the request type for the Query/Balance RPC method.

QueryBalanceResponse(balance)

QueryBalanceResponse is the response type for the Query/Balance RPC method.

QueryBase()

QueryBaseFeeRequest()

QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.

QueryBaseFeeResponse(base_fee)

QueryBaseFeeResponse returns the EIP1559 base fee.

QueryCodeRequest(address)

QueryCodeRequest is the request type for the Query/Code RPC method.

QueryCodeResponse(code)

QueryCodeResponse is the response type for the Query/Code RPC method.

QueryCosmosAccountRequest(address)

QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.

QueryCosmosAccountResponse(cosmos_address, ...)

QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.

QueryParamsRequest()

QueryParamsRequest defines the request type for querying x/evm parameters.

QueryParamsResponse(params)

QueryParamsResponse defines the response type for querying x/evm parameters.

QueryStorageRequest(address, key)

QueryStorageRequest is the request type for the Query/Storage RPC method.

QueryStorageResponse(value)

QueryStorageResponse is the response type for the Query/Storage RPC method.

QueryStub(channel, *[, timeout, deadline, ...])

QueryTraceBlockRequest(txs, trace_config, ...)

QueryTraceBlockRequest defines TraceTx request

QueryTraceBlockResponse(data)

QueryTraceBlockResponse defines TraceBlock response

QueryTraceTxRequest(msg, trace_config, ...)

QueryTraceTxRequest defines TraceTx request

QueryTraceTxResponse(data)

QueryTraceTxResponse defines TraceTx response

QueryTxLogsRequest(hash, pagination)

QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.

QueryTxLogsResponse(logs, pagination)

QueryTxLogsResponse is the response type for the Query/TxLogs RPC method.

QueryValidatorAccountRequest(cons_address)

QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.

QueryValidatorAccountResponse(...)

QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.

State(key, value)

State represents a single Storage key value pair item.

TraceConfig(tracer, timeout, reexec, ...)

TraceConfig holds extra parameters to trace functions.

TransactionLogs(hash, logs)

TransactionLogs define the logs generated from a transaction execution with a given hash.

TxResult(contract_address, bloom, tx_logs, ...)

TxResult stores results of Tx execution.

class evmos.proto.autogen.py.ethermint.evm.v1.AccessControl(create: ~evmos.proto.autogen.py.ethermint.evm.v1.AccessControlType = <object object>, call: ~evmos.proto.autogen.py.ethermint.evm.v1.AccessControlType = <object object>)[source]

Bases: Message

AccessControl defines the permission policy of the EVM for creating and calling contracts

call: AccessControlType = <object object>

call defines the permission policy for calling contracts

create: AccessControlType = <object object>

create defines the permission policy for creating contracts

class evmos.proto.autogen.py.ethermint.evm.v1.AccessControlType(access_type: ~evmos.proto.autogen.py.ethermint.evm.v1.AccessType = <object object>, access_control_list: ~typing.List[str] = <object object>)[source]

Bases: Message

AccessControlType defines the permission type for policies

access_control_list: List[str] = <object object>

access_control_list defines defines different things depending on the AccessType: - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from performing the operation - ACCESS_TYPE_RESTRICTED: ignored - ACCESS_TYPE_PERMISSIONED: list of addresses that are allowed to perform the operation

access_type: AccessType = <object object>

access_type defines which type of permission is required for the operation

class evmos.proto.autogen.py.ethermint.evm.v1.AccessListTx(chain_id: str = <object object>, nonce: int = <object object>, gas_price: str = <object object>, gas: int = <object object>, to: str = <object object>, value: str = <object object>, data: bytes = <object object>, accesses: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.AccessTuple] = <object object>, v: bytes = <object object>, r: bytes = <object object>, s: bytes = <object object>)[source]

Bases: Message

AccessListTx is the data of EIP-2930 access list transactions.

accesses: List[AccessTuple] = <object object>

accesses is an array of access tuples

chain_id: str = <object object>

chain_id of the destination EVM chain

data: bytes = <object object>

data is the data payload bytes of the transaction.

gas: int = <object object>

gas defines the gas limit defined for the transaction.

gas_price: str = <object object>

gas_price defines the value for each gas unit

nonce: int = <object object>

nonce corresponds to the account nonce (transaction sequence).

r: bytes = <object object>

r defines the signature value

s: bytes = <object object>

s define the signature value

to: str = <object object>

to is the recipient address in hex format

v: bytes = <object object>

v defines the signature value

value: str = <object object>

value defines the unsigned integer value of the transaction amount.

class evmos.proto.autogen.py.ethermint.evm.v1.AccessTuple(address: str = <object object>, storage_keys: ~typing.List[str] = <object object>)[source]

Bases: Message

AccessTuple is the element type of an access list.

address: str = <object object>

address is a hex formatted ethereum address

storage_keys: List[str] = <object object>

storage_keys are hex formatted hashes of the storage keys

class evmos.proto.autogen.py.ethermint.evm.v1.AccessType(*values)[source]

Bases: Enum

AccessType defines the types of permissions for the operations

ACCESS_TYPE_PERMISSIONED = 2

ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses

ACCESS_TYPE_PERMISSIONLESS = 0

ACCESS_TYPE_PERMISSIONLESS does not restrict the operation to anyone

ACCESS_TYPE_RESTRICTED = 1

ACCESS_TYPE_RESTRICTED restrict the operation to anyone

class evmos.proto.autogen.py.ethermint.evm.v1.ChainConfig(homestead_block: str = <object object>, dao_fork_block: str = <object object>, dao_fork_support: bool = <object object>, eip150_block: str = <object object>, eip150_hash: str = <object object>, eip155_block: str = <object object>, eip158_block: str = <object object>, byzantium_block: str = <object object>, constantinople_block: str = <object object>, petersburg_block: str = <object object>, istanbul_block: str = <object object>, muir_glacier_block: str = <object object>, berlin_block: str = <object object>, london_block: str = <object object>, arrow_glacier_block: str = <object object>, gray_glacier_block: str = <object object>, merge_netsplit_block: str = <object object>, shanghai_block: str = <object object>, cancun_block: str = <object object>)[source]

Bases: Message

ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.

arrow_glacier_block: str = <object object>

Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) :type: arrow_glacier_block

berlin_block: str = <object object>

Berlin switch block (nil = no fork, 0 = already on berlin) :type: berlin_block

byzantium_block: str = <object object>

Byzantium switch block (nil no fork, 0 = already on byzantium) :type: byzantium_block

cancun_block: str = <object object>

cancun_block switch block (nil = no fork, 0 = already on cancun)

constantinople_block: str = <object object>

Constantinople switch block (nil no fork, 0 = already activated) :type: constantinople_block

dao_fork_block: str = <object object>

dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)

dao_fork_support: bool = <object object>

dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork

eip150_block: str = <object object>

EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) :type: eip150_block

eip150_hash: str = <object object>

EIP150 HF hash (needed for header only clients as only gas pricing changed) :type: eip150_hash

eip155_block: str = <object object>

EIP155Block HF block :type: eip155_block

eip158_block: str = <object object>

EIP158 HF block :type: eip158_block

gray_glacier_block: str = <object object>

EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) :type: gray_glacier_block

homestead_block: str = <object object>

homestead_block switch (nil no fork, 0 = already homestead)

istanbul_block: str = <object object>

Istanbul switch block (nil no fork, 0 = already on istanbul) :type: istanbul_block

london_block: str = <object object>

London switch block (nil = no fork, 0 = already on london) :type: london_block

merge_netsplit_block: str = <object object>

Virtual fork after The Merge to use as a network splitter :type: merge_netsplit_block

muir_glacier_block: str = <object object>

Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) :type: muir_glacier_block

petersburg_block: str = <object object>

Petersburg switch block (nil same as Constantinople) :type: petersburg_block

shanghai_block: str = <object object>

shanghai_block switch block (nil = no fork, 0 = already on shanghai)

class evmos.proto.autogen.py.ethermint.evm.v1.DynamicFeeTx(chain_id: str = <object object>, nonce: int = <object object>, gas_tip_cap: str = <object object>, gas_fee_cap: str = <object object>, gas: int = <object object>, to: str = <object object>, value: str = <object object>, data: bytes = <object object>, accesses: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.AccessTuple] = <object object>, v: bytes = <object object>, r: bytes = <object object>, s: bytes = <object object>)[source]

Bases: Message

DynamicFeeTx is the data of EIP-1559 dynamic fee transactions.

accesses: List[AccessTuple] = <object object>

accesses is an array of access tuples

chain_id: str = <object object>

chain_id of the destination EVM chain

data: bytes = <object object>

data is the data payload bytes of the transaction.

gas: int = <object object>

gas defines the gas limit defined for the transaction.

gas_fee_cap: str = <object object>

gas_fee_cap defines the max value for the gas fee

gas_tip_cap: str = <object object>

gas_tip_cap defines the max value for the gas tip

nonce: int = <object object>

nonce corresponds to the account nonce (transaction sequence).

r: bytes = <object object>

r defines the signature value

s: bytes = <object object>

s define the signature value

to: str = <object object>

to is the hex formatted address of the recipient

v: bytes = <object object>

v defines the signature value

value: str = <object object>

value defines the transaction amount.

class evmos.proto.autogen.py.ethermint.evm.v1.EstimateGasResponse(gas: int = <object object>, ret: bytes = <object object>, vm_error: str = <object object>)[source]

Bases: Message

EstimateGasResponse defines EstimateGas response

gas: int = <object object>

gas returns the estimated gas

ret: bytes = <object object>

ret is the returned data from evm function (result or data supplied with revert opcode)

vm_error: str = <object object>

vm_error is the error returned by vm execution

class evmos.proto.autogen.py.ethermint.evm.v1.EthCallRequest(args: bytes = <object object>, gas_cap: int = <object object>, proposer_address: bytes = <object object>, chain_id: int = <object object>)[source]

Bases: Message

EthCallRequest defines EthCall request

args: bytes = <object object>

args uses the same json format as the json rpc api.

chain_id: int = <object object>

chain_id is the eip155 chain id parsed from the requested block header

gas_cap: int = <object object>

gas_cap defines the default gas cap to be used

proposer_address: bytes = <object object>

proposer_address of the requested block in hex format

class evmos.proto.autogen.py.ethermint.evm.v1.EventBlockBloom(bloom: str = <object object>)[source]

Bases: Message

EventBlockBloom defines an Ethereum block bloom filter event

bloom: str = <object object>

bloom is the bloom filter of the block

class evmos.proto.autogen.py.ethermint.evm.v1.EventEthereumTx(amount: str = <object object>, eth_hash: str = <object object>, index: str = <object object>, gas_used: str = <object object>, hash: str = <object object>, recipient: str = <object object>, eth_tx_failed: str = <object object>)[source]

Bases: Message

EventEthereumTx defines the event for an Ethereum transaction

amount: str = <object object>

amount

eth_hash: str = <object object>

eth_hash is the Ethereum hash of the transaction

eth_tx_failed: str = <object object>

eth_tx_failed contains a VM error should it occur

gas_used: str = <object object>

gas_used is the amount of gas used by the transaction

hash: str = <object object>

hash is the Tendermint hash of the transaction

index: str = <object object>

index of the transaction in the block

recipient: str = <object object>

recipient of the transaction

class evmos.proto.autogen.py.ethermint.evm.v1.EventMessage(module: str = <object object>, sender: str = <object object>, tx_type: str = <object object>)[source]

Bases: Message

module: str = <object object>

module which emits the event

sender: str = <object object>

sender of the message

tx_type: str = <object object>

tx_type is the type of the message

class evmos.proto.autogen.py.ethermint.evm.v1.EventTxLog(tx_logs: ~typing.List[str] = <object object>)[source]

Bases: Message

EventTxLog defines the event for an Ethereum transaction log

tx_logs: List[str] = <object object>

tx_logs is an array of transaction logs

class evmos.proto.autogen.py.ethermint.evm.v1.ExtensionOptionsEthereumTx[source]

Bases: Message

ExtensionOptionsEthereumTx is an extension option for ethereum transactions

class evmos.proto.autogen.py.ethermint.evm.v1.GenesisAccount(address: str = <object object>, code: str = <object object>, storage: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.State] = <object object>)[source]

Bases: Message

GenesisAccount defines an account to be initialized in the genesis state. Its main difference between with Geth’s GenesisAccount is that it uses a custom storage type and that it doesn’t contain the private key field.

address: str = <object object>

address defines an ethereum hex formated address of an account

code: str = <object object>

code defines the hex bytes of the account code.

storage: List[State] = <object object>

storage defines the set of state key values for the account.

class evmos.proto.autogen.py.ethermint.evm.v1.GenesisState(accounts: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.GenesisAccount] = <object object>, params: ~evmos.proto.autogen.py.ethermint.evm.v1.Params = <object object>)[source]

Bases: Message

GenesisState defines the evm module’s genesis state.

accounts: List[GenesisAccount] = <object object>

accounts is an array containing the ethereum genesis accounts.

params: Params = <object object>

params defines all the parameters of the module.

class evmos.proto.autogen.py.ethermint.evm.v1.LegacyTx(nonce: int = <object object>, gas_price: str = <object object>, gas: int = <object object>, to: str = <object object>, value: str = <object object>, data: bytes = <object object>, v: bytes = <object object>, r: bytes = <object object>, s: bytes = <object object>)[source]

Bases: Message

LegacyTx is the transaction data of regular Ethereum transactions. NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the AllowUnprotectedTxs parameter is disabled.

data: bytes = <object object>

data is the data payload bytes of the transaction.

gas: int = <object object>

gas defines the gas limit defined for the transaction.

gas_price: str = <object object>

gas_price defines the value for each gas unit

nonce: int = <object object>

nonce corresponds to the account nonce (transaction sequence).

r: bytes = <object object>

r defines the signature value

s: bytes = <object object>

s define the signature value

to: str = <object object>

to is the hex formatted address of the recipient

v: bytes = <object object>

v defines the signature value

value: str = <object object>

value defines the unsigned integer value of the transaction amount.

class evmos.proto.autogen.py.ethermint.evm.v1.Log(address: str = <object object>, topics: ~typing.List[str] = <object object>, data: bytes = <object object>, block_number: int = <object object>, tx_hash: str = <object object>, tx_index: int = <object object>, block_hash: str = <object object>, index: int = <object object>, removed: bool = <object object>)[source]

Bases: Message

Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node. NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.

address: str = <object object>

address of the contract that generated the event

block_hash: str = <object object>

block_hash of the block in which the transaction was included

block_number: int = <object object>

block_number of the block in which the transaction was included

data: bytes = <object object>

data which is supplied by the contract, usually ABI-encoded

index: int = <object object>

index of the log in the block

removed: bool = <object object>

removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs through a filter query.

topics: List[str] = <object object>

topics is a list of topics provided by the contract.

tx_hash: str = <object object>

tx_hash is the transaction hash

tx_index: int = <object object>

tx_index of the transaction in the block

class evmos.proto.autogen.py.ethermint.evm.v1.MsgBase[source]

Bases: ServiceBase

async ethereum_tx(msg_ethereum_tx: MsgEthereumTx) MsgEthereumTxResponse[source]
async update_params(msg_update_params: MsgUpdateParams) MsgUpdateParamsResponse[source]
class evmos.proto.autogen.py.ethermint.evm.v1.MsgEthereumTx(data: ~betterproto.lib.google.protobuf.Any = <object object>, size: float = <object object>, hash: str = <object object>, from_: str = <object object>)[source]

Bases: Message

MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.

data: Any = <object object>

data is inner transaction data of the Ethereum transaction

from_: str = <object object>

from is the ethereum signer address in hex format. This address value is checked against the address derived from the signature (V, R, S) using the secp256k1 elliptic curve

hash: str = <object object>

hash of the transaction in hex format

size: float = <object object>

size is the encoded storage size of the transaction (DEPRECATED)

class evmos.proto.autogen.py.ethermint.evm.v1.MsgEthereumTxResponse(hash: str = <object object>, logs: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.Log] = <object object>, ret: bytes = <object object>, vm_error: str = <object object>, gas_used: int = <object object>)[source]

Bases: Message

MsgEthereumTxResponse defines the Msg/EthereumTx response type.

gas_used: int = <object object>

gas_used specifies how much gas was consumed by the transaction

hash: str = <object object>

hash of the ethereum transaction in hex format. This hash differs from the Tendermint sha256 hash of the transaction bytes. See https://github.com/tendermint/tendermint/issues/6539 for reference

logs: List[Log] = <object object>

logs contains the transaction hash and the proto-compatible ethereum logs.

ret: bytes = <object object>

ret is the returned data from evm function (result or data supplied with revert opcode)

vm_error: str = <object object>

vm_error is the error returned by vm execution

class evmos.proto.autogen.py.ethermint.evm.v1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async ethereum_tx(msg_ethereum_tx: MsgEthereumTx, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgEthereumTxResponse[source]
async update_params(msg_update_params: MsgUpdateParams, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUpdateParamsResponse[source]
class evmos.proto.autogen.py.ethermint.evm.v1.MsgUpdateParams(authority: str = <object object>, params: ~evmos.proto.autogen.py.ethermint.evm.v1.Params = <object object>)[source]

Bases: Message

MsgUpdateParams defines a Msg for updating the x/evm module parameters.

authority: str = <object object>

authority is the address of the governance account.

params: Params = <object object>

params defines the x/evm parameters to update. NOTE: All parameters must be supplied.

class evmos.proto.autogen.py.ethermint.evm.v1.MsgUpdateParamsResponse[source]

Bases: Message

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

class evmos.proto.autogen.py.ethermint.evm.v1.Params(evm_denom: str = <object object>, extra_eips: ~typing.List[str] = <object object>, chain_config: ~evmos.proto.autogen.py.ethermint.evm.v1.ChainConfig = <object object>, allow_unprotected_txs: bool = <object object>, evm_channels: ~typing.List[str] = <object object>, access_control: ~evmos.proto.autogen.py.ethermint.evm.v1.AccessControl = <object object>, active_static_precompiles: ~typing.List[str] = <object object>)[source]

Bases: Message

Params defines the EVM module parameters

access_control: AccessControl = <object object>

access_control defines the permission policy of the EVM

active_static_precompiles: List[str] = <object object>

active_static_precompiles defines the slice of hex addresses of the precompiled contracts that are active

allow_unprotected_txs: bool = <object object>

allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine.

chain_config: ChainConfig = <object object>

chain_config defines the EVM chain configuration parameters

evm_channels: List[str] = <object object>

evm_channels is the list of channel identifiers from EVM compatible chains

evm_denom: str = <object object>

evm_denom represents the token denomination used to run the EVM state transitions.

extra_eips: List[str] = <object object>

extra_eips defines the additional EIPs for the vm.Config

class evmos.proto.autogen.py.ethermint.evm.v1.QueryAccountRequest(address: str = <object object>)[source]

Bases: Message

QueryAccountRequest is the request type for the Query/Account RPC method.

address: str = <object object>

address is the ethereum hex address to query the account for.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryAccountResponse(balance: str = <object object>, code_hash: str = <object object>, nonce: int = <object object>)[source]

Bases: Message

QueryAccountResponse is the response type for the Query/Account RPC method.

balance: str = <object object>

balance is the balance of the EVM denomination.

code_hash: str = <object object>

code_hash is the hex-formatted code bytes from the EOA.

nonce: int = <object object>

nonce is the account’s sequence number.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryBalanceRequest(address: str = <object object>)[source]

Bases: Message

QueryBalanceRequest is the request type for the Query/Balance RPC method.

address: str = <object object>

address is the ethereum hex address to query the balance for.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryBalanceResponse(balance: str = <object object>)[source]

Bases: Message

QueryBalanceResponse is the response type for the Query/Balance RPC method.

balance: str = <object object>

balance is the balance of the EVM denomination.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryBase[source]

Bases: ServiceBase

async account(query_account_request: QueryAccountRequest) QueryAccountResponse[source]
async balance(query_balance_request: QueryBalanceRequest) QueryBalanceResponse[source]
async base_fee(query_base_fee_request: QueryBaseFeeRequest) QueryBaseFeeResponse[source]
async code(query_code_request: QueryCodeRequest) QueryCodeResponse[source]
async cosmos_account(query_cosmos_account_request: QueryCosmosAccountRequest) QueryCosmosAccountResponse[source]
async estimate_gas(eth_call_request: EthCallRequest) EstimateGasResponse[source]
async eth_call(eth_call_request: EthCallRequest) MsgEthereumTxResponse[source]
async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
async storage(query_storage_request: QueryStorageRequest) QueryStorageResponse[source]
async trace_block(query_trace_block_request: QueryTraceBlockRequest) QueryTraceBlockResponse[source]
async trace_tx(query_trace_tx_request: QueryTraceTxRequest) QueryTraceTxResponse[source]
async validator_account(query_validator_account_request: QueryValidatorAccountRequest) QueryValidatorAccountResponse[source]
class evmos.proto.autogen.py.ethermint.evm.v1.QueryBaseFeeRequest[source]

Bases: Message

QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryBaseFeeResponse(base_fee: str = <object object>)[source]

Bases: Message

QueryBaseFeeResponse returns the EIP1559 base fee.

base_fee: str = <object object>

base_fee is the EIP1559 base fee

class evmos.proto.autogen.py.ethermint.evm.v1.QueryCodeRequest(address: str = <object object>)[source]

Bases: Message

QueryCodeRequest is the request type for the Query/Code RPC method.

address: str = <object object>

address is the ethereum hex address to query the code for.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryCodeResponse(code: bytes = <object object>)[source]

Bases: Message

QueryCodeResponse is the response type for the Query/Code RPC method.

code: bytes = <object object>

code represents the code bytes from an ethereum address.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryCosmosAccountRequest(address: str = <object object>)[source]

Bases: Message

QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.

address: str = <object object>

address is the ethereum hex address to query the account for.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryCosmosAccountResponse(cosmos_address: str = <object object>, sequence: int = <object object>, account_number: int = <object object>)[source]

Bases: Message

QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.

account_number: int = <object object>

account_number is the account number

cosmos_address: str = <object object>

cosmos_address is the cosmos address of the account.

sequence: int = <object object>

sequence is the account’s sequence number.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryParamsRequest[source]

Bases: Message

QueryParamsRequest defines the request type for querying x/evm parameters.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryParamsResponse(params: ~evmos.proto.autogen.py.ethermint.evm.v1.Params = <object object>)[source]

Bases: Message

QueryParamsResponse defines the response type for querying x/evm parameters.

params: Params = <object object>

params define the evm module parameters.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryStorageRequest(address: str = <object object>, key: str = <object object>)[source]

Bases: Message

QueryStorageRequest is the request type for the Query/Storage RPC method.

address: str = <object object>

address is the ethereum hex address to query the storage state for.

key: str = <object object>

key defines the key of the storage state

class evmos.proto.autogen.py.ethermint.evm.v1.QueryStorageResponse(value: str = <object object>)[source]

Bases: Message

QueryStorageResponse is the response type for the Query/Storage RPC method.

value: str = <object object>

value defines the storage state value hash associated with the given key.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async account(query_account_request: QueryAccountRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryAccountResponse[source]
async balance(query_balance_request: QueryBalanceRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryBalanceResponse[source]
async base_fee(query_base_fee_request: QueryBaseFeeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryBaseFeeResponse[source]
async code(query_code_request: QueryCodeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryCodeResponse[source]
async cosmos_account(query_cosmos_account_request: QueryCosmosAccountRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryCosmosAccountResponse[source]
async estimate_gas(eth_call_request: EthCallRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) EstimateGasResponse[source]
async eth_call(eth_call_request: EthCallRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgEthereumTxResponse[source]
async params(query_params_request: QueryParamsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryParamsResponse[source]
async storage(query_storage_request: QueryStorageRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryStorageResponse[source]
async trace_block(query_trace_block_request: QueryTraceBlockRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryTraceBlockResponse[source]
async trace_tx(query_trace_tx_request: QueryTraceTxRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryTraceTxResponse[source]
async validator_account(query_validator_account_request: QueryValidatorAccountRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorAccountResponse[source]
class evmos.proto.autogen.py.ethermint.evm.v1.QueryTraceBlockRequest(txs: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.MsgEthereumTx] = <object object>, trace_config: ~evmos.proto.autogen.py.ethermint.evm.v1.TraceConfig = <object object>, block_number: int = <object object>, block_hash: str = <object object>, block_time: ~datetime.datetime = <object object>, proposer_address: bytes = <object object>, chain_id: int = <object object>, block_max_gas: int = <object object>)[source]

Bases: Message

QueryTraceBlockRequest defines TraceTx request

block_hash: str = <object object>

block_hash (hex) of the traced block

block_max_gas: int = <object object>

block_max_gas of the traced block

block_number: int = <object object>

block_number of the traced block

block_time: datetime = <object object>

block_time of the traced block

chain_id: int = <object object>

chain_id is the eip155 chain id parsed from the requested block header

proposer_address: bytes = <object object>

proposer_address is the address of the requested block

trace_config: TraceConfig = <object object>

trace_config holds extra parameters to trace functions.

txs: List[MsgEthereumTx] = <object object>

txs is an array of messages in the block

class evmos.proto.autogen.py.ethermint.evm.v1.QueryTraceBlockResponse(data: bytes = <object object>)[source]

Bases: Message

QueryTraceBlockResponse defines TraceBlock response

data: bytes = <object object>

data is the response serialized in bytes

class evmos.proto.autogen.py.ethermint.evm.v1.QueryTraceTxRequest(msg: ~evmos.proto.autogen.py.ethermint.evm.v1.MsgEthereumTx = <object object>, trace_config: ~evmos.proto.autogen.py.ethermint.evm.v1.TraceConfig = <object object>, predecessors: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.MsgEthereumTx] = <object object>, block_number: int = <object object>, block_hash: str = <object object>, block_time: ~datetime.datetime = <object object>, proposer_address: bytes = <object object>, chain_id: int = <object object>, block_max_gas: int = <object object>)[source]

Bases: Message

QueryTraceTxRequest defines TraceTx request

block_hash: str = <object object>

block_hash of requested transaction

block_max_gas: int = <object object>

block_max_gas of the block of the requested transaction

block_number: int = <object object>

block_number of requested transaction

block_time: datetime = <object object>

block_time of requested transaction

chain_id: int = <object object>

chain_id is the eip155 chain id parsed from the requested block header

msg: MsgEthereumTx = <object object>

msg is the MsgEthereumTx for the requested transaction

predecessors: List[MsgEthereumTx] = <object object>

predecessors is an array of transactions included in the same block need to be replayed first to get correct context for tracing.

proposer_address: bytes = <object object>

proposer_address is the proposer of the requested block

trace_config: TraceConfig = <object object>

trace_config holds extra parameters to trace functions.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryTraceTxResponse(data: bytes = <object object>)[source]

Bases: Message

QueryTraceTxResponse defines TraceTx response

data: bytes = <object object>

data is the response serialized in bytes

class evmos.proto.autogen.py.ethermint.evm.v1.QueryTxLogsRequest(hash: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.

hash: str = <object object>

hash is the ethereum transaction hex hash to query the logs for.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryTxLogsResponse(logs: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.Log] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryTxLogsResponse is the response type for the Query/TxLogs RPC method.

logs: List[Log] = <object object>

logs represents the ethereum logs generated from the given transaction.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryValidatorAccountRequest(cons_address: str = <object object>)[source]

Bases: Message

QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.

cons_address: str = <object object>

cons_address is the validator cons address to query the account for.

class evmos.proto.autogen.py.ethermint.evm.v1.QueryValidatorAccountResponse(account_address: str = <object object>, sequence: int = <object object>, account_number: int = <object object>)[source]

Bases: Message

QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.

account_address: str = <object object>

account_address is the cosmos address of the account in bech32 format.

account_number: int = <object object>

account_number is the account number

sequence: int = <object object>

sequence is the account’s sequence number.

class evmos.proto.autogen.py.ethermint.evm.v1.State(key: str = <object object>, value: str = <object object>)[source]

Bases: Message

State represents a single Storage key value pair item.

key: str = <object object>

key is the stored key

value: str = <object object>

value is the stored value for the given key

class evmos.proto.autogen.py.ethermint.evm.v1.TraceConfig(tracer: str = <object object>, timeout: str = <object object>, reexec: int = <object object>, disable_stack: bool = <object object>, disable_storage: bool = <object object>, debug: bool = <object object>, limit: int = <object object>, overrides: ~evmos.proto.autogen.py.ethermint.evm.v1.ChainConfig = <object object>, enable_memory: bool = <object object>, enable_return_data: bool = <object object>, tracer_json_config: str = <object object>)[source]

Bases: Message

TraceConfig holds extra parameters to trace functions.

debug: bool = <object object>

debug can be used to print output during capture end

disable_stack: bool = <object object>

disable_stack switches stack capture

disable_storage: bool = <object object>

disable_storage switches storage capture

enable_memory: bool = <object object>

enable_memory switches memory capture

enable_return_data: bool = <object object>

enable_return_data switches the capture of return data

limit: int = <object object>

limit defines the maximum length of output, but zero means unlimited

overrides: ChainConfig = <object object>

overrides can be used to execute a trace using future fork rules

reexec: int = <object object>

reexec defines the number of blocks the tracer is willing to go back

timeout: str = <object object>

timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls

tracer: str = <object object>

tracer is a custom javascript tracer

tracer_json_config: str = <object object>

tracer_json_config configures the tracer using a JSON string

class evmos.proto.autogen.py.ethermint.evm.v1.TransactionLogs(hash: str = <object object>, logs: ~typing.List[~evmos.proto.autogen.py.ethermint.evm.v1.Log] = <object object>)[source]

Bases: Message

TransactionLogs define the logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain state after an upgrade.

hash: str = <object object>

hash of the transaction

logs: List[Log] = <object object>

logs is an array of Logs for the given transaction hash

class evmos.proto.autogen.py.ethermint.evm.v1.TxResult(contract_address: str = <object object>, bloom: bytes = <object object>, tx_logs: ~evmos.proto.autogen.py.ethermint.evm.v1.TransactionLogs = <object object>, ret: bytes = <object object>, reverted: bool = <object object>, gas_used: int = <object object>)[source]

Bases: Message

TxResult stores results of Tx execution.

bloom: bytes = <object object>

bloom represents the bloom filter bytes

contract_address: str = <object object>

contract_address contains the ethereum address of the created contract (if any). If the state transition is an evm.Call, the contract address will be empty.

gas_used: int = <object object>

gas_used notes the amount of gas consumed while execution

ret: bytes = <object object>

ret defines the bytes from the execution.

reverted: bool = <object object>

reverted flag is set to true when the call has been reverted

tx_logs: TransactionLogs = <object object>

tx_logs contains the transaction hash and the proto-compatible ethereum logs.