decentralcardgame-cardchain-client-ts 0.0.14 → 0.0.16

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 (248) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +318 -383
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +463 -558
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +72 -78
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +72 -78
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +77 -60
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +123 -76
  7. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +657 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +741 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.ts +134 -0
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +356 -0
  12. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +415 -0
  13. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +254 -0
  14. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.ts +281 -0
  15. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
  16. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.ts +115 -0
  17. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +308 -0
  18. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.ts +355 -0
  19. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
  20. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.ts +92 -0
  21. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
  22. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.ts +102 -0
  23. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +325 -0
  24. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.ts +380 -0
  25. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +2200 -0
  26. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +2633 -0
  27. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
  28. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.ts +111 -0
  29. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
  30. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.ts +183 -0
  31. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
  32. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.ts +124 -0
  33. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.js +365 -0
  34. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.ts +416 -0
  35. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.js +93 -0
  36. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.ts +124 -0
  37. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4185 -0
  38. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +5139 -0
  39. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +580 -0
  40. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +652 -0
  41. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.js +346 -0
  42. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.ts +417 -0
  43. package/DecentralCardGame.cardchain.cardchain/types.js +25 -23
  44. package/DecentralCardGame.cardchain.cardchain/types.ts +26 -22
  45. package/DecentralCardGame.cardchain.featureflag/index.js +5 -0
  46. package/DecentralCardGame.cardchain.featureflag/index.ts +6 -0
  47. package/DecentralCardGame.cardchain.featureflag/module.js +62 -0
  48. package/DecentralCardGame.cardchain.featureflag/module.ts +102 -0
  49. package/DecentralCardGame.cardchain.featureflag/registry.js +2 -0
  50. package/DecentralCardGame.cardchain.featureflag/registry.ts +7 -0
  51. package/DecentralCardGame.cardchain.featureflag/rest.js +128 -0
  52. package/DecentralCardGame.cardchain.featureflag/rest.ts +222 -0
  53. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.js +67 -0
  54. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.ts +92 -0
  55. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.js +135 -0
  56. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.ts +172 -0
  57. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.js +36 -0
  58. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.ts +58 -0
  59. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.js +76 -0
  60. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.ts +102 -0
  61. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.js +279 -0
  62. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.ts +371 -0
  63. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.js +7 -0
  64. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.ts +17 -0
  65. package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  66. package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  67. package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.js +2 -0
  68. package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.ts +2 -0
  69. package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.js +2 -0
  70. package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.ts +2 -0
  71. package/DecentralCardGame.cardchain.featureflag/types/google/api/http.js +260 -0
  72. package/DecentralCardGame.cardchain.featureflag/types/google/api/http.ts +589 -0
  73. package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.js +2830 -0
  74. package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.ts +3753 -0
  75. package/DecentralCardGame.cardchain.featureflag/types.js +4 -0
  76. package/DecentralCardGame.cardchain.featureflag/types.ts +11 -0
  77. package/client.js +7 -7
  78. package/client.ts +9 -10
  79. package/cosmos.auth.v1beta1/module.js +0 -2
  80. package/cosmos.auth.v1beta1/module.ts +0 -2
  81. package/cosmos.auth.v1beta1/rest.js +3 -18
  82. package/cosmos.auth.v1beta1/rest.ts +3 -113
  83. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  84. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  85. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  86. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +3 -104
  87. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
  88. package/cosmos.auth.v1beta1/types.js +1 -2
  89. package/cosmos.auth.v1beta1/types.ts +0 -2
  90. package/cosmos.authz.v1beta1/module.js +19 -19
  91. package/cosmos.authz.v1beta1/module.ts +29 -29
  92. package/cosmos.authz.v1beta1/registry.js +2 -2
  93. package/cosmos.authz.v1beta1/registry.ts +2 -2
  94. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  95. package/cosmos.bank.v1beta1/module.js +16 -16
  96. package/cosmos.bank.v1beta1/module.ts +24 -24
  97. package/cosmos.bank.v1beta1/registry.js +2 -2
  98. package/cosmos.bank.v1beta1/registry.ts +2 -2
  99. package/cosmos.bank.v1beta1/rest.js +6 -37
  100. package/cosmos.bank.v1beta1/rest.ts +6 -99
  101. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +2 -18
  102. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
  103. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
  104. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +2 -18
  105. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
  106. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1 -230
  107. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
  108. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +1 -206
  109. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
  110. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  111. package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
  112. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
  113. package/cosmos.crisis.v1beta1/module.js +1 -24
  114. package/cosmos.crisis.v1beta1/module.ts +1 -34
  115. package/cosmos.crisis.v1beta1/registry.js +0 -2
  116. package/cosmos.crisis.v1beta1/registry.ts +0 -2
  117. package/cosmos.crisis.v1beta1/rest.ts +0 -19
  118. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -95
  119. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
  120. package/cosmos.distribution.v1beta1/module.js +21 -67
  121. package/cosmos.distribution.v1beta1/module.ts +34 -100
  122. package/cosmos.distribution.v1beta1/registry.js +4 -8
  123. package/cosmos.distribution.v1beta1/registry.ts +4 -8
  124. package/cosmos.distribution.v1beta1/rest.js +0 -14
  125. package/cosmos.distribution.v1beta1/rest.ts +7 -66
  126. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
  127. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  128. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -120
  129. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
  130. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -199
  131. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
  132. package/cosmos.evidence.v1beta1/rest.js +3 -4
  133. package/cosmos.evidence.v1beta1/rest.ts +3 -4
  134. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
  135. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +2 -13
  136. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
  137. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
  138. package/cosmos.gov.v1/module.js +21 -46
  139. package/cosmos.gov.v1/module.ts +33 -68
  140. package/cosmos.gov.v1/registry.js +4 -6
  141. package/cosmos.gov.v1/registry.ts +4 -6
  142. package/cosmos.gov.v1/rest.ts +41 -155
  143. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +1 -13
  144. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
  145. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -179
  146. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
  147. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +2 -13
  148. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
  149. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +2 -113
  150. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
  151. package/cosmos.gov.v1/types.js +1 -2
  152. package/cosmos.gov.v1/types.ts +0 -2
  153. package/cosmos.gov.v1beta1/module.js +24 -24
  154. package/cosmos.gov.v1beta1/module.ts +36 -36
  155. package/cosmos.gov.v1beta1/registry.js +4 -4
  156. package/cosmos.gov.v1beta1/registry.ts +4 -4
  157. package/cosmos.gov.v1beta1/rest.ts +96 -65
  158. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  159. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
  160. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
  161. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
  162. package/cosmos.group.v1/module.js +92 -92
  163. package/cosmos.group.v1/module.ts +138 -138
  164. package/cosmos.group.v1/registry.js +16 -16
  165. package/cosmos.group.v1/registry.ts +16 -16
  166. package/cosmos.group.v1/rest.js +3 -3
  167. package/cosmos.group.v1/rest.ts +9 -29
  168. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  169. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +34 -52
  170. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
  171. package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -20
  172. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
  173. package/cosmos.mint.v1beta1/rest.ts +1 -9
  174. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  175. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  176. package/cosmos.nft.v1beta1/rest.ts +22 -18
  177. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
  178. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
  179. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
  180. package/cosmos.slashing.v1beta1/rest.ts +0 -8
  181. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  182. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -94
  183. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
  184. package/cosmos.staking.v1beta1/module.js +39 -41
  185. package/cosmos.staking.v1beta1/module.ts +59 -61
  186. package/cosmos.staking.v1beta1/registry.js +6 -6
  187. package/cosmos.staking.v1beta1/registry.ts +6 -6
  188. package/cosmos.staking.v1beta1/rest.js +7 -7
  189. package/cosmos.staking.v1beta1/rest.ts +8 -49
  190. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  191. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
  192. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +2 -180
  193. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
  194. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +1 -94
  195. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
  196. package/cosmos.staking.v1beta1/types.js +1 -2
  197. package/cosmos.staking.v1beta1/types.ts +0 -2
  198. package/cosmos.tx.v1beta1/rest.js +2 -66
  199. package/cosmos.tx.v1beta1/rest.ts +16 -177
  200. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +2 -360
  201. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
  202. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +266 -592
  203. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
  204. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +17 -8
  205. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
  206. package/cosmos.upgrade.v1beta1/rest.ts +1 -0
  207. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  208. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  209. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  210. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  211. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
  212. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -13
  213. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
  214. package/ibc.applications.transfer.v1/module.js +27 -5
  215. package/ibc.applications.transfer.v1/module.ts +34 -5
  216. package/ibc.applications.transfer.v1/registry.js +4 -1
  217. package/ibc.applications.transfer.v1/registry.ts +2 -0
  218. package/ibc.applications.transfer.v1/rest.js +1 -15
  219. package/ibc.applications.transfer.v1/rest.ts +1 -30
  220. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  221. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +1 -16
  222. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +2 -23
  223. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -91
  224. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
  225. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
  226. package/ibc.applications.transfer.v1/types.js +1 -3
  227. package/ibc.applications.transfer.v1/types.ts +0 -4
  228. package/ibc.core.channel.v1/rest.ts +0 -1
  229. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  230. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +2 -13
  231. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +2 -14
  232. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
  233. package/ibc.core.client.v1/rest.ts +1 -5
  234. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  235. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
  236. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +8 -9
  237. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
  238. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  239. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +1 -5
  240. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  241. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  242. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -26
  243. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
  244. package/ibc.core.connection.v1/types/proofs.js +1126 -0
  245. package/ibc.core.connection.v1/types/proofs.ts +1408 -0
  246. package/index.js +3 -3
  247. package/index.ts +3 -3
  248. package/package.json +5 -5
@@ -227,7 +227,7 @@ export interface MemberRequest {
227
227
  /**
228
228
  * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
229
229
  * satisfies the two following conditions:
230
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
230
+ * 1. The sum of all `YES` voters' weights is greater or equal than the defined
231
231
  * `threshold`.
232
232
  * 2. The voting and execution periods of the proposal respect the parameters
233
233
  * given by `windows`.
@@ -252,7 +252,7 @@ export interface ThresholdDecisionPolicy {
252
252
  */
253
253
  export interface PercentageDecisionPolicy {
254
254
  /**
255
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
255
+ * percentage is the minimum percentage the weighted sum of `YES` votes must
256
256
  * meet for a proposal to succeed.
257
257
  */
258
258
  percentage: string;
@@ -322,11 +322,7 @@ export interface GroupPolicyInfo {
322
322
  groupId: number;
323
323
  /** admin is the account address of the group admin. */
324
324
  admin: string;
325
- /**
326
- * metadata is any arbitrary metadata attached to the group policy.
327
- * the recommended format of the metadata is to be found here:
328
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
329
- */
325
+ /** metadata is any arbitrary metadata to attached to the group policy. */
330
326
  metadata: string;
331
327
  /**
332
328
  * version is used to track changes to a group's GroupPolicyInfo structure that
@@ -352,11 +348,7 @@ export interface Proposal {
352
348
  id: number;
353
349
  /** group_policy_address is the account address of group policy. */
354
350
  groupPolicyAddress: string;
355
- /**
356
- * metadata is any arbitrary metadata attached to the proposal.
357
- * the recommended format of the metadata is to be found here:
358
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
359
- */
351
+ /** metadata is any arbitrary metadata to attached to the proposal. */
360
352
  metadata: string;
361
353
  /** proposers are the account addresses of the proposers. */
362
354
  proposers: string[];
@@ -389,7 +381,7 @@ export interface Proposal {
389
381
  | undefined;
390
382
  /**
391
383
  * voting_period_end is the timestamp before which voting must be done.
392
- * Unless a successful MsgExec is called before (to execute a proposal whose
384
+ * Unless a successfull MsgExec is called before (to execute a proposal whose
393
385
  * tally is successful before the voting period ends), tallying will be done
394
386
  * at this point, and the `final_tally_result`and `status` fields will be
395
387
  * accordingly updated.
@@ -401,18 +393,6 @@ export interface Proposal {
401
393
  executorResult: ProposalExecutorResult;
402
394
  /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
403
395
  messages: Any[];
404
- /**
405
- * title is the title of the proposal
406
- *
407
- * Since: cosmos-sdk 0.47
408
- */
409
- title: string;
410
- /**
411
- * summary is a short summary of the proposal
412
- *
413
- * Since: cosmos-sdk 0.47
414
- */
415
- summary: string;
416
396
  }
417
397
 
418
398
  /** TallyResult represents the sum of weighted votes for each vote option. */
@@ -435,7 +415,7 @@ export interface Vote {
435
415
  voter: string;
436
416
  /** option is the voter's choice on the proposal. */
437
417
  option: VoteOption;
438
- /** metadata is any arbitrary metadata attached to the vote. */
418
+ /** metadata is any arbitrary metadata to attached to the vote. */
439
419
  metadata: string;
440
420
  /** submit_time is the timestamp when the vote was submitted. */
441
421
  submitTime: Date | undefined;
@@ -1054,8 +1034,6 @@ function createBaseProposal(): Proposal {
1054
1034
  votingPeriodEnd: undefined,
1055
1035
  executorResult: 0,
1056
1036
  messages: [],
1057
- title: "",
1058
- summary: "",
1059
1037
  };
1060
1038
  }
1061
1039
 
@@ -1097,12 +1075,6 @@ export const Proposal = {
1097
1075
  for (const v of message.messages) {
1098
1076
  Any.encode(v!, writer.uint32(98).fork()).ldelim();
1099
1077
  }
1100
- if (message.title !== "") {
1101
- writer.uint32(106).string(message.title);
1102
- }
1103
- if (message.summary !== "") {
1104
- writer.uint32(114).string(message.summary);
1105
- }
1106
1078
  return writer;
1107
1079
  },
1108
1080
 
@@ -1149,12 +1121,6 @@ export const Proposal = {
1149
1121
  case 12:
1150
1122
  message.messages.push(Any.decode(reader, reader.uint32()));
1151
1123
  break;
1152
- case 13:
1153
- message.title = reader.string();
1154
- break;
1155
- case 14:
1156
- message.summary = reader.string();
1157
- break;
1158
1124
  default:
1159
1125
  reader.skipType(tag & 7);
1160
1126
  break;
@@ -1177,8 +1143,6 @@ export const Proposal = {
1177
1143
  votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined,
1178
1144
  executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0,
1179
1145
  messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [],
1180
- title: isSet(object.title) ? String(object.title) : "",
1181
- summary: isSet(object.summary) ? String(object.summary) : "",
1182
1146
  };
1183
1147
  },
1184
1148
 
@@ -1205,8 +1169,6 @@ export const Proposal = {
1205
1169
  } else {
1206
1170
  obj.messages = [];
1207
1171
  }
1208
- message.title !== undefined && (obj.title = message.title);
1209
- message.summary !== undefined && (obj.summary = message.summary);
1210
1172
  return obj;
1211
1173
  },
1212
1174
 
@@ -1226,8 +1188,6 @@ export const Proposal = {
1226
1188
  message.votingPeriodEnd = object.votingPeriodEnd ?? undefined;
1227
1189
  message.executorResult = object.executorResult ?? 0;
1228
1190
  message.messages = object.messages?.map((e) => Any.fromPartial(e)) || [];
1229
- message.title = object.title ?? "";
1230
- message.summary = object.summary ?? "";
1231
1191
  return message;
1232
1192
  },
1233
1193
  };
@@ -21,15 +21,7 @@ export interface RpcStatus {
21
21
  }
22
22
 
23
23
  /**
24
- * MsgUpdateParamsResponse defines the response structure for executing a
25
- MsgUpdateParams message.
26
-
27
- Since: cosmos-sdk 0.47
28
- */
29
- export type V1Beta1MsgUpdateParamsResponse = object;
30
-
31
- /**
32
- * Params defines the parameters for the x/mint module.
24
+ * Params holds parameters for the mint module.
33
25
  */
34
26
  export interface V1Beta1Params {
35
27
  /** type of coin to mint */
@@ -10,7 +10,7 @@ export interface GenesisState {
10
10
  minter:
11
11
  | Minter
12
12
  | undefined;
13
- /** params defines all the parameters of the module. */
13
+ /** params defines all the paramaters of the module. */
14
14
  params: Params | undefined;
15
15
  }
16
16
 
@@ -12,7 +12,7 @@ export interface Minter {
12
12
  annualProvisions: string;
13
13
  }
14
14
 
15
- /** Params defines the parameters for the x/mint module. */
15
+ /** Params holds parameters for the mint module. */
16
16
  export interface Params {
17
17
  /** type of coin to mint */
18
18
  mintDenom: string;
@@ -370,52 +370,56 @@ export interface V1Beta1PageResponse {
370
370
  }
371
371
 
372
372
  export interface V1Beta1QueryBalanceResponse {
373
- /**
374
- * amount is the number of all NFTs of a given class owned by the owner
375
- * @format uint64
376
- */
373
+ /** @format uint64 */
377
374
  amount?: string;
378
375
  }
379
376
 
380
377
  export interface V1Beta1QueryClassResponse {
381
- /** class defines the class of the nft type. */
378
+ /** Class defines the class of the nft type. */
382
379
  class?: V1Beta1Class;
383
380
  }
384
381
 
385
382
  export interface V1Beta1QueryClassesResponse {
386
- /** class defines the class of the nft type. */
387
383
  classes?: V1Beta1Class[];
388
384
 
389
- /** pagination defines the pagination in the response. */
385
+ /**
386
+ * PageResponse is to be embedded in gRPC response messages where the
387
+ * corresponding request message has used PageRequest.
388
+ *
389
+ * message SomeResponse {
390
+ * repeated Bar results = 1;
391
+ * PageResponse page = 2;
392
+ * }
393
+ */
390
394
  pagination?: V1Beta1PageResponse;
391
395
  }
392
396
 
393
397
  export interface V1Beta1QueryNFTResponse {
394
- /**
395
- * owner is the owner address of the nft
396
- * NFT defines the NFT.
397
- */
398
+ /** NFT defines the NFT. */
398
399
  nft?: V1Beta1NFT;
399
400
  }
400
401
 
401
402
  export interface V1Beta1QueryNFTsResponse {
402
- /** NFT defines the NFT */
403
403
  nfts?: V1Beta1NFT[];
404
404
 
405
- /** pagination defines the pagination in the response. */
405
+ /**
406
+ * PageResponse is to be embedded in gRPC response messages where the
407
+ * corresponding request message has used PageRequest.
408
+ *
409
+ * message SomeResponse {
410
+ * repeated Bar results = 1;
411
+ * PageResponse page = 2;
412
+ * }
413
+ */
406
414
  pagination?: V1Beta1PageResponse;
407
415
  }
408
416
 
409
417
  export interface V1Beta1QueryOwnerResponse {
410
- /** owner is the owner address of the nft */
411
418
  owner?: string;
412
419
  }
413
420
 
414
421
  export interface V1Beta1QuerySupplyResponse {
415
- /**
416
- * amount is the number of all NFTs from the given class
417
- * @format uint64
418
- */
422
+ /** @format uint64 */
419
423
  amount?: string;
420
424
  }
421
425
 
@@ -5,33 +5,23 @@ export const protobufPackage = "cosmos.nft.v1beta1";
5
5
 
6
6
  /** EventSend is emitted on Msg/Send */
7
7
  export interface EventSend {
8
- /** class_id associated with the nft */
9
8
  classId: string;
10
- /** id is a unique identifier of the nft */
11
9
  id: string;
12
- /** sender is the address of the owner of nft */
13
10
  sender: string;
14
- /** receiver is the receiver address of nft */
15
11
  receiver: string;
16
12
  }
17
13
 
18
14
  /** EventMint is emitted on Mint */
19
15
  export interface EventMint {
20
- /** class_id associated with the nft */
21
16
  classId: string;
22
- /** id is a unique identifier of the nft */
23
17
  id: string;
24
- /** owner is the owner address of the nft */
25
18
  owner: string;
26
19
  }
27
20
 
28
21
  /** EventBurn is emitted on Burn */
29
22
  export interface EventBurn {
30
- /** class_id associated with the nft */
31
23
  classId: string;
32
- /** id is a unique identifier of the nft */
33
24
  id: string;
34
- /** owner is the owner address of the nft */
35
25
  owner: string;
36
26
  }
37
27
 
@@ -8,7 +8,6 @@ export const protobufPackage = "cosmos.nft.v1beta1";
8
8
  export interface GenesisState {
9
9
  /** class defines the class of the nft type. */
10
10
  classes: Class[];
11
- /** entry defines all nft owned by a person. */
12
11
  entries: Entry[];
13
12
  }
14
13
 
@@ -8,85 +8,67 @@ export const protobufPackage = "cosmos.nft.v1beta1";
8
8
 
9
9
  /** QueryBalanceRequest is the request type for the Query/Balance RPC method */
10
10
  export interface QueryBalanceRequest {
11
- /** class_id associated with the nft */
12
11
  classId: string;
13
- /** owner is the owner address of the nft */
14
12
  owner: string;
15
13
  }
16
14
 
17
15
  /** QueryBalanceResponse is the response type for the Query/Balance RPC method */
18
16
  export interface QueryBalanceResponse {
19
- /** amount is the number of all NFTs of a given class owned by the owner */
20
17
  amount: number;
21
18
  }
22
19
 
23
20
  /** QueryOwnerRequest is the request type for the Query/Owner RPC method */
24
21
  export interface QueryOwnerRequest {
25
- /** class_id associated with the nft */
26
22
  classId: string;
27
- /** id is a unique identifier of the NFT */
28
23
  id: string;
29
24
  }
30
25
 
31
26
  /** QueryOwnerResponse is the response type for the Query/Owner RPC method */
32
27
  export interface QueryOwnerResponse {
33
- /** owner is the owner address of the nft */
34
28
  owner: string;
35
29
  }
36
30
 
37
31
  /** QuerySupplyRequest is the request type for the Query/Supply RPC method */
38
32
  export interface QuerySupplyRequest {
39
- /** class_id associated with the nft */
40
33
  classId: string;
41
34
  }
42
35
 
43
36
  /** QuerySupplyResponse is the response type for the Query/Supply RPC method */
44
37
  export interface QuerySupplyResponse {
45
- /** amount is the number of all NFTs from the given class */
46
38
  amount: number;
47
39
  }
48
40
 
49
41
  /** QueryNFTstRequest is the request type for the Query/NFTs RPC method */
50
42
  export interface QueryNFTsRequest {
51
- /** class_id associated with the nft */
52
43
  classId: string;
53
- /** owner is the owner address of the nft */
54
44
  owner: string;
55
- /** pagination defines an optional pagination for the request. */
56
45
  pagination: PageRequest | undefined;
57
46
  }
58
47
 
59
48
  /** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */
60
49
  export interface QueryNFTsResponse {
61
- /** NFT defines the NFT */
62
50
  nfts: NFT[];
63
- /** pagination defines the pagination in the response. */
64
51
  pagination: PageResponse | undefined;
65
52
  }
66
53
 
67
54
  /** QueryNFTRequest is the request type for the Query/NFT RPC method */
68
55
  export interface QueryNFTRequest {
69
- /** class_id associated with the nft */
70
56
  classId: string;
71
- /** id is a unique identifier of the NFT */
72
57
  id: string;
73
58
  }
74
59
 
75
60
  /** QueryNFTResponse is the response type for the Query/NFT RPC method */
76
61
  export interface QueryNFTResponse {
77
- /** owner is the owner address of the nft */
78
62
  nft: NFT | undefined;
79
63
  }
80
64
 
81
65
  /** QueryClassRequest is the request type for the Query/Class RPC method */
82
66
  export interface QueryClassRequest {
83
- /** class_id associated with the nft */
84
67
  classId: string;
85
68
  }
86
69
 
87
70
  /** QueryClassResponse is the response type for the Query/Class RPC method */
88
71
  export interface QueryClassResponse {
89
- /** class defines the class of the nft type. */
90
72
  class: Class | undefined;
91
73
  }
92
74
 
@@ -98,9 +80,7 @@ export interface QueryClassesRequest {
98
80
 
99
81
  /** QueryClassesResponse is the response type for the Query/Classes RPC method */
100
82
  export interface QueryClassesResponse {
101
- /** class defines the class of the nft type. */
102
83
  classes: Class[];
103
- /** pagination defines the pagination in the response. */
104
84
  pagination: PageResponse | undefined;
105
85
  }
106
86
 
@@ -22,14 +22,6 @@ export interface RpcStatus {
22
22
 
23
23
  export type V1Beta1MsgUnjailResponse = object;
24
24
 
25
- /**
26
- * MsgUpdateParamsResponse defines the response structure for executing a
27
- MsgUpdateParams message.
28
-
29
- Since: cosmos-sdk 0.47
30
- */
31
- export type V1Beta1MsgUpdateParamsResponse = object;
32
-
33
25
  /**
34
26
  * message SomeRequest {
35
27
  Foo some_parameter = 1;
@@ -7,7 +7,7 @@ export const protobufPackage = "cosmos.slashing.v1beta1";
7
7
 
8
8
  /** GenesisState defines the slashing module's genesis state. */
9
9
  export interface GenesisState {
10
- /** params defines all the parameters of the module. */
10
+ /** params defines all the paramaters of related to deposit. */
11
11
  params:
12
12
  | Params
13
13
  | undefined;
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable */
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Params } from "./slashing";
4
3
  export const protobufPackage = "cosmos.slashing.v1beta1";
5
4
  function createBaseMsgUnjail() {
6
5
  return { validatorAddr: "" };
@@ -76,109 +75,16 @@ export const MsgUnjailResponse = {
76
75
  return message;
77
76
  },
78
77
  };
79
- function createBaseMsgUpdateParams() {
80
- return { authority: "", params: undefined };
81
- }
82
- export const MsgUpdateParams = {
83
- encode(message, writer = _m0.Writer.create()) {
84
- if (message.authority !== "") {
85
- writer.uint32(10).string(message.authority);
86
- }
87
- if (message.params !== undefined) {
88
- Params.encode(message.params, writer.uint32(18).fork()).ldelim();
89
- }
90
- return writer;
91
- },
92
- decode(input, length) {
93
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
94
- let end = length === undefined ? reader.len : reader.pos + length;
95
- const message = createBaseMsgUpdateParams();
96
- while (reader.pos < end) {
97
- const tag = reader.uint32();
98
- switch (tag >>> 3) {
99
- case 1:
100
- message.authority = reader.string();
101
- break;
102
- case 2:
103
- message.params = Params.decode(reader, reader.uint32());
104
- break;
105
- default:
106
- reader.skipType(tag & 7);
107
- break;
108
- }
109
- }
110
- return message;
111
- },
112
- fromJSON(object) {
113
- return {
114
- authority: isSet(object.authority) ? String(object.authority) : "",
115
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
116
- };
117
- },
118
- toJSON(message) {
119
- const obj = {};
120
- message.authority !== undefined && (obj.authority = message.authority);
121
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
122
- return obj;
123
- },
124
- fromPartial(object) {
125
- const message = createBaseMsgUpdateParams();
126
- message.authority = object.authority ?? "";
127
- message.params = (object.params !== undefined && object.params !== null)
128
- ? Params.fromPartial(object.params)
129
- : undefined;
130
- return message;
131
- },
132
- };
133
- function createBaseMsgUpdateParamsResponse() {
134
- return {};
135
- }
136
- export const MsgUpdateParamsResponse = {
137
- encode(_, writer = _m0.Writer.create()) {
138
- return writer;
139
- },
140
- decode(input, length) {
141
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
142
- let end = length === undefined ? reader.len : reader.pos + length;
143
- const message = createBaseMsgUpdateParamsResponse();
144
- while (reader.pos < end) {
145
- const tag = reader.uint32();
146
- switch (tag >>> 3) {
147
- default:
148
- reader.skipType(tag & 7);
149
- break;
150
- }
151
- }
152
- return message;
153
- },
154
- fromJSON(_) {
155
- return {};
156
- },
157
- toJSON(_) {
158
- const obj = {};
159
- return obj;
160
- },
161
- fromPartial(_) {
162
- const message = createBaseMsgUpdateParamsResponse();
163
- return message;
164
- },
165
- };
166
78
  export class MsgClientImpl {
167
79
  constructor(rpc) {
168
80
  this.rpc = rpc;
169
81
  this.Unjail = this.Unjail.bind(this);
170
- this.UpdateParams = this.UpdateParams.bind(this);
171
82
  }
172
83
  Unjail(request) {
173
84
  const data = MsgUnjail.encode(request).finish();
174
85
  const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "Unjail", data);
175
86
  return promise.then((data) => MsgUnjailResponse.decode(new _m0.Reader(data)));
176
87
  }
177
- UpdateParams(request) {
178
- const data = MsgUpdateParams.encode(request).finish();
179
- const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "UpdateParams", data);
180
- return promise.then((data) => MsgUpdateParamsResponse.decode(new _m0.Reader(data)));
181
- }
182
88
  }
183
89
  function isSet(value) {
184
90
  return value !== null && value !== undefined;