decentralcardgame-cardchain-client-ts 0.0.13 → 0.0.15

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 (314) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +357 -334
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +531 -498
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +77 -75
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +77 -75
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +31 -23
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +89 -62
  7. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.js +89 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.ts +95 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.js +11 -11
  10. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.ts +12 -12
  11. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.js +1 -1
  12. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.ts +1 -1
  13. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.js +58 -29
  14. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.ts +65 -33
  15. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.js +72 -66
  16. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.ts +99 -92
  17. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection.js → DecentralCardGame/cardchain/cardchain/set.js} +8 -8
  18. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection.ts → DecentralCardGame/cardchain/cardchain/set.ts} +20 -20
  19. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection_proposal.js → DecentralCardGame/cardchain/cardchain/set_proposal.js} +11 -11
  20. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection_proposal.ts → DecentralCardGame/cardchain/cardchain/set_proposal.ts} +18 -18
  21. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.js +362 -261
  22. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.ts +568 -466
  23. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.js +34 -8
  24. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.ts +36 -9
  25. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.js +2 -0
  26. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +2 -0
  27. package/DecentralCardGame.cardchain.cardchain/types.js +23 -23
  28. package/DecentralCardGame.cardchain.cardchain/types.ts +24 -24
  29. package/client.js +7 -7
  30. package/client.ts +10 -9
  31. package/cosmos.auth.v1beta1/module.js +2 -0
  32. package/cosmos.auth.v1beta1/module.ts +2 -0
  33. package/cosmos.auth.v1beta1/rest.js +18 -3
  34. package/cosmos.auth.v1beta1/rest.ts +113 -3
  35. package/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
  36. package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
  37. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
  38. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  39. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  40. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +104 -3
  41. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
  42. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
  43. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
  44. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  45. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  46. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
  47. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  48. package/cosmos.auth.v1beta1/types.js +2 -1
  49. package/cosmos.auth.v1beta1/types.ts +2 -0
  50. package/cosmos.authz.v1beta1/module.js +19 -19
  51. package/cosmos.authz.v1beta1/module.ts +29 -29
  52. package/cosmos.authz.v1beta1/registry.js +2 -2
  53. package/cosmos.authz.v1beta1/registry.ts +2 -2
  54. package/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
  55. package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
  56. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  57. package/cosmos.bank.v1beta1/module.js +16 -16
  58. package/cosmos.bank.v1beta1/module.ts +24 -24
  59. package/cosmos.bank.v1beta1/registry.js +2 -2
  60. package/cosmos.bank.v1beta1/registry.ts +2 -2
  61. package/cosmos.bank.v1beta1/rest.js +37 -6
  62. package/cosmos.bank.v1beta1/rest.ts +99 -6
  63. package/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
  64. package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
  65. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +18 -2
  66. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
  67. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
  68. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +18 -2
  69. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
  70. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +230 -1
  71. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
  72. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +206 -1
  73. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
  74. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
  75. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  76. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  77. package/cosmos.base.tendermint.v1beta1/rest.ts +18 -27
  78. package/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
  79. package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
  80. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
  81. package/cosmos.consensus.v1/index.js +5 -0
  82. package/cosmos.consensus.v1/index.ts +6 -0
  83. package/cosmos.consensus.v1/module.js +81 -0
  84. package/cosmos.consensus.v1/module.ts +129 -0
  85. package/cosmos.consensus.v1/registry.js +5 -0
  86. package/cosmos.consensus.v1/registry.ts +9 -0
  87. package/cosmos.consensus.v1/rest.js +100 -0
  88. package/cosmos.consensus.v1/rest.ts +268 -0
  89. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
  90. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
  91. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
  92. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
  93. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
  94. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
  95. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
  96. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
  97. package/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
  98. package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
  99. package/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
  100. package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
  101. package/cosmos.consensus.v1/types/google/api/http.js +260 -0
  102. package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
  103. package/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
  104. package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
  105. package/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
  106. package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
  107. package/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
  108. package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
  109. package/cosmos.consensus.v1/types.js +1 -0
  110. package/cosmos.consensus.v1/types.ts +5 -0
  111. package/cosmos.crisis.v1beta1/module.js +24 -1
  112. package/cosmos.crisis.v1beta1/module.ts +34 -1
  113. package/cosmos.crisis.v1beta1/registry.js +2 -0
  114. package/cosmos.crisis.v1beta1/registry.ts +2 -0
  115. package/cosmos.crisis.v1beta1/rest.ts +19 -0
  116. package/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
  117. package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
  118. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +95 -0
  119. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
  120. package/cosmos.distribution.v1beta1/module.js +67 -21
  121. package/cosmos.distribution.v1beta1/module.ts +100 -34
  122. package/cosmos.distribution.v1beta1/registry.js +8 -4
  123. package/cosmos.distribution.v1beta1/registry.ts +8 -4
  124. package/cosmos.distribution.v1beta1/rest.js +14 -0
  125. package/cosmos.distribution.v1beta1/rest.ts +66 -7
  126. package/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
  127. package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
  128. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
  129. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  130. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +120 -0
  131. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
  132. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +199 -0
  133. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
  134. package/cosmos.evidence.v1beta1/rest.js +4 -3
  135. package/cosmos.evidence.v1beta1/rest.ts +4 -3
  136. package/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
  137. package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
  138. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
  139. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +13 -2
  140. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
  141. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
  142. package/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
  143. package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
  144. package/cosmos.gov.v1/module.js +46 -21
  145. package/cosmos.gov.v1/module.ts +68 -33
  146. package/cosmos.gov.v1/registry.js +6 -4
  147. package/cosmos.gov.v1/registry.ts +6 -4
  148. package/cosmos.gov.v1/rest.ts +155 -41
  149. package/cosmos.gov.v1/types/amino/amino.js +2 -0
  150. package/cosmos.gov.v1/types/amino/amino.ts +2 -0
  151. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +13 -1
  152. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
  153. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +179 -0
  154. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
  155. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +13 -2
  156. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
  157. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +113 -2
  158. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
  159. package/cosmos.gov.v1/types.js +2 -1
  160. package/cosmos.gov.v1/types.ts +2 -0
  161. package/cosmos.gov.v1beta1/module.js +24 -24
  162. package/cosmos.gov.v1beta1/module.ts +36 -36
  163. package/cosmos.gov.v1beta1/registry.js +4 -4
  164. package/cosmos.gov.v1beta1/registry.ts +4 -4
  165. package/cosmos.gov.v1beta1/rest.ts +65 -96
  166. package/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
  167. package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
  168. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  169. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
  170. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
  171. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
  172. package/cosmos.group.v1/module.js +92 -92
  173. package/cosmos.group.v1/module.ts +138 -138
  174. package/cosmos.group.v1/registry.js +16 -16
  175. package/cosmos.group.v1/registry.ts +16 -16
  176. package/cosmos.group.v1/rest.js +3 -3
  177. package/cosmos.group.v1/rest.ts +29 -9
  178. package/cosmos.group.v1/types/amino/amino.js +2 -0
  179. package/cosmos.group.v1/types/amino/amino.ts +2 -0
  180. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  181. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +52 -34
  182. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
  183. package/cosmos.group.v1/types/cosmos/group/v1/types.js +20 -0
  184. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
  185. package/cosmos.mint.v1beta1/rest.ts +9 -1
  186. package/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
  187. package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
  188. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  189. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  190. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
  191. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
  192. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  193. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  194. package/cosmos.nft.v1beta1/rest.ts +18 -22
  195. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
  196. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
  197. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
  198. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  199. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  200. package/cosmos.params.v1beta1/types/amino/amino.js +2 -0
  201. package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
  202. package/cosmos.slashing.v1beta1/rest.ts +8 -0
  203. package/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
  204. package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
  205. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  206. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +94 -0
  207. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
  208. package/cosmos.staking.v1beta1/module.js +41 -39
  209. package/cosmos.staking.v1beta1/module.ts +61 -59
  210. package/cosmos.staking.v1beta1/registry.js +6 -6
  211. package/cosmos.staking.v1beta1/registry.ts +6 -6
  212. package/cosmos.staking.v1beta1/rest.js +7 -7
  213. package/cosmos.staking.v1beta1/rest.ts +49 -8
  214. package/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
  215. package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
  216. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
  217. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  218. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  219. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
  220. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +180 -2
  221. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
  222. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +94 -1
  223. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
  224. package/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
  225. package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
  226. package/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
  227. package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
  228. package/cosmos.staking.v1beta1/types.js +2 -1
  229. package/cosmos.staking.v1beta1/types.ts +2 -0
  230. package/cosmos.tx.v1beta1/rest.js +66 -2
  231. package/cosmos.tx.v1beta1/rest.ts +177 -16
  232. package/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
  233. package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
  234. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +360 -2
  235. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
  236. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +592 -266
  237. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +703 -332
  238. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +8 -17
  239. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
  240. package/cosmos.upgrade.v1beta1/rest.ts +0 -1
  241. package/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
  242. package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
  243. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  244. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  245. package/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
  246. package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
  247. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
  248. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  249. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
  250. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +13 -2
  251. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
  252. package/ibc.applications.transfer.v1/module.js +5 -27
  253. package/ibc.applications.transfer.v1/module.ts +5 -34
  254. package/ibc.applications.transfer.v1/registry.js +1 -4
  255. package/ibc.applications.transfer.v1/registry.ts +0 -2
  256. package/ibc.applications.transfer.v1/rest.js +15 -1
  257. package/ibc.applications.transfer.v1/rest.ts +30 -1
  258. package/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
  259. package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
  260. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  261. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
  262. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
  263. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +16 -1
  264. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
  265. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +91 -0
  266. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
  267. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
  268. package/ibc.applications.transfer.v1/types.js +3 -1
  269. package/ibc.applications.transfer.v1/types.ts +4 -0
  270. package/ibc.core.channel.v1/rest.ts +1 -0
  271. package/ibc.core.channel.v1/types/amino/amino.js +2 -0
  272. package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
  273. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  274. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +13 -2
  275. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
  276. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
  277. package/ibc.core.client.v1/rest.ts +5 -1
  278. package/ibc.core.client.v1/types/amino/amino.js +2 -0
  279. package/ibc.core.client.v1/types/amino/amino.ts +2 -0
  280. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  281. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
  282. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +9 -8
  283. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
  284. package/ibc.core.connection.v1/types/amino/amino.js +2 -0
  285. package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
  286. package/ibc.core.connection.v1/types/{proofs.js → cosmos/ics23/v1/proofs.js} +1 -1
  287. package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
  288. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  289. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
  290. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  291. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  292. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +26 -0
  293. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
  294. package/index.js +3 -1
  295. package/index.ts +3 -1
  296. package/package.json +5 -6
  297. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.js +0 -0
  298. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.ts +0 -0
  299. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.js +0 -0
  300. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.ts +0 -0
  301. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.js +0 -0
  302. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.ts +0 -0
  303. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.js +0 -0
  304. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.ts +0 -0
  305. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.js +0 -0
  306. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.ts +0 -0
  307. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.js +0 -0
  308. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.ts +0 -0
  309. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.js +0 -0
  310. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.ts +0 -0
  311. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.js +0 -0
  312. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.ts +0 -0
  313. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/voteing.js → DecentralCardGame/cardchain/cardchain/voting.js} +0 -0
  314. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/voteing.ts → DecentralCardGame/cardchain/cardchain/voting.ts} +0 -0
@@ -7,9 +7,9 @@ import { msgTypes } from './registry';
7
7
  import { IgniteClient } from "../client"
8
8
  import { MissingWalletError } from "../helpers"
9
9
  import { Api } from "./rest";
10
- import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
11
10
  import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
12
11
  import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
12
+ import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
13
13
 
14
14
  import { GenericAuthorization as typeGenericAuthorization} from "./types"
15
15
  import { Grant as typeGrant} from "./types"
@@ -18,13 +18,7 @@ import { GrantQueueItem as typeGrantQueueItem} from "./types"
18
18
  import { EventGrant as typeEventGrant} from "./types"
19
19
  import { EventRevoke as typeEventRevoke} from "./types"
20
20
 
21
- export { MsgGrant, MsgExec, MsgRevoke };
22
-
23
- type sendMsgGrantParams = {
24
- value: MsgGrant,
25
- fee?: StdFee,
26
- memo?: string
27
- };
21
+ export { MsgExec, MsgRevoke, MsgGrant };
28
22
 
29
23
  type sendMsgExecParams = {
30
24
  value: MsgExec,
@@ -38,11 +32,13 @@ type sendMsgRevokeParams = {
38
32
  memo?: string
39
33
  };
40
34
 
41
-
42
- type msgGrantParams = {
35
+ type sendMsgGrantParams = {
43
36
  value: MsgGrant,
37
+ fee?: StdFee,
38
+ memo?: string
44
39
  };
45
40
 
41
+
46
42
  type msgExecParams = {
47
43
  value: MsgExec,
48
44
  };
@@ -51,6 +47,10 @@ type msgRevokeParams = {
51
47
  value: MsgRevoke,
52
48
  };
53
49
 
50
+ type msgGrantParams = {
51
+ value: MsgGrant,
52
+ };
53
+
54
54
 
55
55
  export const registry = new Registry(msgTypes);
56
56
 
@@ -81,20 +81,6 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
81
81
 
82
82
  return {
83
83
 
84
- async sendMsgGrant({ value, fee, memo }: sendMsgGrantParams): Promise<DeliverTxResponse> {
85
- if (!signer) {
86
- throw new Error('TxClient:sendMsgGrant: Unable to sign Tx. Signer is not present.')
87
- }
88
- try {
89
- const { address } = (await signer.getAccounts())[0];
90
- const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
91
- let msg = this.msgGrant({ value: MsgGrant.fromPartial(value) })
92
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
93
- } catch (e: any) {
94
- throw new Error('TxClient:sendMsgGrant: Could not broadcast Tx: '+ e.message)
95
- }
96
- },
97
-
98
84
  async sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse> {
99
85
  if (!signer) {
100
86
  throw new Error('TxClient:sendMsgExec: Unable to sign Tx. Signer is not present.')
@@ -123,15 +109,21 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
123
109
  }
124
110
  },
125
111
 
126
-
127
- msgGrant({ value }: msgGrantParams): EncodeObject {
128
- try {
129
- return { typeUrl: "/cosmos.authz.v1beta1.MsgGrant", value: MsgGrant.fromPartial( value ) }
112
+ async sendMsgGrant({ value, fee, memo }: sendMsgGrantParams): Promise<DeliverTxResponse> {
113
+ if (!signer) {
114
+ throw new Error('TxClient:sendMsgGrant: Unable to sign Tx. Signer is not present.')
115
+ }
116
+ try {
117
+ const { address } = (await signer.getAccounts())[0];
118
+ const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
119
+ let msg = this.msgGrant({ value: MsgGrant.fromPartial(value) })
120
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
130
121
  } catch (e: any) {
131
- throw new Error('TxClient:MsgGrant: Could not create message: ' + e.message)
122
+ throw new Error('TxClient:sendMsgGrant: Could not broadcast Tx: '+ e.message)
132
123
  }
133
124
  },
134
125
 
126
+
135
127
  msgExec({ value }: msgExecParams): EncodeObject {
136
128
  try {
137
129
  return { typeUrl: "/cosmos.authz.v1beta1.MsgExec", value: MsgExec.fromPartial( value ) }
@@ -148,6 +140,14 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
148
140
  }
149
141
  },
150
142
 
143
+ msgGrant({ value }: msgGrantParams): EncodeObject {
144
+ try {
145
+ return { typeUrl: "/cosmos.authz.v1beta1.MsgGrant", value: MsgGrant.fromPartial( value ) }
146
+ } catch (e: any) {
147
+ throw new Error('TxClient:MsgGrant: Could not create message: ' + e.message)
148
+ }
149
+ },
150
+
151
151
  }
152
152
  };
153
153
 
@@ -1,9 +1,9 @@
1
- import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
2
1
  import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
3
2
  import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
3
+ import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
4
4
  const msgTypes = [
5
- ["/cosmos.authz.v1beta1.MsgGrant", MsgGrant],
6
5
  ["/cosmos.authz.v1beta1.MsgExec", MsgExec],
7
6
  ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke],
7
+ ["/cosmos.authz.v1beta1.MsgGrant", MsgGrant],
8
8
  ];
9
9
  export { msgTypes };
@@ -1,12 +1,12 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
- import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
3
2
  import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
4
3
  import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
4
+ import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
5
5
 
6
6
  const msgTypes: Array<[string, GeneratedType]> = [
7
- ["/cosmos.authz.v1beta1.MsgGrant", MsgGrant],
8
7
  ["/cosmos.authz.v1beta1.MsgExec", MsgExec],
9
8
  ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke],
9
+ ["/cosmos.authz.v1beta1.MsgGrant", MsgGrant],
10
10
 
11
11
  ];
12
12
 
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ export const protobufPackage = "amino";
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ export const protobufPackage = "amino";
@@ -30,7 +30,7 @@ export interface MsgExecResponse {
30
30
  export interface MsgExec {
31
31
  grantee: string;
32
32
  /**
33
- * Authorization Msg requests to execute. Each msg must implement Authorization interface
33
+ * Execute Msg.
34
34
  * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))
35
35
  * triple and validate it.
36
36
  */
@@ -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 { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
7
6
  import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
7
+ import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
8
8
  import { SendAuthorization as typeSendAuthorization } from "./types";
9
9
  import { Params as typeParams } from "./types";
10
10
  import { SendEnabled as typeSendEnabled } from "./types";
@@ -15,7 +15,7 @@ import { DenomUnit as typeDenomUnit } from "./types";
15
15
  import { Metadata as typeMetadata } from "./types";
16
16
  import { Balance as typeBalance } from "./types";
17
17
  import { DenomOwner as typeDenomOwner } from "./types";
18
- export { MsgMultiSend, MsgSend };
18
+ export { MsgSend, MsgMultiSend };
19
19
  export const registry = new Registry(msgTypes);
20
20
  function getStructure(template) {
21
21
  const structure = { fields: [] };
@@ -31,48 +31,48 @@ const defaultFee = {
31
31
  };
32
32
  export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
33
33
  return {
34
- async sendMsgMultiSend({ value, fee, memo }) {
34
+ async sendMsgSend({ value, fee, memo }) {
35
35
  if (!signer) {
36
- throw new Error('TxClient:sendMsgMultiSend: Unable to sign Tx. Signer is not present.');
36
+ throw new Error('TxClient:sendMsgSend: Unable to sign Tx. Signer is not present.');
37
37
  }
38
38
  try {
39
39
  const { address } = (await signer.getAccounts())[0];
40
40
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
41
- let msg = this.msgMultiSend({ value: MsgMultiSend.fromPartial(value) });
41
+ let msg = this.msgSend({ value: MsgSend.fromPartial(value) });
42
42
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
43
43
  }
44
44
  catch (e) {
45
- throw new Error('TxClient:sendMsgMultiSend: Could not broadcast Tx: ' + e.message);
45
+ throw new Error('TxClient:sendMsgSend: Could not broadcast Tx: ' + e.message);
46
46
  }
47
47
  },
48
- async sendMsgSend({ value, fee, memo }) {
48
+ async sendMsgMultiSend({ value, fee, memo }) {
49
49
  if (!signer) {
50
- throw new Error('TxClient:sendMsgSend: Unable to sign Tx. Signer is not present.');
50
+ throw new Error('TxClient:sendMsgMultiSend: Unable to sign Tx. Signer is not present.');
51
51
  }
52
52
  try {
53
53
  const { address } = (await signer.getAccounts())[0];
54
54
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
55
- let msg = this.msgSend({ value: MsgSend.fromPartial(value) });
55
+ let msg = this.msgMultiSend({ value: MsgMultiSend.fromPartial(value) });
56
56
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
57
57
  }
58
58
  catch (e) {
59
- throw new Error('TxClient:sendMsgSend: Could not broadcast Tx: ' + e.message);
59
+ throw new Error('TxClient:sendMsgMultiSend: Could not broadcast Tx: ' + e.message);
60
60
  }
61
61
  },
62
- msgMultiSend({ value }) {
62
+ msgSend({ value }) {
63
63
  try {
64
- return { typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", value: MsgMultiSend.fromPartial(value) };
64
+ return { typeUrl: "/cosmos.bank.v1beta1.MsgSend", value: MsgSend.fromPartial(value) };
65
65
  }
66
66
  catch (e) {
67
- throw new Error('TxClient:MsgMultiSend: Could not create message: ' + e.message);
67
+ throw new Error('TxClient:MsgSend: Could not create message: ' + e.message);
68
68
  }
69
69
  },
70
- msgSend({ value }) {
70
+ msgMultiSend({ value }) {
71
71
  try {
72
- return { typeUrl: "/cosmos.bank.v1beta1.MsgSend", value: MsgSend.fromPartial(value) };
72
+ return { typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", value: MsgMultiSend.fromPartial(value) };
73
73
  }
74
74
  catch (e) {
75
- throw new Error('TxClient:MsgSend: Could not create message: ' + e.message);
75
+ throw new Error('TxClient:MsgMultiSend: Could not create message: ' + e.message);
76
76
  }
77
77
  },
78
78
  };
@@ -7,8 +7,8 @@ import { msgTypes } from './registry';
7
7
  import { IgniteClient } from "../client"
8
8
  import { MissingWalletError } from "../helpers"
9
9
  import { Api } from "./rest";
10
- import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
11
10
  import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
11
+ import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
12
12
 
13
13
  import { SendAuthorization as typeSendAuthorization} from "./types"
14
14
  import { Params as typeParams} from "./types"
@@ -21,13 +21,7 @@ import { Metadata as typeMetadata} from "./types"
21
21
  import { Balance as typeBalance} from "./types"
22
22
  import { DenomOwner as typeDenomOwner} from "./types"
23
23
 
24
- export { MsgMultiSend, MsgSend };
25
-
26
- type sendMsgMultiSendParams = {
27
- value: MsgMultiSend,
28
- fee?: StdFee,
29
- memo?: string
30
- };
24
+ export { MsgSend, MsgMultiSend };
31
25
 
32
26
  type sendMsgSendParams = {
33
27
  value: MsgSend,
@@ -35,15 +29,21 @@ type sendMsgSendParams = {
35
29
  memo?: string
36
30
  };
37
31
 
38
-
39
- type msgMultiSendParams = {
32
+ type sendMsgMultiSendParams = {
40
33
  value: MsgMultiSend,
34
+ fee?: StdFee,
35
+ memo?: string
41
36
  };
42
37
 
38
+
43
39
  type msgSendParams = {
44
40
  value: MsgSend,
45
41
  };
46
42
 
43
+ type msgMultiSendParams = {
44
+ value: MsgMultiSend,
45
+ };
46
+
47
47
 
48
48
  export const registry = new Registry(msgTypes);
49
49
 
@@ -74,48 +74,48 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
74
74
 
75
75
  return {
76
76
 
77
- async sendMsgMultiSend({ value, fee, memo }: sendMsgMultiSendParams): Promise<DeliverTxResponse> {
77
+ async sendMsgSend({ value, fee, memo }: sendMsgSendParams): Promise<DeliverTxResponse> {
78
78
  if (!signer) {
79
- throw new Error('TxClient:sendMsgMultiSend: Unable to sign Tx. Signer is not present.')
79
+ throw new Error('TxClient:sendMsgSend: Unable to sign Tx. Signer is not present.')
80
80
  }
81
81
  try {
82
82
  const { address } = (await signer.getAccounts())[0];
83
83
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
84
- let msg = this.msgMultiSend({ value: MsgMultiSend.fromPartial(value) })
84
+ let msg = this.msgSend({ value: MsgSend.fromPartial(value) })
85
85
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
86
86
  } catch (e: any) {
87
- throw new Error('TxClient:sendMsgMultiSend: Could not broadcast Tx: '+ e.message)
87
+ throw new Error('TxClient:sendMsgSend: Could not broadcast Tx: '+ e.message)
88
88
  }
89
89
  },
90
90
 
91
- async sendMsgSend({ value, fee, memo }: sendMsgSendParams): Promise<DeliverTxResponse> {
91
+ async sendMsgMultiSend({ value, fee, memo }: sendMsgMultiSendParams): Promise<DeliverTxResponse> {
92
92
  if (!signer) {
93
- throw new Error('TxClient:sendMsgSend: Unable to sign Tx. Signer is not present.')
93
+ throw new Error('TxClient:sendMsgMultiSend: Unable to sign Tx. Signer is not present.')
94
94
  }
95
95
  try {
96
96
  const { address } = (await signer.getAccounts())[0];
97
97
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
98
- let msg = this.msgSend({ value: MsgSend.fromPartial(value) })
98
+ let msg = this.msgMultiSend({ value: MsgMultiSend.fromPartial(value) })
99
99
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
100
100
  } catch (e: any) {
101
- throw new Error('TxClient:sendMsgSend: Could not broadcast Tx: '+ e.message)
101
+ throw new Error('TxClient:sendMsgMultiSend: Could not broadcast Tx: '+ e.message)
102
102
  }
103
103
  },
104
104
 
105
105
 
106
- msgMultiSend({ value }: msgMultiSendParams): EncodeObject {
106
+ msgSend({ value }: msgSendParams): EncodeObject {
107
107
  try {
108
- return { typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", value: MsgMultiSend.fromPartial( value ) }
108
+ return { typeUrl: "/cosmos.bank.v1beta1.MsgSend", value: MsgSend.fromPartial( value ) }
109
109
  } catch (e: any) {
110
- throw new Error('TxClient:MsgMultiSend: Could not create message: ' + e.message)
110
+ throw new Error('TxClient:MsgSend: Could not create message: ' + e.message)
111
111
  }
112
112
  },
113
113
 
114
- msgSend({ value }: msgSendParams): EncodeObject {
114
+ msgMultiSend({ value }: msgMultiSendParams): EncodeObject {
115
115
  try {
116
- return { typeUrl: "/cosmos.bank.v1beta1.MsgSend", value: MsgSend.fromPartial( value ) }
116
+ return { typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", value: MsgMultiSend.fromPartial( value ) }
117
117
  } catch (e: any) {
118
- throw new Error('TxClient:MsgSend: Could not create message: ' + e.message)
118
+ throw new Error('TxClient:MsgMultiSend: Could not create message: ' + e.message)
119
119
  }
120
120
  },
121
121
 
@@ -1,7 +1,7 @@
1
- import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
2
1
  import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
2
+ import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
3
3
  const msgTypes = [
4
- ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend],
5
4
  ["/cosmos.bank.v1beta1.MsgSend", MsgSend],
5
+ ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend],
6
6
  ];
7
7
  export { msgTypes };
@@ -1,10 +1,10 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
- import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
3
2
  import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
3
+ import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
4
4
 
5
5
  const msgTypes: Array<[string, GeneratedType]> = [
6
- ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend],
7
6
  ["/cosmos.bank.v1beta1.MsgSend", MsgSend],
7
+ ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend],
8
8
 
9
9
  ];
10
10
 
@@ -83,7 +83,7 @@ export class Api extends HttpClient {
83
83
  constructor() {
84
84
  super(...arguments);
85
85
  /**
86
- * No description
86
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
87
87
  *
88
88
  * @tags Query
89
89
  * @name QueryAllBalances
@@ -113,7 +113,7 @@ export class Api extends HttpClient {
113
113
  ...params,
114
114
  });
115
115
  /**
116
- * @description Since: cosmos-sdk 0.46
116
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.46
117
117
  *
118
118
  * @tags Query
119
119
  * @name QueryDenomOwners
@@ -173,11 +173,26 @@ export class Api extends HttpClient {
173
173
  ...params,
174
174
  });
175
175
  /**
176
- * @description Since: cosmos-sdk 0.46
176
+ * @description This query only returns denominations that have specific SendEnabled settings. Any denomination that does not have a specific setting will use the default params.default_send_enabled, and will not be returned by this query. Since: cosmos-sdk 0.47
177
+ *
178
+ * @tags Query
179
+ * @name QuerySendEnabled
180
+ * @summary SendEnabled queries for SendEnabled entries.
181
+ * @request GET:/cosmos/bank/v1beta1/send_enabled
182
+ */
183
+ this.querySendEnabled = (query, params = {}) => this.request({
184
+ path: `/cosmos/bank/v1beta1/send_enabled`,
185
+ method: "GET",
186
+ query: query,
187
+ format: "json",
188
+ ...params,
189
+ });
190
+ /**
191
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.46
177
192
  *
178
193
  * @tags Query
179
194
  * @name QuerySpendableBalances
180
- * @summary SpendableBalances queries the spenable balance of all coins for a single
195
+ * @summary SpendableBalances queries the spendable balance of all coins for a single
181
196
  account.
182
197
  * @request GET:/cosmos/bank/v1beta1/spendable_balances/{address}
183
198
  */
@@ -189,7 +204,23 @@ export class Api extends HttpClient {
189
204
  ...params,
190
205
  });
191
206
  /**
192
- * No description
207
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.47
208
+ *
209
+ * @tags Query
210
+ * @name QuerySpendableBalanceByDenom
211
+ * @summary SpendableBalanceByDenom queries the spendable balance of a single denom for
212
+ a single account.
213
+ * @request GET:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom
214
+ */
215
+ this.querySpendableBalanceByDenom = (address, query, params = {}) => this.request({
216
+ path: `/cosmos/bank/v1beta1/spendable_balances/${address}/by_denom`,
217
+ method: "GET",
218
+ query: query,
219
+ format: "json",
220
+ ...params,
221
+ });
222
+ /**
223
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
193
224
  *
194
225
  * @tags Query
195
226
  * @name QueryTotalSupply
@@ -204,7 +235,7 @@ export class Api extends HttpClient {
204
235
  ...params,
205
236
  });
206
237
  /**
207
- * No description
238
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
208
239
  *
209
240
  * @tags Query
210
241
  * @name QuerySupplyOf
@@ -135,6 +135,21 @@ export type V1Beta1MsgMultiSendResponse = object;
135
135
  */
136
136
  export type V1Beta1MsgSendResponse = object;
137
137
 
138
+ /**
139
+ * MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.
140
+
141
+ Since: cosmos-sdk 0.47
142
+ */
143
+ export type V1Beta1MsgSetSendEnabledResponse = object;
144
+
145
+ /**
146
+ * MsgUpdateParamsResponse defines the response structure for executing a
147
+ MsgUpdateParams message.
148
+
149
+ Since: cosmos-sdk 0.47
150
+ */
151
+ export type V1Beta1MsgUpdateParamsResponse = object;
152
+
138
153
  /**
139
154
  * Output models transaction outputs.
140
155
  */
@@ -219,6 +234,13 @@ export interface V1Beta1PageResponse {
219
234
  * Params defines the parameters for the bank module.
220
235
  */
221
236
  export interface V1Beta1Params {
237
+ /**
238
+ * Deprecated: Use of SendEnabled in params is deprecated.
239
+ * For genesis, use the newly added send_enabled field in the genesis object.
240
+ * Storage, lookup, and manipulation of this information is now in the keeper.
241
+ *
242
+ * As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.
243
+ */
222
244
  send_enabled?: V1Beta1SendEnabled[];
223
245
  default_send_enabled?: boolean;
224
246
  }
@@ -284,6 +306,32 @@ export interface V1Beta1QueryParamsResponse {
284
306
  params?: V1Beta1Params;
285
307
  }
286
308
 
309
+ /**
310
+ * QuerySendEnabledResponse defines the RPC response of a SendEnable query.
311
+
312
+ Since: cosmos-sdk 0.47
313
+ */
314
+ export interface V1Beta1QuerySendEnabledResponse {
315
+ send_enabled?: V1Beta1SendEnabled[];
316
+
317
+ /**
318
+ * pagination defines the pagination in the response. This field is only
319
+ * populated if the denoms field in the request is empty.
320
+ */
321
+ pagination?: V1Beta1PageResponse;
322
+ }
323
+
324
+ /**
325
+ * QuerySpendableBalanceByDenomResponse defines the gRPC response structure for
326
+ querying an account's spendable balance for a specific denom.
327
+
328
+ Since: cosmos-sdk 0.47
329
+ */
330
+ export interface V1Beta1QuerySpendableBalanceByDenomResponse {
331
+ /** balance is the balance of the coin. */
332
+ balance?: V1Beta1Coin;
333
+ }
334
+
287
335
  /**
288
336
  * QuerySpendableBalancesResponse defines the gRPC response structure for querying
289
337
  an account's spendable balances.
@@ -453,7 +501,7 @@ export class HttpClient<SecurityDataType = unknown> {
453
501
  */
454
502
  export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
455
503
  /**
456
- * No description
504
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
457
505
  *
458
506
  * @tags Query
459
507
  * @name QueryAllBalances
@@ -497,7 +545,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
497
545
  });
498
546
 
499
547
  /**
500
- * @description Since: cosmos-sdk 0.46
548
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.46
501
549
  *
502
550
  * @tags Query
503
551
  * @name QueryDenomOwners
@@ -584,11 +632,38 @@ denominations.
584
632
  });
585
633
 
586
634
  /**
587
- * @description Since: cosmos-sdk 0.46
635
+ * @description This query only returns denominations that have specific SendEnabled settings. Any denomination that does not have a specific setting will use the default params.default_send_enabled, and will not be returned by this query. Since: cosmos-sdk 0.47
636
+ *
637
+ * @tags Query
638
+ * @name QuerySendEnabled
639
+ * @summary SendEnabled queries for SendEnabled entries.
640
+ * @request GET:/cosmos/bank/v1beta1/send_enabled
641
+ */
642
+ querySendEnabled = (
643
+ query?: {
644
+ denoms?: string[];
645
+ "pagination.key"?: string;
646
+ "pagination.offset"?: string;
647
+ "pagination.limit"?: string;
648
+ "pagination.count_total"?: boolean;
649
+ "pagination.reverse"?: boolean;
650
+ },
651
+ params: RequestParams = {},
652
+ ) =>
653
+ this.request<V1Beta1QuerySendEnabledResponse, RpcStatus>({
654
+ path: `/cosmos/bank/v1beta1/send_enabled`,
655
+ method: "GET",
656
+ query: query,
657
+ format: "json",
658
+ ...params,
659
+ });
660
+
661
+ /**
662
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.46
588
663
  *
589
664
  * @tags Query
590
665
  * @name QuerySpendableBalances
591
- * @summary SpendableBalances queries the spenable balance of all coins for a single
666
+ * @summary SpendableBalances queries the spendable balance of all coins for a single
592
667
  account.
593
668
  * @request GET:/cosmos/bank/v1beta1/spendable_balances/{address}
594
669
  */
@@ -612,7 +687,25 @@ account.
612
687
  });
613
688
 
614
689
  /**
615
- * No description
690
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.47
691
+ *
692
+ * @tags Query
693
+ * @name QuerySpendableBalanceByDenom
694
+ * @summary SpendableBalanceByDenom queries the spendable balance of a single denom for
695
+ a single account.
696
+ * @request GET:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom
697
+ */
698
+ querySpendableBalanceByDenom = (address: string, query?: { denom?: string }, params: RequestParams = {}) =>
699
+ this.request<V1Beta1QuerySpendableBalanceByDenomResponse, RpcStatus>({
700
+ path: `/cosmos/bank/v1beta1/spendable_balances/${address}/by_denom`,
701
+ method: "GET",
702
+ query: query,
703
+ format: "json",
704
+ ...params,
705
+ });
706
+
707
+ /**
708
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
616
709
  *
617
710
  * @tags Query
618
711
  * @name QueryTotalSupply
@@ -638,7 +731,7 @@ account.
638
731
  });
639
732
 
640
733
  /**
641
- * No description
734
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
642
735
  *
643
736
  * @tags Query
644
737
  * @name QuerySupplyOf
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ export const protobufPackage = "amino";
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ export const protobufPackage = "amino";