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,12 +3,12 @@ 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 { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
7
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
6
+ import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
8
7
  import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
9
- import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
10
8
  import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
11
- import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
9
+ import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
10
+ import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
11
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
12
12
  import { StakeAuthorization as typeStakeAuthorization } from "./types";
13
13
  import { StakeAuthorization_Validators as typeStakeAuthorization_Validators } from "./types";
14
14
  import { LastValidatorPower as typeLastValidatorPower } from "./types";
@@ -32,7 +32,7 @@ import { DelegationResponse as typeDelegationResponse } from "./types";
32
32
  import { RedelegationEntryResponse as typeRedelegationEntryResponse } from "./types";
33
33
  import { RedelegationResponse as typeRedelegationResponse } from "./types";
34
34
  import { Pool as typePool } from "./types";
35
- export { MsgCreateValidator, MsgCancelUnbondingDelegation, MsgDelegate, MsgEditValidator, MsgBeginRedelegate, MsgUndelegate };
35
+ export { MsgUndelegate, MsgDelegate, MsgBeginRedelegate, MsgEditValidator, MsgCreateValidator, MsgCancelUnbondingDelegation };
36
36
  export const registry = new Registry(msgTypes);
37
37
  function getStructure(template) {
38
38
  const structure = { fields: [] };
@@ -48,46 +48,46 @@ const defaultFee = {
48
48
  };
49
49
  export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
50
50
  return {
51
- async sendMsgCreateValidator({ value, fee, memo }) {
51
+ async sendMsgUndelegate({ value, fee, memo }) {
52
52
  if (!signer) {
53
- throw new Error('TxClient:sendMsgCreateValidator: Unable to sign Tx. Signer is not present.');
53
+ throw new Error('TxClient:sendMsgUndelegate: Unable to sign Tx. Signer is not present.');
54
54
  }
55
55
  try {
56
56
  const { address } = (await signer.getAccounts())[0];
57
57
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
58
- let msg = this.msgCreateValidator({ value: MsgCreateValidator.fromPartial(value) });
58
+ let msg = this.msgUndelegate({ value: MsgUndelegate.fromPartial(value) });
59
59
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
60
60
  }
61
61
  catch (e) {
62
- throw new Error('TxClient:sendMsgCreateValidator: Could not broadcast Tx: ' + e.message);
62
+ throw new Error('TxClient:sendMsgUndelegate: Could not broadcast Tx: ' + e.message);
63
63
  }
64
64
  },
65
- async sendMsgCancelUnbondingDelegation({ value, fee, memo }) {
65
+ async sendMsgDelegate({ value, fee, memo }) {
66
66
  if (!signer) {
67
- throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.');
67
+ throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.');
68
68
  }
69
69
  try {
70
70
  const { address } = (await signer.getAccounts())[0];
71
71
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
72
- let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) });
72
+ let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) });
73
73
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
74
74
  }
75
75
  catch (e) {
76
- throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: ' + e.message);
76
+ throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: ' + e.message);
77
77
  }
78
78
  },
79
- async sendMsgDelegate({ value, fee, memo }) {
79
+ async sendMsgBeginRedelegate({ value, fee, memo }) {
80
80
  if (!signer) {
81
- throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.');
81
+ throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.');
82
82
  }
83
83
  try {
84
84
  const { address } = (await signer.getAccounts())[0];
85
85
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
86
- let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) });
86
+ let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) });
87
87
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
88
88
  }
89
89
  catch (e) {
90
- throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: ' + e.message);
90
+ throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: ' + e.message);
91
91
  }
92
92
  },
93
93
  async sendMsgEditValidator({ value, fee, memo }) {
@@ -104,56 +104,56 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
104
104
  throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: ' + e.message);
105
105
  }
106
106
  },
107
- async sendMsgBeginRedelegate({ value, fee, memo }) {
107
+ async sendMsgCreateValidator({ value, fee, memo }) {
108
108
  if (!signer) {
109
- throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.');
109
+ throw new Error('TxClient:sendMsgCreateValidator: Unable to sign Tx. Signer is not present.');
110
110
  }
111
111
  try {
112
112
  const { address } = (await signer.getAccounts())[0];
113
113
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
114
- let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) });
114
+ let msg = this.msgCreateValidator({ value: MsgCreateValidator.fromPartial(value) });
115
115
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
116
116
  }
117
117
  catch (e) {
118
- throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: ' + e.message);
118
+ throw new Error('TxClient:sendMsgCreateValidator: Could not broadcast Tx: ' + e.message);
119
119
  }
120
120
  },
121
- async sendMsgUndelegate({ value, fee, memo }) {
121
+ async sendMsgCancelUnbondingDelegation({ value, fee, memo }) {
122
122
  if (!signer) {
123
- throw new Error('TxClient:sendMsgUndelegate: Unable to sign Tx. Signer is not present.');
123
+ throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.');
124
124
  }
125
125
  try {
126
126
  const { address } = (await signer.getAccounts())[0];
127
127
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
128
- let msg = this.msgUndelegate({ value: MsgUndelegate.fromPartial(value) });
128
+ let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) });
129
129
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
130
130
  }
131
131
  catch (e) {
132
- throw new Error('TxClient:sendMsgUndelegate: Could not broadcast Tx: ' + e.message);
132
+ throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: ' + e.message);
133
133
  }
134
134
  },
135
- msgCreateValidator({ value }) {
135
+ msgUndelegate({ value }) {
136
136
  try {
137
- return { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", value: MsgCreateValidator.fromPartial(value) };
137
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", value: MsgUndelegate.fromPartial(value) };
138
138
  }
139
139
  catch (e) {
140
- throw new Error('TxClient:MsgCreateValidator: Could not create message: ' + e.message);
140
+ throw new Error('TxClient:MsgUndelegate: Could not create message: ' + e.message);
141
141
  }
142
142
  },
143
- msgCancelUnbondingDelegation({ value }) {
143
+ msgDelegate({ value }) {
144
144
  try {
145
- return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial(value) };
145
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial(value) };
146
146
  }
147
147
  catch (e) {
148
- throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message);
148
+ throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message);
149
149
  }
150
150
  },
151
- msgDelegate({ value }) {
151
+ msgBeginRedelegate({ value }) {
152
152
  try {
153
- return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial(value) };
153
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial(value) };
154
154
  }
155
155
  catch (e) {
156
- throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message);
156
+ throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message);
157
157
  }
158
158
  },
159
159
  msgEditValidator({ value }) {
@@ -164,20 +164,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
164
164
  throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message);
165
165
  }
166
166
  },
167
- msgBeginRedelegate({ value }) {
167
+ msgCreateValidator({ value }) {
168
168
  try {
169
- return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial(value) };
169
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", value: MsgCreateValidator.fromPartial(value) };
170
170
  }
171
171
  catch (e) {
172
- throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message);
172
+ throw new Error('TxClient:MsgCreateValidator: Could not create message: ' + e.message);
173
173
  }
174
174
  },
175
- msgUndelegate({ value }) {
175
+ msgCancelUnbondingDelegation({ value }) {
176
176
  try {
177
- return { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", value: MsgUndelegate.fromPartial(value) };
177
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial(value) };
178
178
  }
179
179
  catch (e) {
180
- throw new Error('TxClient:MsgUndelegate: Could not create message: ' + e.message);
180
+ throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message);
181
181
  }
182
182
  },
183
183
  };
@@ -1,15 +1,15 @@
1
- import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
2
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
1
+ import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
3
2
  import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
4
- import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
5
3
  import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
6
- import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
4
+ import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
5
+ import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
6
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
7
7
  const msgTypes = [
8
- ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
9
- ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
8
+ ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
10
9
  ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
11
- ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
12
10
  ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
13
- ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
11
+ ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
12
+ ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
13
+ ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
14
14
  ];
15
15
  export { msgTypes };
@@ -3,8 +3,8 @@ 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 { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
7
6
  import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
7
+ import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
8
8
  import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
9
9
  import { BaseVestingAccount as typeBaseVestingAccount } from "./types";
10
10
  import { ContinuousVestingAccount as typeContinuousVestingAccount } from "./types";
@@ -12,7 +12,7 @@ import { DelayedVestingAccount as typeDelayedVestingAccount } from "./types";
12
12
  import { Period as typePeriod } from "./types";
13
13
  import { PeriodicVestingAccount as typePeriodicVestingAccount } from "./types";
14
14
  import { PermanentLockedAccount as typePermanentLockedAccount } from "./types";
15
- export { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount };
15
+ export { MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount };
16
16
  export const registry = new Registry(msgTypes);
17
17
  function getStructure(template) {
18
18
  const structure = { fields: [] };
@@ -28,32 +28,32 @@ const defaultFee = {
28
28
  };
29
29
  export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
30
30
  return {
31
- async sendMsgCreateVestingAccount({ value, fee, memo }) {
31
+ async sendMsgCreatePermanentLockedAccount({ value, fee, memo }) {
32
32
  if (!signer) {
33
- throw new Error('TxClient:sendMsgCreateVestingAccount: Unable to sign Tx. Signer is not present.');
33
+ throw new Error('TxClient:sendMsgCreatePermanentLockedAccount: Unable to sign Tx. Signer is not present.');
34
34
  }
35
35
  try {
36
36
  const { address } = (await signer.getAccounts())[0];
37
37
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
38
- let msg = this.msgCreateVestingAccount({ value: MsgCreateVestingAccount.fromPartial(value) });
38
+ let msg = this.msgCreatePermanentLockedAccount({ value: MsgCreatePermanentLockedAccount.fromPartial(value) });
39
39
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
40
40
  }
41
41
  catch (e) {
42
- throw new Error('TxClient:sendMsgCreateVestingAccount: Could not broadcast Tx: ' + e.message);
42
+ throw new Error('TxClient:sendMsgCreatePermanentLockedAccount: Could not broadcast Tx: ' + e.message);
43
43
  }
44
44
  },
45
- async sendMsgCreatePermanentLockedAccount({ value, fee, memo }) {
45
+ async sendMsgCreateVestingAccount({ value, fee, memo }) {
46
46
  if (!signer) {
47
- throw new Error('TxClient:sendMsgCreatePermanentLockedAccount: Unable to sign Tx. Signer is not present.');
47
+ throw new Error('TxClient:sendMsgCreateVestingAccount: Unable to sign Tx. Signer is not present.');
48
48
  }
49
49
  try {
50
50
  const { address } = (await signer.getAccounts())[0];
51
51
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
52
- let msg = this.msgCreatePermanentLockedAccount({ value: MsgCreatePermanentLockedAccount.fromPartial(value) });
52
+ let msg = this.msgCreateVestingAccount({ value: MsgCreateVestingAccount.fromPartial(value) });
53
53
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
54
54
  }
55
55
  catch (e) {
56
- throw new Error('TxClient:sendMsgCreatePermanentLockedAccount: Could not broadcast Tx: ' + e.message);
56
+ throw new Error('TxClient:sendMsgCreateVestingAccount: Could not broadcast Tx: ' + e.message);
57
57
  }
58
58
  },
59
59
  async sendMsgCreatePeriodicVestingAccount({ value, fee, memo }) {
@@ -70,20 +70,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
70
70
  throw new Error('TxClient:sendMsgCreatePeriodicVestingAccount: Could not broadcast Tx: ' + e.message);
71
71
  }
72
72
  },
73
- msgCreateVestingAccount({ value }) {
73
+ msgCreatePermanentLockedAccount({ value }) {
74
74
  try {
75
- return { typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", value: MsgCreateVestingAccount.fromPartial(value) };
75
+ return { typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", value: MsgCreatePermanentLockedAccount.fromPartial(value) };
76
76
  }
77
77
  catch (e) {
78
- throw new Error('TxClient:MsgCreateVestingAccount: Could not create message: ' + e.message);
78
+ throw new Error('TxClient:MsgCreatePermanentLockedAccount: Could not create message: ' + e.message);
79
79
  }
80
80
  },
81
- msgCreatePermanentLockedAccount({ value }) {
81
+ msgCreateVestingAccount({ value }) {
82
82
  try {
83
- return { typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", value: MsgCreatePermanentLockedAccount.fromPartial(value) };
83
+ return { typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", value: MsgCreateVestingAccount.fromPartial(value) };
84
84
  }
85
85
  catch (e) {
86
- throw new Error('TxClient:MsgCreatePermanentLockedAccount: Could not create message: ' + e.message);
86
+ throw new Error('TxClient:MsgCreateVestingAccount: Could not create message: ' + e.message);
87
87
  }
88
88
  },
89
89
  msgCreatePeriodicVestingAccount({ value }) {
@@ -1,9 +1,9 @@
1
- import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
2
1
  import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
2
+ import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
3
3
  import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
4
4
  const msgTypes = [
5
- ["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount],
6
5
  ["/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", MsgCreatePermanentLockedAccount],
6
+ ["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount],
7
7
  ["/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", MsgCreatePeriodicVestingAccount],
8
8
  ];
9
9
  export { msgTypes };
@@ -8,6 +8,15 @@
8
8
  * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
9
9
  * ---------------------------------------------------------------
10
10
  */
11
+ /**
12
+ * - TYPE_UNSPECIFIED: Default zero value enumeration
13
+ - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain
14
+ */
15
+ export var InterchainAccountsv1Type;
16
+ (function (InterchainAccountsv1Type) {
17
+ InterchainAccountsv1Type["TYPE_UNSPECIFIED"] = "TYPE_UNSPECIFIED";
18
+ InterchainAccountsv1Type["TYPE_EXECUTE_TX"] = "TYPE_EXECUTE_TX";
19
+ })(InterchainAccountsv1Type || (InterchainAccountsv1Type = {}));
11
20
  import axios from "axios";
12
21
  export var ContentType;
13
22
  (function (ContentType) {
@@ -0,0 +1,266 @@
1
+ /* eslint-disable */
2
+ import Long from "long";
3
+ import _m0 from "protobufjs/minimal";
4
+ import { InterchainAccountPacketData } from "../../v1/packet";
5
+ export const protobufPackage = "ibc.applications.interchain_accounts.controller.v1";
6
+ function createBaseMsgRegisterInterchainAccount() {
7
+ return { owner: "", connectionId: "", version: "" };
8
+ }
9
+ export const MsgRegisterInterchainAccount = {
10
+ encode(message, writer = _m0.Writer.create()) {
11
+ if (message.owner !== "") {
12
+ writer.uint32(10).string(message.owner);
13
+ }
14
+ if (message.connectionId !== "") {
15
+ writer.uint32(18).string(message.connectionId);
16
+ }
17
+ if (message.version !== "") {
18
+ writer.uint32(26).string(message.version);
19
+ }
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBaseMsgRegisterInterchainAccount();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ case 1:
30
+ message.owner = reader.string();
31
+ break;
32
+ case 2:
33
+ message.connectionId = reader.string();
34
+ break;
35
+ case 3:
36
+ message.version = reader.string();
37
+ break;
38
+ default:
39
+ reader.skipType(tag & 7);
40
+ break;
41
+ }
42
+ }
43
+ return message;
44
+ },
45
+ fromJSON(object) {
46
+ return {
47
+ owner: isSet(object.owner) ? String(object.owner) : "",
48
+ connectionId: isSet(object.connectionId) ? String(object.connectionId) : "",
49
+ version: isSet(object.version) ? String(object.version) : "",
50
+ };
51
+ },
52
+ toJSON(message) {
53
+ const obj = {};
54
+ message.owner !== undefined && (obj.owner = message.owner);
55
+ message.connectionId !== undefined && (obj.connectionId = message.connectionId);
56
+ message.version !== undefined && (obj.version = message.version);
57
+ return obj;
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBaseMsgRegisterInterchainAccount();
61
+ message.owner = object.owner ?? "";
62
+ message.connectionId = object.connectionId ?? "";
63
+ message.version = object.version ?? "";
64
+ return message;
65
+ },
66
+ };
67
+ function createBaseMsgRegisterInterchainAccountResponse() {
68
+ return { channelId: "" };
69
+ }
70
+ export const MsgRegisterInterchainAccountResponse = {
71
+ encode(message, writer = _m0.Writer.create()) {
72
+ if (message.channelId !== "") {
73
+ writer.uint32(10).string(message.channelId);
74
+ }
75
+ return writer;
76
+ },
77
+ decode(input, length) {
78
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
79
+ let end = length === undefined ? reader.len : reader.pos + length;
80
+ const message = createBaseMsgRegisterInterchainAccountResponse();
81
+ while (reader.pos < end) {
82
+ const tag = reader.uint32();
83
+ switch (tag >>> 3) {
84
+ case 1:
85
+ message.channelId = reader.string();
86
+ break;
87
+ default:
88
+ reader.skipType(tag & 7);
89
+ break;
90
+ }
91
+ }
92
+ return message;
93
+ },
94
+ fromJSON(object) {
95
+ return { channelId: isSet(object.channelId) ? String(object.channelId) : "" };
96
+ },
97
+ toJSON(message) {
98
+ const obj = {};
99
+ message.channelId !== undefined && (obj.channelId = message.channelId);
100
+ return obj;
101
+ },
102
+ fromPartial(object) {
103
+ const message = createBaseMsgRegisterInterchainAccountResponse();
104
+ message.channelId = object.channelId ?? "";
105
+ return message;
106
+ },
107
+ };
108
+ function createBaseMsgSendTx() {
109
+ return { owner: "", connectionId: "", packetData: undefined, relativeTimeout: 0 };
110
+ }
111
+ export const MsgSendTx = {
112
+ encode(message, writer = _m0.Writer.create()) {
113
+ if (message.owner !== "") {
114
+ writer.uint32(10).string(message.owner);
115
+ }
116
+ if (message.connectionId !== "") {
117
+ writer.uint32(18).string(message.connectionId);
118
+ }
119
+ if (message.packetData !== undefined) {
120
+ InterchainAccountPacketData.encode(message.packetData, writer.uint32(26).fork()).ldelim();
121
+ }
122
+ if (message.relativeTimeout !== 0) {
123
+ writer.uint32(32).uint64(message.relativeTimeout);
124
+ }
125
+ return writer;
126
+ },
127
+ decode(input, length) {
128
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
129
+ let end = length === undefined ? reader.len : reader.pos + length;
130
+ const message = createBaseMsgSendTx();
131
+ while (reader.pos < end) {
132
+ const tag = reader.uint32();
133
+ switch (tag >>> 3) {
134
+ case 1:
135
+ message.owner = reader.string();
136
+ break;
137
+ case 2:
138
+ message.connectionId = reader.string();
139
+ break;
140
+ case 3:
141
+ message.packetData = InterchainAccountPacketData.decode(reader, reader.uint32());
142
+ break;
143
+ case 4:
144
+ message.relativeTimeout = longToNumber(reader.uint64());
145
+ break;
146
+ default:
147
+ reader.skipType(tag & 7);
148
+ break;
149
+ }
150
+ }
151
+ return message;
152
+ },
153
+ fromJSON(object) {
154
+ return {
155
+ owner: isSet(object.owner) ? String(object.owner) : "",
156
+ connectionId: isSet(object.connectionId) ? String(object.connectionId) : "",
157
+ packetData: isSet(object.packetData) ? InterchainAccountPacketData.fromJSON(object.packetData) : undefined,
158
+ relativeTimeout: isSet(object.relativeTimeout) ? Number(object.relativeTimeout) : 0,
159
+ };
160
+ },
161
+ toJSON(message) {
162
+ const obj = {};
163
+ message.owner !== undefined && (obj.owner = message.owner);
164
+ message.connectionId !== undefined && (obj.connectionId = message.connectionId);
165
+ message.packetData !== undefined
166
+ && (obj.packetData = message.packetData ? InterchainAccountPacketData.toJSON(message.packetData) : undefined);
167
+ message.relativeTimeout !== undefined && (obj.relativeTimeout = Math.round(message.relativeTimeout));
168
+ return obj;
169
+ },
170
+ fromPartial(object) {
171
+ const message = createBaseMsgSendTx();
172
+ message.owner = object.owner ?? "";
173
+ message.connectionId = object.connectionId ?? "";
174
+ message.packetData = (object.packetData !== undefined && object.packetData !== null)
175
+ ? InterchainAccountPacketData.fromPartial(object.packetData)
176
+ : undefined;
177
+ message.relativeTimeout = object.relativeTimeout ?? 0;
178
+ return message;
179
+ },
180
+ };
181
+ function createBaseMsgSendTxResponse() {
182
+ return { sequence: 0 };
183
+ }
184
+ export const MsgSendTxResponse = {
185
+ encode(message, writer = _m0.Writer.create()) {
186
+ if (message.sequence !== 0) {
187
+ writer.uint32(8).uint64(message.sequence);
188
+ }
189
+ return writer;
190
+ },
191
+ decode(input, length) {
192
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
193
+ let end = length === undefined ? reader.len : reader.pos + length;
194
+ const message = createBaseMsgSendTxResponse();
195
+ while (reader.pos < end) {
196
+ const tag = reader.uint32();
197
+ switch (tag >>> 3) {
198
+ case 1:
199
+ message.sequence = longToNumber(reader.uint64());
200
+ break;
201
+ default:
202
+ reader.skipType(tag & 7);
203
+ break;
204
+ }
205
+ }
206
+ return message;
207
+ },
208
+ fromJSON(object) {
209
+ return { sequence: isSet(object.sequence) ? Number(object.sequence) : 0 };
210
+ },
211
+ toJSON(message) {
212
+ const obj = {};
213
+ message.sequence !== undefined && (obj.sequence = Math.round(message.sequence));
214
+ return obj;
215
+ },
216
+ fromPartial(object) {
217
+ const message = createBaseMsgSendTxResponse();
218
+ message.sequence = object.sequence ?? 0;
219
+ return message;
220
+ },
221
+ };
222
+ export class MsgClientImpl {
223
+ constructor(rpc) {
224
+ this.rpc = rpc;
225
+ this.RegisterInterchainAccount = this.RegisterInterchainAccount.bind(this);
226
+ this.SendTx = this.SendTx.bind(this);
227
+ }
228
+ RegisterInterchainAccount(request) {
229
+ const data = MsgRegisterInterchainAccount.encode(request).finish();
230
+ const promise = this.rpc.request("ibc.applications.interchain_accounts.controller.v1.Msg", "RegisterInterchainAccount", data);
231
+ return promise.then((data) => MsgRegisterInterchainAccountResponse.decode(new _m0.Reader(data)));
232
+ }
233
+ SendTx(request) {
234
+ const data = MsgSendTx.encode(request).finish();
235
+ const promise = this.rpc.request("ibc.applications.interchain_accounts.controller.v1.Msg", "SendTx", data);
236
+ return promise.then((data) => MsgSendTxResponse.decode(new _m0.Reader(data)));
237
+ }
238
+ }
239
+ var globalThis = (() => {
240
+ if (typeof globalThis !== "undefined") {
241
+ return globalThis;
242
+ }
243
+ if (typeof self !== "undefined") {
244
+ return self;
245
+ }
246
+ if (typeof window !== "undefined") {
247
+ return window;
248
+ }
249
+ if (typeof global !== "undefined") {
250
+ return global;
251
+ }
252
+ throw "Unable to locate global object";
253
+ })();
254
+ function longToNumber(long) {
255
+ if (long.gt(Number.MAX_SAFE_INTEGER)) {
256
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
257
+ }
258
+ return long.toNumber();
259
+ }
260
+ if (_m0.util.Long !== Long) {
261
+ _m0.util.Long = Long;
262
+ _m0.configure();
263
+ }
264
+ function isSet(value) {
265
+ return value !== null && value !== undefined;
266
+ }