decentralcardgame-cardchain-client-ts 0.0.11 → 0.0.12

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 (316) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +350 -327
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +517 -484
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +74 -72
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +74 -72
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +12 -1
  7. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/genesis.js +1 -1
  8. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/genesis.ts +1 -1
  9. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match.js +101 -3
  10. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match.ts +103 -3
  11. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/params.js +10 -0
  12. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/params.ts +11 -0
  13. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/query.js +2 -4
  14. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/query.ts +2 -4
  15. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/tx.js +190 -122
  16. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/tx.ts +220 -144
  17. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/user.js +1 -1
  18. package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/user.ts +1 -1
  19. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voteing.js +346 -0
  20. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voteing.ts +417 -0
  21. package/DecentralCardGame.cardchain.cardchain/types.js +23 -23
  22. package/DecentralCardGame.cardchain.cardchain/types.ts +25 -25
  23. package/client.js +8 -8
  24. package/client.ts +11 -12
  25. package/cosmos.auth.v1beta1/module.js +0 -2
  26. package/cosmos.auth.v1beta1/module.ts +0 -2
  27. package/cosmos.auth.v1beta1/rest.js +3 -18
  28. package/cosmos.auth.v1beta1/rest.ts +3 -113
  29. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  30. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  31. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  32. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +3 -104
  33. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
  34. package/cosmos.auth.v1beta1/types.js +1 -2
  35. package/cosmos.auth.v1beta1/types.ts +0 -2
  36. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  37. package/cosmos.bank.v1beta1/rest.js +6 -37
  38. package/cosmos.bank.v1beta1/rest.ts +6 -99
  39. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +2 -18
  40. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
  41. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
  42. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +2 -18
  43. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
  44. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1 -230
  45. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
  46. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +1 -206
  47. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
  48. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  49. package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
  50. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
  51. package/cosmos.crisis.v1beta1/module.js +1 -24
  52. package/cosmos.crisis.v1beta1/module.ts +1 -34
  53. package/cosmos.crisis.v1beta1/registry.js +0 -2
  54. package/cosmos.crisis.v1beta1/registry.ts +0 -2
  55. package/cosmos.crisis.v1beta1/rest.ts +0 -19
  56. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -95
  57. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
  58. package/cosmos.distribution.v1beta1/module.js +9 -55
  59. package/cosmos.distribution.v1beta1/module.ts +13 -79
  60. package/cosmos.distribution.v1beta1/registry.js +2 -6
  61. package/cosmos.distribution.v1beta1/registry.ts +2 -6
  62. package/cosmos.distribution.v1beta1/rest.js +0 -14
  63. package/cosmos.distribution.v1beta1/rest.ts +7 -66
  64. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
  65. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  66. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -120
  67. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
  68. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -199
  69. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
  70. package/cosmos.evidence.v1beta1/rest.js +3 -4
  71. package/cosmos.evidence.v1beta1/rest.ts +3 -4
  72. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
  73. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +2 -13
  74. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
  75. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
  76. package/cosmos.gov.v1/module.js +9 -34
  77. package/cosmos.gov.v1/module.ts +13 -48
  78. package/cosmos.gov.v1/registry.js +2 -4
  79. package/cosmos.gov.v1/registry.ts +2 -4
  80. package/cosmos.gov.v1/rest.ts +41 -155
  81. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +1 -13
  82. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
  83. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -179
  84. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
  85. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +2 -13
  86. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
  87. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +2 -113
  88. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
  89. package/cosmos.gov.v1/types.js +1 -2
  90. package/cosmos.gov.v1/types.ts +0 -2
  91. package/cosmos.gov.v1beta1/module.js +31 -31
  92. package/cosmos.gov.v1beta1/module.ts +47 -47
  93. package/cosmos.gov.v1beta1/registry.js +4 -4
  94. package/cosmos.gov.v1beta1/registry.ts +4 -4
  95. package/cosmos.gov.v1beta1/rest.ts +96 -65
  96. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  97. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
  98. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
  99. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
  100. package/cosmos.group.v1/module.js +104 -104
  101. package/cosmos.group.v1/module.ts +155 -155
  102. package/cosmos.group.v1/registry.js +18 -18
  103. package/cosmos.group.v1/registry.ts +18 -18
  104. package/cosmos.group.v1/rest.js +3 -3
  105. package/cosmos.group.v1/rest.ts +9 -29
  106. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  107. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +34 -52
  108. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
  109. package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -20
  110. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
  111. package/cosmos.mint.v1beta1/rest.ts +1 -9
  112. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  113. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  114. package/cosmos.nft.v1beta1/rest.ts +22 -18
  115. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
  116. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
  117. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
  118. package/cosmos.slashing.v1beta1/rest.ts +0 -8
  119. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  120. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -94
  121. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
  122. package/cosmos.staking.v1beta1/module.js +40 -42
  123. package/cosmos.staking.v1beta1/module.ts +60 -62
  124. package/cosmos.staking.v1beta1/registry.js +8 -8
  125. package/cosmos.staking.v1beta1/registry.ts +8 -8
  126. package/cosmos.staking.v1beta1/rest.js +7 -7
  127. package/cosmos.staking.v1beta1/rest.ts +8 -49
  128. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  129. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
  130. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +2 -180
  131. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
  132. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +1 -94
  133. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
  134. package/cosmos.staking.v1beta1/types.js +1 -2
  135. package/cosmos.staking.v1beta1/types.ts +0 -2
  136. package/cosmos.tx.v1beta1/rest.js +2 -66
  137. package/cosmos.tx.v1beta1/rest.ts +16 -177
  138. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +2 -360
  139. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
  140. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +266 -592
  141. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
  142. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +17 -8
  143. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
  144. package/cosmos.upgrade.v1beta1/rest.ts +1 -0
  145. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  146. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  147. package/cosmos.vesting.v1beta1/module.js +16 -16
  148. package/cosmos.vesting.v1beta1/module.ts +24 -24
  149. package/cosmos.vesting.v1beta1/registry.js +2 -2
  150. package/cosmos.vesting.v1beta1/registry.ts +2 -2
  151. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  152. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  153. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
  154. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -13
  155. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
  156. package/ibc.applications.transfer.v1/module.js +27 -5
  157. package/ibc.applications.transfer.v1/module.ts +34 -5
  158. package/ibc.applications.transfer.v1/registry.js +4 -1
  159. package/ibc.applications.transfer.v1/registry.ts +2 -0
  160. package/ibc.applications.transfer.v1/rest.js +1 -15
  161. package/ibc.applications.transfer.v1/rest.ts +1 -30
  162. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  163. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +1 -16
  164. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +2 -23
  165. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -91
  166. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
  167. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
  168. package/ibc.applications.transfer.v1/types.js +1 -3
  169. package/ibc.applications.transfer.v1/types.ts +0 -4
  170. package/ibc.core.channel.v1/rest.ts +0 -1
  171. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  172. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +2 -13
  173. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +2 -14
  174. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
  175. package/ibc.core.client.v1/rest.ts +1 -5
  176. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  177. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
  178. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +8 -9
  179. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
  180. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  181. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +1 -5
  182. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  183. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  184. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -26
  185. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
  186. package/ibc.core.connection.v1/types/{cosmos/ics23/v1/proofs.js → proofs.js} +1 -1
  187. package/ibc.core.connection.v1/types/{cosmos/ics23/v1/proofs.ts → proofs.ts} +1 -1
  188. package/index.js +1 -3
  189. package/index.ts +1 -3
  190. package/package.json +1 -1
  191. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/vote_right.js +0 -84
  192. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/vote_right.ts +0 -114
  193. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_result.js +0 -127
  194. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_result.ts +0 -161
  195. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_results.js +0 -148
  196. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_results.ts +0 -182
  197. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.js +0 -2
  198. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +0 -2
  199. package/cosmos.auth.v1beta1/types/amino/amino.js +0 -2
  200. package/cosmos.auth.v1beta1/types/amino/amino.ts +0 -2
  201. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +0 -105
  202. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +0 -172
  203. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  204. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +0 -2
  205. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +0 -2
  206. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +0 -2
  207. package/cosmos.authz.v1beta1/types/amino/amino.js +0 -2
  208. package/cosmos.authz.v1beta1/types/amino/amino.ts +0 -2
  209. package/cosmos.bank.v1beta1/types/amino/amino.js +0 -2
  210. package/cosmos.bank.v1beta1/types/amino/amino.ts +0 -2
  211. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +0 -2
  212. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +0 -2
  213. package/cosmos.base.tendermint.v1beta1/types/amino/amino.js +0 -2
  214. package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +0 -2
  215. package/cosmos.consensus.v1/index.js +0 -5
  216. package/cosmos.consensus.v1/index.ts +0 -6
  217. package/cosmos.consensus.v1/module.js +0 -81
  218. package/cosmos.consensus.v1/module.ts +0 -129
  219. package/cosmos.consensus.v1/registry.js +0 -5
  220. package/cosmos.consensus.v1/registry.ts +0 -9
  221. package/cosmos.consensus.v1/rest.js +0 -100
  222. package/cosmos.consensus.v1/rest.ts +0 -268
  223. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +0 -94
  224. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +0 -147
  225. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +0 -129
  226. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +0 -196
  227. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +0 -2
  228. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +0 -2
  229. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +0 -171
  230. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +0 -247
  231. package/cosmos.consensus.v1/types/gogoproto/gogo.js +0 -2
  232. package/cosmos.consensus.v1/types/gogoproto/gogo.ts +0 -2
  233. package/cosmos.consensus.v1/types/google/api/annotations.js +0 -2
  234. package/cosmos.consensus.v1/types/google/api/annotations.ts +0 -2
  235. package/cosmos.consensus.v1/types/google/api/http.js +0 -260
  236. package/cosmos.consensus.v1/types/google/api/http.ts +0 -589
  237. package/cosmos.consensus.v1/types/google/protobuf/descriptor.js +0 -2830
  238. package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +0 -3753
  239. package/cosmos.consensus.v1/types/google/protobuf/duration.js +0 -84
  240. package/cosmos.consensus.v1/types/google/protobuf/duration.ts +0 -187
  241. package/cosmos.consensus.v1/types/tendermint/types/params.js +0 -369
  242. package/cosmos.consensus.v1/types/tendermint/types/params.ts +0 -498
  243. package/cosmos.consensus.v1/types.js +0 -1
  244. package/cosmos.consensus.v1/types.ts +0 -5
  245. package/cosmos.crisis.v1beta1/types/amino/amino.js +0 -2
  246. package/cosmos.crisis.v1beta1/types/amino/amino.ts +0 -2
  247. package/cosmos.distribution.v1beta1/types/amino/amino.js +0 -2
  248. package/cosmos.distribution.v1beta1/types/amino/amino.ts +0 -2
  249. package/cosmos.evidence.v1beta1/types/amino/amino.js +0 -2
  250. package/cosmos.evidence.v1beta1/types/amino/amino.ts +0 -2
  251. package/cosmos.feegrant.v1beta1/types/amino/amino.js +0 -2
  252. package/cosmos.feegrant.v1beta1/types/amino/amino.ts +0 -2
  253. package/cosmos.gov.v1/types/amino/amino.js +0 -2
  254. package/cosmos.gov.v1/types/amino/amino.ts +0 -2
  255. package/cosmos.gov.v1beta1/types/amino/amino.js +0 -2
  256. package/cosmos.gov.v1beta1/types/amino/amino.ts +0 -2
  257. package/cosmos.group.v1/types/amino/amino.js +0 -2
  258. package/cosmos.group.v1/types/amino/amino.ts +0 -2
  259. package/cosmos.mint.v1beta1/types/amino/amino.js +0 -2
  260. package/cosmos.mint.v1beta1/types/amino/amino.ts +0 -2
  261. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +0 -105
  262. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +0 -172
  263. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  264. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +0 -2
  265. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  266. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +0 -247
  267. package/cosmos.params.v1beta1/types/amino/amino.js +0 -2
  268. package/cosmos.params.v1beta1/types/amino/amino.ts +0 -2
  269. package/cosmos.slashing.v1beta1/types/amino/amino.js +0 -2
  270. package/cosmos.slashing.v1beta1/types/amino/amino.ts +0 -2
  271. package/cosmos.staking.v1beta1/types/amino/amino.js +0 -2
  272. package/cosmos.staking.v1beta1/types/amino/amino.ts +0 -2
  273. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +0 -2
  274. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +0 -2
  275. package/cosmos.staking.v1beta1/types/tendermint/abci/types.js +0 -3812
  276. package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +0 -4525
  277. package/cosmos.staking.v1beta1/types/tendermint/types/params.js +0 -369
  278. package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +0 -498
  279. package/cosmos.tx.v1beta1/types/amino/amino.js +0 -2
  280. package/cosmos.tx.v1beta1/types/amino/amino.ts +0 -2
  281. package/cosmos.upgrade.v1beta1/types/amino/amino.js +0 -2
  282. package/cosmos.upgrade.v1beta1/types/amino/amino.ts +0 -2
  283. package/cosmos.vesting.v1beta1/types/amino/amino.js +0 -2
  284. package/cosmos.vesting.v1beta1/types/amino/amino.ts +0 -2
  285. package/ibc.applications.transfer.v1/types/amino/amino.js +0 -2
  286. package/ibc.applications.transfer.v1/types/amino/amino.ts +0 -2
  287. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +0 -135
  288. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +0 -178
  289. package/ibc.core.channel.v1/types/amino/amino.js +0 -2
  290. package/ibc.core.channel.v1/types/amino/amino.ts +0 -2
  291. package/ibc.core.client.v1/types/amino/amino.js +0 -2
  292. package/ibc.core.client.v1/types/amino/amino.ts +0 -2
  293. package/ibc.core.connection.v1/types/amino/amino.js +0 -2
  294. package/ibc.core.connection.v1/types/amino/amino.ts +0 -2
  295. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/card.js +0 -0
  296. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/card.ts +0 -0
  297. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection.js +0 -0
  298. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection.ts +0 -0
  299. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection_proposal.js +0 -0
  300. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection_proposal.ts +0 -0
  301. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/copyright_proposal.js +0 -0
  302. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/copyright_proposal.ts +0 -0
  303. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/council.js +0 -0
  304. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/council.ts +0 -0
  305. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/image.js +0 -0
  306. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/image.ts +0 -0
  307. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match_reporter_proposal.js +0 -0
  308. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match_reporter_proposal.ts +0 -0
  309. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/num.js +0 -0
  310. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/num.ts +0 -0
  311. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/running_average.js +0 -0
  312. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/running_average.ts +0 -0
  313. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/sell_offer.js +0 -0
  314. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/sell_offer.ts +0 -0
  315. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/server.js +0 -0
  316. /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/server.ts +0 -0
@@ -7,10 +7,9 @@ import { msgTypes } from './registry';
7
7
  import { IgniteClient } from "../client"
8
8
  import { MissingWalletError } from "../helpers"
9
9
  import { Api } from "./rest";
10
- import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
11
10
  import { MsgVote } from "./types/cosmos/gov/v1/tx";
12
11
  import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
13
- import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
12
+ import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
14
13
  import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
15
14
 
16
15
  import { WeightedVoteOption as typeWeightedVoteOption} from "./types"
@@ -21,15 +20,8 @@ import { Vote as typeVote} from "./types"
21
20
  import { DepositParams as typeDepositParams} from "./types"
22
21
  import { VotingParams as typeVotingParams} from "./types"
23
22
  import { TallyParams as typeTallyParams} from "./types"
24
- import { Params as typeParams} from "./types"
25
-
26
- export { MsgDeposit, MsgVote, MsgVoteWeighted, MsgUpdateParams, MsgSubmitProposal };
27
23
 
28
- type sendMsgDepositParams = {
29
- value: MsgDeposit,
30
- fee?: StdFee,
31
- memo?: string
32
- };
24
+ export { MsgVote, MsgVoteWeighted, MsgDeposit, MsgSubmitProposal };
33
25
 
34
26
  type sendMsgVoteParams = {
35
27
  value: MsgVote,
@@ -43,8 +35,8 @@ type sendMsgVoteWeightedParams = {
43
35
  memo?: string
44
36
  };
45
37
 
46
- type sendMsgUpdateParamsParams = {
47
- value: MsgUpdateParams,
38
+ type sendMsgDepositParams = {
39
+ value: MsgDeposit,
48
40
  fee?: StdFee,
49
41
  memo?: string
50
42
  };
@@ -56,10 +48,6 @@ type sendMsgSubmitProposalParams = {
56
48
  };
57
49
 
58
50
 
59
- type msgDepositParams = {
60
- value: MsgDeposit,
61
- };
62
-
63
51
  type msgVoteParams = {
64
52
  value: MsgVote,
65
53
  };
@@ -68,8 +56,8 @@ type msgVoteWeightedParams = {
68
56
  value: MsgVoteWeighted,
69
57
  };
70
58
 
71
- type msgUpdateParamsParams = {
72
- value: MsgUpdateParams,
59
+ type msgDepositParams = {
60
+ value: MsgDeposit,
73
61
  };
74
62
 
75
63
  type msgSubmitProposalParams = {
@@ -106,20 +94,6 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
106
94
 
107
95
  return {
108
96
 
109
- async sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse> {
110
- if (!signer) {
111
- throw new Error('TxClient:sendMsgDeposit: Unable to sign Tx. Signer is not present.')
112
- }
113
- try {
114
- const { address } = (await signer.getAccounts())[0];
115
- const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
116
- let msg = this.msgDeposit({ value: MsgDeposit.fromPartial(value) })
117
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
118
- } catch (e: any) {
119
- throw new Error('TxClient:sendMsgDeposit: Could not broadcast Tx: '+ e.message)
120
- }
121
- },
122
-
123
97
  async sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse> {
124
98
  if (!signer) {
125
99
  throw new Error('TxClient:sendMsgVote: Unable to sign Tx. Signer is not present.')
@@ -148,17 +122,17 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
148
122
  }
149
123
  },
150
124
 
151
- async sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse> {
125
+ async sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse> {
152
126
  if (!signer) {
153
- throw new Error('TxClient:sendMsgUpdateParams: Unable to sign Tx. Signer is not present.')
127
+ throw new Error('TxClient:sendMsgDeposit: Unable to sign Tx. Signer is not present.')
154
128
  }
155
129
  try {
156
130
  const { address } = (await signer.getAccounts())[0];
157
131
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
158
- let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) })
132
+ let msg = this.msgDeposit({ value: MsgDeposit.fromPartial(value) })
159
133
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
160
134
  } catch (e: any) {
161
- throw new Error('TxClient:sendMsgUpdateParams: Could not broadcast Tx: '+ e.message)
135
+ throw new Error('TxClient:sendMsgDeposit: Could not broadcast Tx: '+ e.message)
162
136
  }
163
137
  },
164
138
 
@@ -177,14 +151,6 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
177
151
  },
178
152
 
179
153
 
180
- msgDeposit({ value }: msgDepositParams): EncodeObject {
181
- try {
182
- return { typeUrl: "/cosmos.gov.v1.MsgDeposit", value: MsgDeposit.fromPartial( value ) }
183
- } catch (e: any) {
184
- throw new Error('TxClient:MsgDeposit: Could not create message: ' + e.message)
185
- }
186
- },
187
-
188
154
  msgVote({ value }: msgVoteParams): EncodeObject {
189
155
  try {
190
156
  return { typeUrl: "/cosmos.gov.v1.MsgVote", value: MsgVote.fromPartial( value ) }
@@ -201,11 +167,11 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
201
167
  }
202
168
  },
203
169
 
204
- msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject {
170
+ msgDeposit({ value }: msgDepositParams): EncodeObject {
205
171
  try {
206
- return { typeUrl: "/cosmos.gov.v1.MsgUpdateParams", value: MsgUpdateParams.fromPartial( value ) }
172
+ return { typeUrl: "/cosmos.gov.v1.MsgDeposit", value: MsgDeposit.fromPartial( value ) }
207
173
  } catch (e: any) {
208
- throw new Error('TxClient:MsgUpdateParams: Could not create message: ' + e.message)
174
+ throw new Error('TxClient:MsgDeposit: Could not create message: ' + e.message)
209
175
  }
210
176
  },
211
177
 
@@ -247,7 +213,6 @@ class SDKModule {
247
213
  DepositParams: getStructure(typeDepositParams.fromPartial({})),
248
214
  VotingParams: getStructure(typeVotingParams.fromPartial({})),
249
215
  TallyParams: getStructure(typeTallyParams.fromPartial({})),
250
- Params: getStructure(typeParams.fromPartial({})),
251
216
 
252
217
  };
253
218
  client.on('signer-changed',(signer) => {
@@ -1,13 +1,11 @@
1
- import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
2
1
  import { MsgVote } from "./types/cosmos/gov/v1/tx";
3
2
  import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
4
- import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
3
+ import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
5
4
  import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
6
5
  const msgTypes = [
7
- ["/cosmos.gov.v1.MsgDeposit", MsgDeposit],
8
6
  ["/cosmos.gov.v1.MsgVote", MsgVote],
9
7
  ["/cosmos.gov.v1.MsgVoteWeighted", MsgVoteWeighted],
10
- ["/cosmos.gov.v1.MsgUpdateParams", MsgUpdateParams],
8
+ ["/cosmos.gov.v1.MsgDeposit", MsgDeposit],
11
9
  ["/cosmos.gov.v1.MsgSubmitProposal", MsgSubmitProposal],
12
10
  ];
13
11
  export { msgTypes };
@@ -1,15 +1,13 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
- import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
3
2
  import { MsgVote } from "./types/cosmos/gov/v1/tx";
4
3
  import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
5
- import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
4
+ import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
6
5
  import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
7
6
 
8
7
  const msgTypes: Array<[string, GeneratedType]> = [
9
- ["/cosmos.gov.v1.MsgDeposit", MsgDeposit],
10
8
  ["/cosmos.gov.v1.MsgVote", MsgVote],
11
9
  ["/cosmos.gov.v1.MsgVoteWeighted", MsgVoteWeighted],
12
- ["/cosmos.gov.v1.MsgUpdateParams", MsgUpdateParams],
10
+ ["/cosmos.gov.v1.MsgDeposit", MsgDeposit],
13
11
  ["/cosmos.gov.v1.MsgSubmitProposal", MsgSubmitProposal],
14
12
 
15
13
  ];
@@ -135,16 +135,9 @@ export interface RpcStatus {
135
135
  proposal.
136
136
  */
137
137
  export interface V1Deposit {
138
- /**
139
- * proposal_id defines the unique id of the proposal.
140
- * @format uint64
141
- */
138
+ /** @format uint64 */
142
139
  proposal_id?: string;
143
-
144
- /** depositor defines the deposit addresses from the proposals. */
145
140
  depositor?: string;
146
-
147
- /** amount to be deposited by depositor. */
148
141
  amount?: V1Beta1Coin[];
149
142
  }
150
143
 
@@ -157,7 +150,7 @@ export interface V1DepositParams {
157
150
 
158
151
  /**
159
152
  * Maximum period for Atom holders to deposit on a proposal. Initial value: 2
160
- * months.
153
+ * months.
161
154
  */
162
155
  max_deposit_period?: string;
163
156
  }
@@ -176,21 +169,10 @@ export type V1MsgExecLegacyContentResponse = object;
176
169
  * MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.
177
170
  */
178
171
  export interface V1MsgSubmitProposalResponse {
179
- /**
180
- * proposal_id defines the unique id of the proposal.
181
- * @format uint64
182
- */
172
+ /** @format uint64 */
183
173
  proposal_id?: string;
184
174
  }
185
175
 
186
- /**
187
- * MsgUpdateParamsResponse defines the response structure for executing a
188
- MsgUpdateParams message.
189
-
190
- Since: cosmos-sdk 0.47
191
- */
192
- export type V1MsgUpdateParamsResponse = object;
193
-
194
176
  /**
195
177
  * MsgVoteResponse defines the Msg/Vote response type.
196
178
  */
@@ -201,66 +183,28 @@ export type V1MsgVoteResponse = object;
201
183
  */
202
184
  export type V1MsgVoteWeightedResponse = object;
203
185
 
204
- /**
205
- * Params defines the parameters for the x/gov module.
206
-
207
- Since: cosmos-sdk 0.47
208
- */
209
- export interface V1Params {
210
- /** Minimum deposit for a proposal to enter voting period. */
211
- min_deposit?: V1Beta1Coin[];
212
-
213
- /**
214
- * Maximum period for Atom holders to deposit on a proposal. Initial value: 2
215
- * months.
216
- */
217
- max_deposit_period?: string;
218
-
219
- /** Duration of the voting period. */
220
- voting_period?: string;
221
-
222
- /**
223
- * Minimum percentage of total stake needed to vote for a result to be
224
- * considered valid.
225
- */
226
- quorum?: string;
227
-
228
- /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
229
- threshold?: string;
230
-
231
- /**
232
- * Minimum value of Veto votes to Total votes ratio for proposal to be
233
- * vetoed. Default value: 1/3.
234
- */
235
- veto_threshold?: string;
236
-
237
- /** The ratio representing the proportion of the deposit value that must be paid at proposal submission. */
238
- min_initial_deposit_ratio?: string;
239
-
240
- /** burn deposits if a proposal does not meet quorum */
241
- burn_vote_quorum?: boolean;
242
-
243
- /** burn deposits if the proposal does not enter voting period */
244
- burn_proposal_deposit_prevote?: boolean;
245
-
246
- /** burn deposits if quorum with vote type no_veto is met */
247
- burn_vote_veto?: boolean;
248
- }
249
-
250
186
  /**
251
187
  * Proposal defines the core field members of a governance proposal.
252
188
  */
253
189
  export interface V1Proposal {
254
- /**
255
- * id defines the unique id of the proposal.
256
- * @format uint64
257
- */
190
+ /** @format uint64 */
258
191
  id?: string;
259
-
260
- /** messages are the arbitrary messages to be executed if the proposal passes. */
261
192
  messages?: ProtobufAny[];
262
193
 
263
- /** status defines the proposal status. */
194
+ /**
195
+ * ProposalStatus enumerates the valid statuses of a proposal.
196
+ *
197
+ * - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
198
+ * - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
199
+ * period.
200
+ * - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
201
+ * - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
202
+ * passed.
203
+ * - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
204
+ * been rejected.
205
+ * - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
206
+ * failed.
207
+ */
264
208
  status?: V1ProposalStatus;
265
209
 
266
210
  /**
@@ -270,53 +214,21 @@ export interface V1Proposal {
270
214
  */
271
215
  final_tally_result?: V1TallyResult;
272
216
 
273
- /**
274
- * submit_time is the time of proposal submission.
275
- * @format date-time
276
- */
217
+ /** @format date-time */
277
218
  submit_time?: string;
278
219
 
279
- /**
280
- * deposit_end_time is the end time for deposition.
281
- * @format date-time
282
- */
220
+ /** @format date-time */
283
221
  deposit_end_time?: string;
284
-
285
- /** total_deposit is the total deposit on the proposal. */
286
222
  total_deposit?: V1Beta1Coin[];
287
223
 
288
- /**
289
- * voting_start_time is the starting time to vote on a proposal.
290
- * @format date-time
291
- */
224
+ /** @format date-time */
292
225
  voting_start_time?: string;
293
226
 
294
- /**
295
- * voting_end_time is the end time of voting on a proposal.
296
- * @format date-time
297
- */
227
+ /** @format date-time */
298
228
  voting_end_time?: string;
299
229
 
300
230
  /** metadata is any arbitrary metadata attached to the proposal. */
301
231
  metadata?: string;
302
-
303
- /**
304
- * title is the title of the proposal
305
- * Since: cosmos-sdk 0.47
306
- */
307
- title?: string;
308
-
309
- /**
310
- * summary is a short summary of the proposal
311
- * Since: cosmos-sdk 0.47
312
- */
313
- summary?: string;
314
-
315
- /**
316
- * Proposer is the address of the proposal sumbitter
317
- * Since: cosmos-sdk 0.47
318
- */
319
- proposer?: string;
320
232
  }
321
233
 
322
234
  /**
@@ -355,7 +267,6 @@ export interface V1QueryDepositResponse {
355
267
  * QueryDepositsResponse is the response type for the Query/Deposits RPC method.
356
268
  */
357
269
  export interface V1QueryDepositsResponse {
358
- /** deposits defines the requested deposits. */
359
270
  deposits?: V1Deposit[];
360
271
 
361
272
  /** pagination defines the pagination in the response. */
@@ -366,37 +277,21 @@ export interface V1QueryDepositsResponse {
366
277
  * QueryParamsResponse is the response type for the Query/Params RPC method.
367
278
  */
368
279
  export interface V1QueryParamsResponse {
369
- /**
370
- * Deprecated: Prefer to use `params` instead.
371
- * voting_params defines the parameters related to voting.
372
- */
280
+ /** voting_params defines the parameters related to voting. */
373
281
  voting_params?: V1VotingParams;
374
282
 
375
- /**
376
- * Deprecated: Prefer to use `params` instead.
377
- * deposit_params defines the parameters related to deposit.
378
- */
283
+ /** deposit_params defines the parameters related to deposit. */
379
284
  deposit_params?: V1DepositParams;
380
285
 
381
- /**
382
- * Deprecated: Prefer to use `params` instead.
383
- * tally_params defines the parameters related to tally.
384
- */
286
+ /** tally_params defines the parameters related to tally. */
385
287
  tally_params?: V1TallyParams;
386
-
387
- /**
388
- * params defines all the paramaters of x/gov module.
389
- *
390
- * Since: cosmos-sdk 0.47
391
- */
392
- params?: V1Params;
393
288
  }
394
289
 
395
290
  /**
396
291
  * QueryProposalResponse is the response type for the Query/Proposal RPC method.
397
292
  */
398
293
  export interface V1QueryProposalResponse {
399
- /** proposal is the requested governance proposal. */
294
+ /** Proposal defines the core field members of a governance proposal. */
400
295
  proposal?: V1Proposal;
401
296
  }
402
297
 
@@ -405,7 +300,6 @@ export interface V1QueryProposalResponse {
405
300
  method.
406
301
  */
407
302
  export interface V1QueryProposalsResponse {
408
- /** proposals defines all the requested governance proposals. */
409
303
  proposals?: V1Proposal[];
410
304
 
411
305
  /** pagination defines the pagination in the response. */
@@ -424,7 +318,7 @@ export interface V1QueryTallyResultResponse {
424
318
  * QueryVoteResponse is the response type for the Query/Vote RPC method.
425
319
  */
426
320
  export interface V1QueryVoteResponse {
427
- /** vote defines the queried vote. */
321
+ /** vote defined the queried vote. */
428
322
  vote?: V1Vote;
429
323
  }
430
324
 
@@ -432,7 +326,7 @@ export interface V1QueryVoteResponse {
432
326
  * QueryVotesResponse is the response type for the Query/Votes RPC method.
433
327
  */
434
328
  export interface V1QueryVotesResponse {
435
- /** votes defines the queried votes. */
329
+ /** votes defined the queried votes. */
436
330
  votes?: V1Vote[];
437
331
 
438
332
  /** pagination defines the pagination in the response. */
@@ -445,7 +339,7 @@ export interface V1QueryVotesResponse {
445
339
  export interface V1TallyParams {
446
340
  /**
447
341
  * Minimum percentage of total stake needed to vote for a result to be
448
- * considered valid.
342
+ * considered valid.
449
343
  */
450
344
  quorum?: string;
451
345
 
@@ -454,7 +348,7 @@ export interface V1TallyParams {
454
348
 
455
349
  /**
456
350
  * Minimum value of Veto votes to Total votes ratio for proposal to be
457
- * vetoed. Default value: 1/3.
351
+ * vetoed. Default value: 1/3.
458
352
  */
459
353
  veto_threshold?: string;
460
354
  }
@@ -463,16 +357,9 @@ export interface V1TallyParams {
463
357
  * TallyResult defines a standard tally for a governance proposal.
464
358
  */
465
359
  export interface V1TallyResult {
466
- /** yes_count is the number of yes votes on a proposal. */
467
360
  yes_count?: string;
468
-
469
- /** abstain_count is the number of abstain votes on a proposal. */
470
361
  abstain_count?: string;
471
-
472
- /** no_count is the number of no votes on a proposal. */
473
362
  no_count?: string;
474
-
475
- /** no_with_veto_count is the number of no with veto votes on a proposal. */
476
363
  no_with_veto_count?: string;
477
364
  }
478
365
 
@@ -481,16 +368,9 @@ export interface V1TallyResult {
481
368
  A Vote consists of a proposal ID, the voter, and the vote option.
482
369
  */
483
370
  export interface V1Vote {
484
- /**
485
- * proposal_id defines the unique id of the proposal.
486
- * @format uint64
487
- */
371
+ /** @format uint64 */
488
372
  proposal_id?: string;
489
-
490
- /** voter is the voter address of the proposal. */
491
373
  voter?: string;
492
-
493
- /** options is the weighted vote options. */
494
374
  options?: V1WeightedVoteOption[];
495
375
 
496
376
  /** metadata is any arbitrary metadata to attached to the vote. */
@@ -518,7 +398,7 @@ export enum V1VoteOption {
518
398
  * VotingParams defines the params for voting on governance proposals.
519
399
  */
520
400
  export interface V1VotingParams {
521
- /** Duration of the voting period. */
401
+ /** Length of the voting period. */
522
402
  voting_period?: string;
523
403
  }
524
404
 
@@ -526,10 +406,16 @@ export interface V1VotingParams {
526
406
  * WeightedVoteOption defines a unit of vote for vote split.
527
407
  */
528
408
  export interface V1WeightedVoteOption {
529
- /** option defines the valid vote options, it must not contain duplicate vote options. */
409
+ /**
410
+ * VoteOption enumerates the valid vote options for a given governance proposal.
411
+ *
412
+ * - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
413
+ * - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
414
+ * - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
415
+ * - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
416
+ * - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
417
+ */
530
418
  option?: V1VoteOption;
531
-
532
- /** weight is the vote weight associated with the vote option. */
533
419
  weight?: string;
534
420
  }
535
421
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Deposit, DepositParams, Params, Proposal, TallyParams, Vote, VotingParams } from "./gov";
4
+ import { Deposit, DepositParams, Proposal, TallyParams, Vote, VotingParams } from "./gov";
5
5
  export const protobufPackage = "cosmos.gov.v1";
6
6
  function createBaseGenesisState() {
7
7
  return {
@@ -12,7 +12,6 @@ function createBaseGenesisState() {
12
12
  depositParams: undefined,
13
13
  votingParams: undefined,
14
14
  tallyParams: undefined,
15
- params: undefined,
16
15
  };
17
16
  }
18
17
  export const GenesisState = {
@@ -38,9 +37,6 @@ export const GenesisState = {
38
37
  if (message.tallyParams !== undefined) {
39
38
  TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim();
40
39
  }
41
- if (message.params !== undefined) {
42
- Params.encode(message.params, writer.uint32(66).fork()).ldelim();
43
- }
44
40
  return writer;
45
41
  },
46
42
  decode(input, length) {
@@ -71,9 +67,6 @@ export const GenesisState = {
71
67
  case 7:
72
68
  message.tallyParams = TallyParams.decode(reader, reader.uint32());
73
69
  break;
74
- case 8:
75
- message.params = Params.decode(reader, reader.uint32());
76
- break;
77
70
  default:
78
71
  reader.skipType(tag & 7);
79
72
  break;
@@ -90,7 +83,6 @@ export const GenesisState = {
90
83
  depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined,
91
84
  votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined,
92
85
  tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined,
93
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
94
86
  };
95
87
  },
96
88
  toJSON(message) {
@@ -120,7 +112,6 @@ export const GenesisState = {
120
112
  && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined);
121
113
  message.tallyParams !== undefined
122
114
  && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined);
123
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
124
115
  return obj;
125
116
  },
126
117
  fromPartial(object) {
@@ -138,9 +129,6 @@ export const GenesisState = {
138
129
  message.tallyParams = (object.tallyParams !== undefined && object.tallyParams !== null)
139
130
  ? TallyParams.fromPartial(object.tallyParams)
140
131
  : undefined;
141
- message.params = (object.params !== undefined && object.params !== null)
142
- ? Params.fromPartial(object.params)
143
- : undefined;
144
132
  return message;
145
133
  },
146
134
  };
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Deposit, DepositParams, Params, Proposal, TallyParams, Vote, VotingParams } from "./gov";
4
+ import { Deposit, DepositParams, Proposal, TallyParams, Vote, VotingParams } from "./gov";
5
5
 
6
6
  export const protobufPackage = "cosmos.gov.v1";
7
7
 
@@ -17,39 +17,16 @@ export interface GenesisState {
17
17
  votes: Vote[];
18
18
  /** proposals defines all the proposals present at genesis. */
19
19
  proposals: Proposal[];
20
- /**
21
- * Deprecated: Prefer to use `params` instead.
22
- * deposit_params defines all the paramaters of related to deposit.
23
- *
24
- * @deprecated
25
- */
20
+ /** params defines all the paramaters of related to deposit. */
26
21
  depositParams:
27
22
  | DepositParams
28
23
  | undefined;
29
- /**
30
- * Deprecated: Prefer to use `params` instead.
31
- * voting_params defines all the paramaters of related to voting.
32
- *
33
- * @deprecated
34
- */
24
+ /** params defines all the paramaters of related to voting. */
35
25
  votingParams:
36
26
  | VotingParams
37
27
  | undefined;
38
- /**
39
- * Deprecated: Prefer to use `params` instead.
40
- * tally_params defines all the paramaters of related to tally.
41
- *
42
- * @deprecated
43
- */
44
- tallyParams:
45
- | TallyParams
46
- | undefined;
47
- /**
48
- * params defines all the paramaters of x/gov module.
49
- *
50
- * Since: cosmos-sdk 0.47
51
- */
52
- params: Params | undefined;
28
+ /** params defines all the paramaters of related to tally. */
29
+ tallyParams: TallyParams | undefined;
53
30
  }
54
31
 
55
32
  function createBaseGenesisState(): GenesisState {
@@ -61,7 +38,6 @@ function createBaseGenesisState(): GenesisState {
61
38
  depositParams: undefined,
62
39
  votingParams: undefined,
63
40
  tallyParams: undefined,
64
- params: undefined,
65
41
  };
66
42
  }
67
43
 
@@ -88,9 +64,6 @@ export const GenesisState = {
88
64
  if (message.tallyParams !== undefined) {
89
65
  TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim();
90
66
  }
91
- if (message.params !== undefined) {
92
- Params.encode(message.params, writer.uint32(66).fork()).ldelim();
93
- }
94
67
  return writer;
95
68
  },
96
69
 
@@ -122,9 +95,6 @@ export const GenesisState = {
122
95
  case 7:
123
96
  message.tallyParams = TallyParams.decode(reader, reader.uint32());
124
97
  break;
125
- case 8:
126
- message.params = Params.decode(reader, reader.uint32());
127
- break;
128
98
  default:
129
99
  reader.skipType(tag & 7);
130
100
  break;
@@ -142,7 +112,6 @@ export const GenesisState = {
142
112
  depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined,
143
113
  votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined,
144
114
  tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined,
145
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
146
115
  };
147
116
  },
148
117
 
@@ -170,7 +139,6 @@ export const GenesisState = {
170
139
  && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined);
171
140
  message.tallyParams !== undefined
172
141
  && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined);
173
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
174
142
  return obj;
175
143
  },
176
144
 
@@ -189,9 +157,6 @@ export const GenesisState = {
189
157
  message.tallyParams = (object.tallyParams !== undefined && object.tallyParams !== null)
190
158
  ? TallyParams.fromPartial(object.tallyParams)
191
159
  : undefined;
192
- message.params = (object.params !== undefined && object.params !== null)
193
- ? Params.fromPartial(object.params)
194
- : undefined;
195
160
  return message;
196
161
  },
197
162
  };