evmos.proto.autogen.py.ethermint.evm.v1
Classes
|
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. |
|
DynamicFeeTx is the data of EIP-1559 dinamic fee transactions. |
|
EstimateGasResponse defines EstimateGas response |
|
EthCallRequest defines EthCall request |
|
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. |
QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee. |
|
|
BaseFeeResponse returns the EIP1559 base fee. |
|
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. |
|
QueryStorageRequest is the request type for the Query/Storage RPC method. |
|
QueryStorageResponse is the response type for the Query/Storage RPC method. |
|
|
|
QueryTraceBlockRequest defines TraceTx request |
|
QueryTraceBlockResponse defines TraceBlock response |
|
QueryTraceTxRequest defines TraceTx request |
|
QueryTraceTxResponse defines TraceTx response |
|
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. |
|
TraceConfig holds extra parameters to trace functions. |
|
TransactionLogs define the logs generated from a transaction execution with a given hash. |
|
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:
MessageAccessListTx is the data of EIP-2930 access list transactions.
- accesses: List[AccessTuple] = <object object>
- class evmos.proto.autogen.py.ethermint.evm.v1.AccessTuple(address: str = <object object>, storage_keys: ~typing.List[str] = <object object>)[source]
Bases:
MessageAccessTuple is the element type of an access list.
- 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:
MessageChainConfig 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)
- 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)
- 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)
- merge_fork_block: str = <object object>
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge proceedings)
- 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:
MessageDynamicFeeTx is the data of EIP-1559 dinamic fee transactions.
- accesses: List[AccessTuple] = <object object>
- class evmos.proto.autogen.py.ethermint.evm.v1.EstimateGasResponse(gas: int = <object object>)[source]
Bases:
MessageEstimateGasResponse defines EstimateGas response
- class evmos.proto.autogen.py.ethermint.evm.v1.EthCallRequest(args: bytes = <object object>, gas_cap: int = <object object>)[source]
Bases:
MessageEthCallRequest defines EthCall request
- 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:
MessageGenesisAccount 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.
- 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:
MessageGenesisState defines the evm module’s genesis state.
- accounts: List[GenesisAccount] = <object object>
accounts is an array containing the ethereum genesis accounts.
- 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:
MessageLegacyTx 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.
- 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:
MessageLog 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.
- 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:
MessageMsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
- data: Any = <object object>
inner transaction data
- 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:
MessageMsgEthereumTxResponse defines the Msg/EthereumTx response type.
- 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.
- 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:
MessageParams 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
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryAccountRequest(address: str = <object object>)[source]
Bases:
MessageQueryAccountRequest is the request type for the Query/Account RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryAccountResponse(balance: str = <object object>, code_hash: str = <object object>, nonce: int = <object object>)[source]
Bases:
MessageQueryAccountResponse is the response type for the Query/Account RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryBalanceRequest(address: str = <object object>)[source]
Bases:
MessageQueryBalanceRequest is the request type for the Query/Balance RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryBalanceResponse(balance: str = <object object>)[source]
Bases:
MessageQueryBalanceResponse is the response type for the Query/Balance RPC method.
- 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:
MessageQueryBaseFeeRequest 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:
MessageBaseFeeResponse returns the EIP1559 base fee.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryCodeRequest(address: str = <object object>)[source]
Bases:
MessageQueryCodeRequest is the request type for the Query/Code RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryCodeResponse(code: bytes = <object object>)[source]
Bases:
MessageQueryCodeResponse is the response type for the Query/Code RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryCosmosAccountRequest(address: str = <object object>)[source]
Bases:
MessageQueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.
- 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:
MessageQueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryParamsRequest[source]
Bases:
MessageQueryParamsRequest 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:
MessageQueryParamsResponse defines the response type for querying x/evm parameters.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryStorageRequest(address: str = <object object>, key: str = <object object>)[source]
Bases:
MessageQueryStorageRequest is the request type for the Query/Storage RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.QueryStorageResponse(value: str = <object object>)[source]
Bases:
MessageQueryStorageResponse is the response type for the Query/Storage RPC method.
- 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:
MessageQueryTraceBlockRequest defines TraceTx request
- 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:
MessageQueryTraceBlockResponse defines TraceBlock response
- 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:
MessageQueryTraceTxRequest defines TraceTx request
- 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:
MessageQueryTraceTxResponse defines TraceTx response
- 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:
MessageQueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
- 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:
MessageQueryTxLogs 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:
MessageQueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.
- 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:
MessageQueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
- class evmos.proto.autogen.py.ethermint.evm.v1.State(key: str = <object object>, value: str = <object object>)[source]
Bases:
MessageState represents a single Storage key value pair item.
- 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:
MessageTraceConfig holds extra parameters to trace functions.
- overrides: ChainConfig = <object object>
Chain overrides, can be used to execute a trace using future fork rules
- 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:
MessageTransactionLogs 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.
- 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:
MessageTxResult stores results of Tx execution.
- 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.
- tx_logs: TransactionLogs = <object object>
tx_logs contains the transaction hash and the proto-compatible ethereum logs.