decentralcardgame-cardchain-client-ts 0.0.3 → 0.0.5

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 (549) hide show
  1. package/{lib/DecentralCardGame.cardchain.cardchain → DecentralCardGame.cardchain.cardchain}/module.js +343 -318
  2. package/DecentralCardGame.cardchain.cardchain/registry.js +72 -70
  3. package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
  4. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +30 -6
  5. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +11 -17
  6. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +1 -217
  7. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +166 -8
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +7 -65
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +30 -10
  10. package/DecentralCardGame.cardchain.cardchain/types.js +22 -21
  11. package/README.md +16 -0
  12. package/client.js +2 -1
  13. package/cosmos.authz.v1beta1/module.js +19 -19
  14. package/cosmos.authz.v1beta1/registry.js +2 -2
  15. package/cosmos.distribution.v1beta1/module.js +24 -24
  16. package/cosmos.distribution.v1beta1/registry.js +4 -4
  17. package/cosmos.gov.v1/module.js +31 -31
  18. package/cosmos.gov.v1/registry.js +4 -4
  19. package/cosmos.gov.v1beta1/module.js +22 -22
  20. package/cosmos.gov.v1beta1/registry.js +2 -2
  21. package/cosmos.group.v1/module.js +102 -102
  22. package/cosmos.group.v1/registry.js +14 -14
  23. package/cosmos.group.v1/rest.js +15 -0
  24. package/cosmos.group.v1/types/cosmos/group/v1/query.js +110 -0
  25. package/cosmos.staking.v1beta1/module.js +40 -40
  26. package/cosmos.staking.v1beta1/registry.js +8 -8
  27. package/cosmos.vesting.v1beta1/module.js +16 -16
  28. package/cosmos.vesting.v1beta1/registry.js +2 -2
  29. package/ibc.applications.interchain_accounts.controller.v1/rest.js +9 -0
  30. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +266 -0
  31. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
  32. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +24 -6
  33. package/ibc.core.client.v1/rest.js +14 -14
  34. package/ibc.core.connection.v1/rest.js +14 -0
  35. package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +83 -1
  36. package/package.json +2 -2
  37. package/tsconfig.json +0 -1
  38. package/lib/DecentralCardGame.cardchain.cardchain/index.js +0 -5
  39. package/lib/DecentralCardGame.cardchain.cardchain/registry.js +0 -83
  40. package/lib/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
  41. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/card.js +0 -491
  42. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +0 -497
  43. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +0 -365
  44. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +0 -93
  45. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +0 -102
  46. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +0 -356
  47. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +0 -241
  48. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +0 -88
  49. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +0 -210
  50. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +0 -67
  51. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +0 -73
  52. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +0 -275
  53. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +0 -2186
  54. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +0 -85
  55. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +0 -148
  56. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +0 -93
  57. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +0 -4136
  58. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +0 -554
  59. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +0 -84
  60. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +0 -127
  61. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +0 -148
  62. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.js +0 -365
  63. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.js +0 -93
  64. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.js +0 -102
  65. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/council.js +0 -350
  66. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.js +0 -241
  67. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/image.js +0 -88
  68. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match.js +0 -210
  69. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.js +0 -67
  70. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/num.js +0 -73
  71. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +0 -275
  72. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/query.js +0 -1970
  73. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.js +0 -85
  74. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.js +0 -148
  75. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/server.js +0 -93
  76. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/user.js +0 -496
  77. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.js +0 -84
  78. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.js +0 -127
  79. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.js +0 -148
  80. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  81. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +0 -192
  82. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +0 -171
  83. package/lib/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +0 -2
  84. package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +0 -2
  85. package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +0 -260
  86. package/lib/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
  87. package/lib/DecentralCardGame.cardchain.cardchain/types.js +0 -21
  88. package/lib/client.js +0 -135
  89. package/lib/cosmos.auth.v1beta1/index.js +0 -5
  90. package/lib/cosmos.auth.v1beta1/module.js +0 -62
  91. package/lib/cosmos.auth.v1beta1/registry.js +0 -2
  92. package/lib/cosmos.auth.v1beta1/rest.js +0 -213
  93. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
  94. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
  95. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -868
  96. package/lib/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  97. package/lib/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  98. package/lib/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
  99. package/lib/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
  100. package/lib/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
  101. package/lib/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  102. package/lib/cosmos.auth.v1beta1/types.js +0 -4
  103. package/lib/cosmos.authz.v1beta1/index.js +0 -5
  104. package/lib/cosmos.authz.v1beta1/module.js +0 -140
  105. package/lib/cosmos.authz.v1beta1/registry.js +0 -9
  106. package/lib/cosmos.authz.v1beta1/rest.js +0 -131
  107. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
  108. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
  109. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
  110. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
  111. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
  112. package/lib/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -773
  113. package/lib/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  114. package/lib/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  115. package/lib/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  116. package/lib/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
  117. package/lib/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
  118. package/lib/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
  119. package/lib/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
  120. package/lib/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  121. package/lib/cosmos.authz.v1beta1/types/google/protobuf/duration.js +0 -84
  122. package/lib/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
  123. package/lib/cosmos.authz.v1beta1/types/tendermint/abci/types.js +0 -3447
  124. package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/keys.js +0 -100
  125. package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/proof.js +0 -356
  126. package/lib/cosmos.authz.v1beta1/types/tendermint/types/params.js +0 -378
  127. package/lib/cosmos.authz.v1beta1/types/tendermint/types/types.js +0 -1207
  128. package/lib/cosmos.authz.v1beta1/types/tendermint/types/validator.js +0 -254
  129. package/lib/cosmos.authz.v1beta1/types/tendermint/version/types.js +0 -133
  130. package/lib/cosmos.authz.v1beta1/types.js +0 -7
  131. package/lib/cosmos.bank.v1beta1/index.js +0 -5
  132. package/lib/cosmos.bank.v1beta1/module.js +0 -125
  133. package/lib/cosmos.bank.v1beta1/registry.js +0 -7
  134. package/lib/cosmos.bank.v1beta1/rest.js +0 -222
  135. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -50
  136. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
  137. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -154
  138. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1014
  139. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -219
  140. package/lib/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  141. package/lib/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  142. package/lib/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  143. package/lib/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  144. package/lib/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
  145. package/lib/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
  146. package/lib/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
  147. package/lib/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  148. package/lib/cosmos.bank.v1beta1/types.js +0 -11
  149. package/lib/cosmos.base.tendermint.v1beta1/index.js +0 -5
  150. package/lib/cosmos.base.tendermint.v1beta1/module.js +0 -70
  151. package/lib/cosmos.base.tendermint.v1beta1/registry.js +0 -2
  152. package/lib/cosmos.base.tendermint.v1beta1/rest.js +0 -209
  153. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  154. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
  155. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
  156. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  157. package/lib/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
  158. package/lib/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
  159. package/lib/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
  160. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
  161. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  162. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
  163. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
  164. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
  165. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
  166. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
  167. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
  168. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
  169. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
  170. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
  171. package/lib/cosmos.base.tendermint.v1beta1/types.js +0 -8
  172. package/lib/cosmos.crisis.v1beta1/index.js +0 -5
  173. package/lib/cosmos.crisis.v1beta1/module.js +0 -81
  174. package/lib/cosmos.crisis.v1beta1/registry.js +0 -5
  175. package/lib/cosmos.crisis.v1beta1/rest.js +0 -83
  176. package/lib/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  177. package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
  178. package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -111
  179. package/lib/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  180. package/lib/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  181. package/lib/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
  182. package/lib/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  183. package/lib/cosmos.crisis.v1beta1/types.js +0 -1
  184. package/lib/cosmos.distribution.v1beta1/index.js +0 -5
  185. package/lib/cosmos.distribution.v1beta1/module.js +0 -189
  186. package/lib/cosmos.distribution.v1beta1/registry.js +0 -11
  187. package/lib/cosmos.distribution.v1beta1/rest.js +0 -214
  188. package/lib/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  189. package/lib/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  190. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
  191. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
  192. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -926
  193. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -396
  194. package/lib/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  195. package/lib/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  196. package/lib/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
  197. package/lib/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
  198. package/lib/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
  199. package/lib/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  200. package/lib/cosmos.distribution.v1beta1/types.js +0 -20
  201. package/lib/cosmos.evidence.v1beta1/index.js +0 -5
  202. package/lib/cosmos.evidence.v1beta1/module.js +0 -84
  203. package/lib/cosmos.evidence.v1beta1/registry.js +0 -5
  204. package/lib/cosmos.evidence.v1beta1/rest.js +0 -115
  205. package/lib/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  206. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
  207. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
  208. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -254
  209. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
  210. package/lib/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  211. package/lib/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  212. package/lib/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
  213. package/lib/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
  214. package/lib/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
  215. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
  216. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  217. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
  218. package/lib/cosmos.evidence.v1beta1/types.js +0 -2
  219. package/lib/cosmos.feegrant.v1beta1/index.js +0 -5
  220. package/lib/cosmos.feegrant.v1beta1/module.js +0 -113
  221. package/lib/cosmos.feegrant.v1beta1/registry.js +0 -7
  222. package/lib/cosmos.feegrant.v1beta1/rest.js +0 -130
  223. package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  224. package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  225. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
  226. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
  227. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
  228. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
  229. package/lib/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  230. package/lib/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  231. package/lib/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
  232. package/lib/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
  233. package/lib/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
  234. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
  235. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  236. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
  237. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
  238. package/lib/cosmos.feegrant.v1beta1/types.js +0 -5
  239. package/lib/cosmos.gov.v1/index.js +0 -5
  240. package/lib/cosmos.gov.v1/module.js +0 -167
  241. package/lib/cosmos.gov.v1/registry.js +0 -11
  242. package/lib/cosmos.gov.v1/rest.js +0 -242
  243. package/lib/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  244. package/lib/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  245. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -162
  246. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -766
  247. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -917
  248. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -590
  249. package/lib/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
  250. package/lib/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
  251. package/lib/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
  252. package/lib/cosmos.gov.v1/types/google/api/annotations.js +0 -2
  253. package/lib/cosmos.gov.v1/types/google/api/http.js +0 -260
  254. package/lib/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
  255. package/lib/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
  256. package/lib/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
  257. package/lib/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
  258. package/lib/cosmos.gov.v1/types.js +0 -9
  259. package/lib/cosmos.gov.v1beta1/index.js +0 -5
  260. package/lib/cosmos.gov.v1beta1/module.js +0 -169
  261. package/lib/cosmos.gov.v1beta1/registry.js +0 -11
  262. package/lib/cosmos.gov.v1beta1/rest.js +0 -242
  263. package/lib/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  264. package/lib/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  265. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
  266. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
  267. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
  268. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
  269. package/lib/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  270. package/lib/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  271. package/lib/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
  272. package/lib/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
  273. package/lib/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
  274. package/lib/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
  275. package/lib/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  276. package/lib/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
  277. package/lib/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
  278. package/lib/cosmos.gov.v1beta1/types.js +0 -10
  279. package/lib/cosmos.group.v1/index.js +0 -5
  280. package/lib/cosmos.group.v1/module.js +0 -421
  281. package/lib/cosmos.group.v1/registry.js +0 -31
  282. package/lib/cosmos.group.v1/rest.js +0 -351
  283. package/lib/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  284. package/lib/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -433
  285. package/lib/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
  286. package/lib/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1468
  287. package/lib/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1621
  288. package/lib/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1105
  289. package/lib/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
  290. package/lib/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
  291. package/lib/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
  292. package/lib/cosmos.group.v1/types/google/api/annotations.js +0 -2
  293. package/lib/cosmos.group.v1/types/google/api/http.js +0 -260
  294. package/lib/cosmos.group.v1/types/google/protobuf/any.js +0 -99
  295. package/lib/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
  296. package/lib/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
  297. package/lib/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
  298. package/lib/cosmos.group.v1/types.js +0 -21
  299. package/lib/cosmos.mint.v1beta1/index.js +0 -5
  300. package/lib/cosmos.mint.v1beta1/module.js +0 -60
  301. package/lib/cosmos.mint.v1beta1/registry.js +0 -2
  302. package/lib/cosmos.mint.v1beta1/rest.js +0 -128
  303. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
  304. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
  305. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
  306. package/lib/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  307. package/lib/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
  308. package/lib/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
  309. package/lib/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
  310. package/lib/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  311. package/lib/cosmos.mint.v1beta1/types.js +0 -3
  312. package/lib/cosmos.nft.v1beta1/index.js +0 -5
  313. package/lib/cosmos.nft.v1beta1/module.js +0 -68
  314. package/lib/cosmos.nft.v1beta1/registry.js +0 -2
  315. package/lib/cosmos.nft.v1beta1/rest.js +0 -187
  316. package/lib/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  317. package/lib/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  318. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
  319. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
  320. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
  321. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
  322. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
  323. package/lib/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
  324. package/lib/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
  325. package/lib/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
  326. package/lib/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  327. package/lib/cosmos.nft.v1beta1/types.js +0 -7
  328. package/lib/cosmos.params.v1beta1/index.js +0 -5
  329. package/lib/cosmos.params.v1beta1/module.js +0 -62
  330. package/lib/cosmos.params.v1beta1/registry.js +0 -2
  331. package/lib/cosmos.params.v1beta1/rest.js +0 -116
  332. package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
  333. package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
  334. package/lib/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  335. package/lib/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
  336. package/lib/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
  337. package/lib/cosmos.params.v1beta1/types/google/api/http.js +0 -260
  338. package/lib/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  339. package/lib/cosmos.params.v1beta1/types.js +0 -4
  340. package/lib/cosmos.slashing.v1beta1/index.js +0 -5
  341. package/lib/cosmos.slashing.v1beta1/module.js +0 -92
  342. package/lib/cosmos.slashing.v1beta1/registry.js +0 -5
  343. package/lib/cosmos.slashing.v1beta1/rest.js +0 -129
  344. package/lib/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  345. package/lib/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  346. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
  347. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
  348. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
  349. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -91
  350. package/lib/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  351. package/lib/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
  352. package/lib/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
  353. package/lib/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
  354. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  355. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
  356. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
  357. package/lib/cosmos.slashing.v1beta1/types.js +0 -6
  358. package/lib/cosmos.staking.v1beta1/index.js +0 -5
  359. package/lib/cosmos.staking.v1beta1/module.js +0 -243
  360. package/lib/cosmos.staking.v1beta1/registry.js +0 -15
  361. package/lib/cosmos.staking.v1beta1/rest.js +0 -308
  362. package/lib/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  363. package/lib/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  364. package/lib/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  365. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
  366. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
  367. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
  368. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1436
  369. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -768
  370. package/lib/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  371. package/lib/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
  372. package/lib/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
  373. package/lib/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
  374. package/lib/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
  375. package/lib/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  376. package/lib/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
  377. package/lib/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
  378. package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
  379. package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
  380. package/lib/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
  381. package/lib/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
  382. package/lib/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
  383. package/lib/cosmos.staking.v1beta1/types.js +0 -24
  384. package/lib/cosmos.tx.v1beta1/index.js +0 -5
  385. package/lib/cosmos.tx.v1beta1/module.js +0 -82
  386. package/lib/cosmos.tx.v1beta1/registry.js +0 -2
  387. package/lib/cosmos.tx.v1beta1/rest.js +0 -256
  388. package/lib/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
  389. package/lib/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  390. package/lib/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  391. package/lib/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
  392. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
  393. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -802
  394. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
  395. package/lib/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  396. package/lib/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
  397. package/lib/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
  398. package/lib/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
  399. package/lib/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
  400. package/lib/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  401. package/lib/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
  402. package/lib/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
  403. package/lib/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3486
  404. package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
  405. package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
  406. package/lib/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
  407. package/lib/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
  408. package/lib/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -378
  409. package/lib/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
  410. package/lib/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
  411. package/lib/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
  412. package/lib/cosmos.tx.v1beta1/types.js +0 -14
  413. package/lib/cosmos.upgrade.v1beta1/index.js +0 -5
  414. package/lib/cosmos.upgrade.v1beta1/module.js +0 -113
  415. package/lib/cosmos.upgrade.v1beta1/registry.js +0 -7
  416. package/lib/cosmos.upgrade.v1beta1/rest.js +0 -162
  417. package/lib/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  418. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
  419. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
  420. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  421. package/lib/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  422. package/lib/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
  423. package/lib/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
  424. package/lib/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
  425. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
  426. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  427. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
  428. package/lib/cosmos.upgrade.v1beta1/types.js +0 -5
  429. package/lib/cosmos.vesting.v1beta1/index.js +0 -5
  430. package/lib/cosmos.vesting.v1beta1/module.js +0 -140
  431. package/lib/cosmos.vesting.v1beta1/registry.js +0 -9
  432. package/lib/cosmos.vesting.v1beta1/rest.js +0 -83
  433. package/lib/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
  434. package/lib/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  435. package/lib/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  436. package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
  437. package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
  438. package/lib/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  439. package/lib/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
  440. package/lib/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
  441. package/lib/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  442. package/lib/cosmos.vesting.v1beta1/types.js +0 -7
  443. package/lib/env.js +0 -1
  444. package/lib/helpers.js +0 -11
  445. package/lib/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
  446. package/lib/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
  447. package/lib/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
  448. package/lib/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -114
  449. package/lib/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
  450. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
  451. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
  452. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
  453. package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
  454. package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
  455. package/lib/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
  456. package/lib/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
  457. package/lib/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
  458. package/lib/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
  459. package/lib/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
  460. package/lib/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
  461. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
  462. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
  463. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
  464. package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
  465. package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
  466. package/lib/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
  467. package/lib/ibc.applications.transfer.v1/index.js +0 -5
  468. package/lib/ibc.applications.transfer.v1/module.js +0 -86
  469. package/lib/ibc.applications.transfer.v1/registry.js +0 -5
  470. package/lib/ibc.applications.transfer.v1/rest.js +0 -157
  471. package/lib/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  472. package/lib/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  473. package/lib/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  474. package/lib/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
  475. package/lib/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
  476. package/lib/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
  477. package/lib/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
  478. package/lib/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
  479. package/lib/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
  480. package/lib/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
  481. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -75
  482. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -483
  483. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
  484. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -186
  485. package/lib/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
  486. package/lib/ibc.applications.transfer.v1/types.js +0 -3
  487. package/lib/ibc.core.channel.v1/index.js +0 -5
  488. package/lib/ibc.core.channel.v1/module.js +0 -72
  489. package/lib/ibc.core.channel.v1/registry.js +0 -2
  490. package/lib/ibc.core.channel.v1/rest.js +0 -323
  491. package/lib/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  492. package/lib/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  493. package/lib/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
  494. package/lib/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
  495. package/lib/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
  496. package/lib/ibc.core.channel.v1/types/google/api/http.js +0 -260
  497. package/lib/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
  498. package/lib/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
  499. package/lib/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
  500. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
  501. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
  502. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
  503. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1425
  504. package/lib/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
  505. package/lib/ibc.core.channel.v1/types.js +0 -9
  506. package/lib/ibc.core.client.v1/index.js +0 -5
  507. package/lib/ibc.core.client.v1/module.js +0 -74
  508. package/lib/ibc.core.client.v1/registry.js +0 -2
  509. package/lib/ibc.core.client.v1/rest.js +0 -218
  510. package/lib/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  511. package/lib/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  512. package/lib/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
  513. package/lib/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
  514. package/lib/ibc.core.client.v1/types/google/api/annotations.js +0 -2
  515. package/lib/ibc.core.client.v1/types/google/api/http.js +0 -260
  516. package/lib/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
  517. package/lib/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
  518. package/lib/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
  519. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
  520. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
  521. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
  522. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -509
  523. package/lib/ibc.core.client.v1/types.js +0 -10
  524. package/lib/ibc.core.connection.v1/index.js +0 -5
  525. package/lib/ibc.core.connection.v1/module.js +0 -70
  526. package/lib/ibc.core.connection.v1/registry.js +0 -2
  527. package/lib/ibc.core.connection.v1/rest.js +0 -177
  528. package/lib/ibc.core.connection.v1/types/confio/proofs.js +0 -1120
  529. package/lib/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  530. package/lib/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  531. package/lib/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
  532. package/lib/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
  533. package/lib/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
  534. package/lib/ibc.core.connection.v1/types/google/api/http.js +0 -260
  535. package/lib/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
  536. package/lib/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
  537. package/lib/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
  538. package/lib/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
  539. package/lib/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
  540. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
  541. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
  542. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -684
  543. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -705
  544. package/lib/ibc.core.connection.v1/types/proofs.js +0 -1126
  545. package/lib/ibc.core.connection.v1/types.js +0 -8
  546. package/lib/index.js +0 -62
  547. package/lib/modules.js +0 -1
  548. /package/{lib/DecentralCardGame.cardchain.cardchain → DecentralCardGame.cardchain.cardchain}/types/cardchain/tx.js +0 -0
  549. /package/{lib/cosmos.auth.v1beta1 → ibc.applications.interchain_accounts.controller.v1}/types/google/protobuf/any.js +0 -0
@@ -3,20 +3,20 @@ import { SigningStargateClient } from "@cosmjs/stargate";
3
3
  import { Registry } from "@cosmjs/proto-signing";
4
4
  import { msgTypes } from './registry';
5
5
  import { Api } from "./rest";
6
+ import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
7
+ import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
6
8
  import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
9
+ import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
10
+ import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
7
11
  import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
8
12
  import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
9
- import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
10
- import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
11
13
  import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
14
+ import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
12
15
  import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
13
- import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
14
16
  import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
15
- import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
16
- import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
17
- import { MsgVote } from "./types/cosmos/group/v1/tx";
18
- import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
19
17
  import { MsgExec } from "./types/cosmos/group/v1/tx";
18
+ import { MsgVote } from "./types/cosmos/group/v1/tx";
19
+ import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
20
20
  import { EventCreateGroup as typeEventCreateGroup } from "./types";
21
21
  import { EventUpdateGroup as typeEventUpdateGroup } from "./types";
22
22
  import { EventCreateGroupPolicy as typeEventCreateGroupPolicy } from "./types";
@@ -37,7 +37,7 @@ import { GroupPolicyInfo as typeGroupPolicyInfo } from "./types";
37
37
  import { Proposal as typeProposal } from "./types";
38
38
  import { TallyResult as typeTallyResult } from "./types";
39
39
  import { Vote as typeVote } from "./types";
40
- export { MsgUpdateGroupPolicyDecisionPolicy, MsgSubmitProposal, MsgWithdrawProposal, MsgCreateGroup, MsgUpdateGroupPolicyAdmin, MsgCreateGroupWithPolicy, MsgUpdateGroupMetadata, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupPolicyMetadata, MsgLeaveGroup, MsgVote, MsgCreateGroupPolicy, MsgExec };
40
+ export { MsgUpdateGroupMembers, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgCreateGroupPolicy, MsgSubmitProposal, MsgWithdrawProposal, MsgCreateGroupWithPolicy, MsgCreateGroup, MsgUpdateGroupMetadata, MsgUpdateGroupAdmin, MsgExec, MsgVote, MsgLeaveGroup };
41
41
  export const registry = new Registry(msgTypes);
42
42
  function getStructure(template) {
43
43
  const structure = { fields: [] };
@@ -53,6 +53,34 @@ const defaultFee = {
53
53
  };
54
54
  export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
55
55
  return {
56
+ async sendMsgUpdateGroupMembers({ value, fee, memo }) {
57
+ if (!signer) {
58
+ throw new Error('TxClient:sendMsgUpdateGroupMembers: Unable to sign Tx. Signer is not present.');
59
+ }
60
+ try {
61
+ const { address } = (await signer.getAccounts())[0];
62
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
63
+ let msg = this.msgUpdateGroupMembers({ value: MsgUpdateGroupMembers.fromPartial(value) });
64
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
65
+ }
66
+ catch (e) {
67
+ throw new Error('TxClient:sendMsgUpdateGroupMembers: Could not broadcast Tx: ' + e.message);
68
+ }
69
+ },
70
+ async sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }) {
71
+ if (!signer) {
72
+ throw new Error('TxClient:sendMsgUpdateGroupPolicyAdmin: Unable to sign Tx. Signer is not present.');
73
+ }
74
+ try {
75
+ const { address } = (await signer.getAccounts())[0];
76
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
77
+ let msg = this.msgUpdateGroupPolicyAdmin({ value: MsgUpdateGroupPolicyAdmin.fromPartial(value) });
78
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
79
+ }
80
+ catch (e) {
81
+ throw new Error('TxClient:sendMsgUpdateGroupPolicyAdmin: Could not broadcast Tx: ' + e.message);
82
+ }
83
+ },
56
84
  async sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }) {
57
85
  if (!signer) {
58
86
  throw new Error('TxClient:sendMsgUpdateGroupPolicyDecisionPolicy: Unable to sign Tx. Signer is not present.');
@@ -67,60 +95,60 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
67
95
  throw new Error('TxClient:sendMsgUpdateGroupPolicyDecisionPolicy: Could not broadcast Tx: ' + e.message);
68
96
  }
69
97
  },
70
- async sendMsgSubmitProposal({ value, fee, memo }) {
98
+ async sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }) {
71
99
  if (!signer) {
72
- throw new Error('TxClient:sendMsgSubmitProposal: Unable to sign Tx. Signer is not present.');
100
+ throw new Error('TxClient:sendMsgUpdateGroupPolicyMetadata: Unable to sign Tx. Signer is not present.');
73
101
  }
74
102
  try {
75
103
  const { address } = (await signer.getAccounts())[0];
76
104
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
77
- let msg = this.msgSubmitProposal({ value: MsgSubmitProposal.fromPartial(value) });
105
+ let msg = this.msgUpdateGroupPolicyMetadata({ value: MsgUpdateGroupPolicyMetadata.fromPartial(value) });
78
106
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
79
107
  }
80
108
  catch (e) {
81
- throw new Error('TxClient:sendMsgSubmitProposal: Could not broadcast Tx: ' + e.message);
109
+ throw new Error('TxClient:sendMsgUpdateGroupPolicyMetadata: Could not broadcast Tx: ' + e.message);
82
110
  }
83
111
  },
84
- async sendMsgWithdrawProposal({ value, fee, memo }) {
112
+ async sendMsgCreateGroupPolicy({ value, fee, memo }) {
85
113
  if (!signer) {
86
- throw new Error('TxClient:sendMsgWithdrawProposal: Unable to sign Tx. Signer is not present.');
114
+ throw new Error('TxClient:sendMsgCreateGroupPolicy: Unable to sign Tx. Signer is not present.');
87
115
  }
88
116
  try {
89
117
  const { address } = (await signer.getAccounts())[0];
90
118
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
91
- let msg = this.msgWithdrawProposal({ value: MsgWithdrawProposal.fromPartial(value) });
119
+ let msg = this.msgCreateGroupPolicy({ value: MsgCreateGroupPolicy.fromPartial(value) });
92
120
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
93
121
  }
94
122
  catch (e) {
95
- throw new Error('TxClient:sendMsgWithdrawProposal: Could not broadcast Tx: ' + e.message);
123
+ throw new Error('TxClient:sendMsgCreateGroupPolicy: Could not broadcast Tx: ' + e.message);
96
124
  }
97
125
  },
98
- async sendMsgCreateGroup({ value, fee, memo }) {
126
+ async sendMsgSubmitProposal({ value, fee, memo }) {
99
127
  if (!signer) {
100
- throw new Error('TxClient:sendMsgCreateGroup: Unable to sign Tx. Signer is not present.');
128
+ throw new Error('TxClient:sendMsgSubmitProposal: Unable to sign Tx. Signer is not present.');
101
129
  }
102
130
  try {
103
131
  const { address } = (await signer.getAccounts())[0];
104
132
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
105
- let msg = this.msgCreateGroup({ value: MsgCreateGroup.fromPartial(value) });
133
+ let msg = this.msgSubmitProposal({ value: MsgSubmitProposal.fromPartial(value) });
106
134
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
107
135
  }
108
136
  catch (e) {
109
- throw new Error('TxClient:sendMsgCreateGroup: Could not broadcast Tx: ' + e.message);
137
+ throw new Error('TxClient:sendMsgSubmitProposal: Could not broadcast Tx: ' + e.message);
110
138
  }
111
139
  },
112
- async sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }) {
140
+ async sendMsgWithdrawProposal({ value, fee, memo }) {
113
141
  if (!signer) {
114
- throw new Error('TxClient:sendMsgUpdateGroupPolicyAdmin: Unable to sign Tx. Signer is not present.');
142
+ throw new Error('TxClient:sendMsgWithdrawProposal: Unable to sign Tx. Signer is not present.');
115
143
  }
116
144
  try {
117
145
  const { address } = (await signer.getAccounts())[0];
118
146
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
119
- let msg = this.msgUpdateGroupPolicyAdmin({ value: MsgUpdateGroupPolicyAdmin.fromPartial(value) });
147
+ let msg = this.msgWithdrawProposal({ value: MsgWithdrawProposal.fromPartial(value) });
120
148
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
121
149
  }
122
150
  catch (e) {
123
- throw new Error('TxClient:sendMsgUpdateGroupPolicyAdmin: Could not broadcast Tx: ' + e.message);
151
+ throw new Error('TxClient:sendMsgWithdrawProposal: Could not broadcast Tx: ' + e.message);
124
152
  }
125
153
  },
126
154
  async sendMsgCreateGroupWithPolicy({ value, fee, memo }) {
@@ -137,32 +165,32 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
137
165
  throw new Error('TxClient:sendMsgCreateGroupWithPolicy: Could not broadcast Tx: ' + e.message);
138
166
  }
139
167
  },
140
- async sendMsgUpdateGroupMetadata({ value, fee, memo }) {
168
+ async sendMsgCreateGroup({ value, fee, memo }) {
141
169
  if (!signer) {
142
- throw new Error('TxClient:sendMsgUpdateGroupMetadata: Unable to sign Tx. Signer is not present.');
170
+ throw new Error('TxClient:sendMsgCreateGroup: Unable to sign Tx. Signer is not present.');
143
171
  }
144
172
  try {
145
173
  const { address } = (await signer.getAccounts())[0];
146
174
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
147
- let msg = this.msgUpdateGroupMetadata({ value: MsgUpdateGroupMetadata.fromPartial(value) });
175
+ let msg = this.msgCreateGroup({ value: MsgCreateGroup.fromPartial(value) });
148
176
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
149
177
  }
150
178
  catch (e) {
151
- throw new Error('TxClient:sendMsgUpdateGroupMetadata: Could not broadcast Tx: ' + e.message);
179
+ throw new Error('TxClient:sendMsgCreateGroup: Could not broadcast Tx: ' + e.message);
152
180
  }
153
181
  },
154
- async sendMsgUpdateGroupMembers({ value, fee, memo }) {
182
+ async sendMsgUpdateGroupMetadata({ value, fee, memo }) {
155
183
  if (!signer) {
156
- throw new Error('TxClient:sendMsgUpdateGroupMembers: Unable to sign Tx. Signer is not present.');
184
+ throw new Error('TxClient:sendMsgUpdateGroupMetadata: Unable to sign Tx. Signer is not present.');
157
185
  }
158
186
  try {
159
187
  const { address } = (await signer.getAccounts())[0];
160
188
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
161
- let msg = this.msgUpdateGroupMembers({ value: MsgUpdateGroupMembers.fromPartial(value) });
189
+ let msg = this.msgUpdateGroupMetadata({ value: MsgUpdateGroupMetadata.fromPartial(value) });
162
190
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
163
191
  }
164
192
  catch (e) {
165
- throw new Error('TxClient:sendMsgUpdateGroupMembers: Could not broadcast Tx: ' + e.message);
193
+ throw new Error('TxClient:sendMsgUpdateGroupMetadata: Could not broadcast Tx: ' + e.message);
166
194
  }
167
195
  },
168
196
  async sendMsgUpdateGroupAdmin({ value, fee, memo }) {
@@ -179,32 +207,18 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
179
207
  throw new Error('TxClient:sendMsgUpdateGroupAdmin: Could not broadcast Tx: ' + e.message);
180
208
  }
181
209
  },
182
- async sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }) {
183
- if (!signer) {
184
- throw new Error('TxClient:sendMsgUpdateGroupPolicyMetadata: Unable to sign Tx. Signer is not present.');
185
- }
186
- try {
187
- const { address } = (await signer.getAccounts())[0];
188
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
189
- let msg = this.msgUpdateGroupPolicyMetadata({ value: MsgUpdateGroupPolicyMetadata.fromPartial(value) });
190
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
191
- }
192
- catch (e) {
193
- throw new Error('TxClient:sendMsgUpdateGroupPolicyMetadata: Could not broadcast Tx: ' + e.message);
194
- }
195
- },
196
- async sendMsgLeaveGroup({ value, fee, memo }) {
210
+ async sendMsgExec({ value, fee, memo }) {
197
211
  if (!signer) {
198
- throw new Error('TxClient:sendMsgLeaveGroup: Unable to sign Tx. Signer is not present.');
212
+ throw new Error('TxClient:sendMsgExec: Unable to sign Tx. Signer is not present.');
199
213
  }
200
214
  try {
201
215
  const { address } = (await signer.getAccounts())[0];
202
216
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
203
- let msg = this.msgLeaveGroup({ value: MsgLeaveGroup.fromPartial(value) });
217
+ let msg = this.msgExec({ value: MsgExec.fromPartial(value) });
204
218
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
205
219
  }
206
220
  catch (e) {
207
- throw new Error('TxClient:sendMsgLeaveGroup: Could not broadcast Tx: ' + e.message);
221
+ throw new Error('TxClient:sendMsgExec: Could not broadcast Tx: ' + e.message);
208
222
  }
209
223
  },
210
224
  async sendMsgVote({ value, fee, memo }) {
@@ -221,32 +235,34 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
221
235
  throw new Error('TxClient:sendMsgVote: Could not broadcast Tx: ' + e.message);
222
236
  }
223
237
  },
224
- async sendMsgCreateGroupPolicy({ value, fee, memo }) {
238
+ async sendMsgLeaveGroup({ value, fee, memo }) {
225
239
  if (!signer) {
226
- throw new Error('TxClient:sendMsgCreateGroupPolicy: Unable to sign Tx. Signer is not present.');
240
+ throw new Error('TxClient:sendMsgLeaveGroup: Unable to sign Tx. Signer is not present.');
227
241
  }
228
242
  try {
229
243
  const { address } = (await signer.getAccounts())[0];
230
244
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
231
- let msg = this.msgCreateGroupPolicy({ value: MsgCreateGroupPolicy.fromPartial(value) });
245
+ let msg = this.msgLeaveGroup({ value: MsgLeaveGroup.fromPartial(value) });
232
246
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
233
247
  }
234
248
  catch (e) {
235
- throw new Error('TxClient:sendMsgCreateGroupPolicy: Could not broadcast Tx: ' + e.message);
249
+ throw new Error('TxClient:sendMsgLeaveGroup: Could not broadcast Tx: ' + e.message);
236
250
  }
237
251
  },
238
- async sendMsgExec({ value, fee, memo }) {
239
- if (!signer) {
240
- throw new Error('TxClient:sendMsgExec: Unable to sign Tx. Signer is not present.');
252
+ msgUpdateGroupMembers({ value }) {
253
+ try {
254
+ return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", value: MsgUpdateGroupMembers.fromPartial(value) };
241
255
  }
256
+ catch (e) {
257
+ throw new Error('TxClient:MsgUpdateGroupMembers: Could not create message: ' + e.message);
258
+ }
259
+ },
260
+ msgUpdateGroupPolicyAdmin({ value }) {
242
261
  try {
243
- const { address } = (await signer.getAccounts())[0];
244
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
245
- let msg = this.msgExec({ value: MsgExec.fromPartial(value) });
246
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
262
+ return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", value: MsgUpdateGroupPolicyAdmin.fromPartial(value) };
247
263
  }
248
264
  catch (e) {
249
- throw new Error('TxClient:sendMsgExec: Could not broadcast Tx: ' + e.message);
265
+ throw new Error('TxClient:MsgUpdateGroupPolicyAdmin: Could not create message: ' + e.message);
250
266
  }
251
267
  },
252
268
  msgUpdateGroupPolicyDecisionPolicy({ value }) {
@@ -257,36 +273,36 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
257
273
  throw new Error('TxClient:MsgUpdateGroupPolicyDecisionPolicy: Could not create message: ' + e.message);
258
274
  }
259
275
  },
260
- msgSubmitProposal({ value }) {
276
+ msgUpdateGroupPolicyMetadata({ value }) {
261
277
  try {
262
- return { typeUrl: "/cosmos.group.v1.MsgSubmitProposal", value: MsgSubmitProposal.fromPartial(value) };
278
+ return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", value: MsgUpdateGroupPolicyMetadata.fromPartial(value) };
263
279
  }
264
280
  catch (e) {
265
- throw new Error('TxClient:MsgSubmitProposal: Could not create message: ' + e.message);
281
+ throw new Error('TxClient:MsgUpdateGroupPolicyMetadata: Could not create message: ' + e.message);
266
282
  }
267
283
  },
268
- msgWithdrawProposal({ value }) {
284
+ msgCreateGroupPolicy({ value }) {
269
285
  try {
270
- return { typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", value: MsgWithdrawProposal.fromPartial(value) };
286
+ return { typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", value: MsgCreateGroupPolicy.fromPartial(value) };
271
287
  }
272
288
  catch (e) {
273
- throw new Error('TxClient:MsgWithdrawProposal: Could not create message: ' + e.message);
289
+ throw new Error('TxClient:MsgCreateGroupPolicy: Could not create message: ' + e.message);
274
290
  }
275
291
  },
276
- msgCreateGroup({ value }) {
292
+ msgSubmitProposal({ value }) {
277
293
  try {
278
- return { typeUrl: "/cosmos.group.v1.MsgCreateGroup", value: MsgCreateGroup.fromPartial(value) };
294
+ return { typeUrl: "/cosmos.group.v1.MsgSubmitProposal", value: MsgSubmitProposal.fromPartial(value) };
279
295
  }
280
296
  catch (e) {
281
- throw new Error('TxClient:MsgCreateGroup: Could not create message: ' + e.message);
297
+ throw new Error('TxClient:MsgSubmitProposal: Could not create message: ' + e.message);
282
298
  }
283
299
  },
284
- msgUpdateGroupPolicyAdmin({ value }) {
300
+ msgWithdrawProposal({ value }) {
285
301
  try {
286
- return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", value: MsgUpdateGroupPolicyAdmin.fromPartial(value) };
302
+ return { typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", value: MsgWithdrawProposal.fromPartial(value) };
287
303
  }
288
304
  catch (e) {
289
- throw new Error('TxClient:MsgUpdateGroupPolicyAdmin: Could not create message: ' + e.message);
305
+ throw new Error('TxClient:MsgWithdrawProposal: Could not create message: ' + e.message);
290
306
  }
291
307
  },
292
308
  msgCreateGroupWithPolicy({ value }) {
@@ -297,20 +313,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
297
313
  throw new Error('TxClient:MsgCreateGroupWithPolicy: Could not create message: ' + e.message);
298
314
  }
299
315
  },
300
- msgUpdateGroupMetadata({ value }) {
316
+ msgCreateGroup({ value }) {
301
317
  try {
302
- return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", value: MsgUpdateGroupMetadata.fromPartial(value) };
318
+ return { typeUrl: "/cosmos.group.v1.MsgCreateGroup", value: MsgCreateGroup.fromPartial(value) };
303
319
  }
304
320
  catch (e) {
305
- throw new Error('TxClient:MsgUpdateGroupMetadata: Could not create message: ' + e.message);
321
+ throw new Error('TxClient:MsgCreateGroup: Could not create message: ' + e.message);
306
322
  }
307
323
  },
308
- msgUpdateGroupMembers({ value }) {
324
+ msgUpdateGroupMetadata({ value }) {
309
325
  try {
310
- return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", value: MsgUpdateGroupMembers.fromPartial(value) };
326
+ return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", value: MsgUpdateGroupMetadata.fromPartial(value) };
311
327
  }
312
328
  catch (e) {
313
- throw new Error('TxClient:MsgUpdateGroupMembers: Could not create message: ' + e.message);
329
+ throw new Error('TxClient:MsgUpdateGroupMetadata: Could not create message: ' + e.message);
314
330
  }
315
331
  },
316
332
  msgUpdateGroupAdmin({ value }) {
@@ -321,20 +337,12 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
321
337
  throw new Error('TxClient:MsgUpdateGroupAdmin: Could not create message: ' + e.message);
322
338
  }
323
339
  },
324
- msgUpdateGroupPolicyMetadata({ value }) {
325
- try {
326
- return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", value: MsgUpdateGroupPolicyMetadata.fromPartial(value) };
327
- }
328
- catch (e) {
329
- throw new Error('TxClient:MsgUpdateGroupPolicyMetadata: Could not create message: ' + e.message);
330
- }
331
- },
332
- msgLeaveGroup({ value }) {
340
+ msgExec({ value }) {
333
341
  try {
334
- return { typeUrl: "/cosmos.group.v1.MsgLeaveGroup", value: MsgLeaveGroup.fromPartial(value) };
342
+ return { typeUrl: "/cosmos.group.v1.MsgExec", value: MsgExec.fromPartial(value) };
335
343
  }
336
344
  catch (e) {
337
- throw new Error('TxClient:MsgLeaveGroup: Could not create message: ' + e.message);
345
+ throw new Error('TxClient:MsgExec: Could not create message: ' + e.message);
338
346
  }
339
347
  },
340
348
  msgVote({ value }) {
@@ -345,20 +353,12 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
345
353
  throw new Error('TxClient:MsgVote: Could not create message: ' + e.message);
346
354
  }
347
355
  },
348
- msgCreateGroupPolicy({ value }) {
349
- try {
350
- return { typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", value: MsgCreateGroupPolicy.fromPartial(value) };
351
- }
352
- catch (e) {
353
- throw new Error('TxClient:MsgCreateGroupPolicy: Could not create message: ' + e.message);
354
- }
355
- },
356
- msgExec({ value }) {
356
+ msgLeaveGroup({ value }) {
357
357
  try {
358
- return { typeUrl: "/cosmos.group.v1.MsgExec", value: MsgExec.fromPartial(value) };
358
+ return { typeUrl: "/cosmos.group.v1.MsgLeaveGroup", value: MsgLeaveGroup.fromPartial(value) };
359
359
  }
360
360
  catch (e) {
361
- throw new Error('TxClient:MsgExec: Could not create message: ' + e.message);
361
+ throw new Error('TxClient:MsgLeaveGroup: Could not create message: ' + e.message);
362
362
  }
363
363
  },
364
364
  };
@@ -1,31 +1,31 @@
1
+ import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
2
+ import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
1
3
  import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
4
+ import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
5
+ import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
2
6
  import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
3
7
  import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
4
- import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
5
- import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
6
8
  import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
9
+ import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
7
10
  import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
8
- import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
9
11
  import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
10
- import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
11
- import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
12
- import { MsgVote } from "./types/cosmos/group/v1/tx";
13
- import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
14
12
  import { MsgExec } from "./types/cosmos/group/v1/tx";
13
+ import { MsgVote } from "./types/cosmos/group/v1/tx";
14
+ import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
15
15
  const msgTypes = [
16
+ ["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers],
17
+ ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin],
16
18
  ["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy],
19
+ ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata],
20
+ ["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy],
17
21
  ["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal],
18
22
  ["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal],
19
- ["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup],
20
- ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin],
21
23
  ["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy],
24
+ ["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup],
22
25
  ["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata],
23
- ["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers],
24
26
  ["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin],
25
- ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata],
26
- ["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup],
27
- ["/cosmos.group.v1.MsgVote", MsgVote],
28
- ["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy],
29
27
  ["/cosmos.group.v1.MsgExec", MsgExec],
28
+ ["/cosmos.group.v1.MsgVote", MsgVote],
29
+ ["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup],
30
30
  ];
31
31
  export { msgTypes };
@@ -226,6 +226,21 @@ export class Api extends HttpClient {
226
226
  format: "json",
227
227
  ...params,
228
228
  });
229
+ /**
230
+ * @description Since: cosmos-sdk 0.47.1
231
+ *
232
+ * @tags Query
233
+ * @name QueryGroups
234
+ * @summary Groups queries all groups in state.
235
+ * @request GET:/cosmos/group/v1/groups
236
+ */
237
+ this.queryGroups = (query, params = {}) => this.request({
238
+ path: `/cosmos/group/v1/groups`,
239
+ method: "GET",
240
+ query: query,
241
+ format: "json",
242
+ ...params,
243
+ });
229
244
  /**
230
245
  * No description
231
246
  *
@@ -1355,6 +1355,110 @@ export const QueryTallyResultResponse = {
1355
1355
  return message;
1356
1356
  },
1357
1357
  };
1358
+ function createBaseQueryGroupsRequest() {
1359
+ return { pagination: undefined };
1360
+ }
1361
+ export const QueryGroupsRequest = {
1362
+ encode(message, writer = _m0.Writer.create()) {
1363
+ if (message.pagination !== undefined) {
1364
+ PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
1365
+ }
1366
+ return writer;
1367
+ },
1368
+ decode(input, length) {
1369
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1370
+ let end = length === undefined ? reader.len : reader.pos + length;
1371
+ const message = createBaseQueryGroupsRequest();
1372
+ while (reader.pos < end) {
1373
+ const tag = reader.uint32();
1374
+ switch (tag >>> 3) {
1375
+ case 2:
1376
+ message.pagination = PageRequest.decode(reader, reader.uint32());
1377
+ break;
1378
+ default:
1379
+ reader.skipType(tag & 7);
1380
+ break;
1381
+ }
1382
+ }
1383
+ return message;
1384
+ },
1385
+ fromJSON(object) {
1386
+ return { pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined };
1387
+ },
1388
+ toJSON(message) {
1389
+ const obj = {};
1390
+ message.pagination !== undefined
1391
+ && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
1392
+ return obj;
1393
+ },
1394
+ fromPartial(object) {
1395
+ const message = createBaseQueryGroupsRequest();
1396
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
1397
+ ? PageRequest.fromPartial(object.pagination)
1398
+ : undefined;
1399
+ return message;
1400
+ },
1401
+ };
1402
+ function createBaseQueryGroupsResponse() {
1403
+ return { groups: [], pagination: undefined };
1404
+ }
1405
+ export const QueryGroupsResponse = {
1406
+ encode(message, writer = _m0.Writer.create()) {
1407
+ for (const v of message.groups) {
1408
+ GroupInfo.encode(v, writer.uint32(10).fork()).ldelim();
1409
+ }
1410
+ if (message.pagination !== undefined) {
1411
+ PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
1412
+ }
1413
+ return writer;
1414
+ },
1415
+ decode(input, length) {
1416
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1417
+ let end = length === undefined ? reader.len : reader.pos + length;
1418
+ const message = createBaseQueryGroupsResponse();
1419
+ while (reader.pos < end) {
1420
+ const tag = reader.uint32();
1421
+ switch (tag >>> 3) {
1422
+ case 1:
1423
+ message.groups.push(GroupInfo.decode(reader, reader.uint32()));
1424
+ break;
1425
+ case 2:
1426
+ message.pagination = PageResponse.decode(reader, reader.uint32());
1427
+ break;
1428
+ default:
1429
+ reader.skipType(tag & 7);
1430
+ break;
1431
+ }
1432
+ }
1433
+ return message;
1434
+ },
1435
+ fromJSON(object) {
1436
+ return {
1437
+ groups: Array.isArray(object?.groups) ? object.groups.map((e) => GroupInfo.fromJSON(e)) : [],
1438
+ pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
1439
+ };
1440
+ },
1441
+ toJSON(message) {
1442
+ const obj = {};
1443
+ if (message.groups) {
1444
+ obj.groups = message.groups.map((e) => e ? GroupInfo.toJSON(e) : undefined);
1445
+ }
1446
+ else {
1447
+ obj.groups = [];
1448
+ }
1449
+ message.pagination !== undefined
1450
+ && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
1451
+ return obj;
1452
+ },
1453
+ fromPartial(object) {
1454
+ const message = createBaseQueryGroupsResponse();
1455
+ message.groups = object.groups?.map((e) => GroupInfo.fromPartial(e)) || [];
1456
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
1457
+ ? PageResponse.fromPartial(object.pagination)
1458
+ : undefined;
1459
+ return message;
1460
+ },
1461
+ };
1358
1462
  export class QueryClientImpl {
1359
1463
  constructor(rpc) {
1360
1464
  this.rpc = rpc;
@@ -1371,6 +1475,7 @@ export class QueryClientImpl {
1371
1475
  this.VotesByVoter = this.VotesByVoter.bind(this);
1372
1476
  this.GroupsByMember = this.GroupsByMember.bind(this);
1373
1477
  this.TallyResult = this.TallyResult.bind(this);
1478
+ this.Groups = this.Groups.bind(this);
1374
1479
  }
1375
1480
  GroupInfo(request) {
1376
1481
  const data = QueryGroupInfoRequest.encode(request).finish();
@@ -1437,6 +1542,11 @@ export class QueryClientImpl {
1437
1542
  const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data);
1438
1543
  return promise.then((data) => QueryTallyResultResponse.decode(new _m0.Reader(data)));
1439
1544
  }
1545
+ Groups(request) {
1546
+ const data = QueryGroupsRequest.encode(request).finish();
1547
+ const promise = this.rpc.request("cosmos.group.v1.Query", "Groups", data);
1548
+ return promise.then((data) => QueryGroupsResponse.decode(new _m0.Reader(data)));
1549
+ }
1440
1550
  }
1441
1551
  var globalThis = (() => {
1442
1552
  if (typeof globalThis !== "undefined") {