coreum-js 2.11.0 → 2.12.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 (239) hide show
  1. package/dist/main/client/index.d.ts +2 -1
  2. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
  3. package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
  5. package/dist/main/coreum/asset/ft/v1/params.js +14 -6
  6. package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
  7. package/dist/main/coreum/asset/ft/v1/query.js +116 -54
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
  9. package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
  11. package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
  12. package/dist/main/coreum/asset/nft/v1/params.js +14 -6
  13. package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
  14. package/dist/main/coreum/asset/nft/v1/query.js +49 -22
  15. package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
  16. package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
  17. package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
  18. package/dist/main/coreum/feemodel/v1/query.js +22 -11
  19. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  20. package/dist/main/coreum/nft/v1beta1/query.js +83 -39
  21. package/dist/main/cosmos/extensions/bank.d.ts +8 -8
  22. package/dist/main/cosmos/extensions/bank.js +2 -2
  23. package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
  24. package/dist/main/cosmos/extensions/distribution.js +1 -1
  25. package/dist/main/cosmos/extensions/gov.d.ts +21 -21
  26. package/dist/main/cosmos/extensions/gov.js +1 -1
  27. package/dist/main/cosmos/index.d.ts +12 -21
  28. package/dist/main/cosmos/index.js +50 -42
  29. package/dist/main/types/msgs.d.ts +4 -4
  30. package/dist/main/wasm/v1/authz.d.ts +1 -1
  31. package/dist/main/wasm/v1/authz.js +1 -1
  32. package/dist/main/wasm/v1/proposal.d.ts +1 -1
  33. package/dist/main/wasm/v1/proposal.js +1 -1
  34. package/dist/main/wasm/v1/tx.d.ts +1 -1
  35. package/dist/main/wasm/v1/tx.js +1 -1
  36. package/dist/module/client/index.d.ts +2 -1
  37. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
  38. package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
  39. package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
  40. package/dist/module/coreum/asset/ft/v1/params.js +14 -6
  41. package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
  42. package/dist/module/coreum/asset/ft/v1/query.js +116 -54
  43. package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
  44. package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
  45. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
  46. package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
  47. package/dist/module/coreum/asset/nft/v1/params.js +14 -6
  48. package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
  49. package/dist/module/coreum/asset/nft/v1/query.js +49 -22
  50. package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
  51. package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
  52. package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
  53. package/dist/module/coreum/feemodel/v1/query.js +22 -11
  54. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  55. package/dist/module/coreum/nft/v1beta1/query.js +83 -39
  56. package/dist/module/cosmos/extensions/bank.d.ts +8 -8
  57. package/dist/module/cosmos/extensions/bank.js +2 -2
  58. package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
  59. package/dist/module/cosmos/extensions/distribution.js +1 -1
  60. package/dist/module/cosmos/extensions/gov.d.ts +21 -21
  61. package/dist/module/cosmos/extensions/gov.js +1 -1
  62. package/dist/module/cosmos/index.d.ts +12 -21
  63. package/dist/module/cosmos/index.js +29 -19
  64. package/dist/module/types/msgs.d.ts +4 -4
  65. package/dist/module/wasm/v1/authz.d.ts +1 -1
  66. package/dist/module/wasm/v1/authz.js +1 -1
  67. package/dist/module/wasm/v1/proposal.d.ts +1 -1
  68. package/dist/module/wasm/v1/proposal.js +1 -1
  69. package/dist/module/wasm/v1/tx.d.ts +1 -1
  70. package/dist/module/wasm/v1/tx.js +1 -1
  71. package/package.json +1 -1
  72. package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
  73. package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
  74. package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
  75. package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
  76. package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
  77. package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
  78. package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  79. package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
  80. package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  81. package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
  82. package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
  83. package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
  84. package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
  85. package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
  86. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
  87. package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
  88. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
  89. package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
  90. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  91. package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
  92. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  93. package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
  94. package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
  95. package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
  96. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
  97. package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
  98. package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  99. package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
  100. package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
  101. package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
  102. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  103. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
  104. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  105. package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
  106. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  107. package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
  108. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  109. package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
  110. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
  111. package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
  112. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  113. package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
  114. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  115. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
  116. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  117. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
  118. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  119. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
  120. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  121. package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
  122. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  123. package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
  124. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  125. package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
  126. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
  127. package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
  128. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  129. package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
  130. package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
  131. package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
  132. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
  133. package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
  134. package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
  135. package/dist/main/cosmos/msg/v1/msg.js +0 -5
  136. package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
  137. package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
  138. package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  139. package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
  140. package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  141. package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
  142. package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
  143. package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
  144. package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  145. package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
  146. package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
  147. package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
  148. package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  149. package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
  150. package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  151. package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
  152. package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  153. package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
  154. package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  155. package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
  156. package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
  157. package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
  158. package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
  159. package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
  160. package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
  161. package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
  162. package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  163. package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
  164. package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  165. package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
  166. package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
  167. package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
  168. package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
  169. package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
  170. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
  171. package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
  172. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
  173. package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
  174. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  175. package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
  176. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  177. package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
  178. package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
  179. package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
  180. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
  181. package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
  182. package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  183. package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
  184. package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
  185. package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
  186. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  187. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
  188. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  189. package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
  190. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  191. package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
  192. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  193. package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
  194. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
  195. package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
  196. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  197. package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
  198. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  199. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
  200. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  201. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
  202. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  203. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
  204. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  205. package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
  206. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  207. package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
  208. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  209. package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
  210. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
  211. package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
  212. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  213. package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
  214. package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
  215. package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
  216. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
  217. package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
  218. package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
  219. package/dist/module/cosmos/msg/v1/msg.js +0 -2
  220. package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
  221. package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
  222. package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  223. package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
  224. package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  225. package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
  226. package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
  227. package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
  228. package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  229. package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
  230. package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
  231. package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
  232. package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  233. package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
  234. package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  235. package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
  236. package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  237. package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
  238. package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  239. package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
@@ -1,1511 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { PageRequest, PageResponse } from "./pagination";
3
- import { Deposit, DepositParams, Proposal, ProposalStatus, TallyParams, TallyResult, Vote, VotingParams } from "./gov";
4
- export declare const protobufPackage = "cosmos.gov.v1beta1";
5
- /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
6
- export interface QueryProposalRequest {
7
- /** proposal_id defines the unique id of the proposal. */
8
- proposalId: number;
9
- }
10
- /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
11
- export interface QueryProposalResponse {
12
- proposal: Proposal | undefined;
13
- }
14
- /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
15
- export interface QueryProposalsRequest {
16
- /** proposal_status defines the status of the proposals. */
17
- proposalStatus: ProposalStatus;
18
- /** voter defines the voter address for the proposals. */
19
- voter: string;
20
- /** depositor defines the deposit addresses from the proposals. */
21
- depositor: string;
22
- /** pagination defines an optional pagination for the request. */
23
- pagination: PageRequest | undefined;
24
- }
25
- /**
26
- * QueryProposalsResponse is the response type for the Query/Proposals RPC
27
- * method.
28
- */
29
- export interface QueryProposalsResponse {
30
- /** proposals defines all the requested governance proposals. */
31
- proposals: Proposal[];
32
- /** pagination defines the pagination in the response. */
33
- pagination: PageResponse | undefined;
34
- }
35
- /** QueryVoteRequest is the request type for the Query/Vote RPC method. */
36
- export interface QueryVoteRequest {
37
- /** proposal_id defines the unique id of the proposal. */
38
- proposalId: number;
39
- /** voter defines the voter address for the proposals. */
40
- voter: string;
41
- }
42
- /** QueryVoteResponse is the response type for the Query/Vote RPC method. */
43
- export interface QueryVoteResponse {
44
- /** vote defines the queried vote. */
45
- vote: Vote | undefined;
46
- }
47
- /** QueryVotesRequest is the request type for the Query/Votes RPC method. */
48
- export interface QueryVotesRequest {
49
- /** proposal_id defines the unique id of the proposal. */
50
- proposalId: number;
51
- /** pagination defines an optional pagination for the request. */
52
- pagination: PageRequest | undefined;
53
- }
54
- /** QueryVotesResponse is the response type for the Query/Votes RPC method. */
55
- export interface QueryVotesResponse {
56
- /** votes defines the queried votes. */
57
- votes: Vote[];
58
- /** pagination defines the pagination in the response. */
59
- pagination: PageResponse | undefined;
60
- }
61
- /** QueryParamsRequest is the request type for the Query/Params RPC method. */
62
- export interface QueryParamsRequest {
63
- /**
64
- * params_type defines which parameters to query for, can be one of "voting",
65
- * "tallying" or "deposit".
66
- */
67
- paramsType: string;
68
- }
69
- /** QueryParamsResponse is the response type for the Query/Params RPC method. */
70
- export interface QueryParamsResponse {
71
- /** voting_params defines the parameters related to voting. */
72
- votingParams: VotingParams | undefined;
73
- /** deposit_params defines the parameters related to deposit. */
74
- depositParams: DepositParams | undefined;
75
- /** tally_params defines the parameters related to tally. */
76
- tallyParams: TallyParams | undefined;
77
- }
78
- /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
79
- export interface QueryDepositRequest {
80
- /** proposal_id defines the unique id of the proposal. */
81
- proposalId: number;
82
- /** depositor defines the deposit addresses from the proposals. */
83
- depositor: string;
84
- }
85
- /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
86
- export interface QueryDepositResponse {
87
- /** deposit defines the requested deposit. */
88
- deposit: Deposit | undefined;
89
- }
90
- /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
91
- export interface QueryDepositsRequest {
92
- /** proposal_id defines the unique id of the proposal. */
93
- proposalId: number;
94
- /** pagination defines an optional pagination for the request. */
95
- pagination: PageRequest | undefined;
96
- }
97
- /** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
98
- export interface QueryDepositsResponse {
99
- /** deposits defines the requested deposits. */
100
- deposits: Deposit[];
101
- /** pagination defines the pagination in the response. */
102
- pagination: PageResponse | undefined;
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: number;
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 | undefined;
113
- }
114
- export declare const QueryProposalRequest: {
115
- encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer;
116
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest;
117
- fromJSON(object: any): QueryProposalRequest;
118
- toJSON(message: QueryProposalRequest): unknown;
119
- create<I extends {
120
- proposalId?: number;
121
- } & {
122
- proposalId?: number;
123
- } & { [K in Exclude<keyof I, "proposalId">]: never; }>(base?: I): QueryProposalRequest;
124
- fromPartial<I_1 extends {
125
- proposalId?: number;
126
- } & {
127
- proposalId?: number;
128
- } & { [K_1 in Exclude<keyof I_1, "proposalId">]: never; }>(object: I_1): QueryProposalRequest;
129
- };
130
- export declare const QueryProposalResponse: {
131
- encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer;
132
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse;
133
- fromJSON(object: any): QueryProposalResponse;
134
- toJSON(message: QueryProposalResponse): unknown;
135
- create<I extends {
136
- proposal?: {
137
- proposalId?: number;
138
- content?: {
139
- typeUrl?: string;
140
- value?: Uint8Array;
141
- };
142
- status?: ProposalStatus;
143
- finalTallyResult?: {
144
- yes?: string;
145
- abstain?: string;
146
- no?: string;
147
- noWithVeto?: string;
148
- };
149
- submitTime?: Date;
150
- depositEndTime?: Date;
151
- totalDeposit?: {
152
- denom?: string;
153
- amount?: string;
154
- }[];
155
- votingStartTime?: Date;
156
- votingEndTime?: Date;
157
- };
158
- } & {
159
- proposal?: {
160
- proposalId?: number;
161
- content?: {
162
- typeUrl?: string;
163
- value?: Uint8Array;
164
- };
165
- status?: ProposalStatus;
166
- finalTallyResult?: {
167
- yes?: string;
168
- abstain?: string;
169
- no?: string;
170
- noWithVeto?: string;
171
- };
172
- submitTime?: Date;
173
- depositEndTime?: Date;
174
- totalDeposit?: {
175
- denom?: string;
176
- amount?: string;
177
- }[];
178
- votingStartTime?: Date;
179
- votingEndTime?: Date;
180
- } & {
181
- proposalId?: number;
182
- content?: {
183
- typeUrl?: string;
184
- value?: Uint8Array;
185
- } & {
186
- typeUrl?: string;
187
- value?: Uint8Array;
188
- } & { [K in Exclude<keyof I["proposal"]["content"], keyof import("../../../google").Any>]: never; };
189
- status?: ProposalStatus;
190
- finalTallyResult?: {
191
- yes?: string;
192
- abstain?: string;
193
- no?: string;
194
- noWithVeto?: string;
195
- } & {
196
- yes?: string;
197
- abstain?: string;
198
- no?: string;
199
- noWithVeto?: string;
200
- } & { [K_1 in Exclude<keyof I["proposal"]["finalTallyResult"], keyof TallyResult>]: never; };
201
- submitTime?: Date;
202
- depositEndTime?: Date;
203
- totalDeposit?: {
204
- denom?: string;
205
- amount?: string;
206
- }[] & ({
207
- denom?: string;
208
- amount?: string;
209
- } & {
210
- denom?: string;
211
- amount?: string;
212
- } & { [K_2 in Exclude<keyof I["proposal"]["totalDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_3 in Exclude<keyof I["proposal"]["totalDeposit"], keyof {
213
- denom?: string;
214
- amount?: string;
215
- }[]>]: never; };
216
- votingStartTime?: Date;
217
- votingEndTime?: Date;
218
- } & { [K_4 in Exclude<keyof I["proposal"], keyof Proposal>]: never; };
219
- } & { [K_5 in Exclude<keyof I, "proposal">]: never; }>(base?: I): QueryProposalResponse;
220
- fromPartial<I_1 extends {
221
- proposal?: {
222
- proposalId?: number;
223
- content?: {
224
- typeUrl?: string;
225
- value?: Uint8Array;
226
- };
227
- status?: ProposalStatus;
228
- finalTallyResult?: {
229
- yes?: string;
230
- abstain?: string;
231
- no?: string;
232
- noWithVeto?: string;
233
- };
234
- submitTime?: Date;
235
- depositEndTime?: Date;
236
- totalDeposit?: {
237
- denom?: string;
238
- amount?: string;
239
- }[];
240
- votingStartTime?: Date;
241
- votingEndTime?: Date;
242
- };
243
- } & {
244
- proposal?: {
245
- proposalId?: number;
246
- content?: {
247
- typeUrl?: string;
248
- value?: Uint8Array;
249
- };
250
- status?: ProposalStatus;
251
- finalTallyResult?: {
252
- yes?: string;
253
- abstain?: string;
254
- no?: string;
255
- noWithVeto?: string;
256
- };
257
- submitTime?: Date;
258
- depositEndTime?: Date;
259
- totalDeposit?: {
260
- denom?: string;
261
- amount?: string;
262
- }[];
263
- votingStartTime?: Date;
264
- votingEndTime?: Date;
265
- } & {
266
- proposalId?: number;
267
- content?: {
268
- typeUrl?: string;
269
- value?: Uint8Array;
270
- } & {
271
- typeUrl?: string;
272
- value?: Uint8Array;
273
- } & { [K_6 in Exclude<keyof I_1["proposal"]["content"], keyof import("../../../google").Any>]: never; };
274
- status?: ProposalStatus;
275
- finalTallyResult?: {
276
- yes?: string;
277
- abstain?: string;
278
- no?: string;
279
- noWithVeto?: string;
280
- } & {
281
- yes?: string;
282
- abstain?: string;
283
- no?: string;
284
- noWithVeto?: string;
285
- } & { [K_7 in Exclude<keyof I_1["proposal"]["finalTallyResult"], keyof TallyResult>]: never; };
286
- submitTime?: Date;
287
- depositEndTime?: Date;
288
- totalDeposit?: {
289
- denom?: string;
290
- amount?: string;
291
- }[] & ({
292
- denom?: string;
293
- amount?: string;
294
- } & {
295
- denom?: string;
296
- amount?: string;
297
- } & { [K_8 in Exclude<keyof I_1["proposal"]["totalDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_9 in Exclude<keyof I_1["proposal"]["totalDeposit"], keyof {
298
- denom?: string;
299
- amount?: string;
300
- }[]>]: never; };
301
- votingStartTime?: Date;
302
- votingEndTime?: Date;
303
- } & { [K_10 in Exclude<keyof I_1["proposal"], keyof Proposal>]: never; };
304
- } & { [K_11 in Exclude<keyof I_1, "proposal">]: never; }>(object: I_1): QueryProposalResponse;
305
- };
306
- export declare const QueryProposalsRequest: {
307
- encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer;
308
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest;
309
- fromJSON(object: any): QueryProposalsRequest;
310
- toJSON(message: QueryProposalsRequest): unknown;
311
- create<I extends {
312
- proposalStatus?: ProposalStatus;
313
- voter?: string;
314
- depositor?: string;
315
- pagination?: {
316
- key?: Uint8Array;
317
- offset?: number;
318
- limit?: number;
319
- countTotal?: boolean;
320
- reverse?: boolean;
321
- };
322
- } & {
323
- proposalStatus?: ProposalStatus;
324
- voter?: string;
325
- depositor?: string;
326
- pagination?: {
327
- key?: Uint8Array;
328
- offset?: number;
329
- limit?: number;
330
- countTotal?: boolean;
331
- reverse?: boolean;
332
- } & {
333
- key?: Uint8Array;
334
- offset?: number;
335
- limit?: number;
336
- countTotal?: boolean;
337
- reverse?: boolean;
338
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
339
- } & { [K_1 in Exclude<keyof I, keyof QueryProposalsRequest>]: never; }>(base?: I): QueryProposalsRequest;
340
- fromPartial<I_1 extends {
341
- proposalStatus?: ProposalStatus;
342
- voter?: string;
343
- depositor?: string;
344
- pagination?: {
345
- key?: Uint8Array;
346
- offset?: number;
347
- limit?: number;
348
- countTotal?: boolean;
349
- reverse?: boolean;
350
- };
351
- } & {
352
- proposalStatus?: ProposalStatus;
353
- voter?: string;
354
- depositor?: string;
355
- pagination?: {
356
- key?: Uint8Array;
357
- offset?: number;
358
- limit?: number;
359
- countTotal?: boolean;
360
- reverse?: boolean;
361
- } & {
362
- key?: Uint8Array;
363
- offset?: number;
364
- limit?: number;
365
- countTotal?: boolean;
366
- reverse?: boolean;
367
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
368
- } & { [K_3 in Exclude<keyof I_1, keyof QueryProposalsRequest>]: never; }>(object: I_1): QueryProposalsRequest;
369
- };
370
- export declare const QueryProposalsResponse: {
371
- encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer;
372
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse;
373
- fromJSON(object: any): QueryProposalsResponse;
374
- toJSON(message: QueryProposalsResponse): unknown;
375
- create<I extends {
376
- proposals?: {
377
- proposalId?: number;
378
- content?: {
379
- typeUrl?: string;
380
- value?: Uint8Array;
381
- };
382
- status?: ProposalStatus;
383
- finalTallyResult?: {
384
- yes?: string;
385
- abstain?: string;
386
- no?: string;
387
- noWithVeto?: string;
388
- };
389
- submitTime?: Date;
390
- depositEndTime?: Date;
391
- totalDeposit?: {
392
- denom?: string;
393
- amount?: string;
394
- }[];
395
- votingStartTime?: Date;
396
- votingEndTime?: Date;
397
- }[];
398
- pagination?: {
399
- nextKey?: Uint8Array;
400
- total?: number;
401
- };
402
- } & {
403
- proposals?: {
404
- proposalId?: number;
405
- content?: {
406
- typeUrl?: string;
407
- value?: Uint8Array;
408
- };
409
- status?: ProposalStatus;
410
- finalTallyResult?: {
411
- yes?: string;
412
- abstain?: string;
413
- no?: string;
414
- noWithVeto?: string;
415
- };
416
- submitTime?: Date;
417
- depositEndTime?: Date;
418
- totalDeposit?: {
419
- denom?: string;
420
- amount?: string;
421
- }[];
422
- votingStartTime?: Date;
423
- votingEndTime?: Date;
424
- }[] & ({
425
- proposalId?: number;
426
- content?: {
427
- typeUrl?: string;
428
- value?: Uint8Array;
429
- };
430
- status?: ProposalStatus;
431
- finalTallyResult?: {
432
- yes?: string;
433
- abstain?: string;
434
- no?: string;
435
- noWithVeto?: string;
436
- };
437
- submitTime?: Date;
438
- depositEndTime?: Date;
439
- totalDeposit?: {
440
- denom?: string;
441
- amount?: string;
442
- }[];
443
- votingStartTime?: Date;
444
- votingEndTime?: Date;
445
- } & {
446
- proposalId?: number;
447
- content?: {
448
- typeUrl?: string;
449
- value?: Uint8Array;
450
- } & {
451
- typeUrl?: string;
452
- value?: Uint8Array;
453
- } & { [K in Exclude<keyof I["proposals"][number]["content"], keyof import("../../../google").Any>]: never; };
454
- status?: ProposalStatus;
455
- finalTallyResult?: {
456
- yes?: string;
457
- abstain?: string;
458
- no?: string;
459
- noWithVeto?: string;
460
- } & {
461
- yes?: string;
462
- abstain?: string;
463
- no?: string;
464
- noWithVeto?: string;
465
- } & { [K_1 in Exclude<keyof I["proposals"][number]["finalTallyResult"], keyof TallyResult>]: never; };
466
- submitTime?: Date;
467
- depositEndTime?: Date;
468
- totalDeposit?: {
469
- denom?: string;
470
- amount?: string;
471
- }[] & ({
472
- denom?: string;
473
- amount?: string;
474
- } & {
475
- denom?: string;
476
- amount?: string;
477
- } & { [K_2 in Exclude<keyof I["proposals"][number]["totalDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_3 in Exclude<keyof I["proposals"][number]["totalDeposit"], keyof {
478
- denom?: string;
479
- amount?: string;
480
- }[]>]: never; };
481
- votingStartTime?: Date;
482
- votingEndTime?: Date;
483
- } & { [K_4 in Exclude<keyof I["proposals"][number], keyof Proposal>]: never; })[] & { [K_5 in Exclude<keyof I["proposals"], keyof {
484
- proposalId?: number;
485
- content?: {
486
- typeUrl?: string;
487
- value?: Uint8Array;
488
- };
489
- status?: ProposalStatus;
490
- finalTallyResult?: {
491
- yes?: string;
492
- abstain?: string;
493
- no?: string;
494
- noWithVeto?: string;
495
- };
496
- submitTime?: Date;
497
- depositEndTime?: Date;
498
- totalDeposit?: {
499
- denom?: string;
500
- amount?: string;
501
- }[];
502
- votingStartTime?: Date;
503
- votingEndTime?: Date;
504
- }[]>]: never; };
505
- pagination?: {
506
- nextKey?: Uint8Array;
507
- total?: number;
508
- } & {
509
- nextKey?: Uint8Array;
510
- total?: number;
511
- } & { [K_6 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
512
- } & { [K_7 in Exclude<keyof I, keyof QueryProposalsResponse>]: never; }>(base?: I): QueryProposalsResponse;
513
- fromPartial<I_1 extends {
514
- proposals?: {
515
- proposalId?: number;
516
- content?: {
517
- typeUrl?: string;
518
- value?: Uint8Array;
519
- };
520
- status?: ProposalStatus;
521
- finalTallyResult?: {
522
- yes?: string;
523
- abstain?: string;
524
- no?: string;
525
- noWithVeto?: string;
526
- };
527
- submitTime?: Date;
528
- depositEndTime?: Date;
529
- totalDeposit?: {
530
- denom?: string;
531
- amount?: string;
532
- }[];
533
- votingStartTime?: Date;
534
- votingEndTime?: Date;
535
- }[];
536
- pagination?: {
537
- nextKey?: Uint8Array;
538
- total?: number;
539
- };
540
- } & {
541
- proposals?: {
542
- proposalId?: number;
543
- content?: {
544
- typeUrl?: string;
545
- value?: Uint8Array;
546
- };
547
- status?: ProposalStatus;
548
- finalTallyResult?: {
549
- yes?: string;
550
- abstain?: string;
551
- no?: string;
552
- noWithVeto?: string;
553
- };
554
- submitTime?: Date;
555
- depositEndTime?: Date;
556
- totalDeposit?: {
557
- denom?: string;
558
- amount?: string;
559
- }[];
560
- votingStartTime?: Date;
561
- votingEndTime?: Date;
562
- }[] & ({
563
- proposalId?: number;
564
- content?: {
565
- typeUrl?: string;
566
- value?: Uint8Array;
567
- };
568
- status?: ProposalStatus;
569
- finalTallyResult?: {
570
- yes?: string;
571
- abstain?: string;
572
- no?: string;
573
- noWithVeto?: string;
574
- };
575
- submitTime?: Date;
576
- depositEndTime?: Date;
577
- totalDeposit?: {
578
- denom?: string;
579
- amount?: string;
580
- }[];
581
- votingStartTime?: Date;
582
- votingEndTime?: Date;
583
- } & {
584
- proposalId?: number;
585
- content?: {
586
- typeUrl?: string;
587
- value?: Uint8Array;
588
- } & {
589
- typeUrl?: string;
590
- value?: Uint8Array;
591
- } & { [K_8 in Exclude<keyof I_1["proposals"][number]["content"], keyof import("../../../google").Any>]: never; };
592
- status?: ProposalStatus;
593
- finalTallyResult?: {
594
- yes?: string;
595
- abstain?: string;
596
- no?: string;
597
- noWithVeto?: string;
598
- } & {
599
- yes?: string;
600
- abstain?: string;
601
- no?: string;
602
- noWithVeto?: string;
603
- } & { [K_9 in Exclude<keyof I_1["proposals"][number]["finalTallyResult"], keyof TallyResult>]: never; };
604
- submitTime?: Date;
605
- depositEndTime?: Date;
606
- totalDeposit?: {
607
- denom?: string;
608
- amount?: string;
609
- }[] & ({
610
- denom?: string;
611
- amount?: string;
612
- } & {
613
- denom?: string;
614
- amount?: string;
615
- } & { [K_10 in Exclude<keyof I_1["proposals"][number]["totalDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_11 in Exclude<keyof I_1["proposals"][number]["totalDeposit"], keyof {
616
- denom?: string;
617
- amount?: string;
618
- }[]>]: never; };
619
- votingStartTime?: Date;
620
- votingEndTime?: Date;
621
- } & { [K_12 in Exclude<keyof I_1["proposals"][number], keyof Proposal>]: never; })[] & { [K_13 in Exclude<keyof I_1["proposals"], keyof {
622
- proposalId?: number;
623
- content?: {
624
- typeUrl?: string;
625
- value?: Uint8Array;
626
- };
627
- status?: ProposalStatus;
628
- finalTallyResult?: {
629
- yes?: string;
630
- abstain?: string;
631
- no?: string;
632
- noWithVeto?: string;
633
- };
634
- submitTime?: Date;
635
- depositEndTime?: Date;
636
- totalDeposit?: {
637
- denom?: string;
638
- amount?: string;
639
- }[];
640
- votingStartTime?: Date;
641
- votingEndTime?: Date;
642
- }[]>]: never; };
643
- pagination?: {
644
- nextKey?: Uint8Array;
645
- total?: number;
646
- } & {
647
- nextKey?: Uint8Array;
648
- total?: number;
649
- } & { [K_14 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
650
- } & { [K_15 in Exclude<keyof I_1, keyof QueryProposalsResponse>]: never; }>(object: I_1): QueryProposalsResponse;
651
- };
652
- export declare const QueryVoteRequest: {
653
- encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer;
654
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest;
655
- fromJSON(object: any): QueryVoteRequest;
656
- toJSON(message: QueryVoteRequest): unknown;
657
- create<I extends {
658
- proposalId?: number;
659
- voter?: string;
660
- } & {
661
- proposalId?: number;
662
- voter?: string;
663
- } & { [K in Exclude<keyof I, keyof QueryVoteRequest>]: never; }>(base?: I): QueryVoteRequest;
664
- fromPartial<I_1 extends {
665
- proposalId?: number;
666
- voter?: string;
667
- } & {
668
- proposalId?: number;
669
- voter?: string;
670
- } & { [K_1 in Exclude<keyof I_1, keyof QueryVoteRequest>]: never; }>(object: I_1): QueryVoteRequest;
671
- };
672
- export declare const QueryVoteResponse: {
673
- encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer;
674
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse;
675
- fromJSON(object: any): QueryVoteResponse;
676
- toJSON(message: QueryVoteResponse): unknown;
677
- create<I extends {
678
- vote?: {
679
- proposalId?: number;
680
- voter?: string;
681
- option?: import("./gov").VoteOption;
682
- options?: {
683
- option?: import("./gov").VoteOption;
684
- weight?: string;
685
- }[];
686
- };
687
- } & {
688
- vote?: {
689
- proposalId?: number;
690
- voter?: string;
691
- option?: import("./gov").VoteOption;
692
- options?: {
693
- option?: import("./gov").VoteOption;
694
- weight?: string;
695
- }[];
696
- } & {
697
- proposalId?: number;
698
- voter?: string;
699
- option?: import("./gov").VoteOption;
700
- options?: {
701
- option?: import("./gov").VoteOption;
702
- weight?: string;
703
- }[] & ({
704
- option?: import("./gov").VoteOption;
705
- weight?: string;
706
- } & {
707
- option?: import("./gov").VoteOption;
708
- weight?: string;
709
- } & { [K in Exclude<keyof I["vote"]["options"][number], keyof import("./gov").WeightedVoteOption>]: never; })[] & { [K_1 in Exclude<keyof I["vote"]["options"], keyof {
710
- option?: import("./gov").VoteOption;
711
- weight?: string;
712
- }[]>]: never; };
713
- } & { [K_2 in Exclude<keyof I["vote"], keyof Vote>]: never; };
714
- } & { [K_3 in Exclude<keyof I, "vote">]: never; }>(base?: I): QueryVoteResponse;
715
- fromPartial<I_1 extends {
716
- vote?: {
717
- proposalId?: number;
718
- voter?: string;
719
- option?: import("./gov").VoteOption;
720
- options?: {
721
- option?: import("./gov").VoteOption;
722
- weight?: string;
723
- }[];
724
- };
725
- } & {
726
- vote?: {
727
- proposalId?: number;
728
- voter?: string;
729
- option?: import("./gov").VoteOption;
730
- options?: {
731
- option?: import("./gov").VoteOption;
732
- weight?: string;
733
- }[];
734
- } & {
735
- proposalId?: number;
736
- voter?: string;
737
- option?: import("./gov").VoteOption;
738
- options?: {
739
- option?: import("./gov").VoteOption;
740
- weight?: string;
741
- }[] & ({
742
- option?: import("./gov").VoteOption;
743
- weight?: string;
744
- } & {
745
- option?: import("./gov").VoteOption;
746
- weight?: string;
747
- } & { [K_4 in Exclude<keyof I_1["vote"]["options"][number], keyof import("./gov").WeightedVoteOption>]: never; })[] & { [K_5 in Exclude<keyof I_1["vote"]["options"], keyof {
748
- option?: import("./gov").VoteOption;
749
- weight?: string;
750
- }[]>]: never; };
751
- } & { [K_6 in Exclude<keyof I_1["vote"], keyof Vote>]: never; };
752
- } & { [K_7 in Exclude<keyof I_1, "vote">]: never; }>(object: I_1): QueryVoteResponse;
753
- };
754
- export declare const QueryVotesRequest: {
755
- encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer;
756
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest;
757
- fromJSON(object: any): QueryVotesRequest;
758
- toJSON(message: QueryVotesRequest): unknown;
759
- create<I extends {
760
- proposalId?: number;
761
- pagination?: {
762
- key?: Uint8Array;
763
- offset?: number;
764
- limit?: number;
765
- countTotal?: boolean;
766
- reverse?: boolean;
767
- };
768
- } & {
769
- proposalId?: number;
770
- pagination?: {
771
- key?: Uint8Array;
772
- offset?: number;
773
- limit?: number;
774
- countTotal?: boolean;
775
- reverse?: boolean;
776
- } & {
777
- key?: Uint8Array;
778
- offset?: number;
779
- limit?: number;
780
- countTotal?: boolean;
781
- reverse?: boolean;
782
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
783
- } & { [K_1 in Exclude<keyof I, keyof QueryVotesRequest>]: never; }>(base?: I): QueryVotesRequest;
784
- fromPartial<I_1 extends {
785
- proposalId?: number;
786
- pagination?: {
787
- key?: Uint8Array;
788
- offset?: number;
789
- limit?: number;
790
- countTotal?: boolean;
791
- reverse?: boolean;
792
- };
793
- } & {
794
- proposalId?: number;
795
- pagination?: {
796
- key?: Uint8Array;
797
- offset?: number;
798
- limit?: number;
799
- countTotal?: boolean;
800
- reverse?: boolean;
801
- } & {
802
- key?: Uint8Array;
803
- offset?: number;
804
- limit?: number;
805
- countTotal?: boolean;
806
- reverse?: boolean;
807
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
808
- } & { [K_3 in Exclude<keyof I_1, keyof QueryVotesRequest>]: never; }>(object: I_1): QueryVotesRequest;
809
- };
810
- export declare const QueryVotesResponse: {
811
- encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer;
812
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse;
813
- fromJSON(object: any): QueryVotesResponse;
814
- toJSON(message: QueryVotesResponse): unknown;
815
- create<I extends {
816
- votes?: {
817
- proposalId?: number;
818
- voter?: string;
819
- option?: import("./gov").VoteOption;
820
- options?: {
821
- option?: import("./gov").VoteOption;
822
- weight?: string;
823
- }[];
824
- }[];
825
- pagination?: {
826
- nextKey?: Uint8Array;
827
- total?: number;
828
- };
829
- } & {
830
- votes?: {
831
- proposalId?: number;
832
- voter?: string;
833
- option?: import("./gov").VoteOption;
834
- options?: {
835
- option?: import("./gov").VoteOption;
836
- weight?: string;
837
- }[];
838
- }[] & ({
839
- proposalId?: number;
840
- voter?: string;
841
- option?: import("./gov").VoteOption;
842
- options?: {
843
- option?: import("./gov").VoteOption;
844
- weight?: string;
845
- }[];
846
- } & {
847
- proposalId?: number;
848
- voter?: string;
849
- option?: import("./gov").VoteOption;
850
- options?: {
851
- option?: import("./gov").VoteOption;
852
- weight?: string;
853
- }[] & ({
854
- option?: import("./gov").VoteOption;
855
- weight?: string;
856
- } & {
857
- option?: import("./gov").VoteOption;
858
- weight?: string;
859
- } & { [K in Exclude<keyof I["votes"][number]["options"][number], keyof import("./gov").WeightedVoteOption>]: never; })[] & { [K_1 in Exclude<keyof I["votes"][number]["options"], keyof {
860
- option?: import("./gov").VoteOption;
861
- weight?: string;
862
- }[]>]: never; };
863
- } & { [K_2 in Exclude<keyof I["votes"][number], keyof Vote>]: never; })[] & { [K_3 in Exclude<keyof I["votes"], keyof {
864
- proposalId?: number;
865
- voter?: string;
866
- option?: import("./gov").VoteOption;
867
- options?: {
868
- option?: import("./gov").VoteOption;
869
- weight?: string;
870
- }[];
871
- }[]>]: never; };
872
- pagination?: {
873
- nextKey?: Uint8Array;
874
- total?: number;
875
- } & {
876
- nextKey?: Uint8Array;
877
- total?: number;
878
- } & { [K_4 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
879
- } & { [K_5 in Exclude<keyof I, keyof QueryVotesResponse>]: never; }>(base?: I): QueryVotesResponse;
880
- fromPartial<I_1 extends {
881
- votes?: {
882
- proposalId?: number;
883
- voter?: string;
884
- option?: import("./gov").VoteOption;
885
- options?: {
886
- option?: import("./gov").VoteOption;
887
- weight?: string;
888
- }[];
889
- }[];
890
- pagination?: {
891
- nextKey?: Uint8Array;
892
- total?: number;
893
- };
894
- } & {
895
- votes?: {
896
- proposalId?: number;
897
- voter?: string;
898
- option?: import("./gov").VoteOption;
899
- options?: {
900
- option?: import("./gov").VoteOption;
901
- weight?: string;
902
- }[];
903
- }[] & ({
904
- proposalId?: number;
905
- voter?: string;
906
- option?: import("./gov").VoteOption;
907
- options?: {
908
- option?: import("./gov").VoteOption;
909
- weight?: string;
910
- }[];
911
- } & {
912
- proposalId?: number;
913
- voter?: string;
914
- option?: import("./gov").VoteOption;
915
- options?: {
916
- option?: import("./gov").VoteOption;
917
- weight?: string;
918
- }[] & ({
919
- option?: import("./gov").VoteOption;
920
- weight?: string;
921
- } & {
922
- option?: import("./gov").VoteOption;
923
- weight?: string;
924
- } & { [K_6 in Exclude<keyof I_1["votes"][number]["options"][number], keyof import("./gov").WeightedVoteOption>]: never; })[] & { [K_7 in Exclude<keyof I_1["votes"][number]["options"], keyof {
925
- option?: import("./gov").VoteOption;
926
- weight?: string;
927
- }[]>]: never; };
928
- } & { [K_8 in Exclude<keyof I_1["votes"][number], keyof Vote>]: never; })[] & { [K_9 in Exclude<keyof I_1["votes"], keyof {
929
- proposalId?: number;
930
- voter?: string;
931
- option?: import("./gov").VoteOption;
932
- options?: {
933
- option?: import("./gov").VoteOption;
934
- weight?: string;
935
- }[];
936
- }[]>]: never; };
937
- pagination?: {
938
- nextKey?: Uint8Array;
939
- total?: number;
940
- } & {
941
- nextKey?: Uint8Array;
942
- total?: number;
943
- } & { [K_10 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
944
- } & { [K_11 in Exclude<keyof I_1, keyof QueryVotesResponse>]: never; }>(object: I_1): QueryVotesResponse;
945
- };
946
- export declare const QueryParamsRequest: {
947
- encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
948
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
949
- fromJSON(object: any): QueryParamsRequest;
950
- toJSON(message: QueryParamsRequest): unknown;
951
- create<I extends {
952
- paramsType?: string;
953
- } & {
954
- paramsType?: string;
955
- } & { [K in Exclude<keyof I, "paramsType">]: never; }>(base?: I): QueryParamsRequest;
956
- fromPartial<I_1 extends {
957
- paramsType?: string;
958
- } & {
959
- paramsType?: string;
960
- } & { [K_1 in Exclude<keyof I_1, "paramsType">]: never; }>(object: I_1): QueryParamsRequest;
961
- };
962
- export declare const QueryParamsResponse: {
963
- encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
964
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
965
- fromJSON(object: any): QueryParamsResponse;
966
- toJSON(message: QueryParamsResponse): unknown;
967
- create<I extends {
968
- votingParams?: {
969
- votingPeriod?: {
970
- seconds?: number;
971
- nanos?: number;
972
- };
973
- };
974
- depositParams?: {
975
- minDeposit?: {
976
- denom?: string;
977
- amount?: string;
978
- }[];
979
- maxDepositPeriod?: {
980
- seconds?: number;
981
- nanos?: number;
982
- };
983
- };
984
- tallyParams?: {
985
- quorum?: Uint8Array;
986
- threshold?: Uint8Array;
987
- vetoThreshold?: Uint8Array;
988
- };
989
- } & {
990
- votingParams?: {
991
- votingPeriod?: {
992
- seconds?: number;
993
- nanos?: number;
994
- };
995
- } & {
996
- votingPeriod?: {
997
- seconds?: number;
998
- nanos?: number;
999
- } & {
1000
- seconds?: number;
1001
- nanos?: number;
1002
- } & { [K in Exclude<keyof I["votingParams"]["votingPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
1003
- } & { [K_1 in Exclude<keyof I["votingParams"], "votingPeriod">]: never; };
1004
- depositParams?: {
1005
- minDeposit?: {
1006
- denom?: string;
1007
- amount?: string;
1008
- }[];
1009
- maxDepositPeriod?: {
1010
- seconds?: number;
1011
- nanos?: number;
1012
- };
1013
- } & {
1014
- minDeposit?: {
1015
- denom?: string;
1016
- amount?: string;
1017
- }[] & ({
1018
- denom?: string;
1019
- amount?: string;
1020
- } & {
1021
- denom?: string;
1022
- amount?: string;
1023
- } & { [K_2 in Exclude<keyof I["depositParams"]["minDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_3 in Exclude<keyof I["depositParams"]["minDeposit"], keyof {
1024
- denom?: string;
1025
- amount?: string;
1026
- }[]>]: never; };
1027
- maxDepositPeriod?: {
1028
- seconds?: number;
1029
- nanos?: number;
1030
- } & {
1031
- seconds?: number;
1032
- nanos?: number;
1033
- } & { [K_4 in Exclude<keyof I["depositParams"]["maxDepositPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
1034
- } & { [K_5 in Exclude<keyof I["depositParams"], keyof DepositParams>]: never; };
1035
- tallyParams?: {
1036
- quorum?: Uint8Array;
1037
- threshold?: Uint8Array;
1038
- vetoThreshold?: Uint8Array;
1039
- } & {
1040
- quorum?: Uint8Array;
1041
- threshold?: Uint8Array;
1042
- vetoThreshold?: Uint8Array;
1043
- } & { [K_6 in Exclude<keyof I["tallyParams"], keyof TallyParams>]: never; };
1044
- } & { [K_7 in Exclude<keyof I, keyof QueryParamsResponse>]: never; }>(base?: I): QueryParamsResponse;
1045
- fromPartial<I_1 extends {
1046
- votingParams?: {
1047
- votingPeriod?: {
1048
- seconds?: number;
1049
- nanos?: number;
1050
- };
1051
- };
1052
- depositParams?: {
1053
- minDeposit?: {
1054
- denom?: string;
1055
- amount?: string;
1056
- }[];
1057
- maxDepositPeriod?: {
1058
- seconds?: number;
1059
- nanos?: number;
1060
- };
1061
- };
1062
- tallyParams?: {
1063
- quorum?: Uint8Array;
1064
- threshold?: Uint8Array;
1065
- vetoThreshold?: Uint8Array;
1066
- };
1067
- } & {
1068
- votingParams?: {
1069
- votingPeriod?: {
1070
- seconds?: number;
1071
- nanos?: number;
1072
- };
1073
- } & {
1074
- votingPeriod?: {
1075
- seconds?: number;
1076
- nanos?: number;
1077
- } & {
1078
- seconds?: number;
1079
- nanos?: number;
1080
- } & { [K_8 in Exclude<keyof I_1["votingParams"]["votingPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
1081
- } & { [K_9 in Exclude<keyof I_1["votingParams"], "votingPeriod">]: never; };
1082
- depositParams?: {
1083
- minDeposit?: {
1084
- denom?: string;
1085
- amount?: string;
1086
- }[];
1087
- maxDepositPeriod?: {
1088
- seconds?: number;
1089
- nanos?: number;
1090
- };
1091
- } & {
1092
- minDeposit?: {
1093
- denom?: string;
1094
- amount?: string;
1095
- }[] & ({
1096
- denom?: string;
1097
- amount?: string;
1098
- } & {
1099
- denom?: string;
1100
- amount?: string;
1101
- } & { [K_10 in Exclude<keyof I_1["depositParams"]["minDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_11 in Exclude<keyof I_1["depositParams"]["minDeposit"], keyof {
1102
- denom?: string;
1103
- amount?: string;
1104
- }[]>]: never; };
1105
- maxDepositPeriod?: {
1106
- seconds?: number;
1107
- nanos?: number;
1108
- } & {
1109
- seconds?: number;
1110
- nanos?: number;
1111
- } & { [K_12 in Exclude<keyof I_1["depositParams"]["maxDepositPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
1112
- } & { [K_13 in Exclude<keyof I_1["depositParams"], keyof DepositParams>]: never; };
1113
- tallyParams?: {
1114
- quorum?: Uint8Array;
1115
- threshold?: Uint8Array;
1116
- vetoThreshold?: Uint8Array;
1117
- } & {
1118
- quorum?: Uint8Array;
1119
- threshold?: Uint8Array;
1120
- vetoThreshold?: Uint8Array;
1121
- } & { [K_14 in Exclude<keyof I_1["tallyParams"], keyof TallyParams>]: never; };
1122
- } & { [K_15 in Exclude<keyof I_1, keyof QueryParamsResponse>]: never; }>(object: I_1): QueryParamsResponse;
1123
- };
1124
- export declare const QueryDepositRequest: {
1125
- encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer;
1126
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest;
1127
- fromJSON(object: any): QueryDepositRequest;
1128
- toJSON(message: QueryDepositRequest): unknown;
1129
- create<I extends {
1130
- proposalId?: number;
1131
- depositor?: string;
1132
- } & {
1133
- proposalId?: number;
1134
- depositor?: string;
1135
- } & { [K in Exclude<keyof I, keyof QueryDepositRequest>]: never; }>(base?: I): QueryDepositRequest;
1136
- fromPartial<I_1 extends {
1137
- proposalId?: number;
1138
- depositor?: string;
1139
- } & {
1140
- proposalId?: number;
1141
- depositor?: string;
1142
- } & { [K_1 in Exclude<keyof I_1, keyof QueryDepositRequest>]: never; }>(object: I_1): QueryDepositRequest;
1143
- };
1144
- export declare const QueryDepositResponse: {
1145
- encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer;
1146
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse;
1147
- fromJSON(object: any): QueryDepositResponse;
1148
- toJSON(message: QueryDepositResponse): unknown;
1149
- create<I extends {
1150
- deposit?: {
1151
- proposalId?: number;
1152
- depositor?: string;
1153
- amount?: {
1154
- denom?: string;
1155
- amount?: string;
1156
- }[];
1157
- };
1158
- } & {
1159
- deposit?: {
1160
- proposalId?: number;
1161
- depositor?: string;
1162
- amount?: {
1163
- denom?: string;
1164
- amount?: string;
1165
- }[];
1166
- } & {
1167
- proposalId?: number;
1168
- depositor?: string;
1169
- amount?: {
1170
- denom?: string;
1171
- amount?: string;
1172
- }[] & ({
1173
- denom?: string;
1174
- amount?: string;
1175
- } & {
1176
- denom?: string;
1177
- amount?: string;
1178
- } & { [K in Exclude<keyof I["deposit"]["amount"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["deposit"]["amount"], keyof {
1179
- denom?: string;
1180
- amount?: string;
1181
- }[]>]: never; };
1182
- } & { [K_2 in Exclude<keyof I["deposit"], keyof Deposit>]: never; };
1183
- } & { [K_3 in Exclude<keyof I, "deposit">]: never; }>(base?: I): QueryDepositResponse;
1184
- fromPartial<I_1 extends {
1185
- deposit?: {
1186
- proposalId?: number;
1187
- depositor?: string;
1188
- amount?: {
1189
- denom?: string;
1190
- amount?: string;
1191
- }[];
1192
- };
1193
- } & {
1194
- deposit?: {
1195
- proposalId?: number;
1196
- depositor?: string;
1197
- amount?: {
1198
- denom?: string;
1199
- amount?: string;
1200
- }[];
1201
- } & {
1202
- proposalId?: number;
1203
- depositor?: string;
1204
- amount?: {
1205
- denom?: string;
1206
- amount?: string;
1207
- }[] & ({
1208
- denom?: string;
1209
- amount?: string;
1210
- } & {
1211
- denom?: string;
1212
- amount?: string;
1213
- } & { [K_4 in Exclude<keyof I_1["deposit"]["amount"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_5 in Exclude<keyof I_1["deposit"]["amount"], keyof {
1214
- denom?: string;
1215
- amount?: string;
1216
- }[]>]: never; };
1217
- } & { [K_6 in Exclude<keyof I_1["deposit"], keyof Deposit>]: never; };
1218
- } & { [K_7 in Exclude<keyof I_1, "deposit">]: never; }>(object: I_1): QueryDepositResponse;
1219
- };
1220
- export declare const QueryDepositsRequest: {
1221
- encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer;
1222
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest;
1223
- fromJSON(object: any): QueryDepositsRequest;
1224
- toJSON(message: QueryDepositsRequest): unknown;
1225
- create<I extends {
1226
- proposalId?: number;
1227
- pagination?: {
1228
- key?: Uint8Array;
1229
- offset?: number;
1230
- limit?: number;
1231
- countTotal?: boolean;
1232
- reverse?: boolean;
1233
- };
1234
- } & {
1235
- proposalId?: number;
1236
- pagination?: {
1237
- key?: Uint8Array;
1238
- offset?: number;
1239
- limit?: number;
1240
- countTotal?: boolean;
1241
- reverse?: boolean;
1242
- } & {
1243
- key?: Uint8Array;
1244
- offset?: number;
1245
- limit?: number;
1246
- countTotal?: boolean;
1247
- reverse?: boolean;
1248
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
1249
- } & { [K_1 in Exclude<keyof I, keyof QueryDepositsRequest>]: never; }>(base?: I): QueryDepositsRequest;
1250
- fromPartial<I_1 extends {
1251
- proposalId?: number;
1252
- pagination?: {
1253
- key?: Uint8Array;
1254
- offset?: number;
1255
- limit?: number;
1256
- countTotal?: boolean;
1257
- reverse?: boolean;
1258
- };
1259
- } & {
1260
- proposalId?: number;
1261
- pagination?: {
1262
- key?: Uint8Array;
1263
- offset?: number;
1264
- limit?: number;
1265
- countTotal?: boolean;
1266
- reverse?: boolean;
1267
- } & {
1268
- key?: Uint8Array;
1269
- offset?: number;
1270
- limit?: number;
1271
- countTotal?: boolean;
1272
- reverse?: boolean;
1273
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
1274
- } & { [K_3 in Exclude<keyof I_1, keyof QueryDepositsRequest>]: never; }>(object: I_1): QueryDepositsRequest;
1275
- };
1276
- export declare const QueryDepositsResponse: {
1277
- encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer;
1278
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse;
1279
- fromJSON(object: any): QueryDepositsResponse;
1280
- toJSON(message: QueryDepositsResponse): unknown;
1281
- create<I extends {
1282
- deposits?: {
1283
- proposalId?: number;
1284
- depositor?: string;
1285
- amount?: {
1286
- denom?: string;
1287
- amount?: string;
1288
- }[];
1289
- }[];
1290
- pagination?: {
1291
- nextKey?: Uint8Array;
1292
- total?: number;
1293
- };
1294
- } & {
1295
- deposits?: {
1296
- proposalId?: number;
1297
- depositor?: string;
1298
- amount?: {
1299
- denom?: string;
1300
- amount?: string;
1301
- }[];
1302
- }[] & ({
1303
- proposalId?: number;
1304
- depositor?: string;
1305
- amount?: {
1306
- denom?: string;
1307
- amount?: string;
1308
- }[];
1309
- } & {
1310
- proposalId?: number;
1311
- depositor?: string;
1312
- amount?: {
1313
- denom?: string;
1314
- amount?: string;
1315
- }[] & ({
1316
- denom?: string;
1317
- amount?: string;
1318
- } & {
1319
- denom?: string;
1320
- amount?: string;
1321
- } & { [K in Exclude<keyof I["deposits"][number]["amount"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["deposits"][number]["amount"], keyof {
1322
- denom?: string;
1323
- amount?: string;
1324
- }[]>]: never; };
1325
- } & { [K_2 in Exclude<keyof I["deposits"][number], keyof Deposit>]: never; })[] & { [K_3 in Exclude<keyof I["deposits"], keyof {
1326
- proposalId?: number;
1327
- depositor?: string;
1328
- amount?: {
1329
- denom?: string;
1330
- amount?: string;
1331
- }[];
1332
- }[]>]: never; };
1333
- pagination?: {
1334
- nextKey?: Uint8Array;
1335
- total?: number;
1336
- } & {
1337
- nextKey?: Uint8Array;
1338
- total?: number;
1339
- } & { [K_4 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
1340
- } & { [K_5 in Exclude<keyof I, keyof QueryDepositsResponse>]: never; }>(base?: I): QueryDepositsResponse;
1341
- fromPartial<I_1 extends {
1342
- deposits?: {
1343
- proposalId?: number;
1344
- depositor?: string;
1345
- amount?: {
1346
- denom?: string;
1347
- amount?: string;
1348
- }[];
1349
- }[];
1350
- pagination?: {
1351
- nextKey?: Uint8Array;
1352
- total?: number;
1353
- };
1354
- } & {
1355
- deposits?: {
1356
- proposalId?: number;
1357
- depositor?: string;
1358
- amount?: {
1359
- denom?: string;
1360
- amount?: string;
1361
- }[];
1362
- }[] & ({
1363
- proposalId?: number;
1364
- depositor?: string;
1365
- amount?: {
1366
- denom?: string;
1367
- amount?: string;
1368
- }[];
1369
- } & {
1370
- proposalId?: number;
1371
- depositor?: string;
1372
- amount?: {
1373
- denom?: string;
1374
- amount?: string;
1375
- }[] & ({
1376
- denom?: string;
1377
- amount?: string;
1378
- } & {
1379
- denom?: string;
1380
- amount?: string;
1381
- } & { [K_6 in Exclude<keyof I_1["deposits"][number]["amount"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_7 in Exclude<keyof I_1["deposits"][number]["amount"], keyof {
1382
- denom?: string;
1383
- amount?: string;
1384
- }[]>]: never; };
1385
- } & { [K_8 in Exclude<keyof I_1["deposits"][number], keyof Deposit>]: never; })[] & { [K_9 in Exclude<keyof I_1["deposits"], keyof {
1386
- proposalId?: number;
1387
- depositor?: string;
1388
- amount?: {
1389
- denom?: string;
1390
- amount?: string;
1391
- }[];
1392
- }[]>]: never; };
1393
- pagination?: {
1394
- nextKey?: Uint8Array;
1395
- total?: number;
1396
- } & {
1397
- nextKey?: Uint8Array;
1398
- total?: number;
1399
- } & { [K_10 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1400
- } & { [K_11 in Exclude<keyof I_1, keyof QueryDepositsResponse>]: never; }>(object: I_1): QueryDepositsResponse;
1401
- };
1402
- export declare const QueryTallyResultRequest: {
1403
- encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer;
1404
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest;
1405
- fromJSON(object: any): QueryTallyResultRequest;
1406
- toJSON(message: QueryTallyResultRequest): unknown;
1407
- create<I extends {
1408
- proposalId?: number;
1409
- } & {
1410
- proposalId?: number;
1411
- } & { [K in Exclude<keyof I, "proposalId">]: never; }>(base?: I): QueryTallyResultRequest;
1412
- fromPartial<I_1 extends {
1413
- proposalId?: number;
1414
- } & {
1415
- proposalId?: number;
1416
- } & { [K_1 in Exclude<keyof I_1, "proposalId">]: never; }>(object: I_1): QueryTallyResultRequest;
1417
- };
1418
- export declare const QueryTallyResultResponse: {
1419
- encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer;
1420
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse;
1421
- fromJSON(object: any): QueryTallyResultResponse;
1422
- toJSON(message: QueryTallyResultResponse): unknown;
1423
- create<I extends {
1424
- tally?: {
1425
- yes?: string;
1426
- abstain?: string;
1427
- no?: string;
1428
- noWithVeto?: string;
1429
- };
1430
- } & {
1431
- tally?: {
1432
- yes?: string;
1433
- abstain?: string;
1434
- no?: string;
1435
- noWithVeto?: string;
1436
- } & {
1437
- yes?: string;
1438
- abstain?: string;
1439
- no?: string;
1440
- noWithVeto?: string;
1441
- } & { [K in Exclude<keyof I["tally"], keyof TallyResult>]: never; };
1442
- } & { [K_1 in Exclude<keyof I, "tally">]: never; }>(base?: I): QueryTallyResultResponse;
1443
- fromPartial<I_1 extends {
1444
- tally?: {
1445
- yes?: string;
1446
- abstain?: string;
1447
- no?: string;
1448
- noWithVeto?: string;
1449
- };
1450
- } & {
1451
- tally?: {
1452
- yes?: string;
1453
- abstain?: string;
1454
- no?: string;
1455
- noWithVeto?: string;
1456
- } & {
1457
- yes?: string;
1458
- abstain?: string;
1459
- no?: string;
1460
- noWithVeto?: string;
1461
- } & { [K_2 in Exclude<keyof I_1["tally"], keyof TallyResult>]: never; };
1462
- } & { [K_3 in Exclude<keyof I_1, "tally">]: never; }>(object: I_1): QueryTallyResultResponse;
1463
- };
1464
- /** Query defines the gRPC querier service for gov module */
1465
- export interface Query {
1466
- /** Proposal queries proposal details based on ProposalID. */
1467
- Proposal(request: QueryProposalRequest): Promise<QueryProposalResponse>;
1468
- /** Proposals queries all proposals based on given status. */
1469
- Proposals(request: QueryProposalsRequest): Promise<QueryProposalsResponse>;
1470
- /** Vote queries voted information based on proposalID, voterAddr. */
1471
- Vote(request: QueryVoteRequest): Promise<QueryVoteResponse>;
1472
- /** Votes queries votes of a given proposal. */
1473
- Votes(request: QueryVotesRequest): Promise<QueryVotesResponse>;
1474
- /** Params queries all parameters of the gov module. */
1475
- Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
1476
- /** Deposit queries single deposit information based proposalID, depositAddr. */
1477
- Deposit(request: QueryDepositRequest): Promise<QueryDepositResponse>;
1478
- /** Deposits queries all deposits of a single proposal. */
1479
- Deposits(request: QueryDepositsRequest): Promise<QueryDepositsResponse>;
1480
- /** TallyResult queries the tally of a proposal vote. */
1481
- TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
1482
- }
1483
- export declare class QueryClientImpl implements Query {
1484
- private readonly rpc;
1485
- private readonly service;
1486
- constructor(rpc: Rpc, opts?: {
1487
- service?: string;
1488
- });
1489
- Proposal(request: QueryProposalRequest): Promise<QueryProposalResponse>;
1490
- Proposals(request: QueryProposalsRequest): Promise<QueryProposalsResponse>;
1491
- Vote(request: QueryVoteRequest): Promise<QueryVoteResponse>;
1492
- Votes(request: QueryVotesRequest): Promise<QueryVotesResponse>;
1493
- Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
1494
- Deposit(request: QueryDepositRequest): Promise<QueryDepositResponse>;
1495
- Deposits(request: QueryDepositsRequest): Promise<QueryDepositsResponse>;
1496
- TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
1497
- }
1498
- interface Rpc {
1499
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
1500
- }
1501
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1502
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
1503
- [K in keyof T]?: DeepPartial<T[K]>;
1504
- } : Partial<T>;
1505
- type KeysOfUnion<T> = T extends T ? keyof T : never;
1506
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1507
- [K in keyof P]: Exact<P[K], I[K]>;
1508
- } & {
1509
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1510
- };
1511
- export {};