@agoric/cosmic-proto 0.4.1-dev-841f246.0 → 0.4.1-dev-203d4d7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/codegen/cosmos/authz/v1beta1/authz.d.ts +6 -5
  2. package/dist/codegen/cosmos/authz/v1beta1/authz.js +3 -0
  3. package/dist/codegen/cosmos/authz/v1beta1/authz.js.map +1 -1
  4. package/dist/codegen/cosmos/bundle.d.ts +1 -1
  5. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +31 -0
  6. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/controller.js +65 -0
  7. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/controller.js.map +1 -0
  8. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/query.d.ts +95 -0
  9. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/query.js +242 -0
  10. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/query.js.map +1 -0
  11. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +108 -0
  12. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js +313 -0
  13. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js.map +1 -0
  14. package/dist/codegen/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +150 -0
  15. package/dist/codegen/ibc/applications/interchain_accounts/genesis/v1/genesis.js +500 -0
  16. package/dist/codegen/ibc/applications/interchain_accounts/genesis/v1/genesis.js.map +1 -0
  17. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.d.ts +34 -0
  18. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js +82 -0
  19. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js.map +1 -0
  20. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/query.d.ts +47 -0
  21. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/query.js +113 -0
  22. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/query.js.map +1 -0
  23. package/dist/codegen/ibc/applications/interchain_accounts/v1/account.d.ts +29 -0
  24. package/dist/codegen/ibc/applications/interchain_accounts/v1/account.js +85 -0
  25. package/dist/codegen/ibc/applications/interchain_accounts/v1/account.js.map +1 -0
  26. package/dist/codegen/ibc/applications/interchain_accounts/v1/metadata.d.ts +49 -0
  27. package/dist/codegen/ibc/applications/interchain_accounts/v1/metadata.js +118 -0
  28. package/dist/codegen/ibc/applications/interchain_accounts/v1/metadata.js.map +1 -0
  29. package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.d.ts +66 -0
  30. package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js +189 -0
  31. package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js.map +1 -0
  32. package/dist/codegen/ibc/applications/transfer/v1/authz.d.ts +67 -0
  33. package/dist/codegen/ibc/applications/transfer/v1/authz.js +177 -0
  34. package/dist/codegen/ibc/applications/transfer/v1/authz.js.map +1 -0
  35. package/dist/codegen/ibc/applications/transfer/v1/genesis.d.ts +29 -0
  36. package/dist/codegen/ibc/applications/transfer/v1/genesis.js +95 -0
  37. package/dist/codegen/ibc/applications/transfer/v1/genesis.js.map +1 -0
  38. package/dist/codegen/ibc/applications/transfer/v1/query.d.ts +282 -0
  39. package/dist/codegen/ibc/applications/transfer/v1/query.js +633 -0
  40. package/dist/codegen/ibc/applications/transfer/v1/query.js.map +1 -0
  41. package/dist/codegen/ibc/applications/transfer/v1/transfer.d.ts +80 -0
  42. package/dist/codegen/ibc/applications/transfer/v1/transfer.js +146 -0
  43. package/dist/codegen/ibc/applications/transfer/v1/transfer.js.map +1 -0
  44. package/dist/codegen/ibc/applications/transfer/v1/tx.d.ts +86 -0
  45. package/dist/codegen/ibc/applications/transfer/v1/tx.js +219 -0
  46. package/dist/codegen/ibc/applications/transfer/v1/tx.js.map +1 -0
  47. package/dist/codegen/ibc/applications/transfer/v2/packet.d.ts +45 -0
  48. package/dist/codegen/ibc/applications/transfer/v2/packet.js +102 -0
  49. package/dist/codegen/ibc/applications/transfer/v2/packet.js.map +1 -0
  50. package/dist/codegen/ibc/bundle.d.ts +2266 -122
  51. package/dist/codegen/ibc/bundle.js +124 -4
  52. package/dist/codegen/ibc/bundle.js.map +1 -1
  53. package/dist/codegen/ibc/core/channel/v1/genesis.d.ts +73 -0
  54. package/dist/codegen/ibc/core/channel/v1/genesis.js +280 -0
  55. package/dist/codegen/ibc/core/channel/v1/genesis.js.map +1 -0
  56. package/dist/codegen/ibc/core/channel/v1/query.d.ts +914 -0
  57. package/dist/codegen/ibc/core/channel/v1/query.js +2343 -0
  58. package/dist/codegen/ibc/core/channel/v1/query.js.map +1 -0
  59. package/dist/codegen/ibc/core/channel/v1/tx.d.ts +604 -0
  60. package/dist/codegen/ibc/core/channel/v1/tx.js +1744 -0
  61. package/dist/codegen/ibc/core/channel/v1/tx.js.map +1 -0
  62. package/dist/codegen/ibc/core/client/v1/genesis.d.ts +104 -0
  63. package/dist/codegen/ibc/core/client/v1/genesis.js +300 -0
  64. package/dist/codegen/ibc/core/client/v1/genesis.js.map +1 -0
  65. package/dist/codegen/ibc/core/client/v1/query.d.ts +577 -0
  66. package/dist/codegen/ibc/core/client/v1/query.js +1282 -0
  67. package/dist/codegen/ibc/core/client/v1/query.js.map +1 -0
  68. package/dist/codegen/ibc/core/client/v1/tx.d.ts +245 -0
  69. package/dist/codegen/ibc/core/client/v1/tx.js +586 -0
  70. package/dist/codegen/ibc/core/client/v1/tx.js.map +1 -0
  71. package/dist/codegen/ibc/core/commitment/v1/commitment.d.ts +128 -0
  72. package/dist/codegen/ibc/core/commitment/v1/commitment.js +258 -0
  73. package/dist/codegen/ibc/core/commitment/v1/commitment.js.map +1 -0
  74. package/dist/codegen/ibc/core/connection/v1/connection.d.ts +272 -0
  75. package/dist/codegen/ibc/core/connection/v1/connection.js +677 -0
  76. package/dist/codegen/ibc/core/connection/v1/connection.js.map +1 -0
  77. package/dist/codegen/ibc/core/connection/v1/genesis.d.ts +32 -0
  78. package/dist/codegen/ibc/core/connection/v1/genesis.js +121 -0
  79. package/dist/codegen/ibc/core/connection/v1/genesis.js.map +1 -0
  80. package/dist/codegen/ibc/core/connection/v1/query.d.ts +388 -0
  81. package/dist/codegen/ibc/core/connection/v1/query.js +951 -0
  82. package/dist/codegen/ibc/core/connection/v1/query.js.map +1 -0
  83. package/dist/codegen/ibc/core/connection/v1/tx.d.ts +286 -0
  84. package/dist/codegen/ibc/core/connection/v1/tx.js +842 -0
  85. package/dist/codegen/ibc/core/connection/v1/tx.js.map +1 -0
  86. package/dist/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +35 -0
  87. package/dist/codegen/ibc/lightclients/localhost/v1/localhost.js +77 -0
  88. package/dist/codegen/ibc/lightclients/localhost/v1/localhost.js.map +1 -0
  89. package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +549 -0
  90. package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1519 -0
  91. package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js.map +1 -0
  92. package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +549 -0
  93. package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1513 -0
  94. package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js.map +1 -0
  95. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +231 -0
  96. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js +624 -0
  97. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js.map +1 -0
  98. package/dist/codegen/ics23/bundle.d.ts +154 -0
  99. package/dist/codegen/ics23/bundle.js +6 -0
  100. package/dist/codegen/ics23/bundle.js.map +1 -0
  101. package/dist/codegen/index.d.ts +1 -0
  102. package/dist/codegen/index.js +1 -0
  103. package/dist/codegen/index.js.map +1 -1
  104. package/dist/codegen/proofs.d.ts +569 -0
  105. package/dist/codegen/proofs.js +1435 -0
  106. package/dist/codegen/proofs.js.map +1 -0
  107. package/dist/codegen/tendermint/bundle.d.ts +716 -716
  108. package/dist/codegen/tendermint/bundle.js +22 -22
  109. package/dist/codegen/tendermint/bundle.js.map +1 -1
  110. package/package.json +7 -3
@@ -0,0 +1,577 @@
1
+ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from '../../../../cosmos/base/query/v1beta1/pagination.js';
2
+ import { Any, AnySDKType } from '../../../../google/protobuf/any.js';
3
+ import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from './client.js';
4
+ import { BinaryReader, BinaryWriter } from '../../../../binary.js';
5
+ /**
6
+ * QueryClientStateRequest is the request type for the Query/ClientState RPC
7
+ * method
8
+ */
9
+ export interface QueryClientStateRequest {
10
+ /** client state unique identifier */
11
+ clientId: string;
12
+ }
13
+ export interface QueryClientStateRequestProtoMsg {
14
+ typeUrl: '/ibc.core.client.v1.QueryClientStateRequest';
15
+ value: Uint8Array;
16
+ }
17
+ /**
18
+ * QueryClientStateRequest is the request type for the Query/ClientState RPC
19
+ * method
20
+ */
21
+ export interface QueryClientStateRequestSDKType {
22
+ client_id: string;
23
+ }
24
+ /**
25
+ * QueryClientStateResponse is the response type for the Query/ClientState RPC
26
+ * method. Besides the client state, it includes a proof and the height from
27
+ * which the proof was retrieved.
28
+ */
29
+ export interface QueryClientStateResponse {
30
+ /** client state associated with the request identifier */
31
+ clientState?: Any;
32
+ /** merkle proof of existence */
33
+ proof: Uint8Array;
34
+ /** height at which the proof was retrieved */
35
+ proofHeight: Height;
36
+ }
37
+ export interface QueryClientStateResponseProtoMsg {
38
+ typeUrl: '/ibc.core.client.v1.QueryClientStateResponse';
39
+ value: Uint8Array;
40
+ }
41
+ /**
42
+ * QueryClientStateResponse is the response type for the Query/ClientState RPC
43
+ * method. Besides the client state, it includes a proof and the height from
44
+ * which the proof was retrieved.
45
+ */
46
+ export interface QueryClientStateResponseSDKType {
47
+ client_state?: AnySDKType;
48
+ proof: Uint8Array;
49
+ proof_height: HeightSDKType;
50
+ }
51
+ /**
52
+ * QueryClientStatesRequest is the request type for the Query/ClientStates RPC
53
+ * method
54
+ */
55
+ export interface QueryClientStatesRequest {
56
+ /** pagination request */
57
+ pagination?: PageRequest;
58
+ }
59
+ export interface QueryClientStatesRequestProtoMsg {
60
+ typeUrl: '/ibc.core.client.v1.QueryClientStatesRequest';
61
+ value: Uint8Array;
62
+ }
63
+ /**
64
+ * QueryClientStatesRequest is the request type for the Query/ClientStates RPC
65
+ * method
66
+ */
67
+ export interface QueryClientStatesRequestSDKType {
68
+ pagination?: PageRequestSDKType;
69
+ }
70
+ /**
71
+ * QueryClientStatesResponse is the response type for the Query/ClientStates RPC
72
+ * method.
73
+ */
74
+ export interface QueryClientStatesResponse {
75
+ /** list of stored ClientStates of the chain. */
76
+ clientStates: IdentifiedClientState[];
77
+ /** pagination response */
78
+ pagination?: PageResponse;
79
+ }
80
+ export interface QueryClientStatesResponseProtoMsg {
81
+ typeUrl: '/ibc.core.client.v1.QueryClientStatesResponse';
82
+ value: Uint8Array;
83
+ }
84
+ /**
85
+ * QueryClientStatesResponse is the response type for the Query/ClientStates RPC
86
+ * method.
87
+ */
88
+ export interface QueryClientStatesResponseSDKType {
89
+ client_states: IdentifiedClientStateSDKType[];
90
+ pagination?: PageResponseSDKType;
91
+ }
92
+ /**
93
+ * QueryConsensusStateRequest is the request type for the Query/ConsensusState
94
+ * RPC method. Besides the consensus state, it includes a proof and the height
95
+ * from which the proof was retrieved.
96
+ */
97
+ export interface QueryConsensusStateRequest {
98
+ /** client identifier */
99
+ clientId: string;
100
+ /** consensus state revision number */
101
+ revisionNumber: bigint;
102
+ /** consensus state revision height */
103
+ revisionHeight: bigint;
104
+ /**
105
+ * latest_height overrrides the height field and queries the latest stored
106
+ * ConsensusState
107
+ */
108
+ latestHeight: boolean;
109
+ }
110
+ export interface QueryConsensusStateRequestProtoMsg {
111
+ typeUrl: '/ibc.core.client.v1.QueryConsensusStateRequest';
112
+ value: Uint8Array;
113
+ }
114
+ /**
115
+ * QueryConsensusStateRequest is the request type for the Query/ConsensusState
116
+ * RPC method. Besides the consensus state, it includes a proof and the height
117
+ * from which the proof was retrieved.
118
+ */
119
+ export interface QueryConsensusStateRequestSDKType {
120
+ client_id: string;
121
+ revision_number: bigint;
122
+ revision_height: bigint;
123
+ latest_height: boolean;
124
+ }
125
+ /**
126
+ * QueryConsensusStateResponse is the response type for the Query/ConsensusState
127
+ * RPC method
128
+ */
129
+ export interface QueryConsensusStateResponse {
130
+ /** consensus state associated with the client identifier at the given height */
131
+ consensusState?: Any;
132
+ /** merkle proof of existence */
133
+ proof: Uint8Array;
134
+ /** height at which the proof was retrieved */
135
+ proofHeight: Height;
136
+ }
137
+ export interface QueryConsensusStateResponseProtoMsg {
138
+ typeUrl: '/ibc.core.client.v1.QueryConsensusStateResponse';
139
+ value: Uint8Array;
140
+ }
141
+ /**
142
+ * QueryConsensusStateResponse is the response type for the Query/ConsensusState
143
+ * RPC method
144
+ */
145
+ export interface QueryConsensusStateResponseSDKType {
146
+ consensus_state?: AnySDKType;
147
+ proof: Uint8Array;
148
+ proof_height: HeightSDKType;
149
+ }
150
+ /**
151
+ * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
152
+ * RPC method.
153
+ */
154
+ export interface QueryConsensusStatesRequest {
155
+ /** client identifier */
156
+ clientId: string;
157
+ /** pagination request */
158
+ pagination?: PageRequest;
159
+ }
160
+ export interface QueryConsensusStatesRequestProtoMsg {
161
+ typeUrl: '/ibc.core.client.v1.QueryConsensusStatesRequest';
162
+ value: Uint8Array;
163
+ }
164
+ /**
165
+ * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
166
+ * RPC method.
167
+ */
168
+ export interface QueryConsensusStatesRequestSDKType {
169
+ client_id: string;
170
+ pagination?: PageRequestSDKType;
171
+ }
172
+ /**
173
+ * QueryConsensusStatesResponse is the response type for the
174
+ * Query/ConsensusStates RPC method
175
+ */
176
+ export interface QueryConsensusStatesResponse {
177
+ /** consensus states associated with the identifier */
178
+ consensusStates: ConsensusStateWithHeight[];
179
+ /** pagination response */
180
+ pagination?: PageResponse;
181
+ }
182
+ export interface QueryConsensusStatesResponseProtoMsg {
183
+ typeUrl: '/ibc.core.client.v1.QueryConsensusStatesResponse';
184
+ value: Uint8Array;
185
+ }
186
+ /**
187
+ * QueryConsensusStatesResponse is the response type for the
188
+ * Query/ConsensusStates RPC method
189
+ */
190
+ export interface QueryConsensusStatesResponseSDKType {
191
+ consensus_states: ConsensusStateWithHeightSDKType[];
192
+ pagination?: PageResponseSDKType;
193
+ }
194
+ /**
195
+ * QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights
196
+ * RPC method.
197
+ */
198
+ export interface QueryConsensusStateHeightsRequest {
199
+ /** client identifier */
200
+ clientId: string;
201
+ /** pagination request */
202
+ pagination?: PageRequest;
203
+ }
204
+ export interface QueryConsensusStateHeightsRequestProtoMsg {
205
+ typeUrl: '/ibc.core.client.v1.QueryConsensusStateHeightsRequest';
206
+ value: Uint8Array;
207
+ }
208
+ /**
209
+ * QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights
210
+ * RPC method.
211
+ */
212
+ export interface QueryConsensusStateHeightsRequestSDKType {
213
+ client_id: string;
214
+ pagination?: PageRequestSDKType;
215
+ }
216
+ /**
217
+ * QueryConsensusStateHeightsResponse is the response type for the
218
+ * Query/ConsensusStateHeights RPC method
219
+ */
220
+ export interface QueryConsensusStateHeightsResponse {
221
+ /** consensus state heights */
222
+ consensusStateHeights: Height[];
223
+ /** pagination response */
224
+ pagination?: PageResponse;
225
+ }
226
+ export interface QueryConsensusStateHeightsResponseProtoMsg {
227
+ typeUrl: '/ibc.core.client.v1.QueryConsensusStateHeightsResponse';
228
+ value: Uint8Array;
229
+ }
230
+ /**
231
+ * QueryConsensusStateHeightsResponse is the response type for the
232
+ * Query/ConsensusStateHeights RPC method
233
+ */
234
+ export interface QueryConsensusStateHeightsResponseSDKType {
235
+ consensus_state_heights: HeightSDKType[];
236
+ pagination?: PageResponseSDKType;
237
+ }
238
+ /**
239
+ * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
240
+ * method
241
+ */
242
+ export interface QueryClientStatusRequest {
243
+ /** client unique identifier */
244
+ clientId: string;
245
+ }
246
+ export interface QueryClientStatusRequestProtoMsg {
247
+ typeUrl: '/ibc.core.client.v1.QueryClientStatusRequest';
248
+ value: Uint8Array;
249
+ }
250
+ /**
251
+ * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
252
+ * method
253
+ */
254
+ export interface QueryClientStatusRequestSDKType {
255
+ client_id: string;
256
+ }
257
+ /**
258
+ * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
259
+ * method. It returns the current status of the IBC client.
260
+ */
261
+ export interface QueryClientStatusResponse {
262
+ status: string;
263
+ }
264
+ export interface QueryClientStatusResponseProtoMsg {
265
+ typeUrl: '/ibc.core.client.v1.QueryClientStatusResponse';
266
+ value: Uint8Array;
267
+ }
268
+ /**
269
+ * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
270
+ * method. It returns the current status of the IBC client.
271
+ */
272
+ export interface QueryClientStatusResponseSDKType {
273
+ status: string;
274
+ }
275
+ /**
276
+ * QueryClientParamsRequest is the request type for the Query/ClientParams RPC
277
+ * method.
278
+ */
279
+ export interface QueryClientParamsRequest {
280
+ }
281
+ export interface QueryClientParamsRequestProtoMsg {
282
+ typeUrl: '/ibc.core.client.v1.QueryClientParamsRequest';
283
+ value: Uint8Array;
284
+ }
285
+ /**
286
+ * QueryClientParamsRequest is the request type for the Query/ClientParams RPC
287
+ * method.
288
+ */
289
+ export interface QueryClientParamsRequestSDKType {
290
+ }
291
+ /**
292
+ * QueryClientParamsResponse is the response type for the Query/ClientParams RPC
293
+ * method.
294
+ */
295
+ export interface QueryClientParamsResponse {
296
+ /** params defines the parameters of the module. */
297
+ params?: Params;
298
+ }
299
+ export interface QueryClientParamsResponseProtoMsg {
300
+ typeUrl: '/ibc.core.client.v1.QueryClientParamsResponse';
301
+ value: Uint8Array;
302
+ }
303
+ /**
304
+ * QueryClientParamsResponse is the response type for the Query/ClientParams RPC
305
+ * method.
306
+ */
307
+ export interface QueryClientParamsResponseSDKType {
308
+ params?: ParamsSDKType;
309
+ }
310
+ /**
311
+ * QueryUpgradedClientStateRequest is the request type for the
312
+ * Query/UpgradedClientState RPC method
313
+ */
314
+ export interface QueryUpgradedClientStateRequest {
315
+ }
316
+ export interface QueryUpgradedClientStateRequestProtoMsg {
317
+ typeUrl: '/ibc.core.client.v1.QueryUpgradedClientStateRequest';
318
+ value: Uint8Array;
319
+ }
320
+ /**
321
+ * QueryUpgradedClientStateRequest is the request type for the
322
+ * Query/UpgradedClientState RPC method
323
+ */
324
+ export interface QueryUpgradedClientStateRequestSDKType {
325
+ }
326
+ /**
327
+ * QueryUpgradedClientStateResponse is the response type for the
328
+ * Query/UpgradedClientState RPC method.
329
+ */
330
+ export interface QueryUpgradedClientStateResponse {
331
+ /** client state associated with the request identifier */
332
+ upgradedClientState?: Any;
333
+ }
334
+ export interface QueryUpgradedClientStateResponseProtoMsg {
335
+ typeUrl: '/ibc.core.client.v1.QueryUpgradedClientStateResponse';
336
+ value: Uint8Array;
337
+ }
338
+ /**
339
+ * QueryUpgradedClientStateResponse is the response type for the
340
+ * Query/UpgradedClientState RPC method.
341
+ */
342
+ export interface QueryUpgradedClientStateResponseSDKType {
343
+ upgraded_client_state?: AnySDKType;
344
+ }
345
+ /**
346
+ * QueryUpgradedConsensusStateRequest is the request type for the
347
+ * Query/UpgradedConsensusState RPC method
348
+ */
349
+ export interface QueryUpgradedConsensusStateRequest {
350
+ }
351
+ export interface QueryUpgradedConsensusStateRequestProtoMsg {
352
+ typeUrl: '/ibc.core.client.v1.QueryUpgradedConsensusStateRequest';
353
+ value: Uint8Array;
354
+ }
355
+ /**
356
+ * QueryUpgradedConsensusStateRequest is the request type for the
357
+ * Query/UpgradedConsensusState RPC method
358
+ */
359
+ export interface QueryUpgradedConsensusStateRequestSDKType {
360
+ }
361
+ /**
362
+ * QueryUpgradedConsensusStateResponse is the response type for the
363
+ * Query/UpgradedConsensusState RPC method.
364
+ */
365
+ export interface QueryUpgradedConsensusStateResponse {
366
+ /** Consensus state associated with the request identifier */
367
+ upgradedConsensusState?: Any;
368
+ }
369
+ export interface QueryUpgradedConsensusStateResponseProtoMsg {
370
+ typeUrl: '/ibc.core.client.v1.QueryUpgradedConsensusStateResponse';
371
+ value: Uint8Array;
372
+ }
373
+ /**
374
+ * QueryUpgradedConsensusStateResponse is the response type for the
375
+ * Query/UpgradedConsensusState RPC method.
376
+ */
377
+ export interface QueryUpgradedConsensusStateResponseSDKType {
378
+ upgraded_consensus_state?: AnySDKType;
379
+ }
380
+ export declare const QueryClientStateRequest: {
381
+ typeUrl: string;
382
+ encode(message: QueryClientStateRequest, writer?: BinaryWriter): BinaryWriter;
383
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateRequest;
384
+ fromJSON(object: any): QueryClientStateRequest;
385
+ toJSON(message: QueryClientStateRequest): unknown;
386
+ fromPartial(object: Partial<QueryClientStateRequest>): QueryClientStateRequest;
387
+ fromProtoMsg(message: QueryClientStateRequestProtoMsg): QueryClientStateRequest;
388
+ toProto(message: QueryClientStateRequest): Uint8Array;
389
+ toProtoMsg(message: QueryClientStateRequest): QueryClientStateRequestProtoMsg;
390
+ };
391
+ export declare const QueryClientStateResponse: {
392
+ typeUrl: string;
393
+ encode(message: QueryClientStateResponse, writer?: BinaryWriter): BinaryWriter;
394
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateResponse;
395
+ fromJSON(object: any): QueryClientStateResponse;
396
+ toJSON(message: QueryClientStateResponse): unknown;
397
+ fromPartial(object: Partial<QueryClientStateResponse>): QueryClientStateResponse;
398
+ fromProtoMsg(message: QueryClientStateResponseProtoMsg): QueryClientStateResponse;
399
+ toProto(message: QueryClientStateResponse): Uint8Array;
400
+ toProtoMsg(message: QueryClientStateResponse): QueryClientStateResponseProtoMsg;
401
+ };
402
+ export declare const QueryClientStatesRequest: {
403
+ typeUrl: string;
404
+ encode(message: QueryClientStatesRequest, writer?: BinaryWriter): BinaryWriter;
405
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesRequest;
406
+ fromJSON(object: any): QueryClientStatesRequest;
407
+ toJSON(message: QueryClientStatesRequest): unknown;
408
+ fromPartial(object: Partial<QueryClientStatesRequest>): QueryClientStatesRequest;
409
+ fromProtoMsg(message: QueryClientStatesRequestProtoMsg): QueryClientStatesRequest;
410
+ toProto(message: QueryClientStatesRequest): Uint8Array;
411
+ toProtoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestProtoMsg;
412
+ };
413
+ export declare const QueryClientStatesResponse: {
414
+ typeUrl: string;
415
+ encode(message: QueryClientStatesResponse, writer?: BinaryWriter): BinaryWriter;
416
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesResponse;
417
+ fromJSON(object: any): QueryClientStatesResponse;
418
+ toJSON(message: QueryClientStatesResponse): unknown;
419
+ fromPartial(object: Partial<QueryClientStatesResponse>): QueryClientStatesResponse;
420
+ fromProtoMsg(message: QueryClientStatesResponseProtoMsg): QueryClientStatesResponse;
421
+ toProto(message: QueryClientStatesResponse): Uint8Array;
422
+ toProtoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseProtoMsg;
423
+ };
424
+ export declare const QueryConsensusStateRequest: {
425
+ typeUrl: string;
426
+ encode(message: QueryConsensusStateRequest, writer?: BinaryWriter): BinaryWriter;
427
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateRequest;
428
+ fromJSON(object: any): QueryConsensusStateRequest;
429
+ toJSON(message: QueryConsensusStateRequest): unknown;
430
+ fromPartial(object: Partial<QueryConsensusStateRequest>): QueryConsensusStateRequest;
431
+ fromProtoMsg(message: QueryConsensusStateRequestProtoMsg): QueryConsensusStateRequest;
432
+ toProto(message: QueryConsensusStateRequest): Uint8Array;
433
+ toProtoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestProtoMsg;
434
+ };
435
+ export declare const QueryConsensusStateResponse: {
436
+ typeUrl: string;
437
+ encode(message: QueryConsensusStateResponse, writer?: BinaryWriter): BinaryWriter;
438
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateResponse;
439
+ fromJSON(object: any): QueryConsensusStateResponse;
440
+ toJSON(message: QueryConsensusStateResponse): unknown;
441
+ fromPartial(object: Partial<QueryConsensusStateResponse>): QueryConsensusStateResponse;
442
+ fromProtoMsg(message: QueryConsensusStateResponseProtoMsg): QueryConsensusStateResponse;
443
+ toProto(message: QueryConsensusStateResponse): Uint8Array;
444
+ toProtoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseProtoMsg;
445
+ };
446
+ export declare const QueryConsensusStatesRequest: {
447
+ typeUrl: string;
448
+ encode(message: QueryConsensusStatesRequest, writer?: BinaryWriter): BinaryWriter;
449
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesRequest;
450
+ fromJSON(object: any): QueryConsensusStatesRequest;
451
+ toJSON(message: QueryConsensusStatesRequest): unknown;
452
+ fromPartial(object: Partial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest;
453
+ fromProtoMsg(message: QueryConsensusStatesRequestProtoMsg): QueryConsensusStatesRequest;
454
+ toProto(message: QueryConsensusStatesRequest): Uint8Array;
455
+ toProtoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestProtoMsg;
456
+ };
457
+ export declare const QueryConsensusStatesResponse: {
458
+ typeUrl: string;
459
+ encode(message: QueryConsensusStatesResponse, writer?: BinaryWriter): BinaryWriter;
460
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesResponse;
461
+ fromJSON(object: any): QueryConsensusStatesResponse;
462
+ toJSON(message: QueryConsensusStatesResponse): unknown;
463
+ fromPartial(object: Partial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse;
464
+ fromProtoMsg(message: QueryConsensusStatesResponseProtoMsg): QueryConsensusStatesResponse;
465
+ toProto(message: QueryConsensusStatesResponse): Uint8Array;
466
+ toProtoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseProtoMsg;
467
+ };
468
+ export declare const QueryConsensusStateHeightsRequest: {
469
+ typeUrl: string;
470
+ encode(message: QueryConsensusStateHeightsRequest, writer?: BinaryWriter): BinaryWriter;
471
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateHeightsRequest;
472
+ fromJSON(object: any): QueryConsensusStateHeightsRequest;
473
+ toJSON(message: QueryConsensusStateHeightsRequest): unknown;
474
+ fromPartial(object: Partial<QueryConsensusStateHeightsRequest>): QueryConsensusStateHeightsRequest;
475
+ fromProtoMsg(message: QueryConsensusStateHeightsRequestProtoMsg): QueryConsensusStateHeightsRequest;
476
+ toProto(message: QueryConsensusStateHeightsRequest): Uint8Array;
477
+ toProtoMsg(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestProtoMsg;
478
+ };
479
+ export declare const QueryConsensusStateHeightsResponse: {
480
+ typeUrl: string;
481
+ encode(message: QueryConsensusStateHeightsResponse, writer?: BinaryWriter): BinaryWriter;
482
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateHeightsResponse;
483
+ fromJSON(object: any): QueryConsensusStateHeightsResponse;
484
+ toJSON(message: QueryConsensusStateHeightsResponse): unknown;
485
+ fromPartial(object: Partial<QueryConsensusStateHeightsResponse>): QueryConsensusStateHeightsResponse;
486
+ fromProtoMsg(message: QueryConsensusStateHeightsResponseProtoMsg): QueryConsensusStateHeightsResponse;
487
+ toProto(message: QueryConsensusStateHeightsResponse): Uint8Array;
488
+ toProtoMsg(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseProtoMsg;
489
+ };
490
+ export declare const QueryClientStatusRequest: {
491
+ typeUrl: string;
492
+ encode(message: QueryClientStatusRequest, writer?: BinaryWriter): BinaryWriter;
493
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusRequest;
494
+ fromJSON(object: any): QueryClientStatusRequest;
495
+ toJSON(message: QueryClientStatusRequest): unknown;
496
+ fromPartial(object: Partial<QueryClientStatusRequest>): QueryClientStatusRequest;
497
+ fromProtoMsg(message: QueryClientStatusRequestProtoMsg): QueryClientStatusRequest;
498
+ toProto(message: QueryClientStatusRequest): Uint8Array;
499
+ toProtoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestProtoMsg;
500
+ };
501
+ export declare const QueryClientStatusResponse: {
502
+ typeUrl: string;
503
+ encode(message: QueryClientStatusResponse, writer?: BinaryWriter): BinaryWriter;
504
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusResponse;
505
+ fromJSON(object: any): QueryClientStatusResponse;
506
+ toJSON(message: QueryClientStatusResponse): unknown;
507
+ fromPartial(object: Partial<QueryClientStatusResponse>): QueryClientStatusResponse;
508
+ fromProtoMsg(message: QueryClientStatusResponseProtoMsg): QueryClientStatusResponse;
509
+ toProto(message: QueryClientStatusResponse): Uint8Array;
510
+ toProtoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseProtoMsg;
511
+ };
512
+ export declare const QueryClientParamsRequest: {
513
+ typeUrl: string;
514
+ encode(_: QueryClientParamsRequest, writer?: BinaryWriter): BinaryWriter;
515
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsRequest;
516
+ fromJSON(_: any): QueryClientParamsRequest;
517
+ toJSON(_: QueryClientParamsRequest): unknown;
518
+ fromPartial(_: Partial<QueryClientParamsRequest>): QueryClientParamsRequest;
519
+ fromProtoMsg(message: QueryClientParamsRequestProtoMsg): QueryClientParamsRequest;
520
+ toProto(message: QueryClientParamsRequest): Uint8Array;
521
+ toProtoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestProtoMsg;
522
+ };
523
+ export declare const QueryClientParamsResponse: {
524
+ typeUrl: string;
525
+ encode(message: QueryClientParamsResponse, writer?: BinaryWriter): BinaryWriter;
526
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsResponse;
527
+ fromJSON(object: any): QueryClientParamsResponse;
528
+ toJSON(message: QueryClientParamsResponse): unknown;
529
+ fromPartial(object: Partial<QueryClientParamsResponse>): QueryClientParamsResponse;
530
+ fromProtoMsg(message: QueryClientParamsResponseProtoMsg): QueryClientParamsResponse;
531
+ toProto(message: QueryClientParamsResponse): Uint8Array;
532
+ toProtoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseProtoMsg;
533
+ };
534
+ export declare const QueryUpgradedClientStateRequest: {
535
+ typeUrl: string;
536
+ encode(_: QueryUpgradedClientStateRequest, writer?: BinaryWriter): BinaryWriter;
537
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateRequest;
538
+ fromJSON(_: any): QueryUpgradedClientStateRequest;
539
+ toJSON(_: QueryUpgradedClientStateRequest): unknown;
540
+ fromPartial(_: Partial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest;
541
+ fromProtoMsg(message: QueryUpgradedClientStateRequestProtoMsg): QueryUpgradedClientStateRequest;
542
+ toProto(message: QueryUpgradedClientStateRequest): Uint8Array;
543
+ toProtoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestProtoMsg;
544
+ };
545
+ export declare const QueryUpgradedClientStateResponse: {
546
+ typeUrl: string;
547
+ encode(message: QueryUpgradedClientStateResponse, writer?: BinaryWriter): BinaryWriter;
548
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateResponse;
549
+ fromJSON(object: any): QueryUpgradedClientStateResponse;
550
+ toJSON(message: QueryUpgradedClientStateResponse): unknown;
551
+ fromPartial(object: Partial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse;
552
+ fromProtoMsg(message: QueryUpgradedClientStateResponseProtoMsg): QueryUpgradedClientStateResponse;
553
+ toProto(message: QueryUpgradedClientStateResponse): Uint8Array;
554
+ toProtoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseProtoMsg;
555
+ };
556
+ export declare const QueryUpgradedConsensusStateRequest: {
557
+ typeUrl: string;
558
+ encode(_: QueryUpgradedConsensusStateRequest, writer?: BinaryWriter): BinaryWriter;
559
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest;
560
+ fromJSON(_: any): QueryUpgradedConsensusStateRequest;
561
+ toJSON(_: QueryUpgradedConsensusStateRequest): unknown;
562
+ fromPartial(_: Partial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest;
563
+ fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest;
564
+ toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array;
565
+ toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg;
566
+ };
567
+ export declare const QueryUpgradedConsensusStateResponse: {
568
+ typeUrl: string;
569
+ encode(message: QueryUpgradedConsensusStateResponse, writer?: BinaryWriter): BinaryWriter;
570
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse;
571
+ fromJSON(object: any): QueryUpgradedConsensusStateResponse;
572
+ toJSON(message: QueryUpgradedConsensusStateResponse): unknown;
573
+ fromPartial(object: Partial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse;
574
+ fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse;
575
+ toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array;
576
+ toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg;
577
+ };