nibiru_std/proto/buf/
cosmos.base.abci.v1beta1.rs

1// @generated
2/// TxResponse defines a structure containing relevant tx data and metadata. The
3/// tags are stringified and the log is JSON decoded.
4#[allow(clippy::derive_partial_eq_without_eq)]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct TxResponse {
7    /// The block height
8    #[prost(int64, tag="1")]
9    pub height: i64,
10    /// The transaction hash.
11    #[prost(string, tag="2")]
12    pub txhash: ::prost::alloc::string::String,
13    /// Namespace for the Code
14    #[prost(string, tag="3")]
15    pub codespace: ::prost::alloc::string::String,
16    /// Response code.
17    #[prost(uint32, tag="4")]
18    pub code: u32,
19    /// Result bytes, if any.
20    #[prost(string, tag="5")]
21    pub data: ::prost::alloc::string::String,
22    /// The output of the application's logger (raw string). May be
23    /// non-deterministic.
24    #[prost(string, tag="6")]
25    pub raw_log: ::prost::alloc::string::String,
26    /// The output of the application's logger (typed). May be non-deterministic.
27    #[prost(message, repeated, tag="7")]
28    pub logs: ::prost::alloc::vec::Vec<AbciMessageLog>,
29    /// Additional information. May be non-deterministic.
30    #[prost(string, tag="8")]
31    pub info: ::prost::alloc::string::String,
32    /// Amount of gas requested for transaction.
33    #[prost(int64, tag="9")]
34    pub gas_wanted: i64,
35    /// Amount of gas consumed by transaction.
36    #[prost(int64, tag="10")]
37    pub gas_used: i64,
38    /// The request transaction bytes.
39    #[prost(message, optional, tag="11")]
40    pub tx: ::core::option::Option<::prost_types::Any>,
41    /// Time of the previous block. For heights > 1, it's the weighted median of
42    /// the timestamps of the valid votes in the block.LastCommit. For height == 1,
43    /// it's genesis time.
44    #[prost(string, tag="12")]
45    pub timestamp: ::prost::alloc::string::String,
46    /// Events defines all the events emitted by processing a transaction. Note,
47    /// these events include those emitted by processing all the messages and those
48    /// emitted from the ante. Whereas Logs contains the events, with
49    /// additional metadata, emitted only by processing the messages.
50    ///
51    /// Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
52    #[prost(message, repeated, tag="13")]
53    pub events: ::prost::alloc::vec::Vec<crate::proto::tendermint::abci::Event>,
54}
55/// ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
56#[allow(clippy::derive_partial_eq_without_eq)]
57#[derive(Clone, PartialEq, ::prost::Message)]
58pub struct AbciMessageLog {
59    #[prost(uint32, tag="1")]
60    pub msg_index: u32,
61    #[prost(string, tag="2")]
62    pub log: ::prost::alloc::string::String,
63    /// Events contains a slice of Event objects that were emitted during some
64    /// execution.
65    #[prost(message, repeated, tag="3")]
66    pub events: ::prost::alloc::vec::Vec<StringEvent>,
67}
68/// StringEvent defines en Event object wrapper where all the attributes
69/// contain key/value pairs that are strings instead of raw bytes.
70#[allow(clippy::derive_partial_eq_without_eq)]
71#[derive(Clone, PartialEq, ::prost::Message)]
72pub struct StringEvent {
73    #[prost(string, tag="1")]
74    pub r#type: ::prost::alloc::string::String,
75    #[prost(message, repeated, tag="2")]
76    pub attributes: ::prost::alloc::vec::Vec<Attribute>,
77}
78/// Attribute defines an attribute wrapper where the key and value are
79/// strings instead of raw bytes.
80#[allow(clippy::derive_partial_eq_without_eq)]
81#[derive(Clone, PartialEq, ::prost::Message)]
82pub struct Attribute {
83    #[prost(string, tag="1")]
84    pub key: ::prost::alloc::string::String,
85    #[prost(string, tag="2")]
86    pub value: ::prost::alloc::string::String,
87}
88/// GasInfo defines tx execution gas context.
89#[allow(clippy::derive_partial_eq_without_eq)]
90#[derive(Clone, PartialEq, ::prost::Message)]
91pub struct GasInfo {
92    /// GasWanted is the maximum units of work we allow this tx to perform.
93    #[prost(uint64, tag="1")]
94    pub gas_wanted: u64,
95    /// GasUsed is the amount of gas actually consumed.
96    #[prost(uint64, tag="2")]
97    pub gas_used: u64,
98}
99/// Result is the union of ResponseFormat and ResponseCheckTx.
100#[allow(clippy::derive_partial_eq_without_eq)]
101#[derive(Clone, PartialEq, ::prost::Message)]
102pub struct Result {
103    /// Data is any data returned from message or handler execution. It MUST be
104    /// length prefixed in order to separate data from multiple message executions.
105    /// Deprecated. This field is still populated, but prefer msg_response instead
106    /// because it also contains the Msg response typeURL.
107    #[deprecated]
108    #[prost(bytes="bytes", tag="1")]
109    pub data: ::prost::bytes::Bytes,
110    /// Log contains the log information from message or handler execution.
111    #[prost(string, tag="2")]
112    pub log: ::prost::alloc::string::String,
113    /// Events contains a slice of Event objects that were emitted during message
114    /// or handler execution.
115    #[prost(message, repeated, tag="3")]
116    pub events: ::prost::alloc::vec::Vec<crate::proto::tendermint::abci::Event>,
117    /// msg_responses contains the Msg handler responses type packed in Anys.
118    ///
119    /// Since: cosmos-sdk 0.46
120    #[prost(message, repeated, tag="4")]
121    pub msg_responses: ::prost::alloc::vec::Vec<::prost_types::Any>,
122}
123/// SimulationResponse defines the response generated when a transaction is
124/// successfully simulated.
125#[allow(clippy::derive_partial_eq_without_eq)]
126#[derive(Clone, PartialEq, ::prost::Message)]
127pub struct SimulationResponse {
128    #[prost(message, optional, tag="1")]
129    pub gas_info: ::core::option::Option<GasInfo>,
130    #[prost(message, optional, tag="2")]
131    pub result: ::core::option::Option<Result>,
132}
133/// MsgData defines the data returned in a Result object during message
134/// execution.
135#[allow(clippy::derive_partial_eq_without_eq)]
136#[derive(Clone, PartialEq, ::prost::Message)]
137pub struct MsgData {
138    #[prost(string, tag="1")]
139    pub msg_type: ::prost::alloc::string::String,
140    #[prost(bytes="bytes", tag="2")]
141    pub data: ::prost::bytes::Bytes,
142}
143/// TxMsgData defines a list of MsgData. A transaction will have a MsgData object
144/// for each message.
145#[allow(clippy::derive_partial_eq_without_eq)]
146#[derive(Clone, PartialEq, ::prost::Message)]
147pub struct TxMsgData {
148    /// data field is deprecated and not populated.
149    #[deprecated]
150    #[prost(message, repeated, tag="1")]
151    pub data: ::prost::alloc::vec::Vec<MsgData>,
152    /// msg_responses contains the Msg handler responses packed into Anys.
153    ///
154    /// Since: cosmos-sdk 0.46
155    #[prost(message, repeated, tag="2")]
156    pub msg_responses: ::prost::alloc::vec::Vec<::prost_types::Any>,
157}
158/// SearchTxsResult defines a structure for querying txs pageable
159#[allow(clippy::derive_partial_eq_without_eq)]
160#[derive(Clone, PartialEq, ::prost::Message)]
161pub struct SearchTxsResult {
162    /// Count of all txs
163    #[prost(uint64, tag="1")]
164    pub total_count: u64,
165    /// Count of txs in current page
166    #[prost(uint64, tag="2")]
167    pub count: u64,
168    /// Index of current page, start from 1
169    #[prost(uint64, tag="3")]
170    pub page_number: u64,
171    /// Count of total pages
172    #[prost(uint64, tag="4")]
173    pub page_total: u64,
174    /// Max count txs per page
175    #[prost(uint64, tag="5")]
176    pub limit: u64,
177    /// List of txs in current page
178    #[prost(message, repeated, tag="6")]
179    pub txs: ::prost::alloc::vec::Vec<TxResponse>,
180}
181// @@protoc_insertion_point(module)