decentralcardgame-cardchain-client-ts 0.0.9 → 0.0.11

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 (326) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +322 -322
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +486 -486
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +71 -71
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +71 -71
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +8 -3
  7. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.js +1 -1
  8. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.ts +1 -1
  9. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.js +44 -13
  10. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.ts +44 -13
  11. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.js +2 -0
  12. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +2 -0
  13. package/DecentralCardGame.cardchain.cardchain/types.js +22 -22
  14. package/DecentralCardGame.cardchain.cardchain/types.ts +22 -22
  15. package/client.js +7 -7
  16. package/client.ts +11 -10
  17. package/cosmos.auth.v1beta1/module.js +2 -0
  18. package/cosmos.auth.v1beta1/module.ts +2 -0
  19. package/cosmos.auth.v1beta1/rest.js +18 -3
  20. package/cosmos.auth.v1beta1/rest.ts +113 -3
  21. package/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
  22. package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
  23. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
  24. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  25. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  26. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +104 -3
  27. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
  28. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
  29. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
  30. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  31. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  32. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
  33. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  34. package/cosmos.auth.v1beta1/types.js +2 -1
  35. package/cosmos.auth.v1beta1/types.ts +2 -0
  36. package/cosmos.authz.v1beta1/module.js +19 -19
  37. package/cosmos.authz.v1beta1/module.ts +29 -29
  38. package/cosmos.authz.v1beta1/registry.js +2 -2
  39. package/cosmos.authz.v1beta1/registry.ts +2 -2
  40. package/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
  41. package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
  42. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  43. package/cosmos.bank.v1beta1/module.js +16 -16
  44. package/cosmos.bank.v1beta1/module.ts +24 -24
  45. package/cosmos.bank.v1beta1/registry.js +2 -2
  46. package/cosmos.bank.v1beta1/registry.ts +2 -2
  47. package/cosmos.bank.v1beta1/rest.js +37 -6
  48. package/cosmos.bank.v1beta1/rest.ts +99 -6
  49. package/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
  50. package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
  51. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +18 -2
  52. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
  53. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
  54. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +18 -2
  55. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
  56. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +230 -1
  57. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
  58. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +206 -1
  59. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
  60. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
  61. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  62. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  63. package/cosmos.base.tendermint.v1beta1/rest.ts +18 -27
  64. package/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
  65. package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
  66. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
  67. package/cosmos.consensus.v1/index.js +5 -0
  68. package/cosmos.consensus.v1/index.ts +6 -0
  69. package/cosmos.consensus.v1/module.js +81 -0
  70. package/cosmos.consensus.v1/module.ts +129 -0
  71. package/cosmos.consensus.v1/registry.js +5 -0
  72. package/cosmos.consensus.v1/registry.ts +9 -0
  73. package/cosmos.consensus.v1/rest.js +100 -0
  74. package/cosmos.consensus.v1/rest.ts +268 -0
  75. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
  76. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
  77. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
  78. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
  79. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
  80. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
  81. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
  82. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
  83. package/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
  84. package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
  85. package/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
  86. package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
  87. package/cosmos.consensus.v1/types/google/api/http.js +260 -0
  88. package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
  89. package/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
  90. package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
  91. package/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
  92. package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
  93. package/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
  94. package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
  95. package/cosmos.consensus.v1/types.js +1 -0
  96. package/cosmos.consensus.v1/types.ts +5 -0
  97. package/cosmos.crisis.v1beta1/module.js +24 -1
  98. package/cosmos.crisis.v1beta1/module.ts +34 -1
  99. package/cosmos.crisis.v1beta1/registry.js +2 -0
  100. package/cosmos.crisis.v1beta1/registry.ts +2 -0
  101. package/cosmos.crisis.v1beta1/rest.ts +19 -0
  102. package/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
  103. package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
  104. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +95 -0
  105. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
  106. package/cosmos.distribution.v1beta1/module.js +63 -17
  107. package/cosmos.distribution.v1beta1/module.ts +91 -25
  108. package/cosmos.distribution.v1beta1/registry.js +8 -4
  109. package/cosmos.distribution.v1beta1/registry.ts +8 -4
  110. package/cosmos.distribution.v1beta1/rest.js +14 -0
  111. package/cosmos.distribution.v1beta1/rest.ts +66 -7
  112. package/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
  113. package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
  114. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
  115. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  116. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +120 -0
  117. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
  118. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +199 -0
  119. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
  120. package/cosmos.evidence.v1beta1/rest.js +4 -3
  121. package/cosmos.evidence.v1beta1/rest.ts +4 -3
  122. package/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
  123. package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
  124. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
  125. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +13 -2
  126. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
  127. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
  128. package/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
  129. package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
  130. package/cosmos.gov.v1/module.js +44 -19
  131. package/cosmos.gov.v1/module.ts +62 -27
  132. package/cosmos.gov.v1/registry.js +4 -2
  133. package/cosmos.gov.v1/registry.ts +4 -2
  134. package/cosmos.gov.v1/rest.ts +155 -41
  135. package/cosmos.gov.v1/types/amino/amino.js +2 -0
  136. package/cosmos.gov.v1/types/amino/amino.ts +2 -0
  137. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +13 -1
  138. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
  139. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +179 -0
  140. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
  141. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +13 -2
  142. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
  143. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +113 -2
  144. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
  145. package/cosmos.gov.v1/types.js +2 -1
  146. package/cosmos.gov.v1/types.ts +2 -0
  147. package/cosmos.gov.v1beta1/module.js +24 -24
  148. package/cosmos.gov.v1beta1/module.ts +36 -36
  149. package/cosmos.gov.v1beta1/registry.js +4 -4
  150. package/cosmos.gov.v1beta1/registry.ts +4 -4
  151. package/cosmos.gov.v1beta1/rest.ts +65 -96
  152. package/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
  153. package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
  154. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  155. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
  156. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
  157. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
  158. package/cosmos.group.v1/module.js +98 -96
  159. package/cosmos.group.v1/module.ts +149 -147
  160. package/cosmos.group.v1/registry.js +16 -16
  161. package/cosmos.group.v1/registry.ts +16 -16
  162. package/cosmos.group.v1/rest.js +3 -3
  163. package/cosmos.group.v1/rest.ts +29 -9
  164. package/cosmos.group.v1/types/amino/amino.js +2 -0
  165. package/cosmos.group.v1/types/amino/amino.ts +2 -0
  166. package/cosmos.group.v1/types/cosmos/group/v1/events.js +65 -1
  167. package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
  168. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  169. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +52 -34
  170. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
  171. package/cosmos.group.v1/types/cosmos/group/v1/types.js +20 -0
  172. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
  173. package/cosmos.group.v1/types.js +2 -1
  174. package/cosmos.group.v1/types.ts +2 -0
  175. package/cosmos.mint.v1beta1/rest.ts +9 -1
  176. package/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
  177. package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
  178. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  179. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  180. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
  181. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
  182. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  183. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  184. package/cosmos.nft.v1beta1/rest.ts +18 -22
  185. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
  186. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
  187. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
  188. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  189. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  190. package/cosmos.params.v1beta1/types/amino/amino.js +2 -0
  191. package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
  192. package/cosmos.slashing.v1beta1/rest.ts +8 -0
  193. package/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
  194. package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
  195. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  196. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +94 -0
  197. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
  198. package/cosmos.staking.v1beta1/module.js +34 -32
  199. package/cosmos.staking.v1beta1/module.ts +50 -48
  200. package/cosmos.staking.v1beta1/registry.js +6 -6
  201. package/cosmos.staking.v1beta1/registry.ts +6 -6
  202. package/cosmos.staking.v1beta1/rest.js +7 -7
  203. package/cosmos.staking.v1beta1/rest.ts +49 -8
  204. package/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
  205. package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
  206. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
  207. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  208. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  209. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
  210. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +180 -2
  211. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
  212. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +94 -1
  213. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
  214. package/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
  215. package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
  216. package/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
  217. package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
  218. package/cosmos.staking.v1beta1/types.js +2 -1
  219. package/cosmos.staking.v1beta1/types.ts +2 -0
  220. package/cosmos.tx.v1beta1/rest.js +66 -2
  221. package/cosmos.tx.v1beta1/rest.ts +177 -16
  222. package/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
  223. package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
  224. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +360 -2
  225. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
  226. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +592 -266
  227. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +703 -332
  228. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +8 -17
  229. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
  230. package/cosmos.upgrade.v1beta1/rest.ts +0 -1
  231. package/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
  232. package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
  233. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  234. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  235. package/cosmos.vesting.v1beta1/module.js +19 -19
  236. package/cosmos.vesting.v1beta1/module.ts +29 -29
  237. package/cosmos.vesting.v1beta1/registry.js +2 -2
  238. package/cosmos.vesting.v1beta1/registry.ts +2 -2
  239. package/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
  240. package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
  241. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
  242. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  243. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
  244. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +13 -2
  245. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
  246. package/ibc.applications.transfer.v1/module.js +5 -27
  247. package/ibc.applications.transfer.v1/module.ts +5 -34
  248. package/ibc.applications.transfer.v1/registry.js +1 -4
  249. package/ibc.applications.transfer.v1/registry.ts +0 -2
  250. package/ibc.applications.transfer.v1/rest.js +15 -1
  251. package/ibc.applications.transfer.v1/rest.ts +30 -1
  252. package/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
  253. package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
  254. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  255. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
  256. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
  257. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +16 -1
  258. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
  259. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +91 -0
  260. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
  261. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
  262. package/ibc.applications.transfer.v1/types.js +3 -1
  263. package/ibc.applications.transfer.v1/types.ts +4 -0
  264. package/ibc.core.channel.v1/rest.ts +1 -0
  265. package/ibc.core.channel.v1/types/amino/amino.js +2 -0
  266. package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
  267. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  268. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +13 -2
  269. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
  270. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
  271. package/ibc.core.client.v1/rest.ts +5 -1
  272. package/ibc.core.client.v1/types/amino/amino.js +2 -0
  273. package/ibc.core.client.v1/types/amino/amino.ts +2 -0
  274. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  275. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
  276. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +9 -8
  277. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
  278. package/ibc.core.connection.v1/types/amino/amino.js +2 -0
  279. package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
  280. package/ibc.core.connection.v1/types/{proofs.js → cosmos/ics23/v1/proofs.js} +1 -1
  281. package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
  282. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  283. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
  284. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  285. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  286. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +26 -0
  287. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
  288. package/index.js +3 -1
  289. package/index.ts +3 -1
  290. package/package.json +1 -4
  291. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.js +0 -0
  292. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.ts +0 -0
  293. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection.js +0 -0
  294. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection.ts +0 -0
  295. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection_proposal.js +0 -0
  296. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection_proposal.ts +0 -0
  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.js +0 -0
  304. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.ts +0 -0
  305. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.js +0 -0
  306. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.ts +0 -0
  307. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.js +0 -0
  308. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.ts +0 -0
  309. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.js +0 -0
  310. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.ts +0 -0
  311. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.js +0 -0
  312. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.ts +0 -0
  313. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.js +0 -0
  314. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.ts +0 -0
  315. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.js +0 -0
  316. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.ts +0 -0
  317. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.js +0 -0
  318. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.ts +0 -0
  319. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.js +0 -0
  320. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.ts +0 -0
  321. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/vote_right.js +0 -0
  322. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/vote_right.ts +0 -0
  323. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_result.js +0 -0
  324. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_result.ts +0 -0
  325. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_results.js +0 -0
  326. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_results.ts +0 -0
@@ -4,11 +4,11 @@ import { Registry } from "@cosmjs/proto-signing";
4
4
  import { msgTypes } from './registry';
5
5
  import { Api } from "./rest";
6
6
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
7
- import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
8
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
7
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
9
8
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
9
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
10
10
  import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
11
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
11
+ import { MsgDelegate } 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,8 @@ 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 { MsgUndelegate, MsgDelegate, MsgBeginRedelegate, MsgEditValidator, MsgCreateValidator, MsgCancelUnbondingDelegation };
35
+ import { ValidatorUpdates as typeValidatorUpdates } from "./types";
36
+ export { MsgUndelegate, MsgCancelUnbondingDelegation, MsgEditValidator, MsgBeginRedelegate, MsgCreateValidator, MsgDelegate };
36
37
  export const registry = new Registry(msgTypes);
37
38
  function getStructure(template) {
38
39
  const structure = { fields: [] };
@@ -62,46 +63,46 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
62
63
  throw new Error('TxClient:sendMsgUndelegate: Could not broadcast Tx: ' + e.message);
63
64
  }
64
65
  },
65
- async sendMsgDelegate({ value, fee, memo }) {
66
+ async sendMsgCancelUnbondingDelegation({ value, fee, memo }) {
66
67
  if (!signer) {
67
- throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.');
68
+ throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.');
68
69
  }
69
70
  try {
70
71
  const { address } = (await signer.getAccounts())[0];
71
72
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
72
- let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) });
73
+ let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) });
73
74
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
74
75
  }
75
76
  catch (e) {
76
- throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: ' + e.message);
77
+ throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: ' + e.message);
77
78
  }
78
79
  },
79
- async sendMsgBeginRedelegate({ value, fee, memo }) {
80
+ async sendMsgEditValidator({ value, fee, memo }) {
80
81
  if (!signer) {
81
- throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.');
82
+ throw new Error('TxClient:sendMsgEditValidator: Unable to sign Tx. Signer is not present.');
82
83
  }
83
84
  try {
84
85
  const { address } = (await signer.getAccounts())[0];
85
86
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
86
- let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) });
87
+ let msg = this.msgEditValidator({ value: MsgEditValidator.fromPartial(value) });
87
88
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
88
89
  }
89
90
  catch (e) {
90
- throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: ' + e.message);
91
+ throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: ' + e.message);
91
92
  }
92
93
  },
93
- async sendMsgEditValidator({ value, fee, memo }) {
94
+ async sendMsgBeginRedelegate({ value, fee, memo }) {
94
95
  if (!signer) {
95
- throw new Error('TxClient:sendMsgEditValidator: Unable to sign Tx. Signer is not present.');
96
+ throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.');
96
97
  }
97
98
  try {
98
99
  const { address } = (await signer.getAccounts())[0];
99
100
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
100
- let msg = this.msgEditValidator({ value: MsgEditValidator.fromPartial(value) });
101
+ let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) });
101
102
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
102
103
  }
103
104
  catch (e) {
104
- throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: ' + e.message);
105
+ throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: ' + e.message);
105
106
  }
106
107
  },
107
108
  async sendMsgCreateValidator({ value, fee, memo }) {
@@ -118,18 +119,18 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
118
119
  throw new Error('TxClient:sendMsgCreateValidator: Could not broadcast Tx: ' + e.message);
119
120
  }
120
121
  },
121
- async sendMsgCancelUnbondingDelegation({ value, fee, memo }) {
122
+ async sendMsgDelegate({ value, fee, memo }) {
122
123
  if (!signer) {
123
- throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.');
124
+ throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.');
124
125
  }
125
126
  try {
126
127
  const { address } = (await signer.getAccounts())[0];
127
128
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
128
- let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) });
129
+ let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) });
129
130
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
130
131
  }
131
132
  catch (e) {
132
- throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: ' + e.message);
133
+ throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: ' + e.message);
133
134
  }
134
135
  },
135
136
  msgUndelegate({ value }) {
@@ -140,28 +141,28 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
140
141
  throw new Error('TxClient:MsgUndelegate: Could not create message: ' + e.message);
141
142
  }
142
143
  },
143
- msgDelegate({ value }) {
144
+ msgCancelUnbondingDelegation({ value }) {
144
145
  try {
145
- return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial(value) };
146
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial(value) };
146
147
  }
147
148
  catch (e) {
148
- throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message);
149
+ throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message);
149
150
  }
150
151
  },
151
- msgBeginRedelegate({ value }) {
152
+ msgEditValidator({ value }) {
152
153
  try {
153
- return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial(value) };
154
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", value: MsgEditValidator.fromPartial(value) };
154
155
  }
155
156
  catch (e) {
156
- throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message);
157
+ throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message);
157
158
  }
158
159
  },
159
- msgEditValidator({ value }) {
160
+ msgBeginRedelegate({ value }) {
160
161
  try {
161
- return { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", value: MsgEditValidator.fromPartial(value) };
162
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial(value) };
162
163
  }
163
164
  catch (e) {
164
- throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message);
165
+ throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message);
165
166
  }
166
167
  },
167
168
  msgCreateValidator({ value }) {
@@ -172,12 +173,12 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
172
173
  throw new Error('TxClient:MsgCreateValidator: Could not create message: ' + e.message);
173
174
  }
174
175
  },
175
- msgCancelUnbondingDelegation({ value }) {
176
+ msgDelegate({ value }) {
176
177
  try {
177
- return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial(value) };
178
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial(value) };
178
179
  }
179
180
  catch (e) {
180
- throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message);
181
+ throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message);
181
182
  }
182
183
  },
183
184
  };
@@ -214,6 +215,7 @@ class SDKModule {
214
215
  RedelegationEntryResponse: getStructure(typeRedelegationEntryResponse.fromPartial({})),
215
216
  RedelegationResponse: getStructure(typeRedelegationResponse.fromPartial({})),
216
217
  Pool: getStructure(typePool.fromPartial({})),
218
+ ValidatorUpdates: getStructure(typeValidatorUpdates.fromPartial({})),
217
219
  };
218
220
  client.on('signer-changed', (signer) => {
219
221
  this.updateTX(client);
@@ -8,11 +8,11 @@ import { IgniteClient } from "../client"
8
8
  import { MissingWalletError } from "../helpers"
9
9
  import { Api } from "./rest";
10
10
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
11
- import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
12
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
11
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
13
12
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
13
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
14
14
  import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
15
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
15
+ import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
16
16
 
17
17
  import { StakeAuthorization as typeStakeAuthorization} from "./types"
18
18
  import { StakeAuthorization_Validators as typeStakeAuthorization_Validators} from "./types"
@@ -37,8 +37,9 @@ import { DelegationResponse as typeDelegationResponse} from "./types"
37
37
  import { RedelegationEntryResponse as typeRedelegationEntryResponse} from "./types"
38
38
  import { RedelegationResponse as typeRedelegationResponse} from "./types"
39
39
  import { Pool as typePool} from "./types"
40
+ import { ValidatorUpdates as typeValidatorUpdates} from "./types"
40
41
 
41
- export { MsgUndelegate, MsgDelegate, MsgBeginRedelegate, MsgEditValidator, MsgCreateValidator, MsgCancelUnbondingDelegation };
42
+ export { MsgUndelegate, MsgCancelUnbondingDelegation, MsgEditValidator, MsgBeginRedelegate, MsgCreateValidator, MsgDelegate };
42
43
 
43
44
  type sendMsgUndelegateParams = {
44
45
  value: MsgUndelegate,
@@ -46,20 +47,20 @@ type sendMsgUndelegateParams = {
46
47
  memo?: string
47
48
  };
48
49
 
49
- type sendMsgDelegateParams = {
50
- value: MsgDelegate,
50
+ type sendMsgCancelUnbondingDelegationParams = {
51
+ value: MsgCancelUnbondingDelegation,
51
52
  fee?: StdFee,
52
53
  memo?: string
53
54
  };
54
55
 
55
- type sendMsgBeginRedelegateParams = {
56
- value: MsgBeginRedelegate,
56
+ type sendMsgEditValidatorParams = {
57
+ value: MsgEditValidator,
57
58
  fee?: StdFee,
58
59
  memo?: string
59
60
  };
60
61
 
61
- type sendMsgEditValidatorParams = {
62
- value: MsgEditValidator,
62
+ type sendMsgBeginRedelegateParams = {
63
+ value: MsgBeginRedelegate,
63
64
  fee?: StdFee,
64
65
  memo?: string
65
66
  };
@@ -70,8 +71,8 @@ type sendMsgCreateValidatorParams = {
70
71
  memo?: string
71
72
  };
72
73
 
73
- type sendMsgCancelUnbondingDelegationParams = {
74
- value: MsgCancelUnbondingDelegation,
74
+ type sendMsgDelegateParams = {
75
+ value: MsgDelegate,
75
76
  fee?: StdFee,
76
77
  memo?: string
77
78
  };
@@ -81,24 +82,24 @@ type msgUndelegateParams = {
81
82
  value: MsgUndelegate,
82
83
  };
83
84
 
84
- type msgDelegateParams = {
85
- value: MsgDelegate,
86
- };
87
-
88
- type msgBeginRedelegateParams = {
89
- value: MsgBeginRedelegate,
85
+ type msgCancelUnbondingDelegationParams = {
86
+ value: MsgCancelUnbondingDelegation,
90
87
  };
91
88
 
92
89
  type msgEditValidatorParams = {
93
90
  value: MsgEditValidator,
94
91
  };
95
92
 
93
+ type msgBeginRedelegateParams = {
94
+ value: MsgBeginRedelegate,
95
+ };
96
+
96
97
  type msgCreateValidatorParams = {
97
98
  value: MsgCreateValidator,
98
99
  };
99
100
 
100
- type msgCancelUnbondingDelegationParams = {
101
- value: MsgCancelUnbondingDelegation,
101
+ type msgDelegateParams = {
102
+ value: MsgDelegate,
102
103
  };
103
104
 
104
105
 
@@ -145,45 +146,45 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
145
146
  }
146
147
  },
147
148
 
148
- async sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse> {
149
+ async sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse> {
149
150
  if (!signer) {
150
- throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.')
151
+ throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.')
151
152
  }
152
153
  try {
153
154
  const { address } = (await signer.getAccounts())[0];
154
155
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
155
- let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) })
156
+ let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) })
156
157
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
157
158
  } catch (e: any) {
158
- throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: '+ e.message)
159
+ throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: '+ e.message)
159
160
  }
160
161
  },
161
162
 
162
- async sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse> {
163
+ async sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse> {
163
164
  if (!signer) {
164
- throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.')
165
+ throw new Error('TxClient:sendMsgEditValidator: Unable to sign Tx. Signer is not present.')
165
166
  }
166
167
  try {
167
168
  const { address } = (await signer.getAccounts())[0];
168
169
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
169
- let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) })
170
+ let msg = this.msgEditValidator({ value: MsgEditValidator.fromPartial(value) })
170
171
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
171
172
  } catch (e: any) {
172
- throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: '+ e.message)
173
+ throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: '+ e.message)
173
174
  }
174
175
  },
175
176
 
176
- async sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse> {
177
+ async sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse> {
177
178
  if (!signer) {
178
- throw new Error('TxClient:sendMsgEditValidator: Unable to sign Tx. Signer is not present.')
179
+ throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.')
179
180
  }
180
181
  try {
181
182
  const { address } = (await signer.getAccounts())[0];
182
183
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
183
- let msg = this.msgEditValidator({ value: MsgEditValidator.fromPartial(value) })
184
+ let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) })
184
185
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
185
186
  } catch (e: any) {
186
- throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: '+ e.message)
187
+ throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: '+ e.message)
187
188
  }
188
189
  },
189
190
 
@@ -201,17 +202,17 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
201
202
  }
202
203
  },
203
204
 
204
- async sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse> {
205
+ async sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse> {
205
206
  if (!signer) {
206
- throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.')
207
+ throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.')
207
208
  }
208
209
  try {
209
210
  const { address } = (await signer.getAccounts())[0];
210
211
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
211
- let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) })
212
+ let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) })
212
213
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
213
214
  } catch (e: any) {
214
- throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: '+ e.message)
215
+ throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: '+ e.message)
215
216
  }
216
217
  },
217
218
 
@@ -224,27 +225,27 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
224
225
  }
225
226
  },
226
227
 
227
- msgDelegate({ value }: msgDelegateParams): EncodeObject {
228
+ msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject {
228
229
  try {
229
- return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial( value ) }
230
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial( value ) }
230
231
  } catch (e: any) {
231
- throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message)
232
+ throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message)
232
233
  }
233
234
  },
234
235
 
235
- msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject {
236
+ msgEditValidator({ value }: msgEditValidatorParams): EncodeObject {
236
237
  try {
237
- return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial( value ) }
238
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", value: MsgEditValidator.fromPartial( value ) }
238
239
  } catch (e: any) {
239
- throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message)
240
+ throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message)
240
241
  }
241
242
  },
242
243
 
243
- msgEditValidator({ value }: msgEditValidatorParams): EncodeObject {
244
+ msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject {
244
245
  try {
245
- return { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", value: MsgEditValidator.fromPartial( value ) }
246
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial( value ) }
246
247
  } catch (e: any) {
247
- throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message)
248
+ throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message)
248
249
  }
249
250
  },
250
251
 
@@ -256,11 +257,11 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
256
257
  }
257
258
  },
258
259
 
259
- msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject {
260
+ msgDelegate({ value }: msgDelegateParams): EncodeObject {
260
261
  try {
261
- return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial( value ) }
262
+ return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial( value ) }
262
263
  } catch (e: any) {
263
- throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message)
264
+ throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message)
264
265
  }
265
266
  },
266
267
 
@@ -309,6 +310,7 @@ class SDKModule {
309
310
  RedelegationEntryResponse: getStructure(typeRedelegationEntryResponse.fromPartial({})),
310
311
  RedelegationResponse: getStructure(typeRedelegationResponse.fromPartial({})),
311
312
  Pool: getStructure(typePool.fromPartial({})),
313
+ ValidatorUpdates: getStructure(typeValidatorUpdates.fromPartial({})),
312
314
 
313
315
  };
314
316
  client.on('signer-changed',(signer) => {
@@ -1,15 +1,15 @@
1
1
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
2
- import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
3
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
2
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
4
3
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
4
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
5
5
  import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
6
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
6
+ import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
7
7
  const msgTypes = [
8
8
  ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
9
- ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
10
- ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
9
+ ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
11
10
  ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
11
+ ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
12
12
  ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
13
- ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
13
+ ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
14
14
  ];
15
15
  export { msgTypes };
@@ -1,18 +1,18 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
2
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
3
- import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
4
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
3
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
5
4
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
5
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
6
6
  import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
7
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
7
+ import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
8
8
 
9
9
  const msgTypes: Array<[string, GeneratedType]> = [
10
10
  ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
11
- ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
12
- ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
11
+ ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
13
12
  ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
13
+ ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
14
14
  ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
15
- ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
15
+ ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
16
16
 
17
17
  ];
18
18
 
@@ -98,7 +98,7 @@ export class Api extends HttpClient {
98
98
  constructor() {
99
99
  super(...arguments);
100
100
  /**
101
- * No description
101
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
102
102
  *
103
103
  * @tags Query
104
104
  * @name QueryDelegatorDelegations
@@ -113,7 +113,7 @@ export class Api extends HttpClient {
113
113
  ...params,
114
114
  });
115
115
  /**
116
- * No description
116
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
117
117
  *
118
118
  * @tags Query
119
119
  * @name QueryRedelegations
@@ -128,7 +128,7 @@ export class Api extends HttpClient {
128
128
  ...params,
129
129
  });
130
130
  /**
131
- * No description
131
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
132
132
  *
133
133
  * @tags Query
134
134
  * @name QueryDelegatorUnbondingDelegations
@@ -144,7 +144,7 @@ export class Api extends HttpClient {
144
144
  ...params,
145
145
  });
146
146
  /**
147
- * No description
147
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
148
148
  *
149
149
  * @tags Query
150
150
  * @name QueryDelegatorValidators
@@ -217,7 +217,7 @@ export class Api extends HttpClient {
217
217
  ...params,
218
218
  });
219
219
  /**
220
- * No description
220
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
221
221
  *
222
222
  * @tags Query
223
223
  * @name QueryValidators
@@ -246,7 +246,7 @@ export class Api extends HttpClient {
246
246
  ...params,
247
247
  });
248
248
  /**
249
- * No description
249
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
250
250
  *
251
251
  * @tags Query
252
252
  * @name QueryValidatorDelegations
@@ -290,7 +290,7 @@ export class Api extends HttpClient {
290
290
  ...params,
291
291
  });
292
292
  /**
293
- * No description
293
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
294
294
  *
295
295
  * @tags Query
296
296
  * @name QueryValidatorUnbondingDelegations
@@ -183,6 +183,15 @@ export interface Stakingv1Beta1Validator {
183
183
  * Since: cosmos-sdk 0.46
184
184
  */
185
185
  min_self_delegation?: string;
186
+
187
+ /**
188
+ * strictly positive if this validator's unbonding has been stopped by external modules
189
+ * @format int64
190
+ */
191
+ unbonding_on_hold_ref_count?: string;
192
+
193
+ /** list of unbonding ids, each uniquely identifing an unbonding of this validator */
194
+ unbonding_ids?: string[];
186
195
  }
187
196
 
188
197
  export interface TypesBlockID {
@@ -439,6 +448,14 @@ export interface V1Beta1MsgUndelegateResponse {
439
448
  completion_time?: string;
440
449
  }
441
450
 
451
+ /**
452
+ * MsgUpdateParamsResponse defines the response structure for executing a
453
+ MsgUpdateParams message.
454
+
455
+ Since: cosmos-sdk 0.47
456
+ */
457
+ export type V1Beta1MsgUpdateParamsResponse = object;
458
+
442
459
  /**
443
460
  * message SomeRequest {
444
461
  Foo some_parameter = 1;
@@ -512,7 +529,7 @@ export interface V1Beta1PageResponse {
512
529
  }
513
530
 
514
531
  /**
515
- * Params defines the parameters for the staking module.
532
+ * Params defines the parameters for the x/staking module.
516
533
  */
517
534
  export interface V1Beta1Params {
518
535
  /** unbonding_time is the time duration of unbonding. */
@@ -723,6 +740,18 @@ export interface V1Beta1RedelegationEntry {
723
740
 
724
741
  /** shares_dst is the amount of destination-validator shares created by redelegation. */
725
742
  shares_dst?: string;
743
+
744
+ /**
745
+ * Incrementing id that uniquely identifies this entry
746
+ * @format uint64
747
+ */
748
+ unbonding_id?: string;
749
+
750
+ /**
751
+ * Strictly positive if this entry's unbonding has been stopped by external modules
752
+ * @format int64
753
+ */
754
+ unbonding_on_hold_ref_count?: string;
726
755
  }
727
756
 
728
757
  /**
@@ -790,6 +819,18 @@ export interface V1Beta1UnbondingDelegationEntry {
790
819
 
791
820
  /** balance defines the tokens to receive at completion. */
792
821
  balance?: string;
822
+
823
+ /**
824
+ * Incrementing id that uniquely identifies this entry
825
+ * @format uint64
826
+ */
827
+ unbonding_id?: string;
828
+
829
+ /**
830
+ * Strictly positive if this entry's unbonding has been stopped by external modules
831
+ * @format int64
832
+ */
833
+ unbonding_on_hold_ref_count?: string;
793
834
  }
794
835
 
795
836
  /**
@@ -931,7 +972,7 @@ export class HttpClient<SecurityDataType = unknown> {
931
972
  */
932
973
  export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
933
974
  /**
934
- * No description
975
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
935
976
  *
936
977
  * @tags Query
937
978
  * @name QueryDelegatorDelegations
@@ -958,7 +999,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
958
999
  });
959
1000
 
960
1001
  /**
961
- * No description
1002
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
962
1003
  *
963
1004
  * @tags Query
964
1005
  * @name QueryRedelegations
@@ -987,7 +1028,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
987
1028
  });
988
1029
 
989
1030
  /**
990
- * No description
1031
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
991
1032
  *
992
1033
  * @tags Query
993
1034
  * @name QueryDelegatorUnbondingDelegations
@@ -1015,7 +1056,7 @@ delegator address.
1015
1056
  });
1016
1057
 
1017
1058
  /**
1018
- * No description
1059
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1019
1060
  *
1020
1061
  * @tags Query
1021
1062
  * @name QueryDelegatorValidators
@@ -1108,7 +1149,7 @@ pair.
1108
1149
  });
1109
1150
 
1110
1151
  /**
1111
- * No description
1152
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1112
1153
  *
1113
1154
  * @tags Query
1114
1155
  * @name QueryValidators
@@ -1151,7 +1192,7 @@ pair.
1151
1192
  });
1152
1193
 
1153
1194
  /**
1154
- * No description
1195
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1155
1196
  *
1156
1197
  * @tags Query
1157
1198
  * @name QueryValidatorDelegations
@@ -1211,7 +1252,7 @@ pair.
1211
1252
  });
1212
1253
 
1213
1254
  /**
1214
- * No description
1255
+ * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1215
1256
  *
1216
1257
  * @tags Query
1217
1258
  * @name QueryValidatorUnbondingDelegations
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ export const protobufPackage = "amino";