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

Classes

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.

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 dinamic fee transactions.

EstimateGasResponse(gas)

EstimateGasResponse defines EstimateGas response

EthCallRequest(args, gas_cap)

EthCallRequest defines EthCall request

ExtensionOptionsEthereumTx()

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, ...])

Params(evm_denom, enable_create, ...)

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)

BaseFeeResponse 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)

QueryTxLogs 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.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>
chain_id: str = <object object>

destination EVM chain ID

data: bytes = <object object>

input defines 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>

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.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>

hex formatted ethereum address

storage_keys: List[str] = <object object>

hex formatted hashes of the storage keys

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>, merge_fork_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)

berlin_block: str = <object object>

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

byzantium_block: str = <object object>

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

constantinople_block: str = <object object>

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

dao_fork_block: str = <object object>

TheDAO hard-fork switch block (nil no fork)

dao_fork_support: bool = <object object>

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)

eip150_hash: str = <object object>

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

eip155_block: str = <object object>

EIP155Block HF block

eip158_block: str = <object object>

EIP158 HF block

homestead_block: str = <object object>

Homestead switch block (nil no fork, 0 = already homestead)

istanbul_block: str = <object object>

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

london_block: str = <object object>

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

merge_fork_block: str = <object object>

EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge proceedings)

muir_glacier_block: str = <object object>

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

petersburg_block: str = <object object>

Petersburg switch block (nil same as Constantinople)

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 dinamic fee transactions.

accesses: List[AccessTuple] = <object object>
chain_id: str = <object object>

destination EVM chain ID

data: bytes = <object object>

input defines 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>

hex formatted address of the recipient

v: bytes = <object object>

v defines the signature value

value: str = <object object>

value defines the the transaction amount.

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

Bases: Message

EstimateGasResponse defines EstimateGas response

gas: int = <object object>

the estimated gas

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

Bases: Message

EthCallRequest defines EthCall request

args: bytes = <object object>

same json format as the json rpc api.

gas_cap: int = <object object>

the default gas cap to be used

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

Bases: Message

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>

input defines 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>

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.

address: str = <object object>

address of the contract that generated the event

block_hash: str = <object object>

hash of the block in which the transaction was included

block_number: int = <object object>

block in which the transaction was included

data: bytes = <object object>

supplied by the contract, usually ABI-encoded

index: int = <object object>

index of the log in the block

removed: bool = <object object>

The Removed field 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>

list of topics provided by the contract.

tx_hash: str = <object object>

hash of the transaction

tx_index: int = <object object>

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]
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>

inner transaction data

from_: str = <object object>

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>

transaction hash in hex format

size: float = <object object>

encoded storage size of the transaction

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 consumed by the transaction

hash: str = <object object>

ethereum transaction hash 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>

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: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async ethereum_tx(msg_ethereum_tx: MsgEthereumTx, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgEthereumTxResponse[source]
class evmos.proto.autogen.py.ethermint.evm.v1.Params(evm_denom: str = <object object>, enable_create: bool = <object object>, enable_call: bool = <object object>, extra_eips: ~typing.List[int] = <object object>, chain_config: ~evmos.proto.autogen.py.ethermint.evm.v1.ChainConfig = <object object>, allow_unprotected_txs: bool = <object object>)[source]

Bases: Message

Params defines the EVM module parameters

allow_unprotected_txs: bool = <object object>

Allow unprotected transactions 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

enable_call: bool = <object object>

enable call toggles state transitions that use the vm.Call function

enable_create: bool = <object object>

enable create toggles state transitions that use the vm.Create function

evm_denom: str = <object object>

evm denom represents the token denomination used to run the EVM state transitions.

extra_eips: List[int] = <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

BaseFeeResponse returns the EIP1559 base fee.

base_fee: str = <object object>
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 numbert

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>

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

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

Bases: ServiceStub

async account(query_account_request: QueryAccountRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryAccountResponse[source]
async balance(query_balance_request: QueryBalanceRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryBalanceResponse[source]
async base_fee(query_base_fee_request: QueryBaseFeeRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryBaseFeeResponse[source]
async code(query_code_request: QueryCodeRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryCodeResponse[source]
async cosmos_account(query_cosmos_account_request: QueryCosmosAccountRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryCosmosAccountResponse[source]
async estimate_gas(eth_call_request: EthCallRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) EstimateGasResponse[source]
async eth_call(eth_call_request: EthCallRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgEthereumTxResponse[source]
async params(query_params_request: QueryParamsRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryParamsResponse[source]
async storage(query_storage_request: QueryStorageRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryStorageResponse[source]
async trace_block(query_trace_block_request: QueryTraceBlockRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryTraceBlockResponse[source]
async trace_tx(query_trace_tx_request: QueryTraceTxRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryTraceTxResponse[source]
async validator_account(query_validator_account_request: QueryValidatorAccountRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = 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>)[source]

Bases: Message

QueryTraceBlockRequest defines TraceTx request

block_hash: str = <object object>

block hex hash

block_number: int = <object object>

block number

block_time: datetime = <object object>

block time

trace_config: TraceConfig = <object object>

TraceConfig holds extra parameters to trace functions.

txs: List[MsgEthereumTx] = <object object>

txs 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>
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>)[source]

Bases: Message

QueryTraceTxRequest defines TraceTx request

block_hash: str = <object object>

block hex hash of requested transaction

block_number: int = <object object>

block number of requested transaction

block_time: datetime = <object object>

block time of requested transaction

msg: MsgEthereumTx = <object object>

msgEthereumTx for the requested transaction

predecessors: List[MsgEthereumTx] = <object object>

the predecessor transactions included in the same block need to be replayed first to get correct context for tracing.

trace_config: TraceConfig = <object object>

TraceConfig 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>

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

QueryTxLogs 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>
value: str = <object object>
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>)[source]

Bases: Message

TraceConfig holds extra parameters to trace functions.

debug: bool = <object object>

print output during capture end

disable_stack: bool = <object object>

disable stack capture

disable_storage: bool = <object object>

disable storage capture

enable_memory: bool = <object object>

enable memory capture

enable_return_data: bool = <object object>

enable return data capture

limit: int = <object object>

maximum length of output, but zero means unlimited

overrides: ChainConfig = <object object>

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

reexec: int = <object object>

number of blocks the tracer is willing to go back

timeout: str = <object object>

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

tracer: str = <object object>

custom javascript tracer

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>
logs: List[Log] = <object object>
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.