nibiru_std/proto/buf/
eth.types.v1.rs

1// @generated
2/// EthAccount implements the authtypes.AccountI interface and embeds an
3/// authtypes.BaseAccount type. It is compatible with the auth AccountKeeper.
4#[allow(clippy::derive_partial_eq_without_eq)]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct EthAccount {
7    /// base_account is an authtypes.BaseAccount
8    #[prost(message, optional, tag="1")]
9    pub base_account: ::core::option::Option<crate::proto::cosmos::auth::v1beta1::BaseAccount>,
10    /// code_hash is the hash calculated from the code contents
11    #[prost(string, tag="2")]
12    pub code_hash: ::prost::alloc::string::String,
13}
14/// TxResult is the value stored in eth tx indexer
15#[allow(clippy::derive_partial_eq_without_eq)]
16#[derive(Clone, PartialEq, ::prost::Message)]
17pub struct TxResult {
18    /// height of the blockchain
19    #[prost(int64, tag="1")]
20    pub height: i64,
21    /// tx_index is the index of the block transaction. It is not the index of an
22    /// "internal transaction"
23    #[prost(uint32, tag="2")]
24    pub tx_index: u32,
25    /// msg_index in a batch transaction
26    #[prost(uint32, tag="3")]
27    pub msg_index: u32,
28    /// eth_tx_index is the index in the list of valid eth tx in the block. Said
29    /// another way, it is the index of the transaction list returned by
30    /// eth_getBlock API.
31    #[prost(int32, tag="4")]
32    pub eth_tx_index: i32,
33    /// failed is true if the eth transaction did not succeed
34    #[prost(bool, tag="5")]
35    pub failed: bool,
36    /// gas_used by the transaction. If it exceeds the block gas limit,
37    /// it's set to gas limit, which is what's actually deducted by ante handler.
38    #[prost(uint64, tag="6")]
39    pub gas_used: u64,
40    /// cumulative_gas_used specifies the cumulated amount of gas used for all
41    /// processed messages within the current batch transaction.
42    #[prost(uint64, tag="7")]
43    pub cumulative_gas_used: u64,
44}
45// @@protoc_insertion_point(module)