carbon-js-sdk 0.3.51 → 0.3.53-dev.1

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 (116) hide show
  1. package/lib/CarbonSDK.js +1 -1
  2. package/lib/clients/ETHClient.d.ts +11 -4
  3. package/lib/clients/ETHClient.js +20 -6
  4. package/lib/clients/HydrogenClient.d.ts +16 -7
  5. package/lib/clients/HydrogenClient.js +55 -9
  6. package/lib/clients/NEOClient.d.ts +1 -1
  7. package/lib/clients/NEOClient.js +9 -4
  8. package/lib/clients/TokenClient.d.ts +17 -4
  9. package/lib/clients/TokenClient.js +121 -8
  10. package/lib/clients/ZILClient.d.ts +1 -1
  11. package/lib/clients/ZILClient.js +9 -4
  12. package/lib/codec/cosmos/app/module/v1alpha1/module.d.ts +18 -0
  13. package/lib/codec/cosmos/app/module/v1alpha1/module.js +46 -0
  14. package/lib/codec/cosmos/app/v1alpha1/config.d.ts +57 -0
  15. package/lib/codec/cosmos/app/v1alpha1/config.js +125 -0
  16. package/lib/codec/cosmos/app/v1alpha1/export.d.ts +3 -0
  17. package/lib/codec/cosmos/app/v1alpha1/export.js +13 -0
  18. package/lib/codec/cosmos/app/v1alpha1/module.d.ts +109 -0
  19. package/lib/codec/cosmos/app/v1alpha1/module.js +192 -0
  20. package/lib/codec/cosmos/app/v1alpha1/query.d.ts +44 -0
  21. package/lib/codec/cosmos/app/v1alpha1/query.js +107 -0
  22. package/lib/codec/cosmos/authz/v1beta1/export.d.ts +4 -0
  23. package/lib/codec/cosmos/authz/v1beta1/export.js +25 -0
  24. package/lib/codec/cosmos/base/node/v1beta1/query.d.ts +42 -0
  25. package/lib/codec/cosmos/base/node/v1beta1/query.js +104 -0
  26. package/lib/codec/cosmos/base/tendermint/v1beta1/types.d.ts +67 -0
  27. package/lib/codec/cosmos/base/tendermint/v1beta1/types.js +423 -0
  28. package/lib/codec/cosmos/capability/v1beta1/export.d.ts +2 -0
  29. package/lib/codec/cosmos/capability/v1beta1/export.js +9 -0
  30. package/lib/codec/cosmos/crisis/v1beta1/export.d.ts +1 -0
  31. package/lib/codec/cosmos/crisis/v1beta1/export.js +6 -0
  32. package/lib/codec/cosmos/crypto/hd/v1/hd.d.ts +32 -0
  33. package/lib/codec/cosmos/crypto/hd/v1/hd.js +114 -0
  34. package/lib/codec/cosmos/crypto/keyring/v1/record.d.ts +78 -0
  35. package/lib/codec/cosmos/crypto/keyring/v1/record.js +309 -0
  36. package/lib/codec/cosmos/evidence/v1beta1/export.d.ts +3 -0
  37. package/lib/codec/cosmos/evidence/v1beta1/export.js +13 -0
  38. package/lib/codec/cosmos/feegrant/v1beta1/export.d.ts +3 -0
  39. package/lib/codec/cosmos/feegrant/v1beta1/export.js +20 -0
  40. package/lib/codec/cosmos/gov/v1/export.d.ts +3 -0
  41. package/lib/codec/cosmos/gov/v1/export.js +46 -0
  42. package/lib/codec/cosmos/gov/v1/genesis.d.ts +34 -0
  43. package/lib/codec/cosmos/gov/v1/genesis.js +166 -0
  44. package/lib/codec/cosmos/gov/v1/gov.d.ts +198 -0
  45. package/lib/codec/cosmos/gov/v1/gov.js +855 -0
  46. package/lib/codec/cosmos/gov/v1/query.d.ts +264 -0
  47. package/lib/codec/cosmos/gov/v1/query.js +1045 -0
  48. package/lib/codec/cosmos/gov/v1/tx.d.ts +167 -0
  49. package/lib/codec/cosmos/gov/v1/tx.js +639 -0
  50. package/lib/codec/cosmos/group/v1/events.d.ts +124 -0
  51. package/lib/codec/cosmos/group/v1/events.js +480 -0
  52. package/lib/codec/cosmos/group/v1/export.d.ts +4 -0
  53. package/lib/codec/cosmos/group/v1/export.js +94 -0
  54. package/lib/codec/cosmos/group/v1/genesis.d.ts +45 -0
  55. package/lib/codec/cosmos/group/v1/genesis.js +176 -0
  56. package/lib/codec/cosmos/group/v1/query.d.ts +412 -0
  57. package/lib/codec/cosmos/group/v1/query.js +1648 -0
  58. package/lib/codec/cosmos/group/v1/tx.d.ts +483 -0
  59. package/lib/codec/cosmos/group/v1/tx.js +1840 -0
  60. package/lib/codec/cosmos/group/v1/types.d.ts +356 -0
  61. package/lib/codec/cosmos/group/v1/types.js +1306 -0
  62. package/lib/codec/cosmos/msg/v1/msg.d.ts +1 -0
  63. package/lib/codec/cosmos/msg/v1/msg.js +14 -0
  64. package/lib/codec/cosmos/nft/v1beta1/event.d.ts +48 -0
  65. package/lib/codec/cosmos/nft/v1beta1/event.js +227 -0
  66. package/lib/codec/cosmos/nft/v1beta1/export.d.ts +5 -0
  67. package/lib/codec/cosmos/nft/v1beta1/export.js +30 -0
  68. package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +36 -0
  69. package/lib/codec/cosmos/nft/v1beta1/genesis.js +140 -0
  70. package/lib/codec/cosmos/nft/v1beta1/nft.d.ts +53 -0
  71. package/lib/codec/cosmos/nft/v1beta1/nft.js +233 -0
  72. package/lib/codec/cosmos/nft/v1beta1/query.d.ts +206 -0
  73. package/lib/codec/cosmos/nft/v1beta1/query.js +817 -0
  74. package/lib/codec/cosmos/nft/v1beta1/tx.d.ts +49 -0
  75. package/lib/codec/cosmos/nft/v1beta1/tx.js +137 -0
  76. package/lib/codec/cosmos/orm/module/v1alpha1/module.d.ts +22 -0
  77. package/lib/codec/cosmos/orm/module/v1alpha1/module.js +46 -0
  78. package/lib/codec/cosmos/orm/v1/export.d.ts +1 -0
  79. package/lib/codec/cosmos/orm/v1/export.js +8 -0
  80. package/lib/codec/cosmos/orm/v1/orm.d.ts +123 -0
  81. package/lib/codec/cosmos/orm/v1/orm.js +263 -0
  82. package/lib/codec/cosmos/orm/v1alpha1/export.d.ts +1 -0
  83. package/lib/codec/cosmos/orm/v1alpha1/export.js +9 -0
  84. package/lib/codec/cosmos/orm/v1alpha1/schema.d.ts +96 -0
  85. package/lib/codec/cosmos/orm/v1alpha1/schema.js +265 -0
  86. package/lib/codec/cosmos/upgrade/v1beta1/export.d.ts +3 -0
  87. package/lib/codec/cosmos/upgrade/v1beta1/export.js +24 -0
  88. package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +97 -0
  89. package/lib/codec/cosmos/upgrade/v1beta1/tx.js +203 -0
  90. package/lib/codec/ibc/applications/fee/v1/ack.d.ts +24 -0
  91. package/lib/codec/ibc/applications/fee/v1/ack.js +125 -0
  92. package/lib/codec/ibc/applications/fee/v1/export.d.ts +6 -0
  93. package/lib/codec/ibc/applications/fee/v1/export.js +47 -0
  94. package/lib/codec/ibc/applications/fee/v1/fee.d.ts +68 -0
  95. package/lib/codec/ibc/applications/fee/v1/fee.js +289 -0
  96. package/lib/codec/ibc/applications/fee/v1/genesis.d.ts +93 -0
  97. package/lib/codec/ibc/applications/fee/v1/genesis.js +390 -0
  98. package/lib/codec/ibc/applications/fee/v1/metadata.d.ts +25 -0
  99. package/lib/codec/ibc/applications/fee/v1/metadata.js +71 -0
  100. package/lib/codec/ibc/applications/fee/v1/query.d.ts +312 -0
  101. package/lib/codec/ibc/applications/fee/v1/query.js +1187 -0
  102. package/lib/codec/ibc/applications/fee/v1/tx.d.ts +171 -0
  103. package/lib/codec/ibc/applications/fee/v1/tx.js +524 -0
  104. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +78 -0
  105. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.js +296 -0
  106. package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +80 -0
  107. package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.js +439 -0
  108. package/lib/hydrogen/transfer.d.ts +5 -5
  109. package/lib/insights/competition.d.ts +2 -0
  110. package/lib/provider/metamask/MetaMask.d.ts +5 -5
  111. package/lib/provider/metamask/MetaMask.js +35 -35
  112. package/lib/util/blockchain.d.ts +9 -0
  113. package/lib/util/blockchain.js +143 -1
  114. package/lib/util/ibc.d.ts +4 -4
  115. package/lib/util/ibc.js +17 -18
  116. package/package.json +1 -1
@@ -0,0 +1,264 @@
1
+ import Long from "long";
2
+ import _m0 from "protobufjs/minimal";
3
+ import { Proposal, ProposalStatus, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov";
4
+ import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
5
+ export declare const protobufPackage = "cosmos.gov.v1";
6
+ /** Since: cosmos-sdk 0.46 */
7
+ /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
8
+ export interface QueryProposalRequest {
9
+ /** proposal_id defines the unique id of the proposal. */
10
+ proposalId: Long;
11
+ }
12
+ /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
13
+ export interface QueryProposalResponse {
14
+ proposal?: Proposal;
15
+ }
16
+ /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
17
+ export interface QueryProposalsRequest {
18
+ /** proposal_status defines the status of the proposals. */
19
+ proposalStatus: ProposalStatus;
20
+ /** voter defines the voter address for the proposals. */
21
+ voter: string;
22
+ /** depositor defines the deposit addresses from the proposals. */
23
+ depositor: string;
24
+ /** pagination defines an optional pagination for the request. */
25
+ pagination?: PageRequest;
26
+ }
27
+ /**
28
+ * QueryProposalsResponse is the response type for the Query/Proposals RPC
29
+ * method.
30
+ */
31
+ export interface QueryProposalsResponse {
32
+ proposals: Proposal[];
33
+ /** pagination defines the pagination in the response. */
34
+ pagination?: PageResponse;
35
+ }
36
+ /** QueryVoteRequest is the request type for the Query/Vote RPC method. */
37
+ export interface QueryVoteRequest {
38
+ /** proposal_id defines the unique id of the proposal. */
39
+ proposalId: Long;
40
+ /** voter defines the voter address for the proposals. */
41
+ voter: string;
42
+ }
43
+ /** QueryVoteResponse is the response type for the Query/Vote RPC method. */
44
+ export interface QueryVoteResponse {
45
+ /** vote defined the queried vote. */
46
+ vote?: Vote;
47
+ }
48
+ /** QueryVotesRequest is the request type for the Query/Votes RPC method. */
49
+ export interface QueryVotesRequest {
50
+ /** proposal_id defines the unique id of the proposal. */
51
+ proposalId: Long;
52
+ /** pagination defines an optional pagination for the request. */
53
+ pagination?: PageRequest;
54
+ }
55
+ /** QueryVotesResponse is the response type for the Query/Votes RPC method. */
56
+ export interface QueryVotesResponse {
57
+ /** votes defined the queried votes. */
58
+ votes: Vote[];
59
+ /** pagination defines the pagination in the response. */
60
+ pagination?: PageResponse;
61
+ }
62
+ /** QueryParamsRequest is the request type for the Query/Params RPC method. */
63
+ export interface QueryParamsRequest {
64
+ /**
65
+ * params_type defines which parameters to query for, can be one of "voting",
66
+ * "tallying" or "deposit".
67
+ */
68
+ paramsType: string;
69
+ }
70
+ /** QueryParamsResponse is the response type for the Query/Params RPC method. */
71
+ export interface QueryParamsResponse {
72
+ /** voting_params defines the parameters related to voting. */
73
+ votingParams?: VotingParams;
74
+ /** deposit_params defines the parameters related to deposit. */
75
+ depositParams?: DepositParams;
76
+ /** tally_params defines the parameters related to tally. */
77
+ tallyParams?: TallyParams;
78
+ }
79
+ /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
80
+ export interface QueryDepositRequest {
81
+ /** proposal_id defines the unique id of the proposal. */
82
+ proposalId: Long;
83
+ /** depositor defines the deposit addresses from the proposals. */
84
+ depositor: string;
85
+ }
86
+ /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
87
+ export interface QueryDepositResponse {
88
+ /** deposit defines the requested deposit. */
89
+ deposit?: Deposit;
90
+ }
91
+ /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
92
+ export interface QueryDepositsRequest {
93
+ /** proposal_id defines the unique id of the proposal. */
94
+ proposalId: Long;
95
+ /** pagination defines an optional pagination for the request. */
96
+ pagination?: PageRequest;
97
+ }
98
+ /** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
99
+ export interface QueryDepositsResponse {
100
+ deposits: Deposit[];
101
+ /** pagination defines the pagination in the response. */
102
+ pagination?: PageResponse;
103
+ }
104
+ /** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
105
+ export interface QueryTallyResultRequest {
106
+ /** proposal_id defines the unique id of the proposal. */
107
+ proposalId: Long;
108
+ }
109
+ /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
110
+ export interface QueryTallyResultResponse {
111
+ /** tally defines the requested tally. */
112
+ tally?: TallyResult;
113
+ }
114
+ export declare const QueryProposalRequest: {
115
+ encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer;
116
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryProposalRequest;
117
+ fromJSON(object: any): QueryProposalRequest;
118
+ toJSON(message: QueryProposalRequest): unknown;
119
+ fromPartial(object: DeepPartial<QueryProposalRequest>): QueryProposalRequest;
120
+ };
121
+ export declare const QueryProposalResponse: {
122
+ encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer;
123
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryProposalResponse;
124
+ fromJSON(object: any): QueryProposalResponse;
125
+ toJSON(message: QueryProposalResponse): unknown;
126
+ fromPartial(object: DeepPartial<QueryProposalResponse>): QueryProposalResponse;
127
+ };
128
+ export declare const QueryProposalsRequest: {
129
+ encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer;
130
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryProposalsRequest;
131
+ fromJSON(object: any): QueryProposalsRequest;
132
+ toJSON(message: QueryProposalsRequest): unknown;
133
+ fromPartial(object: DeepPartial<QueryProposalsRequest>): QueryProposalsRequest;
134
+ };
135
+ export declare const QueryProposalsResponse: {
136
+ encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer;
137
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryProposalsResponse;
138
+ fromJSON(object: any): QueryProposalsResponse;
139
+ toJSON(message: QueryProposalsResponse): unknown;
140
+ fromPartial(object: DeepPartial<QueryProposalsResponse>): QueryProposalsResponse;
141
+ };
142
+ export declare const QueryVoteRequest: {
143
+ encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer;
144
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryVoteRequest;
145
+ fromJSON(object: any): QueryVoteRequest;
146
+ toJSON(message: QueryVoteRequest): unknown;
147
+ fromPartial(object: DeepPartial<QueryVoteRequest>): QueryVoteRequest;
148
+ };
149
+ export declare const QueryVoteResponse: {
150
+ encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer;
151
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryVoteResponse;
152
+ fromJSON(object: any): QueryVoteResponse;
153
+ toJSON(message: QueryVoteResponse): unknown;
154
+ fromPartial(object: DeepPartial<QueryVoteResponse>): QueryVoteResponse;
155
+ };
156
+ export declare const QueryVotesRequest: {
157
+ encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer;
158
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryVotesRequest;
159
+ fromJSON(object: any): QueryVotesRequest;
160
+ toJSON(message: QueryVotesRequest): unknown;
161
+ fromPartial(object: DeepPartial<QueryVotesRequest>): QueryVotesRequest;
162
+ };
163
+ export declare const QueryVotesResponse: {
164
+ encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer;
165
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryVotesResponse;
166
+ fromJSON(object: any): QueryVotesResponse;
167
+ toJSON(message: QueryVotesResponse): unknown;
168
+ fromPartial(object: DeepPartial<QueryVotesResponse>): QueryVotesResponse;
169
+ };
170
+ export declare const QueryParamsRequest: {
171
+ encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
172
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryParamsRequest;
173
+ fromJSON(object: any): QueryParamsRequest;
174
+ toJSON(message: QueryParamsRequest): unknown;
175
+ fromPartial(object: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
176
+ };
177
+ export declare const QueryParamsResponse: {
178
+ encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
179
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryParamsResponse;
180
+ fromJSON(object: any): QueryParamsResponse;
181
+ toJSON(message: QueryParamsResponse): unknown;
182
+ fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
183
+ };
184
+ export declare const QueryDepositRequest: {
185
+ encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer;
186
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryDepositRequest;
187
+ fromJSON(object: any): QueryDepositRequest;
188
+ toJSON(message: QueryDepositRequest): unknown;
189
+ fromPartial(object: DeepPartial<QueryDepositRequest>): QueryDepositRequest;
190
+ };
191
+ export declare const QueryDepositResponse: {
192
+ encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer;
193
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryDepositResponse;
194
+ fromJSON(object: any): QueryDepositResponse;
195
+ toJSON(message: QueryDepositResponse): unknown;
196
+ fromPartial(object: DeepPartial<QueryDepositResponse>): QueryDepositResponse;
197
+ };
198
+ export declare const QueryDepositsRequest: {
199
+ encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer;
200
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryDepositsRequest;
201
+ fromJSON(object: any): QueryDepositsRequest;
202
+ toJSON(message: QueryDepositsRequest): unknown;
203
+ fromPartial(object: DeepPartial<QueryDepositsRequest>): QueryDepositsRequest;
204
+ };
205
+ export declare const QueryDepositsResponse: {
206
+ encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer;
207
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryDepositsResponse;
208
+ fromJSON(object: any): QueryDepositsResponse;
209
+ toJSON(message: QueryDepositsResponse): unknown;
210
+ fromPartial(object: DeepPartial<QueryDepositsResponse>): QueryDepositsResponse;
211
+ };
212
+ export declare const QueryTallyResultRequest: {
213
+ encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer;
214
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTallyResultRequest;
215
+ fromJSON(object: any): QueryTallyResultRequest;
216
+ toJSON(message: QueryTallyResultRequest): unknown;
217
+ fromPartial(object: DeepPartial<QueryTallyResultRequest>): QueryTallyResultRequest;
218
+ };
219
+ export declare const QueryTallyResultResponse: {
220
+ encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer;
221
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTallyResultResponse;
222
+ fromJSON(object: any): QueryTallyResultResponse;
223
+ toJSON(message: QueryTallyResultResponse): unknown;
224
+ fromPartial(object: DeepPartial<QueryTallyResultResponse>): QueryTallyResultResponse;
225
+ };
226
+ /** Query defines the gRPC querier service for gov module */
227
+ export interface Query {
228
+ /** Proposal queries proposal details based on ProposalID. */
229
+ Proposal(request: QueryProposalRequest): Promise<QueryProposalResponse>;
230
+ /** Proposals queries all proposals based on given status. */
231
+ Proposals(request: QueryProposalsRequest): Promise<QueryProposalsResponse>;
232
+ /** Vote queries voted information based on proposalID, voterAddr. */
233
+ Vote(request: QueryVoteRequest): Promise<QueryVoteResponse>;
234
+ /** Votes queries votes of a given proposal. */
235
+ Votes(request: QueryVotesRequest): Promise<QueryVotesResponse>;
236
+ /** Params queries all parameters of the gov module. */
237
+ Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
238
+ /** Deposit queries single deposit information based proposalID, depositAddr. */
239
+ Deposit(request: QueryDepositRequest): Promise<QueryDepositResponse>;
240
+ /** Deposits queries all deposits of a single proposal. */
241
+ Deposits(request: QueryDepositsRequest): Promise<QueryDepositsResponse>;
242
+ /** TallyResult queries the tally of a proposal vote. */
243
+ TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
244
+ }
245
+ export declare class QueryClientImpl implements Query {
246
+ private readonly rpc;
247
+ constructor(rpc: Rpc);
248
+ Proposal(request: QueryProposalRequest): Promise<QueryProposalResponse>;
249
+ Proposals(request: QueryProposalsRequest): Promise<QueryProposalsResponse>;
250
+ Vote(request: QueryVoteRequest): Promise<QueryVoteResponse>;
251
+ Votes(request: QueryVotesRequest): Promise<QueryVotesResponse>;
252
+ Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
253
+ Deposit(request: QueryDepositRequest): Promise<QueryDepositResponse>;
254
+ Deposits(request: QueryDepositsRequest): Promise<QueryDepositsResponse>;
255
+ TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
256
+ }
257
+ interface Rpc {
258
+ request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
259
+ }
260
+ declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
261
+ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
262
+ [K in keyof T]?: DeepPartial<T[K]>;
263
+ } : Partial<T>;
264
+ export {};