juno-network 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/package.json +2 -2
  2. package/types/codegen/JunoSwap.client.d.ts +122 -0
  3. package/types/codegen/JunoSwap.types.d.ts +142 -0
  4. package/types/codegen/confio/proofs.d.ts +495 -0
  5. package/types/codegen/contracts.d.ts +12 -0
  6. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  7. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  8. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  9. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  10. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  11. package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +32 -0
  12. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  13. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  14. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  15. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  16. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  17. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  18. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  19. package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +57 -0
  20. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  21. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  22. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  23. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  24. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  25. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  26. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  27. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  28. package/types/codegen/cosmos/bundle.d.ts +25545 -0
  29. package/types/codegen/cosmos/client.d.ts +473 -0
  30. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  31. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  32. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  33. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  34. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  35. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  36. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  37. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  38. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  39. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  40. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  41. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +51 -0
  42. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  43. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  44. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  45. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  46. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  47. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  48. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  49. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  50. package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +44 -0
  51. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  52. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  53. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  54. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  55. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  56. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  57. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  58. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  59. package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +44 -0
  60. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  61. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  62. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  63. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  64. package/types/codegen/cosmos/lcd.d.ts +28 -0
  65. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  66. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  67. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  68. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  69. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  70. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  71. package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +80 -0
  72. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  73. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  74. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  75. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  76. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  77. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  78. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  79. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  80. package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +36 -0
  81. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  82. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  83. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  84. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +43 -0
  85. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  86. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  87. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  88. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  89. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  90. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  91. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  92. package/types/codegen/cosmwasm/bundle.d.ts +5227 -0
  93. package/types/codegen/cosmwasm/client.d.ts +120 -0
  94. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  95. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  96. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  97. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  98. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  99. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  100. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  101. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  102. package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +48 -0
  103. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  104. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  105. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  106. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
  107. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  108. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  109. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  110. package/types/codegen/google/bundle.d.ts +8939 -0
  111. package/types/codegen/google/protobuf/any.d.ts +237 -0
  112. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  113. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  114. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  115. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  116. package/types/codegen/helpers.d.ts +82 -0
  117. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  119. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  120. package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +24 -0
  121. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  124. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  125. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  126. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  127. package/types/codegen/ibc/bundle.d.ts +21744 -0
  128. package/types/codegen/ibc/client.d.ts +559 -0
  129. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  130. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  131. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  132. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  133. package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +88 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  136. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  137. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  138. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  139. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  140. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  141. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  142. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +50 -0
  143. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  144. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  145. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  146. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  147. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  148. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  149. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  150. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  151. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  152. package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +41 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  155. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  156. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  157. package/types/codegen/ibc/lcd.d.ts +46 -0
  158. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  159. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  161. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  162. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  163. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  164. package/types/codegen/ics23/bundle.d.ts +545 -0
  165. package/types/codegen/index.d.ts +18 -0
  166. package/types/codegen/juno/bundle.d.ts +723 -0
  167. package/types/codegen/juno/lcd.d.ts +31 -0
  168. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  169. package/types/codegen/juno/mint/mint.d.ts +44 -0
  170. package/types/codegen/juno/mint/query.d.ts +99 -0
  171. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  172. package/types/codegen/juno/mint/query.rpc.query.d.ts +24 -0
  173. package/types/codegen/juno/rpc.query.d.ts +104 -0
  174. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  175. package/types/codegen/tendermint/bundle.d.ts +19673 -0
  176. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  177. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  178. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  179. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  180. package/types/codegen/tendermint/types/block.d.ts +21 -0
  181. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  182. package/types/codegen/tendermint/types/params.d.ts +181 -0
  183. package/types/codegen/tendermint/types/types.d.ts +326 -0
  184. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  185. package/types/codegen/tendermint/version/types.d.ts +48 -0
  186. package/types/index.d.ts +1 -0
@@ -0,0 +1,354 @@
1
+ import { Any, AnySDKType } from "../../../../google/protobuf/any";
2
+ import { Event, EventSDKType } from "../../../../tendermint/abci/types";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { Long, DeepPartial } from "../../../../helpers";
5
+ /**
6
+ * TxResponse defines a structure containing relevant tx data and metadata. The
7
+ * tags are stringified and the log is JSON decoded.
8
+ */
9
+ export interface TxResponse {
10
+ /** The block height */
11
+ height: Long;
12
+ /** The transaction hash. */
13
+ txhash: string;
14
+ /** Namespace for the Code */
15
+ codespace: string;
16
+ /** Response code. */
17
+ code: number;
18
+ /** Result bytes, if any. */
19
+ data: string;
20
+ /**
21
+ * The output of the application's logger (raw string). May be
22
+ * non-deterministic.
23
+ */
24
+ rawLog: string;
25
+ /** The output of the application's logger (typed). May be non-deterministic. */
26
+ logs: ABCIMessageLog[];
27
+ /** Additional information. May be non-deterministic. */
28
+ info: string;
29
+ /** Amount of gas requested for transaction. */
30
+ gasWanted: Long;
31
+ /** Amount of gas consumed by transaction. */
32
+ gasUsed: Long;
33
+ /** The request transaction bytes. */
34
+ tx?: Any;
35
+ /**
36
+ * Time of the previous block. For heights > 1, it's the weighted median of
37
+ * the timestamps of the valid votes in the block.LastCommit. For height == 1,
38
+ * it's genesis time.
39
+ */
40
+ timestamp: string;
41
+ /**
42
+ * Events defines all the events emitted by processing a transaction. Note,
43
+ * these events include those emitted by processing all the messages and those
44
+ * emitted from the ante handler. Whereas Logs contains the events, with
45
+ * additional metadata, emitted only by processing the messages.
46
+ *
47
+ * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
48
+ */
49
+ events: Event[];
50
+ }
51
+ /**
52
+ * TxResponse defines a structure containing relevant tx data and metadata. The
53
+ * tags are stringified and the log is JSON decoded.
54
+ */
55
+ export interface TxResponseSDKType {
56
+ /** The block height */
57
+ height: Long;
58
+ /** The transaction hash. */
59
+ txhash: string;
60
+ /** Namespace for the Code */
61
+ codespace: string;
62
+ /** Response code. */
63
+ code: number;
64
+ /** Result bytes, if any. */
65
+ data: string;
66
+ /**
67
+ * The output of the application's logger (raw string). May be
68
+ * non-deterministic.
69
+ */
70
+ raw_log: string;
71
+ /** The output of the application's logger (typed). May be non-deterministic. */
72
+ logs: ABCIMessageLogSDKType[];
73
+ /** Additional information. May be non-deterministic. */
74
+ info: string;
75
+ /** Amount of gas requested for transaction. */
76
+ gas_wanted: Long;
77
+ /** Amount of gas consumed by transaction. */
78
+ gas_used: Long;
79
+ /** The request transaction bytes. */
80
+ tx?: AnySDKType;
81
+ /**
82
+ * Time of the previous block. For heights > 1, it's the weighted median of
83
+ * the timestamps of the valid votes in the block.LastCommit. For height == 1,
84
+ * it's genesis time.
85
+ */
86
+ timestamp: string;
87
+ /**
88
+ * Events defines all the events emitted by processing a transaction. Note,
89
+ * these events include those emitted by processing all the messages and those
90
+ * emitted from the ante handler. Whereas Logs contains the events, with
91
+ * additional metadata, emitted only by processing the messages.
92
+ *
93
+ * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
94
+ */
95
+ events: EventSDKType[];
96
+ }
97
+ /** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */
98
+ export interface ABCIMessageLog {
99
+ msgIndex: number;
100
+ log: string;
101
+ /**
102
+ * Events contains a slice of Event objects that were emitted during some
103
+ * execution.
104
+ */
105
+ events: StringEvent[];
106
+ }
107
+ /** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */
108
+ export interface ABCIMessageLogSDKType {
109
+ msg_index: number;
110
+ log: string;
111
+ /**
112
+ * Events contains a slice of Event objects that were emitted during some
113
+ * execution.
114
+ */
115
+ events: StringEventSDKType[];
116
+ }
117
+ /**
118
+ * StringEvent defines en Event object wrapper where all the attributes
119
+ * contain key/value pairs that are strings instead of raw bytes.
120
+ */
121
+ export interface StringEvent {
122
+ type: string;
123
+ attributes: Attribute[];
124
+ }
125
+ /**
126
+ * StringEvent defines en Event object wrapper where all the attributes
127
+ * contain key/value pairs that are strings instead of raw bytes.
128
+ */
129
+ export interface StringEventSDKType {
130
+ type: string;
131
+ attributes: AttributeSDKType[];
132
+ }
133
+ /**
134
+ * Attribute defines an attribute wrapper where the key and value are
135
+ * strings instead of raw bytes.
136
+ */
137
+ export interface Attribute {
138
+ key: string;
139
+ value: string;
140
+ }
141
+ /**
142
+ * Attribute defines an attribute wrapper where the key and value are
143
+ * strings instead of raw bytes.
144
+ */
145
+ export interface AttributeSDKType {
146
+ key: string;
147
+ value: string;
148
+ }
149
+ /** GasInfo defines tx execution gas context. */
150
+ export interface GasInfo {
151
+ /** GasWanted is the maximum units of work we allow this tx to perform. */
152
+ gasWanted: Long;
153
+ /** GasUsed is the amount of gas actually consumed. */
154
+ gasUsed: Long;
155
+ }
156
+ /** GasInfo defines tx execution gas context. */
157
+ export interface GasInfoSDKType {
158
+ /** GasWanted is the maximum units of work we allow this tx to perform. */
159
+ gas_wanted: Long;
160
+ /** GasUsed is the amount of gas actually consumed. */
161
+ gas_used: Long;
162
+ }
163
+ /** Result is the union of ResponseFormat and ResponseCheckTx. */
164
+ export interface Result {
165
+ /**
166
+ * Data is any data returned from message or handler execution. It MUST be
167
+ * length prefixed in order to separate data from multiple message executions.
168
+ * Deprecated. This field is still populated, but prefer msg_response instead
169
+ * because it also contains the Msg response typeURL.
170
+ */
171
+ /** @deprecated */
172
+ data: Uint8Array;
173
+ /** Log contains the log information from message or handler execution. */
174
+ log: string;
175
+ /**
176
+ * Events contains a slice of Event objects that were emitted during message
177
+ * or handler execution.
178
+ */
179
+ events: Event[];
180
+ /**
181
+ * msg_responses contains the Msg handler responses type packed in Anys.
182
+ *
183
+ * Since: cosmos-sdk 0.46
184
+ */
185
+ msgResponses: Any[];
186
+ }
187
+ /** Result is the union of ResponseFormat and ResponseCheckTx. */
188
+ export interface ResultSDKType {
189
+ /**
190
+ * Data is any data returned from message or handler execution. It MUST be
191
+ * length prefixed in order to separate data from multiple message executions.
192
+ * Deprecated. This field is still populated, but prefer msg_response instead
193
+ * because it also contains the Msg response typeURL.
194
+ */
195
+ /** @deprecated */
196
+ data: Uint8Array;
197
+ /** Log contains the log information from message or handler execution. */
198
+ log: string;
199
+ /**
200
+ * Events contains a slice of Event objects that were emitted during message
201
+ * or handler execution.
202
+ */
203
+ events: EventSDKType[];
204
+ /**
205
+ * msg_responses contains the Msg handler responses type packed in Anys.
206
+ *
207
+ * Since: cosmos-sdk 0.46
208
+ */
209
+ msg_responses: AnySDKType[];
210
+ }
211
+ /**
212
+ * SimulationResponse defines the response generated when a transaction is
213
+ * successfully simulated.
214
+ */
215
+ export interface SimulationResponse {
216
+ gasInfo?: GasInfo;
217
+ result?: Result;
218
+ }
219
+ /**
220
+ * SimulationResponse defines the response generated when a transaction is
221
+ * successfully simulated.
222
+ */
223
+ export interface SimulationResponseSDKType {
224
+ gas_info?: GasInfoSDKType;
225
+ result?: ResultSDKType;
226
+ }
227
+ /**
228
+ * MsgData defines the data returned in a Result object during message
229
+ * execution.
230
+ */
231
+ /** @deprecated */
232
+ export interface MsgData {
233
+ msgType: string;
234
+ data: Uint8Array;
235
+ }
236
+ /**
237
+ * MsgData defines the data returned in a Result object during message
238
+ * execution.
239
+ */
240
+ /** @deprecated */
241
+ export interface MsgDataSDKType {
242
+ msg_type: string;
243
+ data: Uint8Array;
244
+ }
245
+ /**
246
+ * TxMsgData defines a list of MsgData. A transaction will have a MsgData object
247
+ * for each message.
248
+ */
249
+ export interface TxMsgData {
250
+ /** data field is deprecated and not populated. */
251
+ /** @deprecated */
252
+ data: MsgData[];
253
+ /**
254
+ * msg_responses contains the Msg handler responses packed into Anys.
255
+ *
256
+ * Since: cosmos-sdk 0.46
257
+ */
258
+ msgResponses: Any[];
259
+ }
260
+ /**
261
+ * TxMsgData defines a list of MsgData. A transaction will have a MsgData object
262
+ * for each message.
263
+ */
264
+ export interface TxMsgDataSDKType {
265
+ /** data field is deprecated and not populated. */
266
+ /** @deprecated */
267
+ data: MsgDataSDKType[];
268
+ /**
269
+ * msg_responses contains the Msg handler responses packed into Anys.
270
+ *
271
+ * Since: cosmos-sdk 0.46
272
+ */
273
+ msg_responses: AnySDKType[];
274
+ }
275
+ /** SearchTxsResult defines a structure for querying txs pageable */
276
+ export interface SearchTxsResult {
277
+ /** Count of all txs */
278
+ totalCount: Long;
279
+ /** Count of txs in current page */
280
+ count: Long;
281
+ /** Index of current page, start from 1 */
282
+ pageNumber: Long;
283
+ /** Count of total pages */
284
+ pageTotal: Long;
285
+ /** Max count txs per page */
286
+ limit: Long;
287
+ /** List of txs in current page */
288
+ txs: TxResponse[];
289
+ }
290
+ /** SearchTxsResult defines a structure for querying txs pageable */
291
+ export interface SearchTxsResultSDKType {
292
+ /** Count of all txs */
293
+ total_count: Long;
294
+ /** Count of txs in current page */
295
+ count: Long;
296
+ /** Index of current page, start from 1 */
297
+ page_number: Long;
298
+ /** Count of total pages */
299
+ page_total: Long;
300
+ /** Max count txs per page */
301
+ limit: Long;
302
+ /** List of txs in current page */
303
+ txs: TxResponseSDKType[];
304
+ }
305
+ export declare const TxResponse: {
306
+ encode(message: TxResponse, writer?: _m0.Writer): _m0.Writer;
307
+ decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse;
308
+ fromPartial(object: DeepPartial<TxResponse>): TxResponse;
309
+ };
310
+ export declare const ABCIMessageLog: {
311
+ encode(message: ABCIMessageLog, writer?: _m0.Writer): _m0.Writer;
312
+ decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog;
313
+ fromPartial(object: DeepPartial<ABCIMessageLog>): ABCIMessageLog;
314
+ };
315
+ export declare const StringEvent: {
316
+ encode(message: StringEvent, writer?: _m0.Writer): _m0.Writer;
317
+ decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent;
318
+ fromPartial(object: DeepPartial<StringEvent>): StringEvent;
319
+ };
320
+ export declare const Attribute: {
321
+ encode(message: Attribute, writer?: _m0.Writer): _m0.Writer;
322
+ decode(input: _m0.Reader | Uint8Array, length?: number): Attribute;
323
+ fromPartial(object: DeepPartial<Attribute>): Attribute;
324
+ };
325
+ export declare const GasInfo: {
326
+ encode(message: GasInfo, writer?: _m0.Writer): _m0.Writer;
327
+ decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo;
328
+ fromPartial(object: DeepPartial<GasInfo>): GasInfo;
329
+ };
330
+ export declare const Result: {
331
+ encode(message: Result, writer?: _m0.Writer): _m0.Writer;
332
+ decode(input: _m0.Reader | Uint8Array, length?: number): Result;
333
+ fromPartial(object: DeepPartial<Result>): Result;
334
+ };
335
+ export declare const SimulationResponse: {
336
+ encode(message: SimulationResponse, writer?: _m0.Writer): _m0.Writer;
337
+ decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse;
338
+ fromPartial(object: DeepPartial<SimulationResponse>): SimulationResponse;
339
+ };
340
+ export declare const MsgData: {
341
+ encode(message: MsgData, writer?: _m0.Writer): _m0.Writer;
342
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgData;
343
+ fromPartial(object: DeepPartial<MsgData>): MsgData;
344
+ };
345
+ export declare const TxMsgData: {
346
+ encode(message: TxMsgData, writer?: _m0.Writer): _m0.Writer;
347
+ decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData;
348
+ fromPartial(object: DeepPartial<TxMsgData>): TxMsgData;
349
+ };
350
+ export declare const SearchTxsResult: {
351
+ encode(message: SearchTxsResult, writer?: _m0.Writer): _m0.Writer;
352
+ decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult;
353
+ fromPartial(object: DeepPartial<SearchTxsResult>): SearchTxsResult;
354
+ };
@@ -0,0 +1,138 @@
1
+ import * as _m0 from "protobufjs/minimal";
2
+ import { Long, DeepPartial } from "../../../../helpers";
3
+ /**
4
+ * PageRequest is to be embedded in gRPC request messages for efficient
5
+ * pagination. Ex:
6
+ *
7
+ * message SomeRequest {
8
+ * Foo some_parameter = 1;
9
+ * PageRequest pagination = 2;
10
+ * }
11
+ */
12
+ export interface PageRequest {
13
+ /**
14
+ * key is a value returned in PageResponse.next_key to begin
15
+ * querying the next page most efficiently. Only one of offset or key
16
+ * should be set.
17
+ */
18
+ key: Uint8Array;
19
+ /**
20
+ * offset is a numeric offset that can be used when key is unavailable.
21
+ * It is less efficient than using key. Only one of offset or key should
22
+ * be set.
23
+ */
24
+ offset: Long;
25
+ /**
26
+ * limit is the total number of results to be returned in the result page.
27
+ * If left empty it will default to a value to be set by each app.
28
+ */
29
+ limit: Long;
30
+ /**
31
+ * count_total is set to true to indicate that the result set should include
32
+ * a count of the total number of items available for pagination in UIs.
33
+ * count_total is only respected when offset is used. It is ignored when key
34
+ * is set.
35
+ */
36
+ countTotal: boolean;
37
+ /**
38
+ * reverse is set to true if results are to be returned in the descending order.
39
+ *
40
+ * Since: cosmos-sdk 0.43
41
+ */
42
+ reverse: boolean;
43
+ }
44
+ /**
45
+ * PageRequest is to be embedded in gRPC request messages for efficient
46
+ * pagination. Ex:
47
+ *
48
+ * message SomeRequest {
49
+ * Foo some_parameter = 1;
50
+ * PageRequest pagination = 2;
51
+ * }
52
+ */
53
+ export interface PageRequestSDKType {
54
+ /**
55
+ * key is a value returned in PageResponse.next_key to begin
56
+ * querying the next page most efficiently. Only one of offset or key
57
+ * should be set.
58
+ */
59
+ key: Uint8Array;
60
+ /**
61
+ * offset is a numeric offset that can be used when key is unavailable.
62
+ * It is less efficient than using key. Only one of offset or key should
63
+ * be set.
64
+ */
65
+ offset: Long;
66
+ /**
67
+ * limit is the total number of results to be returned in the result page.
68
+ * If left empty it will default to a value to be set by each app.
69
+ */
70
+ limit: Long;
71
+ /**
72
+ * count_total is set to true to indicate that the result set should include
73
+ * a count of the total number of items available for pagination in UIs.
74
+ * count_total is only respected when offset is used. It is ignored when key
75
+ * is set.
76
+ */
77
+ count_total: boolean;
78
+ /**
79
+ * reverse is set to true if results are to be returned in the descending order.
80
+ *
81
+ * Since: cosmos-sdk 0.43
82
+ */
83
+ reverse: boolean;
84
+ }
85
+ /**
86
+ * PageResponse is to be embedded in gRPC response messages where the
87
+ * corresponding request message has used PageRequest.
88
+ *
89
+ * message SomeResponse {
90
+ * repeated Bar results = 1;
91
+ * PageResponse page = 2;
92
+ * }
93
+ */
94
+ export interface PageResponse {
95
+ /**
96
+ * next_key is the key to be passed to PageRequest.key to
97
+ * query the next page most efficiently. It will be empty if
98
+ * there are no more results.
99
+ */
100
+ nextKey: Uint8Array;
101
+ /**
102
+ * total is total number of results available if PageRequest.count_total
103
+ * was set, its value is undefined otherwise
104
+ */
105
+ total: Long;
106
+ }
107
+ /**
108
+ * PageResponse is to be embedded in gRPC response messages where the
109
+ * corresponding request message has used PageRequest.
110
+ *
111
+ * message SomeResponse {
112
+ * repeated Bar results = 1;
113
+ * PageResponse page = 2;
114
+ * }
115
+ */
116
+ export interface PageResponseSDKType {
117
+ /**
118
+ * next_key is the key to be passed to PageRequest.key to
119
+ * query the next page most efficiently. It will be empty if
120
+ * there are no more results.
121
+ */
122
+ next_key: Uint8Array;
123
+ /**
124
+ * total is total number of results available if PageRequest.count_total
125
+ * was set, its value is undefined otherwise
126
+ */
127
+ total: Long;
128
+ }
129
+ export declare const PageRequest: {
130
+ encode(message: PageRequest, writer?: _m0.Writer): _m0.Writer;
131
+ decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest;
132
+ fromPartial(object: DeepPartial<PageRequest>): PageRequest;
133
+ };
134
+ export declare const PageResponse: {
135
+ encode(message: PageResponse, writer?: _m0.Writer): _m0.Writer;
136
+ decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse;
137
+ fromPartial(object: DeepPartial<PageResponse>): PageResponse;
138
+ };