decentralcardgame-cardchain-client-ts 0.0.15 → 0.0.17

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 (248) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +318 -383
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +463 -558
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +72 -78
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +72 -78
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +77 -60
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +123 -76
  7. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +657 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +741 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.ts +134 -0
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +356 -0
  12. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +415 -0
  13. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +254 -0
  14. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.ts +281 -0
  15. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
  16. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.ts +115 -0
  17. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +308 -0
  18. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.ts +355 -0
  19. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
  20. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.ts +92 -0
  21. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
  22. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.ts +102 -0
  23. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +325 -0
  24. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.ts +380 -0
  25. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +2200 -0
  26. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +2633 -0
  27. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
  28. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.ts +111 -0
  29. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
  30. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.ts +183 -0
  31. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
  32. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.ts +124 -0
  33. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.js +365 -0
  34. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.ts +416 -0
  35. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.js +93 -0
  36. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.ts +124 -0
  37. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4185 -0
  38. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +5139 -0
  39. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +580 -0
  40. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +652 -0
  41. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.js +346 -0
  42. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.ts +417 -0
  43. package/DecentralCardGame.cardchain.cardchain/types.js +25 -23
  44. package/DecentralCardGame.cardchain.cardchain/types.ts +26 -22
  45. package/DecentralCardGame.cardchain.featureflag/index.js +5 -0
  46. package/DecentralCardGame.cardchain.featureflag/index.ts +6 -0
  47. package/DecentralCardGame.cardchain.featureflag/module.js +62 -0
  48. package/DecentralCardGame.cardchain.featureflag/module.ts +102 -0
  49. package/DecentralCardGame.cardchain.featureflag/registry.js +2 -0
  50. package/DecentralCardGame.cardchain.featureflag/registry.ts +7 -0
  51. package/DecentralCardGame.cardchain.featureflag/rest.js +128 -0
  52. package/DecentralCardGame.cardchain.featureflag/rest.ts +222 -0
  53. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.js +67 -0
  54. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.ts +92 -0
  55. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.js +135 -0
  56. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.ts +172 -0
  57. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.js +36 -0
  58. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.ts +58 -0
  59. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.js +76 -0
  60. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.ts +102 -0
  61. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.js +279 -0
  62. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.ts +371 -0
  63. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.js +7 -0
  64. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.ts +17 -0
  65. package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  66. package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  67. package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.js +2 -0
  68. package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.ts +2 -0
  69. package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.js +2 -0
  70. package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.ts +2 -0
  71. package/DecentralCardGame.cardchain.featureflag/types/google/api/http.js +260 -0
  72. package/DecentralCardGame.cardchain.featureflag/types/google/api/http.ts +589 -0
  73. package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.js +2830 -0
  74. package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.ts +3753 -0
  75. package/DecentralCardGame.cardchain.featureflag/types.js +4 -0
  76. package/DecentralCardGame.cardchain.featureflag/types.ts +11 -0
  77. package/client.js +7 -7
  78. package/client.ts +9 -10
  79. package/cosmos.auth.v1beta1/module.js +0 -2
  80. package/cosmos.auth.v1beta1/module.ts +0 -2
  81. package/cosmos.auth.v1beta1/rest.js +3 -18
  82. package/cosmos.auth.v1beta1/rest.ts +3 -113
  83. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  84. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  85. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  86. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +3 -104
  87. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
  88. package/cosmos.auth.v1beta1/types.js +1 -2
  89. package/cosmos.auth.v1beta1/types.ts +0 -2
  90. package/cosmos.authz.v1beta1/module.js +19 -19
  91. package/cosmos.authz.v1beta1/module.ts +29 -29
  92. package/cosmos.authz.v1beta1/registry.js +2 -2
  93. package/cosmos.authz.v1beta1/registry.ts +2 -2
  94. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  95. package/cosmos.bank.v1beta1/module.js +16 -16
  96. package/cosmos.bank.v1beta1/module.ts +24 -24
  97. package/cosmos.bank.v1beta1/registry.js +2 -2
  98. package/cosmos.bank.v1beta1/registry.ts +2 -2
  99. package/cosmos.bank.v1beta1/rest.js +6 -37
  100. package/cosmos.bank.v1beta1/rest.ts +6 -99
  101. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +2 -18
  102. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
  103. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
  104. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +2 -18
  105. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
  106. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1 -230
  107. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
  108. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +1 -206
  109. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
  110. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  111. package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
  112. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
  113. package/cosmos.crisis.v1beta1/module.js +1 -24
  114. package/cosmos.crisis.v1beta1/module.ts +1 -34
  115. package/cosmos.crisis.v1beta1/registry.js +0 -2
  116. package/cosmos.crisis.v1beta1/registry.ts +0 -2
  117. package/cosmos.crisis.v1beta1/rest.ts +0 -19
  118. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -95
  119. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
  120. package/cosmos.distribution.v1beta1/module.js +21 -67
  121. package/cosmos.distribution.v1beta1/module.ts +34 -100
  122. package/cosmos.distribution.v1beta1/registry.js +4 -8
  123. package/cosmos.distribution.v1beta1/registry.ts +4 -8
  124. package/cosmos.distribution.v1beta1/rest.js +0 -14
  125. package/cosmos.distribution.v1beta1/rest.ts +7 -66
  126. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
  127. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  128. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -120
  129. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
  130. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -199
  131. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
  132. package/cosmos.evidence.v1beta1/rest.js +3 -4
  133. package/cosmos.evidence.v1beta1/rest.ts +3 -4
  134. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
  135. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +2 -13
  136. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
  137. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
  138. package/cosmos.gov.v1/module.js +21 -46
  139. package/cosmos.gov.v1/module.ts +33 -68
  140. package/cosmos.gov.v1/registry.js +4 -6
  141. package/cosmos.gov.v1/registry.ts +4 -6
  142. package/cosmos.gov.v1/rest.ts +41 -155
  143. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +1 -13
  144. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
  145. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -179
  146. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
  147. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +2 -13
  148. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
  149. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +2 -113
  150. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
  151. package/cosmos.gov.v1/types.js +1 -2
  152. package/cosmos.gov.v1/types.ts +0 -2
  153. package/cosmos.gov.v1beta1/module.js +24 -24
  154. package/cosmos.gov.v1beta1/module.ts +36 -36
  155. package/cosmos.gov.v1beta1/registry.js +4 -4
  156. package/cosmos.gov.v1beta1/registry.ts +4 -4
  157. package/cosmos.gov.v1beta1/rest.ts +96 -65
  158. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  159. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
  160. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
  161. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
  162. package/cosmos.group.v1/module.js +92 -92
  163. package/cosmos.group.v1/module.ts +138 -138
  164. package/cosmos.group.v1/registry.js +16 -16
  165. package/cosmos.group.v1/registry.ts +16 -16
  166. package/cosmos.group.v1/rest.js +3 -3
  167. package/cosmos.group.v1/rest.ts +9 -29
  168. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  169. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +34 -52
  170. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
  171. package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -20
  172. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
  173. package/cosmos.mint.v1beta1/rest.ts +1 -9
  174. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  175. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  176. package/cosmos.nft.v1beta1/rest.ts +22 -18
  177. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
  178. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
  179. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
  180. package/cosmos.slashing.v1beta1/rest.ts +0 -8
  181. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  182. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -94
  183. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
  184. package/cosmos.staking.v1beta1/module.js +39 -41
  185. package/cosmos.staking.v1beta1/module.ts +59 -61
  186. package/cosmos.staking.v1beta1/registry.js +6 -6
  187. package/cosmos.staking.v1beta1/registry.ts +6 -6
  188. package/cosmos.staking.v1beta1/rest.js +7 -7
  189. package/cosmos.staking.v1beta1/rest.ts +8 -49
  190. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  191. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
  192. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +2 -180
  193. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
  194. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +1 -94
  195. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
  196. package/cosmos.staking.v1beta1/types.js +1 -2
  197. package/cosmos.staking.v1beta1/types.ts +0 -2
  198. package/cosmos.tx.v1beta1/rest.js +2 -66
  199. package/cosmos.tx.v1beta1/rest.ts +16 -177
  200. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +2 -360
  201. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
  202. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +266 -592
  203. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
  204. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +17 -8
  205. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
  206. package/cosmos.upgrade.v1beta1/rest.ts +1 -0
  207. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  208. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  209. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  210. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  211. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
  212. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -13
  213. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
  214. package/ibc.applications.transfer.v1/module.js +27 -5
  215. package/ibc.applications.transfer.v1/module.ts +34 -5
  216. package/ibc.applications.transfer.v1/registry.js +4 -1
  217. package/ibc.applications.transfer.v1/registry.ts +2 -0
  218. package/ibc.applications.transfer.v1/rest.js +1 -15
  219. package/ibc.applications.transfer.v1/rest.ts +1 -30
  220. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  221. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +1 -16
  222. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +2 -23
  223. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -91
  224. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
  225. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
  226. package/ibc.applications.transfer.v1/types.js +1 -3
  227. package/ibc.applications.transfer.v1/types.ts +0 -4
  228. package/ibc.core.channel.v1/rest.ts +0 -1
  229. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  230. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +2 -13
  231. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +2 -14
  232. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
  233. package/ibc.core.client.v1/rest.ts +1 -5
  234. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  235. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
  236. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +8 -9
  237. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
  238. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  239. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +1 -5
  240. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  241. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  242. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -26
  243. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
  244. package/ibc.core.connection.v1/types/proofs.js +1126 -0
  245. package/ibc.core.connection.v1/types/proofs.ts +1408 -0
  246. package/index.js +3 -3
  247. package/index.ts +3 -3
  248. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
+ import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
1
2
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
2
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
3
3
  import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
4
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
5
- import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
4
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
6
5
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
6
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
7
7
  const msgTypes = [
8
+ ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
8
9
  ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
9
- ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
10
10
  ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
11
- ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
12
- ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
11
+ ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
13
12
  ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
13
+ ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
14
14
  ];
15
15
  export { msgTypes };
@@ -1,18 +1,18 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
+ import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
2
3
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
3
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
4
4
  import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
5
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
6
- import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
5
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
7
6
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
7
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
8
8
 
9
9
  const msgTypes: Array<[string, GeneratedType]> = [
10
+ ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
10
11
  ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
11
- ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
12
12
  ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
13
- ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
14
- ["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
13
+ ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
15
14
  ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
15
+ ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
101
+ * No description
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
116
+ * No description
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
131
+ * No description
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
147
+ * No description
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
220
+ * No description
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
249
+ * No description
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
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
293
+ * No description
294
294
  *
295
295
  * @tags Query
296
296
  * @name QueryValidatorUnbondingDelegations
@@ -183,15 +183,6 @@ 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[];
195
186
  }
196
187
 
197
188
  export interface TypesBlockID {
@@ -448,14 +439,6 @@ export interface V1Beta1MsgUndelegateResponse {
448
439
  completion_time?: string;
449
440
  }
450
441
 
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
-
459
442
  /**
460
443
  * message SomeRequest {
461
444
  Foo some_parameter = 1;
@@ -529,7 +512,7 @@ export interface V1Beta1PageResponse {
529
512
  }
530
513
 
531
514
  /**
532
- * Params defines the parameters for the x/staking module.
515
+ * Params defines the parameters for the staking module.
533
516
  */
534
517
  export interface V1Beta1Params {
535
518
  /** unbonding_time is the time duration of unbonding. */
@@ -740,18 +723,6 @@ export interface V1Beta1RedelegationEntry {
740
723
 
741
724
  /** shares_dst is the amount of destination-validator shares created by redelegation. */
742
725
  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;
755
726
  }
756
727
 
757
728
  /**
@@ -819,18 +790,6 @@ export interface V1Beta1UnbondingDelegationEntry {
819
790
 
820
791
  /** balance defines the tokens to receive at completion. */
821
792
  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;
834
793
  }
835
794
 
836
795
  /**
@@ -972,7 +931,7 @@ export class HttpClient<SecurityDataType = unknown> {
972
931
  */
973
932
  export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
974
933
  /**
975
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
934
+ * No description
976
935
  *
977
936
  * @tags Query
978
937
  * @name QueryDelegatorDelegations
@@ -999,7 +958,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
999
958
  });
1000
959
 
1001
960
  /**
1002
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
961
+ * No description
1003
962
  *
1004
963
  * @tags Query
1005
964
  * @name QueryRedelegations
@@ -1028,7 +987,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1028
987
  });
1029
988
 
1030
989
  /**
1031
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
990
+ * No description
1032
991
  *
1033
992
  * @tags Query
1034
993
  * @name QueryDelegatorUnbondingDelegations
@@ -1056,7 +1015,7 @@ delegator address.
1056
1015
  });
1057
1016
 
1058
1017
  /**
1059
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1018
+ * No description
1060
1019
  *
1061
1020
  * @tags Query
1062
1021
  * @name QueryDelegatorValidators
@@ -1149,7 +1108,7 @@ pair.
1149
1108
  });
1150
1109
 
1151
1110
  /**
1152
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1111
+ * No description
1153
1112
  *
1154
1113
  * @tags Query
1155
1114
  * @name QueryValidators
@@ -1192,7 +1151,7 @@ pair.
1192
1151
  });
1193
1152
 
1194
1153
  /**
1195
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1154
+ * No description
1196
1155
  *
1197
1156
  * @tags Query
1198
1157
  * @name QueryValidatorDelegations
@@ -1252,7 +1211,7 @@ pair.
1252
1211
  });
1253
1212
 
1254
1213
  /**
1255
- * @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
1214
+ * No description
1256
1215
  *
1257
1216
  * @tags Query
1258
1217
  * @name QueryValidatorUnbondingDelegations
@@ -7,7 +7,7 @@ export const protobufPackage = "cosmos.staking.v1beta1";
7
7
 
8
8
  /** GenesisState defines the staking module's genesis state. */
9
9
  export interface GenesisState {
10
- /** params defines all the parameters of related to deposit. */
10
+ /** params defines all the paramaters of related to deposit. */
11
11
  params:
12
12
  | Params
13
13
  | undefined;
@@ -1904,28 +1904,13 @@ export const QueryParamsResponse = {
1904
1904
 
1905
1905
  /** Query defines the gRPC querier service. */
1906
1906
  export interface Query {
1907
- /**
1908
- * Validators queries all validators that match the given status.
1909
- *
1910
- * When called from another module, this query might consume a high amount of
1911
- * gas if the pagination field is incorrectly set.
1912
- */
1907
+ /** Validators queries all validators that match the given status. */
1913
1908
  Validators(request: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
1914
1909
  /** Validator queries validator info for given validator address. */
1915
1910
  Validator(request: QueryValidatorRequest): Promise<QueryValidatorResponse>;
1916
- /**
1917
- * ValidatorDelegations queries delegate info for given validator.
1918
- *
1919
- * When called from another module, this query might consume a high amount of
1920
- * gas if the pagination field is incorrectly set.
1921
- */
1911
+ /** ValidatorDelegations queries delegate info for given validator. */
1922
1912
  ValidatorDelegations(request: QueryValidatorDelegationsRequest): Promise<QueryValidatorDelegationsResponse>;
1923
- /**
1924
- * ValidatorUnbondingDelegations queries unbonding delegations of a validator.
1925
- *
1926
- * When called from another module, this query might consume a high amount of
1927
- * gas if the pagination field is incorrectly set.
1928
- */
1913
+ /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */
1929
1914
  ValidatorUnbondingDelegations(
1930
1915
  request: QueryValidatorUnbondingDelegationsRequest,
1931
1916
  ): Promise<QueryValidatorUnbondingDelegationsResponse>;
@@ -1936,36 +1921,20 @@ export interface Query {
1936
1921
  * pair.
1937
1922
  */
1938
1923
  UnbondingDelegation(request: QueryUnbondingDelegationRequest): Promise<QueryUnbondingDelegationResponse>;
1939
- /**
1940
- * DelegatorDelegations queries all delegations of a given delegator address.
1941
- *
1942
- * When called from another module, this query might consume a high amount of
1943
- * gas if the pagination field is incorrectly set.
1944
- */
1924
+ /** DelegatorDelegations queries all delegations of a given delegator address. */
1945
1925
  DelegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise<QueryDelegatorDelegationsResponse>;
1946
1926
  /**
1947
1927
  * DelegatorUnbondingDelegations queries all unbonding delegations of a given
1948
1928
  * delegator address.
1949
- *
1950
- * When called from another module, this query might consume a high amount of
1951
- * gas if the pagination field is incorrectly set.
1952
1929
  */
1953
1930
  DelegatorUnbondingDelegations(
1954
1931
  request: QueryDelegatorUnbondingDelegationsRequest,
1955
1932
  ): Promise<QueryDelegatorUnbondingDelegationsResponse>;
1956
- /**
1957
- * Redelegations queries redelegations of given address.
1958
- *
1959
- * When called from another module, this query might consume a high amount of
1960
- * gas if the pagination field is incorrectly set.
1961
- */
1933
+ /** Redelegations queries redelegations of given address. */
1962
1934
  Redelegations(request: QueryRedelegationsRequest): Promise<QueryRedelegationsResponse>;
1963
1935
  /**
1964
1936
  * DelegatorValidators queries all validators info for given delegator
1965
1937
  * address.
1966
- *
1967
- * When called from another module, this query might consume a high amount of
1968
- * gas if the pagination field is incorrectly set.
1969
1938
  */
1970
1939
  DelegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
1971
1940
  /**
@@ -4,7 +4,6 @@ import _m0 from "protobufjs/minimal";
4
4
  import { Any } from "../../../google/protobuf/any";
5
5
  import { Duration } from "../../../google/protobuf/duration";
6
6
  import { Timestamp } from "../../../google/protobuf/timestamp";
7
- import { ValidatorUpdate } from "../../../tendermint/abci/types";
8
7
  import { Header } from "../../../tendermint/types/types";
9
8
  import { Coin } from "../../base/v1beta1/coin";
10
9
  export const protobufPackage = "cosmos.staking.v1beta1";
@@ -56,47 +55,6 @@ export function bondStatusToJSON(object) {
56
55
  return "UNRECOGNIZED";
57
56
  }
58
57
  }
59
- /** Infraction indicates the infraction a validator commited. */
60
- export var Infraction;
61
- (function (Infraction) {
62
- /** INFRACTION_UNSPECIFIED - UNSPECIFIED defines an empty infraction. */
63
- Infraction[Infraction["INFRACTION_UNSPECIFIED"] = 0] = "INFRACTION_UNSPECIFIED";
64
- /** INFRACTION_DOUBLE_SIGN - DOUBLE_SIGN defines a validator that double-signs a block. */
65
- Infraction[Infraction["INFRACTION_DOUBLE_SIGN"] = 1] = "INFRACTION_DOUBLE_SIGN";
66
- /** INFRACTION_DOWNTIME - DOWNTIME defines a validator that missed signing too many blocks. */
67
- Infraction[Infraction["INFRACTION_DOWNTIME"] = 2] = "INFRACTION_DOWNTIME";
68
- Infraction[Infraction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
69
- })(Infraction || (Infraction = {}));
70
- export function infractionFromJSON(object) {
71
- switch (object) {
72
- case 0:
73
- case "INFRACTION_UNSPECIFIED":
74
- return Infraction.INFRACTION_UNSPECIFIED;
75
- case 1:
76
- case "INFRACTION_DOUBLE_SIGN":
77
- return Infraction.INFRACTION_DOUBLE_SIGN;
78
- case 2:
79
- case "INFRACTION_DOWNTIME":
80
- return Infraction.INFRACTION_DOWNTIME;
81
- case -1:
82
- case "UNRECOGNIZED":
83
- default:
84
- return Infraction.UNRECOGNIZED;
85
- }
86
- }
87
- export function infractionToJSON(object) {
88
- switch (object) {
89
- case Infraction.INFRACTION_UNSPECIFIED:
90
- return "INFRACTION_UNSPECIFIED";
91
- case Infraction.INFRACTION_DOUBLE_SIGN:
92
- return "INFRACTION_DOUBLE_SIGN";
93
- case Infraction.INFRACTION_DOWNTIME:
94
- return "INFRACTION_DOWNTIME";
95
- case Infraction.UNRECOGNIZED:
96
- default:
97
- return "UNRECOGNIZED";
98
- }
99
- }
100
58
  function createBaseHistoricalInfo() {
101
59
  return { header: undefined, valset: [] };
102
60
  }
@@ -364,8 +322,6 @@ function createBaseValidator() {
364
322
  unbondingTime: undefined,
365
323
  commission: undefined,
366
324
  minSelfDelegation: "",
367
- unbondingOnHoldRefCount: 0,
368
- unbondingIds: [],
369
325
  };
370
326
  }
371
327
  export const Validator = {
@@ -403,14 +359,6 @@ export const Validator = {
403
359
  if (message.minSelfDelegation !== "") {
404
360
  writer.uint32(90).string(message.minSelfDelegation);
405
361
  }
406
- if (message.unbondingOnHoldRefCount !== 0) {
407
- writer.uint32(96).int64(message.unbondingOnHoldRefCount);
408
- }
409
- writer.uint32(106).fork();
410
- for (const v of message.unbondingIds) {
411
- writer.uint64(v);
412
- }
413
- writer.ldelim();
414
362
  return writer;
415
363
  },
416
364
  decode(input, length) {
@@ -453,20 +401,6 @@ export const Validator = {
453
401
  case 11:
454
402
  message.minSelfDelegation = reader.string();
455
403
  break;
456
- case 12:
457
- message.unbondingOnHoldRefCount = longToNumber(reader.int64());
458
- break;
459
- case 13:
460
- if ((tag & 7) === 2) {
461
- const end2 = reader.uint32() + reader.pos;
462
- while (reader.pos < end2) {
463
- message.unbondingIds.push(longToNumber(reader.uint64()));
464
- }
465
- }
466
- else {
467
- message.unbondingIds.push(longToNumber(reader.uint64()));
468
- }
469
- break;
470
404
  default:
471
405
  reader.skipType(tag & 7);
472
406
  break;
@@ -487,8 +421,6 @@ export const Validator = {
487
421
  unbondingTime: isSet(object.unbondingTime) ? fromJsonTimestamp(object.unbondingTime) : undefined,
488
422
  commission: isSet(object.commission) ? Commission.fromJSON(object.commission) : undefined,
489
423
  minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : "",
490
- unbondingOnHoldRefCount: isSet(object.unbondingOnHoldRefCount) ? Number(object.unbondingOnHoldRefCount) : 0,
491
- unbondingIds: Array.isArray(object?.unbondingIds) ? object.unbondingIds.map((e) => Number(e)) : [],
492
424
  };
493
425
  },
494
426
  toJSON(message) {
@@ -507,14 +439,6 @@ export const Validator = {
507
439
  message.commission !== undefined
508
440
  && (obj.commission = message.commission ? Commission.toJSON(message.commission) : undefined);
509
441
  message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation);
510
- message.unbondingOnHoldRefCount !== undefined
511
- && (obj.unbondingOnHoldRefCount = Math.round(message.unbondingOnHoldRefCount));
512
- if (message.unbondingIds) {
513
- obj.unbondingIds = message.unbondingIds.map((e) => Math.round(e));
514
- }
515
- else {
516
- obj.unbondingIds = [];
517
- }
518
442
  return obj;
519
443
  },
520
444
  fromPartial(object) {
@@ -536,8 +460,6 @@ export const Validator = {
536
460
  ? Commission.fromPartial(object.commission)
537
461
  : undefined;
538
462
  message.minSelfDelegation = object.minSelfDelegation ?? "";
539
- message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount ?? 0;
540
- message.unbondingIds = object.unbondingIds?.map((e) => e) || [];
541
463
  return message;
542
464
  },
543
465
  };
@@ -922,14 +844,7 @@ export const UnbondingDelegation = {
922
844
  },
923
845
  };
924
846
  function createBaseUnbondingDelegationEntry() {
925
- return {
926
- creationHeight: 0,
927
- completionTime: undefined,
928
- initialBalance: "",
929
- balance: "",
930
- unbondingId: 0,
931
- unbondingOnHoldRefCount: 0,
932
- };
847
+ return { creationHeight: 0, completionTime: undefined, initialBalance: "", balance: "" };
933
848
  }
934
849
  export const UnbondingDelegationEntry = {
935
850
  encode(message, writer = _m0.Writer.create()) {
@@ -945,12 +860,6 @@ export const UnbondingDelegationEntry = {
945
860
  if (message.balance !== "") {
946
861
  writer.uint32(34).string(message.balance);
947
862
  }
948
- if (message.unbondingId !== 0) {
949
- writer.uint32(40).uint64(message.unbondingId);
950
- }
951
- if (message.unbondingOnHoldRefCount !== 0) {
952
- writer.uint32(48).int64(message.unbondingOnHoldRefCount);
953
- }
954
863
  return writer;
955
864
  },
956
865
  decode(input, length) {
@@ -972,12 +881,6 @@ export const UnbondingDelegationEntry = {
972
881
  case 4:
973
882
  message.balance = reader.string();
974
883
  break;
975
- case 5:
976
- message.unbondingId = longToNumber(reader.uint64());
977
- break;
978
- case 6:
979
- message.unbondingOnHoldRefCount = longToNumber(reader.int64());
980
- break;
981
884
  default:
982
885
  reader.skipType(tag & 7);
983
886
  break;
@@ -991,8 +894,6 @@ export const UnbondingDelegationEntry = {
991
894
  completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
992
895
  initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
993
896
  balance: isSet(object.balance) ? String(object.balance) : "",
994
- unbondingId: isSet(object.unbondingId) ? Number(object.unbondingId) : 0,
995
- unbondingOnHoldRefCount: isSet(object.unbondingOnHoldRefCount) ? Number(object.unbondingOnHoldRefCount) : 0,
996
897
  };
997
898
  },
998
899
  toJSON(message) {
@@ -1001,9 +902,6 @@ export const UnbondingDelegationEntry = {
1001
902
  message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString());
1002
903
  message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
1003
904
  message.balance !== undefined && (obj.balance = message.balance);
1004
- message.unbondingId !== undefined && (obj.unbondingId = Math.round(message.unbondingId));
1005
- message.unbondingOnHoldRefCount !== undefined
1006
- && (obj.unbondingOnHoldRefCount = Math.round(message.unbondingOnHoldRefCount));
1007
905
  return obj;
1008
906
  },
1009
907
  fromPartial(object) {
@@ -1012,20 +910,11 @@ export const UnbondingDelegationEntry = {
1012
910
  message.completionTime = object.completionTime ?? undefined;
1013
911
  message.initialBalance = object.initialBalance ?? "";
1014
912
  message.balance = object.balance ?? "";
1015
- message.unbondingId = object.unbondingId ?? 0;
1016
- message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount ?? 0;
1017
913
  return message;
1018
914
  },
1019
915
  };
1020
916
  function createBaseRedelegationEntry() {
1021
- return {
1022
- creationHeight: 0,
1023
- completionTime: undefined,
1024
- initialBalance: "",
1025
- sharesDst: "",
1026
- unbondingId: 0,
1027
- unbondingOnHoldRefCount: 0,
1028
- };
917
+ return { creationHeight: 0, completionTime: undefined, initialBalance: "", sharesDst: "" };
1029
918
  }
1030
919
  export const RedelegationEntry = {
1031
920
  encode(message, writer = _m0.Writer.create()) {
@@ -1041,12 +930,6 @@ export const RedelegationEntry = {
1041
930
  if (message.sharesDst !== "") {
1042
931
  writer.uint32(34).string(message.sharesDst);
1043
932
  }
1044
- if (message.unbondingId !== 0) {
1045
- writer.uint32(40).uint64(message.unbondingId);
1046
- }
1047
- if (message.unbondingOnHoldRefCount !== 0) {
1048
- writer.uint32(48).int64(message.unbondingOnHoldRefCount);
1049
- }
1050
933
  return writer;
1051
934
  },
1052
935
  decode(input, length) {
@@ -1068,12 +951,6 @@ export const RedelegationEntry = {
1068
951
  case 4:
1069
952
  message.sharesDst = reader.string();
1070
953
  break;
1071
- case 5:
1072
- message.unbondingId = longToNumber(reader.uint64());
1073
- break;
1074
- case 6:
1075
- message.unbondingOnHoldRefCount = longToNumber(reader.int64());
1076
- break;
1077
954
  default:
1078
955
  reader.skipType(tag & 7);
1079
956
  break;
@@ -1087,8 +964,6 @@ export const RedelegationEntry = {
1087
964
  completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
1088
965
  initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
1089
966
  sharesDst: isSet(object.sharesDst) ? String(object.sharesDst) : "",
1090
- unbondingId: isSet(object.unbondingId) ? Number(object.unbondingId) : 0,
1091
- unbondingOnHoldRefCount: isSet(object.unbondingOnHoldRefCount) ? Number(object.unbondingOnHoldRefCount) : 0,
1092
967
  };
1093
968
  },
1094
969
  toJSON(message) {
@@ -1097,9 +972,6 @@ export const RedelegationEntry = {
1097
972
  message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString());
1098
973
  message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
1099
974
  message.sharesDst !== undefined && (obj.sharesDst = message.sharesDst);
1100
- message.unbondingId !== undefined && (obj.unbondingId = Math.round(message.unbondingId));
1101
- message.unbondingOnHoldRefCount !== undefined
1102
- && (obj.unbondingOnHoldRefCount = Math.round(message.unbondingOnHoldRefCount));
1103
975
  return obj;
1104
976
  },
1105
977
  fromPartial(object) {
@@ -1108,8 +980,6 @@ export const RedelegationEntry = {
1108
980
  message.completionTime = object.completionTime ?? undefined;
1109
981
  message.initialBalance = object.initialBalance ?? "";
1110
982
  message.sharesDst = object.sharesDst ?? "";
1111
- message.unbondingId = object.unbondingId ?? 0;
1112
- message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount ?? 0;
1113
983
  return message;
1114
984
  },
1115
985
  };
@@ -1515,54 +1385,6 @@ export const Pool = {
1515
1385
  return message;
1516
1386
  },
1517
1387
  };
1518
- function createBaseValidatorUpdates() {
1519
- return { updates: [] };
1520
- }
1521
- export const ValidatorUpdates = {
1522
- encode(message, writer = _m0.Writer.create()) {
1523
- for (const v of message.updates) {
1524
- ValidatorUpdate.encode(v, writer.uint32(10).fork()).ldelim();
1525
- }
1526
- return writer;
1527
- },
1528
- decode(input, length) {
1529
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1530
- let end = length === undefined ? reader.len : reader.pos + length;
1531
- const message = createBaseValidatorUpdates();
1532
- while (reader.pos < end) {
1533
- const tag = reader.uint32();
1534
- switch (tag >>> 3) {
1535
- case 1:
1536
- message.updates.push(ValidatorUpdate.decode(reader, reader.uint32()));
1537
- break;
1538
- default:
1539
- reader.skipType(tag & 7);
1540
- break;
1541
- }
1542
- }
1543
- return message;
1544
- },
1545
- fromJSON(object) {
1546
- return {
1547
- updates: Array.isArray(object?.updates) ? object.updates.map((e) => ValidatorUpdate.fromJSON(e)) : [],
1548
- };
1549
- },
1550
- toJSON(message) {
1551
- const obj = {};
1552
- if (message.updates) {
1553
- obj.updates = message.updates.map((e) => e ? ValidatorUpdate.toJSON(e) : undefined);
1554
- }
1555
- else {
1556
- obj.updates = [];
1557
- }
1558
- return obj;
1559
- },
1560
- fromPartial(object) {
1561
- const message = createBaseValidatorUpdates();
1562
- message.updates = object.updates?.map((e) => ValidatorUpdate.fromPartial(e)) || [];
1563
- return message;
1564
- },
1565
- };
1566
1388
  var globalThis = (() => {
1567
1389
  if (typeof globalThis !== "undefined") {
1568
1390
  return globalThis;