decentralcardgame-cardchain-client-ts 0.0.1

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 (1540) hide show
  1. package/DecentralCardGame.cardchain.cardchain/index.js +5 -0
  2. package/DecentralCardGame.cardchain.cardchain/index.ts +6 -0
  3. package/DecentralCardGame.cardchain.cardchain/module.ts +1456 -0
  4. package/DecentralCardGame.cardchain.cardchain/registry.js +83 -0
  5. package/DecentralCardGame.cardchain.cardchain/registry.ts +87 -0
  6. package/DecentralCardGame.cardchain.cardchain/rest.js +396 -0
  7. package/DecentralCardGame.cardchain.cardchain/rest.ts +946 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/card.js +491 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/card.ts +556 -0
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +497 -0
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +562 -0
  12. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +365 -0
  13. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.ts +416 -0
  14. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +93 -0
  15. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.ts +124 -0
  16. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
  17. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.ts +134 -0
  18. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +356 -0
  19. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +415 -0
  20. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +241 -0
  21. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.ts +267 -0
  22. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
  23. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.ts +115 -0
  24. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +210 -0
  25. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.ts +255 -0
  26. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
  27. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.ts +92 -0
  28. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
  29. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.ts +102 -0
  30. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +275 -0
  31. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.ts +324 -0
  32. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +2186 -0
  33. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +2617 -0
  34. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
  35. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.ts +111 -0
  36. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
  37. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.ts +183 -0
  38. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
  39. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.ts +124 -0
  40. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4136 -0
  41. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +5125 -0
  42. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +554 -0
  43. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +625 -0
  44. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +84 -0
  45. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.ts +114 -0
  46. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +127 -0
  47. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.ts +161 -0
  48. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +148 -0
  49. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.ts +182 -0
  50. package/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.js +365 -0
  51. package/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.ts +416 -0
  52. package/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.js +93 -0
  53. package/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.ts +124 -0
  54. package/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.js +102 -0
  55. package/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.ts +134 -0
  56. package/DecentralCardGame.cardchain.cardchain/types/cardchain/council.js +350 -0
  57. package/DecentralCardGame.cardchain.cardchain/types/cardchain/council.ts +409 -0
  58. package/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.js +241 -0
  59. package/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.ts +267 -0
  60. package/DecentralCardGame.cardchain.cardchain/types/cardchain/image.js +88 -0
  61. package/DecentralCardGame.cardchain.cardchain/types/cardchain/image.ts +115 -0
  62. package/DecentralCardGame.cardchain.cardchain/types/cardchain/match.js +210 -0
  63. package/DecentralCardGame.cardchain.cardchain/types/cardchain/match.ts +255 -0
  64. package/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.js +67 -0
  65. package/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.ts +92 -0
  66. package/DecentralCardGame.cardchain.cardchain/types/cardchain/num.js +73 -0
  67. package/DecentralCardGame.cardchain.cardchain/types/cardchain/num.ts +102 -0
  68. package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +255 -0
  69. package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.ts +324 -0
  70. package/DecentralCardGame.cardchain.cardchain/types/cardchain/query.js +1970 -0
  71. package/DecentralCardGame.cardchain.cardchain/types/cardchain/query.ts +2366 -0
  72. package/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.js +85 -0
  73. package/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.ts +111 -0
  74. package/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.js +148 -0
  75. package/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.ts +183 -0
  76. package/DecentralCardGame.cardchain.cardchain/types/cardchain/server.js +93 -0
  77. package/DecentralCardGame.cardchain.cardchain/types/cardchain/server.ts +124 -0
  78. package/DecentralCardGame.cardchain.cardchain/types/cardchain/tx.ts +5125 -0
  79. package/DecentralCardGame.cardchain.cardchain/types/cardchain/user.js +496 -0
  80. package/DecentralCardGame.cardchain.cardchain/types/cardchain/user.ts +556 -0
  81. package/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.js +84 -0
  82. package/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.ts +114 -0
  83. package/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.js +127 -0
  84. package/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.ts +161 -0
  85. package/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.js +148 -0
  86. package/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.ts +182 -0
  87. package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  88. package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  89. package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +192 -0
  90. package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.ts +261 -0
  91. package/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +171 -0
  92. package/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.ts +247 -0
  93. package/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +2 -0
  94. package/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.ts +2 -0
  95. package/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +2 -0
  96. package/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.ts +2 -0
  97. package/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +260 -0
  98. package/DecentralCardGame.cardchain.cardchain/types/google/api/http.ts +589 -0
  99. package/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +2830 -0
  100. package/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.ts +3753 -0
  101. package/DecentralCardGame.cardchain.cardchain/types.js +21 -0
  102. package/DecentralCardGame.cardchain.cardchain/types.ts +45 -0
  103. package/client.js +135 -0
  104. package/client.ts +170 -0
  105. package/cosmos.auth.v1beta1/index.js +5 -0
  106. package/cosmos.auth.v1beta1/index.ts +6 -0
  107. package/cosmos.auth.v1beta1/module.js +62 -0
  108. package/cosmos.auth.v1beta1/module.ts +102 -0
  109. package/cosmos.auth.v1beta1/registry.js +2 -0
  110. package/cosmos.auth.v1beta1/registry.ts +7 -0
  111. package/cosmos.auth.v1beta1/rest.js +213 -0
  112. package/cosmos.auth.v1beta1/rest.ts +641 -0
  113. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +260 -0
  114. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +324 -0
  115. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
  116. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +95 -0
  117. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +868 -0
  118. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +1212 -0
  119. package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  120. package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  121. package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  122. package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  123. package/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
  124. package/cosmos.auth.v1beta1/types/gogoproto/gogo.ts +2 -0
  125. package/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
  126. package/cosmos.auth.v1beta1/types/google/api/annotations.ts +2 -0
  127. package/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
  128. package/cosmos.auth.v1beta1/types/google/api/http.ts +589 -0
  129. package/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
  130. package/cosmos.auth.v1beta1/types/google/protobuf/any.ts +240 -0
  131. package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  132. package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  133. package/cosmos.auth.v1beta1/types.js +4 -0
  134. package/cosmos.auth.v1beta1/types.ts +11 -0
  135. package/cosmos.authz.v1beta1/index.js +5 -0
  136. package/cosmos.authz.v1beta1/index.ts +6 -0
  137. package/cosmos.authz.v1beta1/module.js +140 -0
  138. package/cosmos.authz.v1beta1/module.ts +207 -0
  139. package/cosmos.authz.v1beta1/registry.js +9 -0
  140. package/cosmos.authz.v1beta1/registry.ts +13 -0
  141. package/cosmos.authz.v1beta1/rest.js +131 -0
  142. package/cosmos.authz.v1beta1/rest.ts +604 -0
  143. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
  144. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.ts +325 -0
  145. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
  146. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.ts +175 -0
  147. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
  148. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.ts +78 -0
  149. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
  150. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.ts +516 -0
  151. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
  152. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +493 -0
  153. package/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +773 -0
  154. package/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.ts +989 -0
  155. package/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  156. package/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  157. package/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  158. package/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  159. package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  160. package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  161. package/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
  162. package/cosmos.authz.v1beta1/types/gogoproto/gogo.ts +2 -0
  163. package/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
  164. package/cosmos.authz.v1beta1/types/google/api/annotations.ts +2 -0
  165. package/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
  166. package/cosmos.authz.v1beta1/types/google/api/http.ts +589 -0
  167. package/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
  168. package/cosmos.authz.v1beta1/types/google/protobuf/any.ts +240 -0
  169. package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  170. package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  171. package/cosmos.authz.v1beta1/types/google/protobuf/duration.js +84 -0
  172. package/cosmos.authz.v1beta1/types/google/protobuf/duration.ts +187 -0
  173. package/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
  174. package/cosmos.authz.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  175. package/cosmos.authz.v1beta1/types/tendermint/abci/types.js +3447 -0
  176. package/cosmos.authz.v1beta1/types/tendermint/abci/types.ts +4107 -0
  177. package/cosmos.authz.v1beta1/types/tendermint/crypto/keys.js +100 -0
  178. package/cosmos.authz.v1beta1/types/tendermint/crypto/keys.ts +129 -0
  179. package/cosmos.authz.v1beta1/types/tendermint/crypto/proof.js +356 -0
  180. package/cosmos.authz.v1beta1/types/tendermint/crypto/proof.ts +439 -0
  181. package/cosmos.authz.v1beta1/types/tendermint/types/params.js +378 -0
  182. package/cosmos.authz.v1beta1/types/tendermint/types/params.ts +514 -0
  183. package/cosmos.authz.v1beta1/types/tendermint/types/types.js +1207 -0
  184. package/cosmos.authz.v1beta1/types/tendermint/types/types.ts +1452 -0
  185. package/cosmos.authz.v1beta1/types/tendermint/types/validator.js +254 -0
  186. package/cosmos.authz.v1beta1/types/tendermint/types/validator.ts +308 -0
  187. package/cosmos.authz.v1beta1/types/tendermint/version/types.js +133 -0
  188. package/cosmos.authz.v1beta1/types/tendermint/version/types.ts +184 -0
  189. package/cosmos.authz.v1beta1/types.js +7 -0
  190. package/cosmos.authz.v1beta1/types.ts +17 -0
  191. package/cosmos.bank.v1beta1/index.js +5 -0
  192. package/cosmos.bank.v1beta1/index.ts +6 -0
  193. package/cosmos.bank.v1beta1/module.js +125 -0
  194. package/cosmos.bank.v1beta1/module.ts +182 -0
  195. package/cosmos.bank.v1beta1/registry.js +7 -0
  196. package/cosmos.bank.v1beta1/registry.ts +11 -0
  197. package/cosmos.bank.v1beta1/rest.js +222 -0
  198. package/cosmos.bank.v1beta1/rest.ts +656 -0
  199. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +50 -0
  200. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +77 -0
  201. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
  202. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +604 -0
  203. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +154 -0
  204. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +203 -0
  205. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1014 -0
  206. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +1366 -0
  207. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +219 -0
  208. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +289 -0
  209. package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  210. package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  211. package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  212. package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  213. package/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  214. package/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  215. package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  216. package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  217. package/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
  218. package/cosmos.bank.v1beta1/types/gogoproto/gogo.ts +2 -0
  219. package/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
  220. package/cosmos.bank.v1beta1/types/google/api/annotations.ts +2 -0
  221. package/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
  222. package/cosmos.bank.v1beta1/types/google/api/http.ts +589 -0
  223. package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  224. package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  225. package/cosmos.bank.v1beta1/types.js +11 -0
  226. package/cosmos.bank.v1beta1/types.ts +25 -0
  227. package/cosmos.base.tendermint.v1beta1/index.js +5 -0
  228. package/cosmos.base.tendermint.v1beta1/index.ts +6 -0
  229. package/cosmos.base.tendermint.v1beta1/module.js +70 -0
  230. package/cosmos.base.tendermint.v1beta1/module.ts +110 -0
  231. package/cosmos.base.tendermint.v1beta1/registry.js +2 -0
  232. package/cosmos.base.tendermint.v1beta1/registry.ts +7 -0
  233. package/cosmos.base.tendermint.v1beta1/rest.js +209 -0
  234. package/cosmos.base.tendermint.v1beta1/rest.ts +1147 -0
  235. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  236. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  237. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
  238. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +1646 -0
  239. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
  240. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.ts +442 -0
  241. package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  242. package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  243. package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
  244. package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.ts +2 -0
  245. package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
  246. package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.ts +2 -0
  247. package/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
  248. package/cosmos.base.tendermint.v1beta1/types/google/api/http.ts +589 -0
  249. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
  250. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.ts +240 -0
  251. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  252. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  253. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
  254. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  255. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
  256. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +129 -0
  257. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
  258. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.ts +439 -0
  259. package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
  260. package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.ts +423 -0
  261. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
  262. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.ts +112 -0
  263. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
  264. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.ts +412 -0
  265. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
  266. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1452 -0
  267. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
  268. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.ts +308 -0
  269. package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
  270. package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.ts +184 -0
  271. package/cosmos.base.tendermint.v1beta1/types.js +8 -0
  272. package/cosmos.base.tendermint.v1beta1/types.ts +19 -0
  273. package/cosmos.crisis.v1beta1/index.js +5 -0
  274. package/cosmos.crisis.v1beta1/index.ts +6 -0
  275. package/cosmos.crisis.v1beta1/module.js +81 -0
  276. package/cosmos.crisis.v1beta1/module.ts +129 -0
  277. package/cosmos.crisis.v1beta1/registry.js +5 -0
  278. package/cosmos.crisis.v1beta1/registry.ts +9 -0
  279. package/cosmos.crisis.v1beta1/rest.js +83 -0
  280. package/cosmos.crisis.v1beta1/rest.ts +152 -0
  281. package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  282. package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  283. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
  284. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.ts +79 -0
  285. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +111 -0
  286. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +159 -0
  287. package/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  288. package/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  289. package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  290. package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  291. package/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
  292. package/cosmos.crisis.v1beta1/types/gogoproto/gogo.ts +2 -0
  293. package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  294. package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  295. package/cosmos.crisis.v1beta1/types.js +1 -0
  296. package/cosmos.crisis.v1beta1/types.ts +5 -0
  297. package/cosmos.distribution.v1beta1/index.js +5 -0
  298. package/cosmos.distribution.v1beta1/index.ts +6 -0
  299. package/cosmos.distribution.v1beta1/module.js +189 -0
  300. package/cosmos.distribution.v1beta1/module.ts +266 -0
  301. package/cosmos.distribution.v1beta1/registry.js +11 -0
  302. package/cosmos.distribution.v1beta1/registry.ts +15 -0
  303. package/cosmos.distribution.v1beta1/rest.js +214 -0
  304. package/cosmos.distribution.v1beta1/rest.ts +557 -0
  305. package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  306. package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  307. package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  308. package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  309. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
  310. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +945 -0
  311. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
  312. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +849 -0
  313. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +926 -0
  314. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1289 -0
  315. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +396 -0
  316. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +550 -0
  317. package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  318. package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  319. package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  320. package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  321. package/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
  322. package/cosmos.distribution.v1beta1/types/gogoproto/gogo.ts +2 -0
  323. package/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
  324. package/cosmos.distribution.v1beta1/types/google/api/annotations.ts +2 -0
  325. package/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
  326. package/cosmos.distribution.v1beta1/types/google/api/http.ts +589 -0
  327. package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  328. package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  329. package/cosmos.distribution.v1beta1/types.js +20 -0
  330. package/cosmos.distribution.v1beta1/types.ts +43 -0
  331. package/cosmos.evidence.v1beta1/index.js +5 -0
  332. package/cosmos.evidence.v1beta1/index.ts +6 -0
  333. package/cosmos.evidence.v1beta1/module.js +84 -0
  334. package/cosmos.evidence.v1beta1/module.ts +131 -0
  335. package/cosmos.evidence.v1beta1/registry.js +5 -0
  336. package/cosmos.evidence.v1beta1/registry.ts +9 -0
  337. package/cosmos.evidence.v1beta1/rest.js +115 -0
  338. package/cosmos.evidence.v1beta1/rest.ts +402 -0
  339. package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  340. package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  341. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
  342. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +161 -0
  343. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
  344. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.ts +73 -0
  345. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +254 -0
  346. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +343 -0
  347. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
  348. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +213 -0
  349. package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  350. package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  351. package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  352. package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  353. package/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
  354. package/cosmos.evidence.v1beta1/types/gogoproto/gogo.ts +2 -0
  355. package/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
  356. package/cosmos.evidence.v1beta1/types/google/api/annotations.ts +2 -0
  357. package/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
  358. package/cosmos.evidence.v1beta1/types/google/api/http.ts +589 -0
  359. package/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
  360. package/cosmos.evidence.v1beta1/types/google/protobuf/any.ts +240 -0
  361. package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  362. package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  363. package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
  364. package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  365. package/cosmos.evidence.v1beta1/types.js +2 -0
  366. package/cosmos.evidence.v1beta1/types.ts +7 -0
  367. package/cosmos.feegrant.v1beta1/index.js +5 -0
  368. package/cosmos.feegrant.v1beta1/index.ts +6 -0
  369. package/cosmos.feegrant.v1beta1/module.js +113 -0
  370. package/cosmos.feegrant.v1beta1/module.ts +170 -0
  371. package/cosmos.feegrant.v1beta1/registry.js +7 -0
  372. package/cosmos.feegrant.v1beta1/registry.ts +11 -0
  373. package/cosmos.feegrant.v1beta1/rest.js +130 -0
  374. package/cosmos.feegrant.v1beta1/rest.ts +452 -0
  375. package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  376. package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  377. package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  378. package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  379. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
  380. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.ts +409 -0
  381. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
  382. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.ts +76 -0
  383. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
  384. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.ts +484 -0
  385. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
  386. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.ts +294 -0
  387. package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  388. package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  389. package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  390. package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  391. package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
  392. package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.ts +2 -0
  393. package/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
  394. package/cosmos.feegrant.v1beta1/types/google/api/annotations.ts +2 -0
  395. package/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
  396. package/cosmos.feegrant.v1beta1/types/google/api/http.ts +589 -0
  397. package/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
  398. package/cosmos.feegrant.v1beta1/types/google/protobuf/any.ts +240 -0
  399. package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  400. package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  401. package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
  402. package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.ts +187 -0
  403. package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
  404. package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  405. package/cosmos.feegrant.v1beta1/types.js +5 -0
  406. package/cosmos.feegrant.v1beta1/types.ts +13 -0
  407. package/cosmos.gov.v1/index.js +5 -0
  408. package/cosmos.gov.v1/index.ts +6 -0
  409. package/cosmos.gov.v1/module.js +167 -0
  410. package/cosmos.gov.v1/module.ts +244 -0
  411. package/cosmos.gov.v1/registry.js +11 -0
  412. package/cosmos.gov.v1/registry.ts +15 -0
  413. package/cosmos.gov.v1/rest.js +242 -0
  414. package/cosmos.gov.v1/rest.ts +798 -0
  415. package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  416. package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  417. package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
  418. package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.ts +261 -0
  419. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +162 -0
  420. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +208 -0
  421. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +766 -0
  422. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +925 -0
  423. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +917 -0
  424. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +1202 -0
  425. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +590 -0
  426. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +763 -0
  427. package/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
  428. package/cosmos.gov.v1/types/cosmos/msg/v1/msg.ts +2 -0
  429. package/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
  430. package/cosmos.gov.v1/types/cosmos_proto/cosmos.ts +247 -0
  431. package/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
  432. package/cosmos.gov.v1/types/gogoproto/gogo.ts +2 -0
  433. package/cosmos.gov.v1/types/google/api/annotations.js +2 -0
  434. package/cosmos.gov.v1/types/google/api/annotations.ts +2 -0
  435. package/cosmos.gov.v1/types/google/api/http.js +260 -0
  436. package/cosmos.gov.v1/types/google/api/http.ts +589 -0
  437. package/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
  438. package/cosmos.gov.v1/types/google/protobuf/any.ts +240 -0
  439. package/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
  440. package/cosmos.gov.v1/types/google/protobuf/descriptor.ts +3753 -0
  441. package/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
  442. package/cosmos.gov.v1/types/google/protobuf/duration.ts +187 -0
  443. package/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
  444. package/cosmos.gov.v1/types/google/protobuf/timestamp.ts +216 -0
  445. package/cosmos.gov.v1/types.js +9 -0
  446. package/cosmos.gov.v1/types.ts +21 -0
  447. package/cosmos.gov.v1beta1/index.js +5 -0
  448. package/cosmos.gov.v1beta1/index.ts +6 -0
  449. package/cosmos.gov.v1beta1/module.js +169 -0
  450. package/cosmos.gov.v1beta1/module.ts +246 -0
  451. package/cosmos.gov.v1beta1/registry.js +11 -0
  452. package/cosmos.gov.v1beta1/registry.ts +15 -0
  453. package/cosmos.gov.v1beta1/rest.js +242 -0
  454. package/cosmos.gov.v1beta1/rest.ts +864 -0
  455. package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  456. package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  457. package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  458. package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  459. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
  460. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +206 -0
  461. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
  462. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +1015 -0
  463. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
  464. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +1200 -0
  465. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
  466. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +612 -0
  467. package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  468. package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  469. package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  470. package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  471. package/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
  472. package/cosmos.gov.v1beta1/types/gogoproto/gogo.ts +2 -0
  473. package/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
  474. package/cosmos.gov.v1beta1/types/google/api/annotations.ts +2 -0
  475. package/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
  476. package/cosmos.gov.v1beta1/types/google/api/http.ts +589 -0
  477. package/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
  478. package/cosmos.gov.v1beta1/types/google/protobuf/any.ts +240 -0
  479. package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  480. package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  481. package/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
  482. package/cosmos.gov.v1beta1/types/google/protobuf/duration.ts +187 -0
  483. package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
  484. package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  485. package/cosmos.gov.v1beta1/types.js +10 -0
  486. package/cosmos.gov.v1beta1/types.ts +23 -0
  487. package/cosmos.group.v1/index.js +5 -0
  488. package/cosmos.group.v1/index.ts +6 -0
  489. package/cosmos.group.v1/module.js +421 -0
  490. package/cosmos.group.v1/module.ts +598 -0
  491. package/cosmos.group.v1/registry.js +31 -0
  492. package/cosmos.group.v1/registry.ts +35 -0
  493. package/cosmos.group.v1/rest.js +351 -0
  494. package/cosmos.group.v1/rest.ts +1162 -0
  495. package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  496. package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  497. package/cosmos.group.v1/types/cosmos/group/v1/events.js +433 -0
  498. package/cosmos.group.v1/types/cosmos/group/v1/events.ts +568 -0
  499. package/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
  500. package/cosmos.group.v1/types/cosmos/group/v1/genesis.ts +228 -0
  501. package/cosmos.group.v1/types/cosmos/group/v1/query.js +1468 -0
  502. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +1897 -0
  503. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +1621 -0
  504. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +2113 -0
  505. package/cosmos.group.v1/types/cosmos/group/v1/types.js +1105 -0
  506. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +1422 -0
  507. package/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
  508. package/cosmos.group.v1/types/cosmos/msg/v1/msg.ts +2 -0
  509. package/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
  510. package/cosmos.group.v1/types/cosmos_proto/cosmos.ts +247 -0
  511. package/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
  512. package/cosmos.group.v1/types/gogoproto/gogo.ts +2 -0
  513. package/cosmos.group.v1/types/google/api/annotations.js +2 -0
  514. package/cosmos.group.v1/types/google/api/annotations.ts +2 -0
  515. package/cosmos.group.v1/types/google/api/http.js +260 -0
  516. package/cosmos.group.v1/types/google/api/http.ts +589 -0
  517. package/cosmos.group.v1/types/google/protobuf/any.js +99 -0
  518. package/cosmos.group.v1/types/google/protobuf/any.ts +240 -0
  519. package/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
  520. package/cosmos.group.v1/types/google/protobuf/descriptor.ts +3753 -0
  521. package/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
  522. package/cosmos.group.v1/types/google/protobuf/duration.ts +187 -0
  523. package/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
  524. package/cosmos.group.v1/types/google/protobuf/timestamp.ts +216 -0
  525. package/cosmos.group.v1/types.js +21 -0
  526. package/cosmos.group.v1/types.ts +45 -0
  527. package/cosmos.mint.v1beta1/index.js +5 -0
  528. package/cosmos.mint.v1beta1/index.ts +6 -0
  529. package/cosmos.mint.v1beta1/module.js +60 -0
  530. package/cosmos.mint.v1beta1/module.ts +100 -0
  531. package/cosmos.mint.v1beta1/registry.js +2 -0
  532. package/cosmos.mint.v1beta1/registry.ts +7 -0
  533. package/cosmos.mint.v1beta1/rest.js +128 -0
  534. package/cosmos.mint.v1beta1/rest.ts +253 -0
  535. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
  536. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +92 -0
  537. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
  538. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +234 -0
  539. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
  540. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.ts +412 -0
  541. package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  542. package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  543. package/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
  544. package/cosmos.mint.v1beta1/types/gogoproto/gogo.ts +2 -0
  545. package/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
  546. package/cosmos.mint.v1beta1/types/google/api/annotations.ts +2 -0
  547. package/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
  548. package/cosmos.mint.v1beta1/types/google/api/http.ts +589 -0
  549. package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  550. package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  551. package/cosmos.mint.v1beta1/types.js +3 -0
  552. package/cosmos.mint.v1beta1/types.ts +9 -0
  553. package/cosmos.nft.v1beta1/index.js +5 -0
  554. package/cosmos.nft.v1beta1/index.ts +6 -0
  555. package/cosmos.nft.v1beta1/module.js +68 -0
  556. package/cosmos.nft.v1beta1/module.ts +108 -0
  557. package/cosmos.nft.v1beta1/registry.js +2 -0
  558. package/cosmos.nft.v1beta1/registry.ts +7 -0
  559. package/cosmos.nft.v1beta1/rest.js +187 -0
  560. package/cosmos.nft.v1beta1/rest.ts +685 -0
  561. package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  562. package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  563. package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  564. package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  565. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
  566. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +251 -0
  567. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
  568. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +163 -0
  569. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
  570. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.ts +240 -0
  571. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
  572. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +964 -0
  573. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
  574. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.ts +173 -0
  575. package/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
  576. package/cosmos.nft.v1beta1/types/google/api/annotations.ts +2 -0
  577. package/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
  578. package/cosmos.nft.v1beta1/types/google/api/http.ts +589 -0
  579. package/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
  580. package/cosmos.nft.v1beta1/types/google/protobuf/any.ts +240 -0
  581. package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  582. package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  583. package/cosmos.nft.v1beta1/types.js +7 -0
  584. package/cosmos.nft.v1beta1/types.ts +17 -0
  585. package/cosmos.params.v1beta1/index.js +5 -0
  586. package/cosmos.params.v1beta1/index.ts +6 -0
  587. package/cosmos.params.v1beta1/module.js +62 -0
  588. package/cosmos.params.v1beta1/module.ts +102 -0
  589. package/cosmos.params.v1beta1/registry.js +2 -0
  590. package/cosmos.params.v1beta1/registry.ts +7 -0
  591. package/cosmos.params.v1beta1/rest.js +116 -0
  592. package/cosmos.params.v1beta1/rest.ts +220 -0
  593. package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
  594. package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.ts +174 -0
  595. package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
  596. package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.ts +364 -0
  597. package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  598. package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  599. package/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
  600. package/cosmos.params.v1beta1/types/gogoproto/gogo.ts +2 -0
  601. package/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
  602. package/cosmos.params.v1beta1/types/google/api/annotations.ts +2 -0
  603. package/cosmos.params.v1beta1/types/google/api/http.js +260 -0
  604. package/cosmos.params.v1beta1/types/google/api/http.ts +589 -0
  605. package/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  606. package/cosmos.params.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  607. package/cosmos.params.v1beta1/types.js +4 -0
  608. package/cosmos.params.v1beta1/types.ts +11 -0
  609. package/cosmos.slashing.v1beta1/index.js +5 -0
  610. package/cosmos.slashing.v1beta1/index.ts +6 -0
  611. package/cosmos.slashing.v1beta1/module.js +92 -0
  612. package/cosmos.slashing.v1beta1/module.ts +139 -0
  613. package/cosmos.slashing.v1beta1/registry.js +5 -0
  614. package/cosmos.slashing.v1beta1/registry.ts +9 -0
  615. package/cosmos.slashing.v1beta1/rest.js +129 -0
  616. package/cosmos.slashing.v1beta1/rest.ts +368 -0
  617. package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  618. package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  619. package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  620. package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  621. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
  622. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +364 -0
  623. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
  624. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.ts +411 -0
  625. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
  626. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.ts +352 -0
  627. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +91 -0
  628. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +141 -0
  629. package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  630. package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  631. package/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
  632. package/cosmos.slashing.v1beta1/types/gogoproto/gogo.ts +2 -0
  633. package/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
  634. package/cosmos.slashing.v1beta1/types/google/api/annotations.ts +2 -0
  635. package/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
  636. package/cosmos.slashing.v1beta1/types/google/api/http.ts +589 -0
  637. package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  638. package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  639. package/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
  640. package/cosmos.slashing.v1beta1/types/google/protobuf/duration.ts +187 -0
  641. package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
  642. package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  643. package/cosmos.slashing.v1beta1/types.js +6 -0
  644. package/cosmos.slashing.v1beta1/types.ts +15 -0
  645. package/cosmos.staking.v1beta1/index.js +5 -0
  646. package/cosmos.staking.v1beta1/index.ts +6 -0
  647. package/cosmos.staking.v1beta1/module.js +243 -0
  648. package/cosmos.staking.v1beta1/module.ts +340 -0
  649. package/cosmos.staking.v1beta1/registry.js +15 -0
  650. package/cosmos.staking.v1beta1/registry.ts +19 -0
  651. package/cosmos.staking.v1beta1/rest.js +308 -0
  652. package/cosmos.staking.v1beta1/rest.ts +1239 -0
  653. package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  654. package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  655. package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  656. package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  657. package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  658. package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  659. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
  660. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.ts +245 -0
  661. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
  662. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +322 -0
  663. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
  664. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +2109 -0
  665. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1436 -0
  666. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +1829 -0
  667. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +768 -0
  668. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1005 -0
  669. package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  670. package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  671. package/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
  672. package/cosmos.staking.v1beta1/types/gogoproto/gogo.ts +2 -0
  673. package/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
  674. package/cosmos.staking.v1beta1/types/google/api/annotations.ts +2 -0
  675. package/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
  676. package/cosmos.staking.v1beta1/types/google/api/http.ts +589 -0
  677. package/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
  678. package/cosmos.staking.v1beta1/types/google/protobuf/any.ts +240 -0
  679. package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  680. package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  681. package/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
  682. package/cosmos.staking.v1beta1/types/google/protobuf/duration.ts +187 -0
  683. package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
  684. package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  685. package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
  686. package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +129 -0
  687. package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
  688. package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.ts +439 -0
  689. package/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
  690. package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1452 -0
  691. package/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
  692. package/cosmos.staking.v1beta1/types/tendermint/types/validator.ts +308 -0
  693. package/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
  694. package/cosmos.staking.v1beta1/types/tendermint/version/types.ts +184 -0
  695. package/cosmos.staking.v1beta1/types.js +24 -0
  696. package/cosmos.staking.v1beta1/types.ts +51 -0
  697. package/cosmos.tx.v1beta1/index.js +5 -0
  698. package/cosmos.tx.v1beta1/index.ts +6 -0
  699. package/cosmos.tx.v1beta1/module.js +82 -0
  700. package/cosmos.tx.v1beta1/module.ts +122 -0
  701. package/cosmos.tx.v1beta1/registry.js +2 -0
  702. package/cosmos.tx.v1beta1/registry.ts +7 -0
  703. package/cosmos.tx.v1beta1/rest.js +256 -0
  704. package/cosmos.tx.v1beta1/rest.ts +1372 -0
  705. package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
  706. package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.ts +1040 -0
  707. package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  708. package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  709. package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  710. package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  711. package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
  712. package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.ts +195 -0
  713. package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
  714. package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.ts +556 -0
  715. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +802 -0
  716. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +1057 -0
  717. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
  718. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.ts +1355 -0
  719. package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  720. package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  721. package/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
  722. package/cosmos.tx.v1beta1/types/gogoproto/gogo.ts +2 -0
  723. package/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
  724. package/cosmos.tx.v1beta1/types/google/api/annotations.ts +2 -0
  725. package/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
  726. package/cosmos.tx.v1beta1/types/google/api/http.ts +589 -0
  727. package/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
  728. package/cosmos.tx.v1beta1/types/google/protobuf/any.ts +240 -0
  729. package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  730. package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  731. package/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
  732. package/cosmos.tx.v1beta1/types/google/protobuf/duration.ts +187 -0
  733. package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
  734. package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  735. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3486 -0
  736. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +4154 -0
  737. package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
  738. package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +129 -0
  739. package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
  740. package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.ts +439 -0
  741. package/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
  742. package/cosmos.tx.v1beta1/types/tendermint/types/block.ts +112 -0
  743. package/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
  744. package/cosmos.tx.v1beta1/types/tendermint/types/evidence.ts +412 -0
  745. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +378 -0
  746. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +514 -0
  747. package/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
  748. package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1452 -0
  749. package/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
  750. package/cosmos.tx.v1beta1/types/tendermint/types/validator.ts +308 -0
  751. package/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
  752. package/cosmos.tx.v1beta1/types/tendermint/version/types.ts +184 -0
  753. package/cosmos.tx.v1beta1/types.js +14 -0
  754. package/cosmos.tx.v1beta1/types.ts +31 -0
  755. package/cosmos.upgrade.v1beta1/index.js +5 -0
  756. package/cosmos.upgrade.v1beta1/index.ts +6 -0
  757. package/cosmos.upgrade.v1beta1/module.js +113 -0
  758. package/cosmos.upgrade.v1beta1/module.ts +170 -0
  759. package/cosmos.upgrade.v1beta1/registry.js +7 -0
  760. package/cosmos.upgrade.v1beta1/registry.ts +11 -0
  761. package/cosmos.upgrade.v1beta1/rest.js +162 -0
  762. package/cosmos.upgrade.v1beta1/rest.ts +468 -0
  763. package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  764. package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  765. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
  766. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.ts +728 -0
  767. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
  768. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +284 -0
  769. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  770. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
  771. package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  772. package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  773. package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
  774. package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.ts +2 -0
  775. package/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
  776. package/cosmos.upgrade.v1beta1/types/google/api/annotations.ts +2 -0
  777. package/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
  778. package/cosmos.upgrade.v1beta1/types/google/api/http.ts +589 -0
  779. package/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
  780. package/cosmos.upgrade.v1beta1/types/google/protobuf/any.ts +240 -0
  781. package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  782. package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  783. package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
  784. package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.ts +216 -0
  785. package/cosmos.upgrade.v1beta1/types.js +5 -0
  786. package/cosmos.upgrade.v1beta1/types.ts +13 -0
  787. package/cosmos.vesting.v1beta1/index.js +5 -0
  788. package/cosmos.vesting.v1beta1/index.ts +6 -0
  789. package/cosmos.vesting.v1beta1/module.js +140 -0
  790. package/cosmos.vesting.v1beta1/module.ts +207 -0
  791. package/cosmos.vesting.v1beta1/registry.js +9 -0
  792. package/cosmos.vesting.v1beta1/registry.ts +13 -0
  793. package/cosmos.vesting.v1beta1/rest.js +83 -0
  794. package/cosmos.vesting.v1beta1/rest.ts +297 -0
  795. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +260 -0
  796. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +324 -0
  797. package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  798. package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
  799. package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  800. package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  801. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
  802. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +540 -0
  803. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
  804. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +529 -0
  805. package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  806. package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  807. package/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
  808. package/cosmos.vesting.v1beta1/types/gogoproto/gogo.ts +2 -0
  809. package/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
  810. package/cosmos.vesting.v1beta1/types/google/protobuf/any.ts +240 -0
  811. package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  812. package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
  813. package/cosmos.vesting.v1beta1/types.js +7 -0
  814. package/cosmos.vesting.v1beta1/types.ts +17 -0
  815. package/env.js +1 -0
  816. package/env.ts +7 -0
  817. package/helpers.js +11 -0
  818. package/helpers.ts +32 -0
  819. package/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
  820. package/ibc.applications.interchain_accounts.controller.v1/index.ts +6 -0
  821. package/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
  822. package/ibc.applications.interchain_accounts.controller.v1/module.ts +98 -0
  823. package/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
  824. package/ibc.applications.interchain_accounts.controller.v1/registry.ts +7 -0
  825. package/ibc.applications.interchain_accounts.controller.v1/rest.js +114 -0
  826. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +203 -0
  827. package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
  828. package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.ts +2 -0
  829. package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
  830. package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.ts +2 -0
  831. package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
  832. package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.ts +589 -0
  833. package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
  834. package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.ts +3753 -0
  835. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
  836. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +75 -0
  837. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
  838. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.ts +274 -0
  839. package/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
  840. package/ibc.applications.interchain_accounts.controller.v1/types.ts +7 -0
  841. package/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
  842. package/ibc.applications.interchain_accounts.host.v1/index.ts +6 -0
  843. package/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
  844. package/ibc.applications.interchain_accounts.host.v1/module.ts +98 -0
  845. package/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
  846. package/ibc.applications.interchain_accounts.host.v1/registry.ts +7 -0
  847. package/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
  848. package/ibc.applications.interchain_accounts.host.v1/rest.ts +183 -0
  849. package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
  850. package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.ts +2 -0
  851. package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
  852. package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.ts +2 -0
  853. package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
  854. package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.ts +589 -0
  855. package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
  856. package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.ts +3753 -0
  857. package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
  858. package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.ts +92 -0
  859. package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
  860. package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.ts +141 -0
  861. package/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
  862. package/ibc.applications.interchain_accounts.host.v1/types.ts +7 -0
  863. package/ibc.applications.transfer.v1/index.js +5 -0
  864. package/ibc.applications.transfer.v1/index.ts +6 -0
  865. package/ibc.applications.transfer.v1/module.js +86 -0
  866. package/ibc.applications.transfer.v1/module.ts +133 -0
  867. package/ibc.applications.transfer.v1/registry.js +5 -0
  868. package/ibc.applications.transfer.v1/registry.ts +9 -0
  869. package/ibc.applications.transfer.v1/rest.js +157 -0
  870. package/ibc.applications.transfer.v1/rest.ts +538 -0
  871. package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  872. package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  873. package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
  874. package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.ts +261 -0
  875. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  876. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
  877. package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
  878. package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.ts +247 -0
  879. package/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
  880. package/ibc.applications.transfer.v1/types/gogoproto/gogo.ts +2 -0
  881. package/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
  882. package/ibc.applications.transfer.v1/types/google/api/annotations.ts +2 -0
  883. package/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
  884. package/ibc.applications.transfer.v1/types/google/api/http.ts +589 -0
  885. package/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
  886. package/ibc.applications.transfer.v1/types/google/protobuf/any.ts +240 -0
  887. package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
  888. package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.ts +3753 -0
  889. package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
  890. package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.ts +216 -0
  891. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +75 -0
  892. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +100 -0
  893. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +483 -0
  894. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +659 -0
  895. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
  896. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.ts +168 -0
  897. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +186 -0
  898. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.ts +265 -0
  899. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
  900. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +608 -0
  901. package/ibc.applications.transfer.v1/types.js +3 -0
  902. package/ibc.applications.transfer.v1/types.ts +9 -0
  903. package/ibc.core.channel.v1/index.js +5 -0
  904. package/ibc.core.channel.v1/index.ts +6 -0
  905. package/ibc.core.channel.v1/module.js +72 -0
  906. package/ibc.core.channel.v1/module.ts +112 -0
  907. package/ibc.core.channel.v1/registry.js +2 -0
  908. package/ibc.core.channel.v1/registry.ts +7 -0
  909. package/ibc.core.channel.v1/rest.js +323 -0
  910. package/ibc.core.channel.v1/rest.ts +1375 -0
  911. package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  912. package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  913. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  914. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
  915. package/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
  916. package/ibc.core.channel.v1/types/cosmos_proto/cosmos.ts +247 -0
  917. package/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
  918. package/ibc.core.channel.v1/types/gogoproto/gogo.ts +2 -0
  919. package/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
  920. package/ibc.core.channel.v1/types/google/api/annotations.ts +2 -0
  921. package/ibc.core.channel.v1/types/google/api/http.js +260 -0
  922. package/ibc.core.channel.v1/types/google/api/http.ts +589 -0
  923. package/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
  924. package/ibc.core.channel.v1/types/google/protobuf/any.ts +240 -0
  925. package/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
  926. package/ibc.core.channel.v1/types/google/protobuf/descriptor.ts +3753 -0
  927. package/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
  928. package/ibc.core.channel.v1/types/google/protobuf/timestamp.ts +216 -0
  929. package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
  930. package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.ts +905 -0
  931. package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
  932. package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.ts +301 -0
  933. package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
  934. package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.ts +2472 -0
  935. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1425 -0
  936. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +1784 -0
  937. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +448 -0
  938. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +608 -0
  939. package/ibc.core.channel.v1/types.js +9 -0
  940. package/ibc.core.channel.v1/types.ts +21 -0
  941. package/ibc.core.client.v1/index.js +5 -0
  942. package/ibc.core.client.v1/index.ts +6 -0
  943. package/ibc.core.client.v1/module.js +74 -0
  944. package/ibc.core.client.v1/module.ts +114 -0
  945. package/ibc.core.client.v1/registry.js +2 -0
  946. package/ibc.core.client.v1/registry.ts +7 -0
  947. package/ibc.core.client.v1/rest.js +218 -0
  948. package/ibc.core.client.v1/rest.ts +1084 -0
  949. package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  950. package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  951. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  952. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
  953. package/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
  954. package/ibc.core.client.v1/types/cosmos_proto/cosmos.ts +247 -0
  955. package/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
  956. package/ibc.core.client.v1/types/gogoproto/gogo.ts +2 -0
  957. package/ibc.core.client.v1/types/google/api/annotations.js +2 -0
  958. package/ibc.core.client.v1/types/google/api/annotations.ts +2 -0
  959. package/ibc.core.client.v1/types/google/api/http.js +260 -0
  960. package/ibc.core.client.v1/types/google/api/http.ts +589 -0
  961. package/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
  962. package/ibc.core.client.v1/types/google/protobuf/any.ts +240 -0
  963. package/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
  964. package/ibc.core.client.v1/types/google/protobuf/descriptor.ts +3753 -0
  965. package/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
  966. package/ibc.core.client.v1/types/google/protobuf/timestamp.ts +216 -0
  967. package/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
  968. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +608 -0
  969. package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
  970. package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.ts +357 -0
  971. package/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
  972. package/ibc.core.client.v1/types/ibc/core/client/v1/query.ts +1390 -0
  973. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +509 -0
  974. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +691 -0
  975. package/ibc.core.client.v1/types.js +10 -0
  976. package/ibc.core.client.v1/types.ts +23 -0
  977. package/ibc.core.connection.v1/index.js +5 -0
  978. package/ibc.core.connection.v1/index.ts +6 -0
  979. package/ibc.core.connection.v1/module.js +70 -0
  980. package/ibc.core.connection.v1/module.ts +110 -0
  981. package/ibc.core.connection.v1/registry.js +2 -0
  982. package/ibc.core.connection.v1/registry.ts +7 -0
  983. package/ibc.core.connection.v1/rest.js +177 -0
  984. package/ibc.core.connection.v1/rest.ts +852 -0
  985. package/ibc.core.connection.v1/types/confio/proofs.js +1120 -0
  986. package/ibc.core.connection.v1/types/confio/proofs.ts +1402 -0
  987. package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  988. package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  989. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  990. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
  991. package/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
  992. package/ibc.core.connection.v1/types/cosmos_proto/cosmos.ts +247 -0
  993. package/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
  994. package/ibc.core.connection.v1/types/gogoproto/gogo.ts +2 -0
  995. package/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
  996. package/ibc.core.connection.v1/types/google/api/annotations.ts +2 -0
  997. package/ibc.core.connection.v1/types/google/api/http.js +260 -0
  998. package/ibc.core.connection.v1/types/google/api/http.ts +589 -0
  999. package/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
  1000. package/ibc.core.connection.v1/types/google/protobuf/any.ts +240 -0
  1001. package/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
  1002. package/ibc.core.connection.v1/types/google/protobuf/descriptor.ts +3753 -0
  1003. package/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
  1004. package/ibc.core.connection.v1/types/google/protobuf/timestamp.ts +216 -0
  1005. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
  1006. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +608 -0
  1007. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +223 -0
  1008. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +299 -0
  1009. package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
  1010. package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.ts +698 -0
  1011. package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
  1012. package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.ts +152 -0
  1013. package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +684 -0
  1014. package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.ts +932 -0
  1015. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +705 -0
  1016. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +908 -0
  1017. package/ibc.core.connection.v1/types/proofs.js +1126 -0
  1018. package/ibc.core.connection.v1/types/proofs.ts +1408 -0
  1019. package/ibc.core.connection.v1/types.js +8 -0
  1020. package/ibc.core.connection.v1/types.ts +19 -0
  1021. package/index.js +62 -0
  1022. package/index.ts +71 -0
  1023. package/lib/DecentralCardGame.cardchain.cardchain/index.js +5 -0
  1024. package/lib/DecentralCardGame.cardchain.cardchain/module.js +1019 -0
  1025. package/lib/DecentralCardGame.cardchain.cardchain/registry.js +83 -0
  1026. package/lib/DecentralCardGame.cardchain.cardchain/rest.js +396 -0
  1027. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/card.js +491 -0
  1028. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +497 -0
  1029. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +365 -0
  1030. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +93 -0
  1031. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
  1032. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +356 -0
  1033. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +241 -0
  1034. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
  1035. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +210 -0
  1036. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
  1037. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
  1038. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +275 -0
  1039. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +2186 -0
  1040. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
  1041. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
  1042. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
  1043. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4136 -0
  1044. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +554 -0
  1045. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +84 -0
  1046. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +127 -0
  1047. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +148 -0
  1048. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.js +365 -0
  1049. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.js +93 -0
  1050. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.js +102 -0
  1051. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/council.js +350 -0
  1052. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.js +241 -0
  1053. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/image.js +88 -0
  1054. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match.js +210 -0
  1055. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.js +67 -0
  1056. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/num.js +73 -0
  1057. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +275 -0
  1058. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/query.js +1970 -0
  1059. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.js +85 -0
  1060. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.js +148 -0
  1061. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/server.js +93 -0
  1062. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/tx.js +4137 -0
  1063. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/user.js +496 -0
  1064. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.js +84 -0
  1065. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.js +127 -0
  1066. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.js +148 -0
  1067. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1068. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +192 -0
  1069. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +171 -0
  1070. package/lib/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +2 -0
  1071. package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +2 -0
  1072. package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +260 -0
  1073. package/lib/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +2830 -0
  1074. package/lib/DecentralCardGame.cardchain.cardchain/types.js +21 -0
  1075. package/lib/client.js +135 -0
  1076. package/lib/cosmos.auth.v1beta1/index.js +5 -0
  1077. package/lib/cosmos.auth.v1beta1/module.js +62 -0
  1078. package/lib/cosmos.auth.v1beta1/registry.js +2 -0
  1079. package/lib/cosmos.auth.v1beta1/rest.js +213 -0
  1080. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +260 -0
  1081. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
  1082. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +868 -0
  1083. package/lib/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1084. package/lib/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1085. package/lib/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
  1086. package/lib/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
  1087. package/lib/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
  1088. package/lib/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
  1089. package/lib/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1090. package/lib/cosmos.auth.v1beta1/types.js +4 -0
  1091. package/lib/cosmos.authz.v1beta1/index.js +5 -0
  1092. package/lib/cosmos.authz.v1beta1/module.js +140 -0
  1093. package/lib/cosmos.authz.v1beta1/registry.js +9 -0
  1094. package/lib/cosmos.authz.v1beta1/rest.js +131 -0
  1095. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
  1096. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
  1097. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
  1098. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
  1099. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
  1100. package/lib/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +773 -0
  1101. package/lib/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1102. package/lib/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1103. package/lib/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1104. package/lib/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
  1105. package/lib/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
  1106. package/lib/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
  1107. package/lib/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
  1108. package/lib/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1109. package/lib/cosmos.authz.v1beta1/types/google/protobuf/duration.js +84 -0
  1110. package/lib/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1111. package/lib/cosmos.authz.v1beta1/types/tendermint/abci/types.js +3447 -0
  1112. package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/keys.js +100 -0
  1113. package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/proof.js +356 -0
  1114. package/lib/cosmos.authz.v1beta1/types/tendermint/types/params.js +378 -0
  1115. package/lib/cosmos.authz.v1beta1/types/tendermint/types/types.js +1207 -0
  1116. package/lib/cosmos.authz.v1beta1/types/tendermint/types/validator.js +254 -0
  1117. package/lib/cosmos.authz.v1beta1/types/tendermint/version/types.js +133 -0
  1118. package/lib/cosmos.authz.v1beta1/types.js +7 -0
  1119. package/lib/cosmos.bank.v1beta1/index.js +5 -0
  1120. package/lib/cosmos.bank.v1beta1/module.js +125 -0
  1121. package/lib/cosmos.bank.v1beta1/registry.js +7 -0
  1122. package/lib/cosmos.bank.v1beta1/rest.js +222 -0
  1123. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +50 -0
  1124. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
  1125. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +154 -0
  1126. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1014 -0
  1127. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +219 -0
  1128. package/lib/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1129. package/lib/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1130. package/lib/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1131. package/lib/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1132. package/lib/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
  1133. package/lib/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
  1134. package/lib/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
  1135. package/lib/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1136. package/lib/cosmos.bank.v1beta1/types.js +11 -0
  1137. package/lib/cosmos.base.tendermint.v1beta1/index.js +5 -0
  1138. package/lib/cosmos.base.tendermint.v1beta1/module.js +70 -0
  1139. package/lib/cosmos.base.tendermint.v1beta1/registry.js +2 -0
  1140. package/lib/cosmos.base.tendermint.v1beta1/rest.js +209 -0
  1141. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1142. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
  1143. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
  1144. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1145. package/lib/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
  1146. package/lib/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
  1147. package/lib/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
  1148. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
  1149. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1150. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1151. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
  1152. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
  1153. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
  1154. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
  1155. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
  1156. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
  1157. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
  1158. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
  1159. package/lib/cosmos.base.tendermint.v1beta1/types.js +8 -0
  1160. package/lib/cosmos.crisis.v1beta1/index.js +5 -0
  1161. package/lib/cosmos.crisis.v1beta1/module.js +81 -0
  1162. package/lib/cosmos.crisis.v1beta1/registry.js +5 -0
  1163. package/lib/cosmos.crisis.v1beta1/rest.js +83 -0
  1164. package/lib/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1165. package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
  1166. package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +111 -0
  1167. package/lib/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1168. package/lib/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1169. package/lib/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
  1170. package/lib/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1171. package/lib/cosmos.crisis.v1beta1/types.js +1 -0
  1172. package/lib/cosmos.distribution.v1beta1/index.js +5 -0
  1173. package/lib/cosmos.distribution.v1beta1/module.js +189 -0
  1174. package/lib/cosmos.distribution.v1beta1/registry.js +11 -0
  1175. package/lib/cosmos.distribution.v1beta1/rest.js +214 -0
  1176. package/lib/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1177. package/lib/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1178. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
  1179. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
  1180. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +926 -0
  1181. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +396 -0
  1182. package/lib/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1183. package/lib/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1184. package/lib/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
  1185. package/lib/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
  1186. package/lib/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
  1187. package/lib/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1188. package/lib/cosmos.distribution.v1beta1/types.js +20 -0
  1189. package/lib/cosmos.evidence.v1beta1/index.js +5 -0
  1190. package/lib/cosmos.evidence.v1beta1/module.js +84 -0
  1191. package/lib/cosmos.evidence.v1beta1/registry.js +5 -0
  1192. package/lib/cosmos.evidence.v1beta1/rest.js +115 -0
  1193. package/lib/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1194. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
  1195. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
  1196. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +254 -0
  1197. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
  1198. package/lib/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1199. package/lib/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1200. package/lib/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
  1201. package/lib/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
  1202. package/lib/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
  1203. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
  1204. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1205. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1206. package/lib/cosmos.evidence.v1beta1/types.js +2 -0
  1207. package/lib/cosmos.feegrant.v1beta1/index.js +5 -0
  1208. package/lib/cosmos.feegrant.v1beta1/module.js +113 -0
  1209. package/lib/cosmos.feegrant.v1beta1/registry.js +7 -0
  1210. package/lib/cosmos.feegrant.v1beta1/rest.js +130 -0
  1211. package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1212. package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1213. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
  1214. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
  1215. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
  1216. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
  1217. package/lib/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1218. package/lib/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1219. package/lib/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
  1220. package/lib/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
  1221. package/lib/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
  1222. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
  1223. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1224. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
  1225. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1226. package/lib/cosmos.feegrant.v1beta1/types.js +5 -0
  1227. package/lib/cosmos.gov.v1/index.js +5 -0
  1228. package/lib/cosmos.gov.v1/module.js +167 -0
  1229. package/lib/cosmos.gov.v1/registry.js +11 -0
  1230. package/lib/cosmos.gov.v1/rest.js +242 -0
  1231. package/lib/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1232. package/lib/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
  1233. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +162 -0
  1234. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +766 -0
  1235. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/query.js +917 -0
  1236. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +590 -0
  1237. package/lib/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
  1238. package/lib/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
  1239. package/lib/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
  1240. package/lib/cosmos.gov.v1/types/google/api/annotations.js +2 -0
  1241. package/lib/cosmos.gov.v1/types/google/api/http.js +260 -0
  1242. package/lib/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
  1243. package/lib/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
  1244. package/lib/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
  1245. package/lib/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
  1246. package/lib/cosmos.gov.v1/types.js +9 -0
  1247. package/lib/cosmos.gov.v1beta1/index.js +5 -0
  1248. package/lib/cosmos.gov.v1beta1/module.js +169 -0
  1249. package/lib/cosmos.gov.v1beta1/registry.js +11 -0
  1250. package/lib/cosmos.gov.v1beta1/rest.js +242 -0
  1251. package/lib/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1252. package/lib/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1253. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
  1254. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
  1255. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
  1256. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
  1257. package/lib/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1258. package/lib/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1259. package/lib/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
  1260. package/lib/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
  1261. package/lib/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
  1262. package/lib/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
  1263. package/lib/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1264. package/lib/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
  1265. package/lib/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1266. package/lib/cosmos.gov.v1beta1/types.js +10 -0
  1267. package/lib/cosmos.group.v1/index.js +5 -0
  1268. package/lib/cosmos.group.v1/module.js +421 -0
  1269. package/lib/cosmos.group.v1/registry.js +31 -0
  1270. package/lib/cosmos.group.v1/rest.js +351 -0
  1271. package/lib/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1272. package/lib/cosmos.group.v1/types/cosmos/group/v1/events.js +433 -0
  1273. package/lib/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
  1274. package/lib/cosmos.group.v1/types/cosmos/group/v1/query.js +1468 -0
  1275. package/lib/cosmos.group.v1/types/cosmos/group/v1/tx.js +1621 -0
  1276. package/lib/cosmos.group.v1/types/cosmos/group/v1/types.js +1105 -0
  1277. package/lib/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
  1278. package/lib/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
  1279. package/lib/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
  1280. package/lib/cosmos.group.v1/types/google/api/annotations.js +2 -0
  1281. package/lib/cosmos.group.v1/types/google/api/http.js +260 -0
  1282. package/lib/cosmos.group.v1/types/google/protobuf/any.js +99 -0
  1283. package/lib/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
  1284. package/lib/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
  1285. package/lib/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
  1286. package/lib/cosmos.group.v1/types.js +21 -0
  1287. package/lib/cosmos.mint.v1beta1/index.js +5 -0
  1288. package/lib/cosmos.mint.v1beta1/module.js +60 -0
  1289. package/lib/cosmos.mint.v1beta1/registry.js +2 -0
  1290. package/lib/cosmos.mint.v1beta1/rest.js +128 -0
  1291. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
  1292. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
  1293. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
  1294. package/lib/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1295. package/lib/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
  1296. package/lib/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
  1297. package/lib/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
  1298. package/lib/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1299. package/lib/cosmos.mint.v1beta1/types.js +3 -0
  1300. package/lib/cosmos.nft.v1beta1/index.js +5 -0
  1301. package/lib/cosmos.nft.v1beta1/module.js +68 -0
  1302. package/lib/cosmos.nft.v1beta1/registry.js +2 -0
  1303. package/lib/cosmos.nft.v1beta1/rest.js +187 -0
  1304. package/lib/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1305. package/lib/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1306. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
  1307. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
  1308. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
  1309. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
  1310. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
  1311. package/lib/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
  1312. package/lib/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
  1313. package/lib/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
  1314. package/lib/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1315. package/lib/cosmos.nft.v1beta1/types.js +7 -0
  1316. package/lib/cosmos.params.v1beta1/index.js +5 -0
  1317. package/lib/cosmos.params.v1beta1/module.js +62 -0
  1318. package/lib/cosmos.params.v1beta1/registry.js +2 -0
  1319. package/lib/cosmos.params.v1beta1/rest.js +116 -0
  1320. package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
  1321. package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
  1322. package/lib/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1323. package/lib/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
  1324. package/lib/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
  1325. package/lib/cosmos.params.v1beta1/types/google/api/http.js +260 -0
  1326. package/lib/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1327. package/lib/cosmos.params.v1beta1/types.js +4 -0
  1328. package/lib/cosmos.slashing.v1beta1/index.js +5 -0
  1329. package/lib/cosmos.slashing.v1beta1/module.js +92 -0
  1330. package/lib/cosmos.slashing.v1beta1/registry.js +5 -0
  1331. package/lib/cosmos.slashing.v1beta1/rest.js +129 -0
  1332. package/lib/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1333. package/lib/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1334. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
  1335. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
  1336. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
  1337. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +91 -0
  1338. package/lib/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1339. package/lib/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
  1340. package/lib/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
  1341. package/lib/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
  1342. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1343. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
  1344. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1345. package/lib/cosmos.slashing.v1beta1/types.js +6 -0
  1346. package/lib/cosmos.staking.v1beta1/index.js +5 -0
  1347. package/lib/cosmos.staking.v1beta1/module.js +243 -0
  1348. package/lib/cosmos.staking.v1beta1/registry.js +15 -0
  1349. package/lib/cosmos.staking.v1beta1/rest.js +308 -0
  1350. package/lib/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1351. package/lib/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1352. package/lib/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1353. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
  1354. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
  1355. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
  1356. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1436 -0
  1357. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +768 -0
  1358. package/lib/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1359. package/lib/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
  1360. package/lib/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
  1361. package/lib/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
  1362. package/lib/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
  1363. package/lib/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1364. package/lib/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
  1365. package/lib/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1366. package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
  1367. package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
  1368. package/lib/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
  1369. package/lib/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
  1370. package/lib/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
  1371. package/lib/cosmos.staking.v1beta1/types.js +24 -0
  1372. package/lib/cosmos.tx.v1beta1/index.js +5 -0
  1373. package/lib/cosmos.tx.v1beta1/module.js +82 -0
  1374. package/lib/cosmos.tx.v1beta1/registry.js +2 -0
  1375. package/lib/cosmos.tx.v1beta1/rest.js +256 -0
  1376. package/lib/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
  1377. package/lib/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1378. package/lib/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1379. package/lib/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
  1380. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
  1381. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +802 -0
  1382. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
  1383. package/lib/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1384. package/lib/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
  1385. package/lib/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
  1386. package/lib/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
  1387. package/lib/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
  1388. package/lib/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1389. package/lib/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
  1390. package/lib/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1391. package/lib/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3486 -0
  1392. package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
  1393. package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
  1394. package/lib/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
  1395. package/lib/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
  1396. package/lib/cosmos.tx.v1beta1/types/tendermint/types/params.js +378 -0
  1397. package/lib/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
  1398. package/lib/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
  1399. package/lib/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
  1400. package/lib/cosmos.tx.v1beta1/types.js +14 -0
  1401. package/lib/cosmos.upgrade.v1beta1/index.js +5 -0
  1402. package/lib/cosmos.upgrade.v1beta1/module.js +113 -0
  1403. package/lib/cosmos.upgrade.v1beta1/registry.js +7 -0
  1404. package/lib/cosmos.upgrade.v1beta1/rest.js +162 -0
  1405. package/lib/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1406. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
  1407. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
  1408. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  1409. package/lib/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1410. package/lib/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
  1411. package/lib/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
  1412. package/lib/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
  1413. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
  1414. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1415. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
  1416. package/lib/cosmos.upgrade.v1beta1/types.js +5 -0
  1417. package/lib/cosmos.vesting.v1beta1/index.js +5 -0
  1418. package/lib/cosmos.vesting.v1beta1/module.js +140 -0
  1419. package/lib/cosmos.vesting.v1beta1/registry.js +9 -0
  1420. package/lib/cosmos.vesting.v1beta1/rest.js +83 -0
  1421. package/lib/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +260 -0
  1422. package/lib/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  1423. package/lib/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  1424. package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
  1425. package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
  1426. package/lib/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  1427. package/lib/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
  1428. package/lib/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
  1429. package/lib/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  1430. package/lib/cosmos.vesting.v1beta1/types.js +7 -0
  1431. package/lib/env.js +1 -0
  1432. package/lib/helpers.js +11 -0
  1433. package/lib/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
  1434. package/lib/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
  1435. package/lib/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
  1436. package/lib/ibc.applications.interchain_accounts.controller.v1/rest.js +114 -0
  1437. package/lib/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
  1438. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
  1439. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
  1440. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
  1441. package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
  1442. package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
  1443. package/lib/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
  1444. package/lib/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
  1445. package/lib/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
  1446. package/lib/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
  1447. package/lib/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
  1448. package/lib/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
  1449. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
  1450. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
  1451. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
  1452. package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
  1453. package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
  1454. package/lib/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
  1455. package/lib/ibc.applications.transfer.v1/index.js +5 -0
  1456. package/lib/ibc.applications.transfer.v1/module.js +86 -0
  1457. package/lib/ibc.applications.transfer.v1/registry.js +5 -0
  1458. package/lib/ibc.applications.transfer.v1/rest.js +157 -0
  1459. package/lib/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1460. package/lib/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
  1461. package/lib/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  1462. package/lib/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
  1463. package/lib/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
  1464. package/lib/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
  1465. package/lib/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
  1466. package/lib/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
  1467. package/lib/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
  1468. package/lib/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
  1469. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +75 -0
  1470. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +483 -0
  1471. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
  1472. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +186 -0
  1473. package/lib/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
  1474. package/lib/ibc.applications.transfer.v1/types.js +3 -0
  1475. package/lib/ibc.core.channel.v1/index.js +5 -0
  1476. package/lib/ibc.core.channel.v1/module.js +72 -0
  1477. package/lib/ibc.core.channel.v1/registry.js +2 -0
  1478. package/lib/ibc.core.channel.v1/rest.js +323 -0
  1479. package/lib/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1480. package/lib/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  1481. package/lib/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
  1482. package/lib/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
  1483. package/lib/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
  1484. package/lib/ibc.core.channel.v1/types/google/api/http.js +260 -0
  1485. package/lib/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
  1486. package/lib/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
  1487. package/lib/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
  1488. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
  1489. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
  1490. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
  1491. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1425 -0
  1492. package/lib/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +448 -0
  1493. package/lib/ibc.core.channel.v1/types.js +9 -0
  1494. package/lib/ibc.core.client.v1/index.js +5 -0
  1495. package/lib/ibc.core.client.v1/module.js +74 -0
  1496. package/lib/ibc.core.client.v1/registry.js +2 -0
  1497. package/lib/ibc.core.client.v1/rest.js +218 -0
  1498. package/lib/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1499. package/lib/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  1500. package/lib/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
  1501. package/lib/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
  1502. package/lib/ibc.core.client.v1/types/google/api/annotations.js +2 -0
  1503. package/lib/ibc.core.client.v1/types/google/api/http.js +260 -0
  1504. package/lib/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
  1505. package/lib/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
  1506. package/lib/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
  1507. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
  1508. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
  1509. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
  1510. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +509 -0
  1511. package/lib/ibc.core.client.v1/types.js +10 -0
  1512. package/lib/ibc.core.connection.v1/index.js +5 -0
  1513. package/lib/ibc.core.connection.v1/module.js +70 -0
  1514. package/lib/ibc.core.connection.v1/registry.js +2 -0
  1515. package/lib/ibc.core.connection.v1/rest.js +177 -0
  1516. package/lib/ibc.core.connection.v1/types/confio/proofs.js +1120 -0
  1517. package/lib/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  1518. package/lib/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  1519. package/lib/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
  1520. package/lib/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
  1521. package/lib/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
  1522. package/lib/ibc.core.connection.v1/types/google/api/http.js +260 -0
  1523. package/lib/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
  1524. package/lib/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
  1525. package/lib/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
  1526. package/lib/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
  1527. package/lib/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +223 -0
  1528. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
  1529. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
  1530. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +684 -0
  1531. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +705 -0
  1532. package/lib/ibc.core.connection.v1/types/proofs.js +1126 -0
  1533. package/lib/ibc.core.connection.v1/types.js +8 -0
  1534. package/lib/index.js +62 -0
  1535. package/lib/modules.js +1 -0
  1536. package/modules.js +1 -0
  1537. package/modules.ts +5 -0
  1538. package/package.json +29 -0
  1539. package/tsconfig.json +12 -0
  1540. package/types.d.ts +21 -0
@@ -0,0 +1,1829 @@
1
+ /* eslint-disable */
2
+ import Long from "long";
3
+ import _m0 from "protobufjs/minimal";
4
+ import { Any } from "../../../google/protobuf/any";
5
+ import { Duration } from "../../../google/protobuf/duration";
6
+ import { Timestamp } from "../../../google/protobuf/timestamp";
7
+ import { Header } from "../../../tendermint/types/types";
8
+ import { Coin } from "../../base/v1beta1/coin";
9
+
10
+ export const protobufPackage = "cosmos.staking.v1beta1";
11
+
12
+ /** BondStatus is the status of a validator. */
13
+ export enum BondStatus {
14
+ /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
15
+ BOND_STATUS_UNSPECIFIED = 0,
16
+ /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
17
+ BOND_STATUS_UNBONDED = 1,
18
+ /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
19
+ BOND_STATUS_UNBONDING = 2,
20
+ /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
21
+ BOND_STATUS_BONDED = 3,
22
+ UNRECOGNIZED = -1,
23
+ }
24
+
25
+ export function bondStatusFromJSON(object: any): BondStatus {
26
+ switch (object) {
27
+ case 0:
28
+ case "BOND_STATUS_UNSPECIFIED":
29
+ return BondStatus.BOND_STATUS_UNSPECIFIED;
30
+ case 1:
31
+ case "BOND_STATUS_UNBONDED":
32
+ return BondStatus.BOND_STATUS_UNBONDED;
33
+ case 2:
34
+ case "BOND_STATUS_UNBONDING":
35
+ return BondStatus.BOND_STATUS_UNBONDING;
36
+ case 3:
37
+ case "BOND_STATUS_BONDED":
38
+ return BondStatus.BOND_STATUS_BONDED;
39
+ case -1:
40
+ case "UNRECOGNIZED":
41
+ default:
42
+ return BondStatus.UNRECOGNIZED;
43
+ }
44
+ }
45
+
46
+ export function bondStatusToJSON(object: BondStatus): string {
47
+ switch (object) {
48
+ case BondStatus.BOND_STATUS_UNSPECIFIED:
49
+ return "BOND_STATUS_UNSPECIFIED";
50
+ case BondStatus.BOND_STATUS_UNBONDED:
51
+ return "BOND_STATUS_UNBONDED";
52
+ case BondStatus.BOND_STATUS_UNBONDING:
53
+ return "BOND_STATUS_UNBONDING";
54
+ case BondStatus.BOND_STATUS_BONDED:
55
+ return "BOND_STATUS_BONDED";
56
+ case BondStatus.UNRECOGNIZED:
57
+ default:
58
+ return "UNRECOGNIZED";
59
+ }
60
+ }
61
+
62
+ /**
63
+ * HistoricalInfo contains header and validator information for a given block.
64
+ * It is stored as part of staking module's state, which persists the `n` most
65
+ * recent HistoricalInfo
66
+ * (`n` is set by the staking module's `historical_entries` parameter).
67
+ */
68
+ export interface HistoricalInfo {
69
+ header: Header | undefined;
70
+ valset: Validator[];
71
+ }
72
+
73
+ /**
74
+ * CommissionRates defines the initial commission rates to be used for creating
75
+ * a validator.
76
+ */
77
+ export interface CommissionRates {
78
+ /** rate is the commission rate charged to delegators, as a fraction. */
79
+ rate: string;
80
+ /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
81
+ maxRate: string;
82
+ /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
83
+ maxChangeRate: string;
84
+ }
85
+
86
+ /** Commission defines commission parameters for a given validator. */
87
+ export interface Commission {
88
+ /** commission_rates defines the initial commission rates to be used for creating a validator. */
89
+ commissionRates:
90
+ | CommissionRates
91
+ | undefined;
92
+ /** update_time is the last time the commission rate was changed. */
93
+ updateTime: Date | undefined;
94
+ }
95
+
96
+ /** Description defines a validator description. */
97
+ export interface Description {
98
+ /** moniker defines a human-readable name for the validator. */
99
+ moniker: string;
100
+ /** identity defines an optional identity signature (ex. UPort or Keybase). */
101
+ identity: string;
102
+ /** website defines an optional website link. */
103
+ website: string;
104
+ /** security_contact defines an optional email for security contact. */
105
+ securityContact: string;
106
+ /** details define other optional details. */
107
+ details: string;
108
+ }
109
+
110
+ /**
111
+ * Validator defines a validator, together with the total amount of the
112
+ * Validator's bond shares and their exchange rate to coins. Slashing results in
113
+ * a decrease in the exchange rate, allowing correct calculation of future
114
+ * undelegations without iterating over delegators. When coins are delegated to
115
+ * this validator, the validator is credited with a delegation whose number of
116
+ * bond shares is based on the amount of coins delegated divided by the current
117
+ * exchange rate. Voting power can be calculated as total bonded shares
118
+ * multiplied by exchange rate.
119
+ */
120
+ export interface Validator {
121
+ /** operator_address defines the address of the validator's operator; bech encoded in JSON. */
122
+ operatorAddress: string;
123
+ /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
124
+ consensusPubkey:
125
+ | Any
126
+ | undefined;
127
+ /** jailed defined whether the validator has been jailed from bonded status or not. */
128
+ jailed: boolean;
129
+ /** status is the validator status (bonded/unbonding/unbonded). */
130
+ status: BondStatus;
131
+ /** tokens define the delegated tokens (incl. self-delegation). */
132
+ tokens: string;
133
+ /** delegator_shares defines total shares issued to a validator's delegators. */
134
+ delegatorShares: string;
135
+ /** description defines the description terms for the validator. */
136
+ description:
137
+ | Description
138
+ | undefined;
139
+ /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
140
+ unbondingHeight: number;
141
+ /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
142
+ unbondingTime:
143
+ | Date
144
+ | undefined;
145
+ /** commission defines the commission parameters. */
146
+ commission:
147
+ | Commission
148
+ | undefined;
149
+ /**
150
+ * min_self_delegation is the validator's self declared minimum self delegation.
151
+ *
152
+ * Since: cosmos-sdk 0.46
153
+ */
154
+ minSelfDelegation: string;
155
+ }
156
+
157
+ /** ValAddresses defines a repeated set of validator addresses. */
158
+ export interface ValAddresses {
159
+ addresses: string[];
160
+ }
161
+
162
+ /**
163
+ * DVPair is struct that just has a delegator-validator pair with no other data.
164
+ * It is intended to be used as a marshalable pointer. For example, a DVPair can
165
+ * be used to construct the key to getting an UnbondingDelegation from state.
166
+ */
167
+ export interface DVPair {
168
+ delegatorAddress: string;
169
+ validatorAddress: string;
170
+ }
171
+
172
+ /** DVPairs defines an array of DVPair objects. */
173
+ export interface DVPairs {
174
+ pairs: DVPair[];
175
+ }
176
+
177
+ /**
178
+ * DVVTriplet is struct that just has a delegator-validator-validator triplet
179
+ * with no other data. It is intended to be used as a marshalable pointer. For
180
+ * example, a DVVTriplet can be used to construct the key to getting a
181
+ * Redelegation from state.
182
+ */
183
+ export interface DVVTriplet {
184
+ delegatorAddress: string;
185
+ validatorSrcAddress: string;
186
+ validatorDstAddress: string;
187
+ }
188
+
189
+ /** DVVTriplets defines an array of DVVTriplet objects. */
190
+ export interface DVVTriplets {
191
+ triplets: DVVTriplet[];
192
+ }
193
+
194
+ /**
195
+ * Delegation represents the bond with tokens held by an account. It is
196
+ * owned by one delegator, and is associated with the voting power of one
197
+ * validator.
198
+ */
199
+ export interface Delegation {
200
+ /** delegator_address is the bech32-encoded address of the delegator. */
201
+ delegatorAddress: string;
202
+ /** validator_address is the bech32-encoded address of the validator. */
203
+ validatorAddress: string;
204
+ /** shares define the delegation shares received. */
205
+ shares: string;
206
+ }
207
+
208
+ /**
209
+ * UnbondingDelegation stores all of a single delegator's unbonding bonds
210
+ * for a single validator in an time-ordered list.
211
+ */
212
+ export interface UnbondingDelegation {
213
+ /** delegator_address is the bech32-encoded address of the delegator. */
214
+ delegatorAddress: string;
215
+ /** validator_address is the bech32-encoded address of the validator. */
216
+ validatorAddress: string;
217
+ /** entries are the unbonding delegation entries. */
218
+ entries: UnbondingDelegationEntry[];
219
+ }
220
+
221
+ /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
222
+ export interface UnbondingDelegationEntry {
223
+ /** creation_height is the height which the unbonding took place. */
224
+ creationHeight: number;
225
+ /** completion_time is the unix time for unbonding completion. */
226
+ completionTime:
227
+ | Date
228
+ | undefined;
229
+ /** initial_balance defines the tokens initially scheduled to receive at completion. */
230
+ initialBalance: string;
231
+ /** balance defines the tokens to receive at completion. */
232
+ balance: string;
233
+ }
234
+
235
+ /** RedelegationEntry defines a redelegation object with relevant metadata. */
236
+ export interface RedelegationEntry {
237
+ /** creation_height defines the height which the redelegation took place. */
238
+ creationHeight: number;
239
+ /** completion_time defines the unix time for redelegation completion. */
240
+ completionTime:
241
+ | Date
242
+ | undefined;
243
+ /** initial_balance defines the initial balance when redelegation started. */
244
+ initialBalance: string;
245
+ /** shares_dst is the amount of destination-validator shares created by redelegation. */
246
+ sharesDst: string;
247
+ }
248
+
249
+ /**
250
+ * Redelegation contains the list of a particular delegator's redelegating bonds
251
+ * from a particular source validator to a particular destination validator.
252
+ */
253
+ export interface Redelegation {
254
+ /** delegator_address is the bech32-encoded address of the delegator. */
255
+ delegatorAddress: string;
256
+ /** validator_src_address is the validator redelegation source operator address. */
257
+ validatorSrcAddress: string;
258
+ /** validator_dst_address is the validator redelegation destination operator address. */
259
+ validatorDstAddress: string;
260
+ /** entries are the redelegation entries. */
261
+ entries: RedelegationEntry[];
262
+ }
263
+
264
+ /** Params defines the parameters for the staking module. */
265
+ export interface Params {
266
+ /** unbonding_time is the time duration of unbonding. */
267
+ unbondingTime:
268
+ | Duration
269
+ | undefined;
270
+ /** max_validators is the maximum number of validators. */
271
+ maxValidators: number;
272
+ /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
273
+ maxEntries: number;
274
+ /** historical_entries is the number of historical entries to persist. */
275
+ historicalEntries: number;
276
+ /** bond_denom defines the bondable coin denomination. */
277
+ bondDenom: string;
278
+ /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
279
+ minCommissionRate: string;
280
+ }
281
+
282
+ /**
283
+ * DelegationResponse is equivalent to Delegation except that it contains a
284
+ * balance in addition to shares which is more suitable for client responses.
285
+ */
286
+ export interface DelegationResponse {
287
+ delegation: Delegation | undefined;
288
+ balance: Coin | undefined;
289
+ }
290
+
291
+ /**
292
+ * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
293
+ * contains a balance in addition to shares which is more suitable for client
294
+ * responses.
295
+ */
296
+ export interface RedelegationEntryResponse {
297
+ redelegationEntry: RedelegationEntry | undefined;
298
+ balance: string;
299
+ }
300
+
301
+ /**
302
+ * RedelegationResponse is equivalent to a Redelegation except that its entries
303
+ * contain a balance in addition to shares which is more suitable for client
304
+ * responses.
305
+ */
306
+ export interface RedelegationResponse {
307
+ redelegation: Redelegation | undefined;
308
+ entries: RedelegationEntryResponse[];
309
+ }
310
+
311
+ /**
312
+ * Pool is used for tracking bonded and not-bonded token supply of the bond
313
+ * denomination.
314
+ */
315
+ export interface Pool {
316
+ notBondedTokens: string;
317
+ bondedTokens: string;
318
+ }
319
+
320
+ function createBaseHistoricalInfo(): HistoricalInfo {
321
+ return { header: undefined, valset: [] };
322
+ }
323
+
324
+ export const HistoricalInfo = {
325
+ encode(message: HistoricalInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
326
+ if (message.header !== undefined) {
327
+ Header.encode(message.header, writer.uint32(10).fork()).ldelim();
328
+ }
329
+ for (const v of message.valset) {
330
+ Validator.encode(v!, writer.uint32(18).fork()).ldelim();
331
+ }
332
+ return writer;
333
+ },
334
+
335
+ decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo {
336
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
337
+ let end = length === undefined ? reader.len : reader.pos + length;
338
+ const message = createBaseHistoricalInfo();
339
+ while (reader.pos < end) {
340
+ const tag = reader.uint32();
341
+ switch (tag >>> 3) {
342
+ case 1:
343
+ message.header = Header.decode(reader, reader.uint32());
344
+ break;
345
+ case 2:
346
+ message.valset.push(Validator.decode(reader, reader.uint32()));
347
+ break;
348
+ default:
349
+ reader.skipType(tag & 7);
350
+ break;
351
+ }
352
+ }
353
+ return message;
354
+ },
355
+
356
+ fromJSON(object: any): HistoricalInfo {
357
+ return {
358
+ header: isSet(object.header) ? Header.fromJSON(object.header) : undefined,
359
+ valset: Array.isArray(object?.valset) ? object.valset.map((e: any) => Validator.fromJSON(e)) : [],
360
+ };
361
+ },
362
+
363
+ toJSON(message: HistoricalInfo): unknown {
364
+ const obj: any = {};
365
+ message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined);
366
+ if (message.valset) {
367
+ obj.valset = message.valset.map((e) => e ? Validator.toJSON(e) : undefined);
368
+ } else {
369
+ obj.valset = [];
370
+ }
371
+ return obj;
372
+ },
373
+
374
+ fromPartial<I extends Exact<DeepPartial<HistoricalInfo>, I>>(object: I): HistoricalInfo {
375
+ const message = createBaseHistoricalInfo();
376
+ message.header = (object.header !== undefined && object.header !== null)
377
+ ? Header.fromPartial(object.header)
378
+ : undefined;
379
+ message.valset = object.valset?.map((e) => Validator.fromPartial(e)) || [];
380
+ return message;
381
+ },
382
+ };
383
+
384
+ function createBaseCommissionRates(): CommissionRates {
385
+ return { rate: "", maxRate: "", maxChangeRate: "" };
386
+ }
387
+
388
+ export const CommissionRates = {
389
+ encode(message: CommissionRates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
390
+ if (message.rate !== "") {
391
+ writer.uint32(10).string(message.rate);
392
+ }
393
+ if (message.maxRate !== "") {
394
+ writer.uint32(18).string(message.maxRate);
395
+ }
396
+ if (message.maxChangeRate !== "") {
397
+ writer.uint32(26).string(message.maxChangeRate);
398
+ }
399
+ return writer;
400
+ },
401
+
402
+ decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates {
403
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
404
+ let end = length === undefined ? reader.len : reader.pos + length;
405
+ const message = createBaseCommissionRates();
406
+ while (reader.pos < end) {
407
+ const tag = reader.uint32();
408
+ switch (tag >>> 3) {
409
+ case 1:
410
+ message.rate = reader.string();
411
+ break;
412
+ case 2:
413
+ message.maxRate = reader.string();
414
+ break;
415
+ case 3:
416
+ message.maxChangeRate = reader.string();
417
+ break;
418
+ default:
419
+ reader.skipType(tag & 7);
420
+ break;
421
+ }
422
+ }
423
+ return message;
424
+ },
425
+
426
+ fromJSON(object: any): CommissionRates {
427
+ return {
428
+ rate: isSet(object.rate) ? String(object.rate) : "",
429
+ maxRate: isSet(object.maxRate) ? String(object.maxRate) : "",
430
+ maxChangeRate: isSet(object.maxChangeRate) ? String(object.maxChangeRate) : "",
431
+ };
432
+ },
433
+
434
+ toJSON(message: CommissionRates): unknown {
435
+ const obj: any = {};
436
+ message.rate !== undefined && (obj.rate = message.rate);
437
+ message.maxRate !== undefined && (obj.maxRate = message.maxRate);
438
+ message.maxChangeRate !== undefined && (obj.maxChangeRate = message.maxChangeRate);
439
+ return obj;
440
+ },
441
+
442
+ fromPartial<I extends Exact<DeepPartial<CommissionRates>, I>>(object: I): CommissionRates {
443
+ const message = createBaseCommissionRates();
444
+ message.rate = object.rate ?? "";
445
+ message.maxRate = object.maxRate ?? "";
446
+ message.maxChangeRate = object.maxChangeRate ?? "";
447
+ return message;
448
+ },
449
+ };
450
+
451
+ function createBaseCommission(): Commission {
452
+ return { commissionRates: undefined, updateTime: undefined };
453
+ }
454
+
455
+ export const Commission = {
456
+ encode(message: Commission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
457
+ if (message.commissionRates !== undefined) {
458
+ CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim();
459
+ }
460
+ if (message.updateTime !== undefined) {
461
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim();
462
+ }
463
+ return writer;
464
+ },
465
+
466
+ decode(input: _m0.Reader | Uint8Array, length?: number): Commission {
467
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
468
+ let end = length === undefined ? reader.len : reader.pos + length;
469
+ const message = createBaseCommission();
470
+ while (reader.pos < end) {
471
+ const tag = reader.uint32();
472
+ switch (tag >>> 3) {
473
+ case 1:
474
+ message.commissionRates = CommissionRates.decode(reader, reader.uint32());
475
+ break;
476
+ case 2:
477
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
478
+ break;
479
+ default:
480
+ reader.skipType(tag & 7);
481
+ break;
482
+ }
483
+ }
484
+ return message;
485
+ },
486
+
487
+ fromJSON(object: any): Commission {
488
+ return {
489
+ commissionRates: isSet(object.commissionRates) ? CommissionRates.fromJSON(object.commissionRates) : undefined,
490
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
491
+ };
492
+ },
493
+
494
+ toJSON(message: Commission): unknown {
495
+ const obj: any = {};
496
+ message.commissionRates !== undefined
497
+ && (obj.commissionRates = message.commissionRates ? CommissionRates.toJSON(message.commissionRates) : undefined);
498
+ message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString());
499
+ return obj;
500
+ },
501
+
502
+ fromPartial<I extends Exact<DeepPartial<Commission>, I>>(object: I): Commission {
503
+ const message = createBaseCommission();
504
+ message.commissionRates = (object.commissionRates !== undefined && object.commissionRates !== null)
505
+ ? CommissionRates.fromPartial(object.commissionRates)
506
+ : undefined;
507
+ message.updateTime = object.updateTime ?? undefined;
508
+ return message;
509
+ },
510
+ };
511
+
512
+ function createBaseDescription(): Description {
513
+ return { moniker: "", identity: "", website: "", securityContact: "", details: "" };
514
+ }
515
+
516
+ export const Description = {
517
+ encode(message: Description, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
518
+ if (message.moniker !== "") {
519
+ writer.uint32(10).string(message.moniker);
520
+ }
521
+ if (message.identity !== "") {
522
+ writer.uint32(18).string(message.identity);
523
+ }
524
+ if (message.website !== "") {
525
+ writer.uint32(26).string(message.website);
526
+ }
527
+ if (message.securityContact !== "") {
528
+ writer.uint32(34).string(message.securityContact);
529
+ }
530
+ if (message.details !== "") {
531
+ writer.uint32(42).string(message.details);
532
+ }
533
+ return writer;
534
+ },
535
+
536
+ decode(input: _m0.Reader | Uint8Array, length?: number): Description {
537
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
538
+ let end = length === undefined ? reader.len : reader.pos + length;
539
+ const message = createBaseDescription();
540
+ while (reader.pos < end) {
541
+ const tag = reader.uint32();
542
+ switch (tag >>> 3) {
543
+ case 1:
544
+ message.moniker = reader.string();
545
+ break;
546
+ case 2:
547
+ message.identity = reader.string();
548
+ break;
549
+ case 3:
550
+ message.website = reader.string();
551
+ break;
552
+ case 4:
553
+ message.securityContact = reader.string();
554
+ break;
555
+ case 5:
556
+ message.details = reader.string();
557
+ break;
558
+ default:
559
+ reader.skipType(tag & 7);
560
+ break;
561
+ }
562
+ }
563
+ return message;
564
+ },
565
+
566
+ fromJSON(object: any): Description {
567
+ return {
568
+ moniker: isSet(object.moniker) ? String(object.moniker) : "",
569
+ identity: isSet(object.identity) ? String(object.identity) : "",
570
+ website: isSet(object.website) ? String(object.website) : "",
571
+ securityContact: isSet(object.securityContact) ? String(object.securityContact) : "",
572
+ details: isSet(object.details) ? String(object.details) : "",
573
+ };
574
+ },
575
+
576
+ toJSON(message: Description): unknown {
577
+ const obj: any = {};
578
+ message.moniker !== undefined && (obj.moniker = message.moniker);
579
+ message.identity !== undefined && (obj.identity = message.identity);
580
+ message.website !== undefined && (obj.website = message.website);
581
+ message.securityContact !== undefined && (obj.securityContact = message.securityContact);
582
+ message.details !== undefined && (obj.details = message.details);
583
+ return obj;
584
+ },
585
+
586
+ fromPartial<I extends Exact<DeepPartial<Description>, I>>(object: I): Description {
587
+ const message = createBaseDescription();
588
+ message.moniker = object.moniker ?? "";
589
+ message.identity = object.identity ?? "";
590
+ message.website = object.website ?? "";
591
+ message.securityContact = object.securityContact ?? "";
592
+ message.details = object.details ?? "";
593
+ return message;
594
+ },
595
+ };
596
+
597
+ function createBaseValidator(): Validator {
598
+ return {
599
+ operatorAddress: "",
600
+ consensusPubkey: undefined,
601
+ jailed: false,
602
+ status: 0,
603
+ tokens: "",
604
+ delegatorShares: "",
605
+ description: undefined,
606
+ unbondingHeight: 0,
607
+ unbondingTime: undefined,
608
+ commission: undefined,
609
+ minSelfDelegation: "",
610
+ };
611
+ }
612
+
613
+ export const Validator = {
614
+ encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
615
+ if (message.operatorAddress !== "") {
616
+ writer.uint32(10).string(message.operatorAddress);
617
+ }
618
+ if (message.consensusPubkey !== undefined) {
619
+ Any.encode(message.consensusPubkey, writer.uint32(18).fork()).ldelim();
620
+ }
621
+ if (message.jailed === true) {
622
+ writer.uint32(24).bool(message.jailed);
623
+ }
624
+ if (message.status !== 0) {
625
+ writer.uint32(32).int32(message.status);
626
+ }
627
+ if (message.tokens !== "") {
628
+ writer.uint32(42).string(message.tokens);
629
+ }
630
+ if (message.delegatorShares !== "") {
631
+ writer.uint32(50).string(message.delegatorShares);
632
+ }
633
+ if (message.description !== undefined) {
634
+ Description.encode(message.description, writer.uint32(58).fork()).ldelim();
635
+ }
636
+ if (message.unbondingHeight !== 0) {
637
+ writer.uint32(64).int64(message.unbondingHeight);
638
+ }
639
+ if (message.unbondingTime !== undefined) {
640
+ Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim();
641
+ }
642
+ if (message.commission !== undefined) {
643
+ Commission.encode(message.commission, writer.uint32(82).fork()).ldelim();
644
+ }
645
+ if (message.minSelfDelegation !== "") {
646
+ writer.uint32(90).string(message.minSelfDelegation);
647
+ }
648
+ return writer;
649
+ },
650
+
651
+ decode(input: _m0.Reader | Uint8Array, length?: number): Validator {
652
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
653
+ let end = length === undefined ? reader.len : reader.pos + length;
654
+ const message = createBaseValidator();
655
+ while (reader.pos < end) {
656
+ const tag = reader.uint32();
657
+ switch (tag >>> 3) {
658
+ case 1:
659
+ message.operatorAddress = reader.string();
660
+ break;
661
+ case 2:
662
+ message.consensusPubkey = Any.decode(reader, reader.uint32());
663
+ break;
664
+ case 3:
665
+ message.jailed = reader.bool();
666
+ break;
667
+ case 4:
668
+ message.status = reader.int32() as any;
669
+ break;
670
+ case 5:
671
+ message.tokens = reader.string();
672
+ break;
673
+ case 6:
674
+ message.delegatorShares = reader.string();
675
+ break;
676
+ case 7:
677
+ message.description = Description.decode(reader, reader.uint32());
678
+ break;
679
+ case 8:
680
+ message.unbondingHeight = longToNumber(reader.int64() as Long);
681
+ break;
682
+ case 9:
683
+ message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
684
+ break;
685
+ case 10:
686
+ message.commission = Commission.decode(reader, reader.uint32());
687
+ break;
688
+ case 11:
689
+ message.minSelfDelegation = reader.string();
690
+ break;
691
+ default:
692
+ reader.skipType(tag & 7);
693
+ break;
694
+ }
695
+ }
696
+ return message;
697
+ },
698
+
699
+ fromJSON(object: any): Validator {
700
+ return {
701
+ operatorAddress: isSet(object.operatorAddress) ? String(object.operatorAddress) : "",
702
+ consensusPubkey: isSet(object.consensusPubkey) ? Any.fromJSON(object.consensusPubkey) : undefined,
703
+ jailed: isSet(object.jailed) ? Boolean(object.jailed) : false,
704
+ status: isSet(object.status) ? bondStatusFromJSON(object.status) : 0,
705
+ tokens: isSet(object.tokens) ? String(object.tokens) : "",
706
+ delegatorShares: isSet(object.delegatorShares) ? String(object.delegatorShares) : "",
707
+ description: isSet(object.description) ? Description.fromJSON(object.description) : undefined,
708
+ unbondingHeight: isSet(object.unbondingHeight) ? Number(object.unbondingHeight) : 0,
709
+ unbondingTime: isSet(object.unbondingTime) ? fromJsonTimestamp(object.unbondingTime) : undefined,
710
+ commission: isSet(object.commission) ? Commission.fromJSON(object.commission) : undefined,
711
+ minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : "",
712
+ };
713
+ },
714
+
715
+ toJSON(message: Validator): unknown {
716
+ const obj: any = {};
717
+ message.operatorAddress !== undefined && (obj.operatorAddress = message.operatorAddress);
718
+ message.consensusPubkey !== undefined
719
+ && (obj.consensusPubkey = message.consensusPubkey ? Any.toJSON(message.consensusPubkey) : undefined);
720
+ message.jailed !== undefined && (obj.jailed = message.jailed);
721
+ message.status !== undefined && (obj.status = bondStatusToJSON(message.status));
722
+ message.tokens !== undefined && (obj.tokens = message.tokens);
723
+ message.delegatorShares !== undefined && (obj.delegatorShares = message.delegatorShares);
724
+ message.description !== undefined
725
+ && (obj.description = message.description ? Description.toJSON(message.description) : undefined);
726
+ message.unbondingHeight !== undefined && (obj.unbondingHeight = Math.round(message.unbondingHeight));
727
+ message.unbondingTime !== undefined && (obj.unbondingTime = message.unbondingTime.toISOString());
728
+ message.commission !== undefined
729
+ && (obj.commission = message.commission ? Commission.toJSON(message.commission) : undefined);
730
+ message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation);
731
+ return obj;
732
+ },
733
+
734
+ fromPartial<I extends Exact<DeepPartial<Validator>, I>>(object: I): Validator {
735
+ const message = createBaseValidator();
736
+ message.operatorAddress = object.operatorAddress ?? "";
737
+ message.consensusPubkey = (object.consensusPubkey !== undefined && object.consensusPubkey !== null)
738
+ ? Any.fromPartial(object.consensusPubkey)
739
+ : undefined;
740
+ message.jailed = object.jailed ?? false;
741
+ message.status = object.status ?? 0;
742
+ message.tokens = object.tokens ?? "";
743
+ message.delegatorShares = object.delegatorShares ?? "";
744
+ message.description = (object.description !== undefined && object.description !== null)
745
+ ? Description.fromPartial(object.description)
746
+ : undefined;
747
+ message.unbondingHeight = object.unbondingHeight ?? 0;
748
+ message.unbondingTime = object.unbondingTime ?? undefined;
749
+ message.commission = (object.commission !== undefined && object.commission !== null)
750
+ ? Commission.fromPartial(object.commission)
751
+ : undefined;
752
+ message.minSelfDelegation = object.minSelfDelegation ?? "";
753
+ return message;
754
+ },
755
+ };
756
+
757
+ function createBaseValAddresses(): ValAddresses {
758
+ return { addresses: [] };
759
+ }
760
+
761
+ export const ValAddresses = {
762
+ encode(message: ValAddresses, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
763
+ for (const v of message.addresses) {
764
+ writer.uint32(10).string(v!);
765
+ }
766
+ return writer;
767
+ },
768
+
769
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses {
770
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
771
+ let end = length === undefined ? reader.len : reader.pos + length;
772
+ const message = createBaseValAddresses();
773
+ while (reader.pos < end) {
774
+ const tag = reader.uint32();
775
+ switch (tag >>> 3) {
776
+ case 1:
777
+ message.addresses.push(reader.string());
778
+ break;
779
+ default:
780
+ reader.skipType(tag & 7);
781
+ break;
782
+ }
783
+ }
784
+ return message;
785
+ },
786
+
787
+ fromJSON(object: any): ValAddresses {
788
+ return { addresses: Array.isArray(object?.addresses) ? object.addresses.map((e: any) => String(e)) : [] };
789
+ },
790
+
791
+ toJSON(message: ValAddresses): unknown {
792
+ const obj: any = {};
793
+ if (message.addresses) {
794
+ obj.addresses = message.addresses.map((e) => e);
795
+ } else {
796
+ obj.addresses = [];
797
+ }
798
+ return obj;
799
+ },
800
+
801
+ fromPartial<I extends Exact<DeepPartial<ValAddresses>, I>>(object: I): ValAddresses {
802
+ const message = createBaseValAddresses();
803
+ message.addresses = object.addresses?.map((e) => e) || [];
804
+ return message;
805
+ },
806
+ };
807
+
808
+ function createBaseDVPair(): DVPair {
809
+ return { delegatorAddress: "", validatorAddress: "" };
810
+ }
811
+
812
+ export const DVPair = {
813
+ encode(message: DVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
814
+ if (message.delegatorAddress !== "") {
815
+ writer.uint32(10).string(message.delegatorAddress);
816
+ }
817
+ if (message.validatorAddress !== "") {
818
+ writer.uint32(18).string(message.validatorAddress);
819
+ }
820
+ return writer;
821
+ },
822
+
823
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVPair {
824
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
825
+ let end = length === undefined ? reader.len : reader.pos + length;
826
+ const message = createBaseDVPair();
827
+ while (reader.pos < end) {
828
+ const tag = reader.uint32();
829
+ switch (tag >>> 3) {
830
+ case 1:
831
+ message.delegatorAddress = reader.string();
832
+ break;
833
+ case 2:
834
+ message.validatorAddress = reader.string();
835
+ break;
836
+ default:
837
+ reader.skipType(tag & 7);
838
+ break;
839
+ }
840
+ }
841
+ return message;
842
+ },
843
+
844
+ fromJSON(object: any): DVPair {
845
+ return {
846
+ delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
847
+ validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
848
+ };
849
+ },
850
+
851
+ toJSON(message: DVPair): unknown {
852
+ const obj: any = {};
853
+ message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
854
+ message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
855
+ return obj;
856
+ },
857
+
858
+ fromPartial<I extends Exact<DeepPartial<DVPair>, I>>(object: I): DVPair {
859
+ const message = createBaseDVPair();
860
+ message.delegatorAddress = object.delegatorAddress ?? "";
861
+ message.validatorAddress = object.validatorAddress ?? "";
862
+ return message;
863
+ },
864
+ };
865
+
866
+ function createBaseDVPairs(): DVPairs {
867
+ return { pairs: [] };
868
+ }
869
+
870
+ export const DVPairs = {
871
+ encode(message: DVPairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
872
+ for (const v of message.pairs) {
873
+ DVPair.encode(v!, writer.uint32(10).fork()).ldelim();
874
+ }
875
+ return writer;
876
+ },
877
+
878
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs {
879
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
880
+ let end = length === undefined ? reader.len : reader.pos + length;
881
+ const message = createBaseDVPairs();
882
+ while (reader.pos < end) {
883
+ const tag = reader.uint32();
884
+ switch (tag >>> 3) {
885
+ case 1:
886
+ message.pairs.push(DVPair.decode(reader, reader.uint32()));
887
+ break;
888
+ default:
889
+ reader.skipType(tag & 7);
890
+ break;
891
+ }
892
+ }
893
+ return message;
894
+ },
895
+
896
+ fromJSON(object: any): DVPairs {
897
+ return { pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => DVPair.fromJSON(e)) : [] };
898
+ },
899
+
900
+ toJSON(message: DVPairs): unknown {
901
+ const obj: any = {};
902
+ if (message.pairs) {
903
+ obj.pairs = message.pairs.map((e) => e ? DVPair.toJSON(e) : undefined);
904
+ } else {
905
+ obj.pairs = [];
906
+ }
907
+ return obj;
908
+ },
909
+
910
+ fromPartial<I extends Exact<DeepPartial<DVPairs>, I>>(object: I): DVPairs {
911
+ const message = createBaseDVPairs();
912
+ message.pairs = object.pairs?.map((e) => DVPair.fromPartial(e)) || [];
913
+ return message;
914
+ },
915
+ };
916
+
917
+ function createBaseDVVTriplet(): DVVTriplet {
918
+ return { delegatorAddress: "", validatorSrcAddress: "", validatorDstAddress: "" };
919
+ }
920
+
921
+ export const DVVTriplet = {
922
+ encode(message: DVVTriplet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
923
+ if (message.delegatorAddress !== "") {
924
+ writer.uint32(10).string(message.delegatorAddress);
925
+ }
926
+ if (message.validatorSrcAddress !== "") {
927
+ writer.uint32(18).string(message.validatorSrcAddress);
928
+ }
929
+ if (message.validatorDstAddress !== "") {
930
+ writer.uint32(26).string(message.validatorDstAddress);
931
+ }
932
+ return writer;
933
+ },
934
+
935
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet {
936
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
937
+ let end = length === undefined ? reader.len : reader.pos + length;
938
+ const message = createBaseDVVTriplet();
939
+ while (reader.pos < end) {
940
+ const tag = reader.uint32();
941
+ switch (tag >>> 3) {
942
+ case 1:
943
+ message.delegatorAddress = reader.string();
944
+ break;
945
+ case 2:
946
+ message.validatorSrcAddress = reader.string();
947
+ break;
948
+ case 3:
949
+ message.validatorDstAddress = reader.string();
950
+ break;
951
+ default:
952
+ reader.skipType(tag & 7);
953
+ break;
954
+ }
955
+ }
956
+ return message;
957
+ },
958
+
959
+ fromJSON(object: any): DVVTriplet {
960
+ return {
961
+ delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
962
+ validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "",
963
+ validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : "",
964
+ };
965
+ },
966
+
967
+ toJSON(message: DVVTriplet): unknown {
968
+ const obj: any = {};
969
+ message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
970
+ message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress);
971
+ message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress);
972
+ return obj;
973
+ },
974
+
975
+ fromPartial<I extends Exact<DeepPartial<DVVTriplet>, I>>(object: I): DVVTriplet {
976
+ const message = createBaseDVVTriplet();
977
+ message.delegatorAddress = object.delegatorAddress ?? "";
978
+ message.validatorSrcAddress = object.validatorSrcAddress ?? "";
979
+ message.validatorDstAddress = object.validatorDstAddress ?? "";
980
+ return message;
981
+ },
982
+ };
983
+
984
+ function createBaseDVVTriplets(): DVVTriplets {
985
+ return { triplets: [] };
986
+ }
987
+
988
+ export const DVVTriplets = {
989
+ encode(message: DVVTriplets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
990
+ for (const v of message.triplets) {
991
+ DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim();
992
+ }
993
+ return writer;
994
+ },
995
+
996
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets {
997
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
998
+ let end = length === undefined ? reader.len : reader.pos + length;
999
+ const message = createBaseDVVTriplets();
1000
+ while (reader.pos < end) {
1001
+ const tag = reader.uint32();
1002
+ switch (tag >>> 3) {
1003
+ case 1:
1004
+ message.triplets.push(DVVTriplet.decode(reader, reader.uint32()));
1005
+ break;
1006
+ default:
1007
+ reader.skipType(tag & 7);
1008
+ break;
1009
+ }
1010
+ }
1011
+ return message;
1012
+ },
1013
+
1014
+ fromJSON(object: any): DVVTriplets {
1015
+ return { triplets: Array.isArray(object?.triplets) ? object.triplets.map((e: any) => DVVTriplet.fromJSON(e)) : [] };
1016
+ },
1017
+
1018
+ toJSON(message: DVVTriplets): unknown {
1019
+ const obj: any = {};
1020
+ if (message.triplets) {
1021
+ obj.triplets = message.triplets.map((e) => e ? DVVTriplet.toJSON(e) : undefined);
1022
+ } else {
1023
+ obj.triplets = [];
1024
+ }
1025
+ return obj;
1026
+ },
1027
+
1028
+ fromPartial<I extends Exact<DeepPartial<DVVTriplets>, I>>(object: I): DVVTriplets {
1029
+ const message = createBaseDVVTriplets();
1030
+ message.triplets = object.triplets?.map((e) => DVVTriplet.fromPartial(e)) || [];
1031
+ return message;
1032
+ },
1033
+ };
1034
+
1035
+ function createBaseDelegation(): Delegation {
1036
+ return { delegatorAddress: "", validatorAddress: "", shares: "" };
1037
+ }
1038
+
1039
+ export const Delegation = {
1040
+ encode(message: Delegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1041
+ if (message.delegatorAddress !== "") {
1042
+ writer.uint32(10).string(message.delegatorAddress);
1043
+ }
1044
+ if (message.validatorAddress !== "") {
1045
+ writer.uint32(18).string(message.validatorAddress);
1046
+ }
1047
+ if (message.shares !== "") {
1048
+ writer.uint32(26).string(message.shares);
1049
+ }
1050
+ return writer;
1051
+ },
1052
+
1053
+ decode(input: _m0.Reader | Uint8Array, length?: number): Delegation {
1054
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1055
+ let end = length === undefined ? reader.len : reader.pos + length;
1056
+ const message = createBaseDelegation();
1057
+ while (reader.pos < end) {
1058
+ const tag = reader.uint32();
1059
+ switch (tag >>> 3) {
1060
+ case 1:
1061
+ message.delegatorAddress = reader.string();
1062
+ break;
1063
+ case 2:
1064
+ message.validatorAddress = reader.string();
1065
+ break;
1066
+ case 3:
1067
+ message.shares = reader.string();
1068
+ break;
1069
+ default:
1070
+ reader.skipType(tag & 7);
1071
+ break;
1072
+ }
1073
+ }
1074
+ return message;
1075
+ },
1076
+
1077
+ fromJSON(object: any): Delegation {
1078
+ return {
1079
+ delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
1080
+ validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
1081
+ shares: isSet(object.shares) ? String(object.shares) : "",
1082
+ };
1083
+ },
1084
+
1085
+ toJSON(message: Delegation): unknown {
1086
+ const obj: any = {};
1087
+ message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
1088
+ message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
1089
+ message.shares !== undefined && (obj.shares = message.shares);
1090
+ return obj;
1091
+ },
1092
+
1093
+ fromPartial<I extends Exact<DeepPartial<Delegation>, I>>(object: I): Delegation {
1094
+ const message = createBaseDelegation();
1095
+ message.delegatorAddress = object.delegatorAddress ?? "";
1096
+ message.validatorAddress = object.validatorAddress ?? "";
1097
+ message.shares = object.shares ?? "";
1098
+ return message;
1099
+ },
1100
+ };
1101
+
1102
+ function createBaseUnbondingDelegation(): UnbondingDelegation {
1103
+ return { delegatorAddress: "", validatorAddress: "", entries: [] };
1104
+ }
1105
+
1106
+ export const UnbondingDelegation = {
1107
+ encode(message: UnbondingDelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1108
+ if (message.delegatorAddress !== "") {
1109
+ writer.uint32(10).string(message.delegatorAddress);
1110
+ }
1111
+ if (message.validatorAddress !== "") {
1112
+ writer.uint32(18).string(message.validatorAddress);
1113
+ }
1114
+ for (const v of message.entries) {
1115
+ UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim();
1116
+ }
1117
+ return writer;
1118
+ },
1119
+
1120
+ decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation {
1121
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1122
+ let end = length === undefined ? reader.len : reader.pos + length;
1123
+ const message = createBaseUnbondingDelegation();
1124
+ while (reader.pos < end) {
1125
+ const tag = reader.uint32();
1126
+ switch (tag >>> 3) {
1127
+ case 1:
1128
+ message.delegatorAddress = reader.string();
1129
+ break;
1130
+ case 2:
1131
+ message.validatorAddress = reader.string();
1132
+ break;
1133
+ case 3:
1134
+ message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32()));
1135
+ break;
1136
+ default:
1137
+ reader.skipType(tag & 7);
1138
+ break;
1139
+ }
1140
+ }
1141
+ return message;
1142
+ },
1143
+
1144
+ fromJSON(object: any): UnbondingDelegation {
1145
+ return {
1146
+ delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
1147
+ validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
1148
+ entries: Array.isArray(object?.entries)
1149
+ ? object.entries.map((e: any) => UnbondingDelegationEntry.fromJSON(e))
1150
+ : [],
1151
+ };
1152
+ },
1153
+
1154
+ toJSON(message: UnbondingDelegation): unknown {
1155
+ const obj: any = {};
1156
+ message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
1157
+ message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
1158
+ if (message.entries) {
1159
+ obj.entries = message.entries.map((e) => e ? UnbondingDelegationEntry.toJSON(e) : undefined);
1160
+ } else {
1161
+ obj.entries = [];
1162
+ }
1163
+ return obj;
1164
+ },
1165
+
1166
+ fromPartial<I extends Exact<DeepPartial<UnbondingDelegation>, I>>(object: I): UnbondingDelegation {
1167
+ const message = createBaseUnbondingDelegation();
1168
+ message.delegatorAddress = object.delegatorAddress ?? "";
1169
+ message.validatorAddress = object.validatorAddress ?? "";
1170
+ message.entries = object.entries?.map((e) => UnbondingDelegationEntry.fromPartial(e)) || [];
1171
+ return message;
1172
+ },
1173
+ };
1174
+
1175
+ function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry {
1176
+ return { creationHeight: 0, completionTime: undefined, initialBalance: "", balance: "" };
1177
+ }
1178
+
1179
+ export const UnbondingDelegationEntry = {
1180
+ encode(message: UnbondingDelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1181
+ if (message.creationHeight !== 0) {
1182
+ writer.uint32(8).int64(message.creationHeight);
1183
+ }
1184
+ if (message.completionTime !== undefined) {
1185
+ Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim();
1186
+ }
1187
+ if (message.initialBalance !== "") {
1188
+ writer.uint32(26).string(message.initialBalance);
1189
+ }
1190
+ if (message.balance !== "") {
1191
+ writer.uint32(34).string(message.balance);
1192
+ }
1193
+ return writer;
1194
+ },
1195
+
1196
+ decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry {
1197
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1198
+ let end = length === undefined ? reader.len : reader.pos + length;
1199
+ const message = createBaseUnbondingDelegationEntry();
1200
+ while (reader.pos < end) {
1201
+ const tag = reader.uint32();
1202
+ switch (tag >>> 3) {
1203
+ case 1:
1204
+ message.creationHeight = longToNumber(reader.int64() as Long);
1205
+ break;
1206
+ case 2:
1207
+ message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1208
+ break;
1209
+ case 3:
1210
+ message.initialBalance = reader.string();
1211
+ break;
1212
+ case 4:
1213
+ message.balance = reader.string();
1214
+ break;
1215
+ default:
1216
+ reader.skipType(tag & 7);
1217
+ break;
1218
+ }
1219
+ }
1220
+ return message;
1221
+ },
1222
+
1223
+ fromJSON(object: any): UnbondingDelegationEntry {
1224
+ return {
1225
+ creationHeight: isSet(object.creationHeight) ? Number(object.creationHeight) : 0,
1226
+ completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
1227
+ initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
1228
+ balance: isSet(object.balance) ? String(object.balance) : "",
1229
+ };
1230
+ },
1231
+
1232
+ toJSON(message: UnbondingDelegationEntry): unknown {
1233
+ const obj: any = {};
1234
+ message.creationHeight !== undefined && (obj.creationHeight = Math.round(message.creationHeight));
1235
+ message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString());
1236
+ message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
1237
+ message.balance !== undefined && (obj.balance = message.balance);
1238
+ return obj;
1239
+ },
1240
+
1241
+ fromPartial<I extends Exact<DeepPartial<UnbondingDelegationEntry>, I>>(object: I): UnbondingDelegationEntry {
1242
+ const message = createBaseUnbondingDelegationEntry();
1243
+ message.creationHeight = object.creationHeight ?? 0;
1244
+ message.completionTime = object.completionTime ?? undefined;
1245
+ message.initialBalance = object.initialBalance ?? "";
1246
+ message.balance = object.balance ?? "";
1247
+ return message;
1248
+ },
1249
+ };
1250
+
1251
+ function createBaseRedelegationEntry(): RedelegationEntry {
1252
+ return { creationHeight: 0, completionTime: undefined, initialBalance: "", sharesDst: "" };
1253
+ }
1254
+
1255
+ export const RedelegationEntry = {
1256
+ encode(message: RedelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1257
+ if (message.creationHeight !== 0) {
1258
+ writer.uint32(8).int64(message.creationHeight);
1259
+ }
1260
+ if (message.completionTime !== undefined) {
1261
+ Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim();
1262
+ }
1263
+ if (message.initialBalance !== "") {
1264
+ writer.uint32(26).string(message.initialBalance);
1265
+ }
1266
+ if (message.sharesDst !== "") {
1267
+ writer.uint32(34).string(message.sharesDst);
1268
+ }
1269
+ return writer;
1270
+ },
1271
+
1272
+ decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry {
1273
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1274
+ let end = length === undefined ? reader.len : reader.pos + length;
1275
+ const message = createBaseRedelegationEntry();
1276
+ while (reader.pos < end) {
1277
+ const tag = reader.uint32();
1278
+ switch (tag >>> 3) {
1279
+ case 1:
1280
+ message.creationHeight = longToNumber(reader.int64() as Long);
1281
+ break;
1282
+ case 2:
1283
+ message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1284
+ break;
1285
+ case 3:
1286
+ message.initialBalance = reader.string();
1287
+ break;
1288
+ case 4:
1289
+ message.sharesDst = reader.string();
1290
+ break;
1291
+ default:
1292
+ reader.skipType(tag & 7);
1293
+ break;
1294
+ }
1295
+ }
1296
+ return message;
1297
+ },
1298
+
1299
+ fromJSON(object: any): RedelegationEntry {
1300
+ return {
1301
+ creationHeight: isSet(object.creationHeight) ? Number(object.creationHeight) : 0,
1302
+ completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
1303
+ initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
1304
+ sharesDst: isSet(object.sharesDst) ? String(object.sharesDst) : "",
1305
+ };
1306
+ },
1307
+
1308
+ toJSON(message: RedelegationEntry): unknown {
1309
+ const obj: any = {};
1310
+ message.creationHeight !== undefined && (obj.creationHeight = Math.round(message.creationHeight));
1311
+ message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString());
1312
+ message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
1313
+ message.sharesDst !== undefined && (obj.sharesDst = message.sharesDst);
1314
+ return obj;
1315
+ },
1316
+
1317
+ fromPartial<I extends Exact<DeepPartial<RedelegationEntry>, I>>(object: I): RedelegationEntry {
1318
+ const message = createBaseRedelegationEntry();
1319
+ message.creationHeight = object.creationHeight ?? 0;
1320
+ message.completionTime = object.completionTime ?? undefined;
1321
+ message.initialBalance = object.initialBalance ?? "";
1322
+ message.sharesDst = object.sharesDst ?? "";
1323
+ return message;
1324
+ },
1325
+ };
1326
+
1327
+ function createBaseRedelegation(): Redelegation {
1328
+ return { delegatorAddress: "", validatorSrcAddress: "", validatorDstAddress: "", entries: [] };
1329
+ }
1330
+
1331
+ export const Redelegation = {
1332
+ encode(message: Redelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1333
+ if (message.delegatorAddress !== "") {
1334
+ writer.uint32(10).string(message.delegatorAddress);
1335
+ }
1336
+ if (message.validatorSrcAddress !== "") {
1337
+ writer.uint32(18).string(message.validatorSrcAddress);
1338
+ }
1339
+ if (message.validatorDstAddress !== "") {
1340
+ writer.uint32(26).string(message.validatorDstAddress);
1341
+ }
1342
+ for (const v of message.entries) {
1343
+ RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim();
1344
+ }
1345
+ return writer;
1346
+ },
1347
+
1348
+ decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation {
1349
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1350
+ let end = length === undefined ? reader.len : reader.pos + length;
1351
+ const message = createBaseRedelegation();
1352
+ while (reader.pos < end) {
1353
+ const tag = reader.uint32();
1354
+ switch (tag >>> 3) {
1355
+ case 1:
1356
+ message.delegatorAddress = reader.string();
1357
+ break;
1358
+ case 2:
1359
+ message.validatorSrcAddress = reader.string();
1360
+ break;
1361
+ case 3:
1362
+ message.validatorDstAddress = reader.string();
1363
+ break;
1364
+ case 4:
1365
+ message.entries.push(RedelegationEntry.decode(reader, reader.uint32()));
1366
+ break;
1367
+ default:
1368
+ reader.skipType(tag & 7);
1369
+ break;
1370
+ }
1371
+ }
1372
+ return message;
1373
+ },
1374
+
1375
+ fromJSON(object: any): Redelegation {
1376
+ return {
1377
+ delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
1378
+ validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "",
1379
+ validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : "",
1380
+ entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntry.fromJSON(e)) : [],
1381
+ };
1382
+ },
1383
+
1384
+ toJSON(message: Redelegation): unknown {
1385
+ const obj: any = {};
1386
+ message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
1387
+ message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress);
1388
+ message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress);
1389
+ if (message.entries) {
1390
+ obj.entries = message.entries.map((e) => e ? RedelegationEntry.toJSON(e) : undefined);
1391
+ } else {
1392
+ obj.entries = [];
1393
+ }
1394
+ return obj;
1395
+ },
1396
+
1397
+ fromPartial<I extends Exact<DeepPartial<Redelegation>, I>>(object: I): Redelegation {
1398
+ const message = createBaseRedelegation();
1399
+ message.delegatorAddress = object.delegatorAddress ?? "";
1400
+ message.validatorSrcAddress = object.validatorSrcAddress ?? "";
1401
+ message.validatorDstAddress = object.validatorDstAddress ?? "";
1402
+ message.entries = object.entries?.map((e) => RedelegationEntry.fromPartial(e)) || [];
1403
+ return message;
1404
+ },
1405
+ };
1406
+
1407
+ function createBaseParams(): Params {
1408
+ return {
1409
+ unbondingTime: undefined,
1410
+ maxValidators: 0,
1411
+ maxEntries: 0,
1412
+ historicalEntries: 0,
1413
+ bondDenom: "",
1414
+ minCommissionRate: "",
1415
+ };
1416
+ }
1417
+
1418
+ export const Params = {
1419
+ encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1420
+ if (message.unbondingTime !== undefined) {
1421
+ Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim();
1422
+ }
1423
+ if (message.maxValidators !== 0) {
1424
+ writer.uint32(16).uint32(message.maxValidators);
1425
+ }
1426
+ if (message.maxEntries !== 0) {
1427
+ writer.uint32(24).uint32(message.maxEntries);
1428
+ }
1429
+ if (message.historicalEntries !== 0) {
1430
+ writer.uint32(32).uint32(message.historicalEntries);
1431
+ }
1432
+ if (message.bondDenom !== "") {
1433
+ writer.uint32(42).string(message.bondDenom);
1434
+ }
1435
+ if (message.minCommissionRate !== "") {
1436
+ writer.uint32(50).string(message.minCommissionRate);
1437
+ }
1438
+ return writer;
1439
+ },
1440
+
1441
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params {
1442
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1443
+ let end = length === undefined ? reader.len : reader.pos + length;
1444
+ const message = createBaseParams();
1445
+ while (reader.pos < end) {
1446
+ const tag = reader.uint32();
1447
+ switch (tag >>> 3) {
1448
+ case 1:
1449
+ message.unbondingTime = Duration.decode(reader, reader.uint32());
1450
+ break;
1451
+ case 2:
1452
+ message.maxValidators = reader.uint32();
1453
+ break;
1454
+ case 3:
1455
+ message.maxEntries = reader.uint32();
1456
+ break;
1457
+ case 4:
1458
+ message.historicalEntries = reader.uint32();
1459
+ break;
1460
+ case 5:
1461
+ message.bondDenom = reader.string();
1462
+ break;
1463
+ case 6:
1464
+ message.minCommissionRate = reader.string();
1465
+ break;
1466
+ default:
1467
+ reader.skipType(tag & 7);
1468
+ break;
1469
+ }
1470
+ }
1471
+ return message;
1472
+ },
1473
+
1474
+ fromJSON(object: any): Params {
1475
+ return {
1476
+ unbondingTime: isSet(object.unbondingTime) ? Duration.fromJSON(object.unbondingTime) : undefined,
1477
+ maxValidators: isSet(object.maxValidators) ? Number(object.maxValidators) : 0,
1478
+ maxEntries: isSet(object.maxEntries) ? Number(object.maxEntries) : 0,
1479
+ historicalEntries: isSet(object.historicalEntries) ? Number(object.historicalEntries) : 0,
1480
+ bondDenom: isSet(object.bondDenom) ? String(object.bondDenom) : "",
1481
+ minCommissionRate: isSet(object.minCommissionRate) ? String(object.minCommissionRate) : "",
1482
+ };
1483
+ },
1484
+
1485
+ toJSON(message: Params): unknown {
1486
+ const obj: any = {};
1487
+ message.unbondingTime !== undefined
1488
+ && (obj.unbondingTime = message.unbondingTime ? Duration.toJSON(message.unbondingTime) : undefined);
1489
+ message.maxValidators !== undefined && (obj.maxValidators = Math.round(message.maxValidators));
1490
+ message.maxEntries !== undefined && (obj.maxEntries = Math.round(message.maxEntries));
1491
+ message.historicalEntries !== undefined && (obj.historicalEntries = Math.round(message.historicalEntries));
1492
+ message.bondDenom !== undefined && (obj.bondDenom = message.bondDenom);
1493
+ message.minCommissionRate !== undefined && (obj.minCommissionRate = message.minCommissionRate);
1494
+ return obj;
1495
+ },
1496
+
1497
+ fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params {
1498
+ const message = createBaseParams();
1499
+ message.unbondingTime = (object.unbondingTime !== undefined && object.unbondingTime !== null)
1500
+ ? Duration.fromPartial(object.unbondingTime)
1501
+ : undefined;
1502
+ message.maxValidators = object.maxValidators ?? 0;
1503
+ message.maxEntries = object.maxEntries ?? 0;
1504
+ message.historicalEntries = object.historicalEntries ?? 0;
1505
+ message.bondDenom = object.bondDenom ?? "";
1506
+ message.minCommissionRate = object.minCommissionRate ?? "";
1507
+ return message;
1508
+ },
1509
+ };
1510
+
1511
+ function createBaseDelegationResponse(): DelegationResponse {
1512
+ return { delegation: undefined, balance: undefined };
1513
+ }
1514
+
1515
+ export const DelegationResponse = {
1516
+ encode(message: DelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1517
+ if (message.delegation !== undefined) {
1518
+ Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim();
1519
+ }
1520
+ if (message.balance !== undefined) {
1521
+ Coin.encode(message.balance, writer.uint32(18).fork()).ldelim();
1522
+ }
1523
+ return writer;
1524
+ },
1525
+
1526
+ decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse {
1527
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1528
+ let end = length === undefined ? reader.len : reader.pos + length;
1529
+ const message = createBaseDelegationResponse();
1530
+ while (reader.pos < end) {
1531
+ const tag = reader.uint32();
1532
+ switch (tag >>> 3) {
1533
+ case 1:
1534
+ message.delegation = Delegation.decode(reader, reader.uint32());
1535
+ break;
1536
+ case 2:
1537
+ message.balance = Coin.decode(reader, reader.uint32());
1538
+ break;
1539
+ default:
1540
+ reader.skipType(tag & 7);
1541
+ break;
1542
+ }
1543
+ }
1544
+ return message;
1545
+ },
1546
+
1547
+ fromJSON(object: any): DelegationResponse {
1548
+ return {
1549
+ delegation: isSet(object.delegation) ? Delegation.fromJSON(object.delegation) : undefined,
1550
+ balance: isSet(object.balance) ? Coin.fromJSON(object.balance) : undefined,
1551
+ };
1552
+ },
1553
+
1554
+ toJSON(message: DelegationResponse): unknown {
1555
+ const obj: any = {};
1556
+ message.delegation !== undefined
1557
+ && (obj.delegation = message.delegation ? Delegation.toJSON(message.delegation) : undefined);
1558
+ message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined);
1559
+ return obj;
1560
+ },
1561
+
1562
+ fromPartial<I extends Exact<DeepPartial<DelegationResponse>, I>>(object: I): DelegationResponse {
1563
+ const message = createBaseDelegationResponse();
1564
+ message.delegation = (object.delegation !== undefined && object.delegation !== null)
1565
+ ? Delegation.fromPartial(object.delegation)
1566
+ : undefined;
1567
+ message.balance = (object.balance !== undefined && object.balance !== null)
1568
+ ? Coin.fromPartial(object.balance)
1569
+ : undefined;
1570
+ return message;
1571
+ },
1572
+ };
1573
+
1574
+ function createBaseRedelegationEntryResponse(): RedelegationEntryResponse {
1575
+ return { redelegationEntry: undefined, balance: "" };
1576
+ }
1577
+
1578
+ export const RedelegationEntryResponse = {
1579
+ encode(message: RedelegationEntryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1580
+ if (message.redelegationEntry !== undefined) {
1581
+ RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim();
1582
+ }
1583
+ if (message.balance !== "") {
1584
+ writer.uint32(34).string(message.balance);
1585
+ }
1586
+ return writer;
1587
+ },
1588
+
1589
+ decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse {
1590
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1591
+ let end = length === undefined ? reader.len : reader.pos + length;
1592
+ const message = createBaseRedelegationEntryResponse();
1593
+ while (reader.pos < end) {
1594
+ const tag = reader.uint32();
1595
+ switch (tag >>> 3) {
1596
+ case 1:
1597
+ message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32());
1598
+ break;
1599
+ case 4:
1600
+ message.balance = reader.string();
1601
+ break;
1602
+ default:
1603
+ reader.skipType(tag & 7);
1604
+ break;
1605
+ }
1606
+ }
1607
+ return message;
1608
+ },
1609
+
1610
+ fromJSON(object: any): RedelegationEntryResponse {
1611
+ return {
1612
+ redelegationEntry: isSet(object.redelegationEntry)
1613
+ ? RedelegationEntry.fromJSON(object.redelegationEntry)
1614
+ : undefined,
1615
+ balance: isSet(object.balance) ? String(object.balance) : "",
1616
+ };
1617
+ },
1618
+
1619
+ toJSON(message: RedelegationEntryResponse): unknown {
1620
+ const obj: any = {};
1621
+ message.redelegationEntry !== undefined && (obj.redelegationEntry = message.redelegationEntry
1622
+ ? RedelegationEntry.toJSON(message.redelegationEntry)
1623
+ : undefined);
1624
+ message.balance !== undefined && (obj.balance = message.balance);
1625
+ return obj;
1626
+ },
1627
+
1628
+ fromPartial<I extends Exact<DeepPartial<RedelegationEntryResponse>, I>>(object: I): RedelegationEntryResponse {
1629
+ const message = createBaseRedelegationEntryResponse();
1630
+ message.redelegationEntry = (object.redelegationEntry !== undefined && object.redelegationEntry !== null)
1631
+ ? RedelegationEntry.fromPartial(object.redelegationEntry)
1632
+ : undefined;
1633
+ message.balance = object.balance ?? "";
1634
+ return message;
1635
+ },
1636
+ };
1637
+
1638
+ function createBaseRedelegationResponse(): RedelegationResponse {
1639
+ return { redelegation: undefined, entries: [] };
1640
+ }
1641
+
1642
+ export const RedelegationResponse = {
1643
+ encode(message: RedelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1644
+ if (message.redelegation !== undefined) {
1645
+ Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim();
1646
+ }
1647
+ for (const v of message.entries) {
1648
+ RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim();
1649
+ }
1650
+ return writer;
1651
+ },
1652
+
1653
+ decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse {
1654
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1655
+ let end = length === undefined ? reader.len : reader.pos + length;
1656
+ const message = createBaseRedelegationResponse();
1657
+ while (reader.pos < end) {
1658
+ const tag = reader.uint32();
1659
+ switch (tag >>> 3) {
1660
+ case 1:
1661
+ message.redelegation = Redelegation.decode(reader, reader.uint32());
1662
+ break;
1663
+ case 2:
1664
+ message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32()));
1665
+ break;
1666
+ default:
1667
+ reader.skipType(tag & 7);
1668
+ break;
1669
+ }
1670
+ }
1671
+ return message;
1672
+ },
1673
+
1674
+ fromJSON(object: any): RedelegationResponse {
1675
+ return {
1676
+ redelegation: isSet(object.redelegation) ? Redelegation.fromJSON(object.redelegation) : undefined,
1677
+ entries: Array.isArray(object?.entries)
1678
+ ? object.entries.map((e: any) => RedelegationEntryResponse.fromJSON(e))
1679
+ : [],
1680
+ };
1681
+ },
1682
+
1683
+ toJSON(message: RedelegationResponse): unknown {
1684
+ const obj: any = {};
1685
+ message.redelegation !== undefined
1686
+ && (obj.redelegation = message.redelegation ? Redelegation.toJSON(message.redelegation) : undefined);
1687
+ if (message.entries) {
1688
+ obj.entries = message.entries.map((e) => e ? RedelegationEntryResponse.toJSON(e) : undefined);
1689
+ } else {
1690
+ obj.entries = [];
1691
+ }
1692
+ return obj;
1693
+ },
1694
+
1695
+ fromPartial<I extends Exact<DeepPartial<RedelegationResponse>, I>>(object: I): RedelegationResponse {
1696
+ const message = createBaseRedelegationResponse();
1697
+ message.redelegation = (object.redelegation !== undefined && object.redelegation !== null)
1698
+ ? Redelegation.fromPartial(object.redelegation)
1699
+ : undefined;
1700
+ message.entries = object.entries?.map((e) => RedelegationEntryResponse.fromPartial(e)) || [];
1701
+ return message;
1702
+ },
1703
+ };
1704
+
1705
+ function createBasePool(): Pool {
1706
+ return { notBondedTokens: "", bondedTokens: "" };
1707
+ }
1708
+
1709
+ export const Pool = {
1710
+ encode(message: Pool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1711
+ if (message.notBondedTokens !== "") {
1712
+ writer.uint32(10).string(message.notBondedTokens);
1713
+ }
1714
+ if (message.bondedTokens !== "") {
1715
+ writer.uint32(18).string(message.bondedTokens);
1716
+ }
1717
+ return writer;
1718
+ },
1719
+
1720
+ decode(input: _m0.Reader | Uint8Array, length?: number): Pool {
1721
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1722
+ let end = length === undefined ? reader.len : reader.pos + length;
1723
+ const message = createBasePool();
1724
+ while (reader.pos < end) {
1725
+ const tag = reader.uint32();
1726
+ switch (tag >>> 3) {
1727
+ case 1:
1728
+ message.notBondedTokens = reader.string();
1729
+ break;
1730
+ case 2:
1731
+ message.bondedTokens = reader.string();
1732
+ break;
1733
+ default:
1734
+ reader.skipType(tag & 7);
1735
+ break;
1736
+ }
1737
+ }
1738
+ return message;
1739
+ },
1740
+
1741
+ fromJSON(object: any): Pool {
1742
+ return {
1743
+ notBondedTokens: isSet(object.notBondedTokens) ? String(object.notBondedTokens) : "",
1744
+ bondedTokens: isSet(object.bondedTokens) ? String(object.bondedTokens) : "",
1745
+ };
1746
+ },
1747
+
1748
+ toJSON(message: Pool): unknown {
1749
+ const obj: any = {};
1750
+ message.notBondedTokens !== undefined && (obj.notBondedTokens = message.notBondedTokens);
1751
+ message.bondedTokens !== undefined && (obj.bondedTokens = message.bondedTokens);
1752
+ return obj;
1753
+ },
1754
+
1755
+ fromPartial<I extends Exact<DeepPartial<Pool>, I>>(object: I): Pool {
1756
+ const message = createBasePool();
1757
+ message.notBondedTokens = object.notBondedTokens ?? "";
1758
+ message.bondedTokens = object.bondedTokens ?? "";
1759
+ return message;
1760
+ },
1761
+ };
1762
+
1763
+ declare var self: any | undefined;
1764
+ declare var window: any | undefined;
1765
+ declare var global: any | undefined;
1766
+ var globalThis: any = (() => {
1767
+ if (typeof globalThis !== "undefined") {
1768
+ return globalThis;
1769
+ }
1770
+ if (typeof self !== "undefined") {
1771
+ return self;
1772
+ }
1773
+ if (typeof window !== "undefined") {
1774
+ return window;
1775
+ }
1776
+ if (typeof global !== "undefined") {
1777
+ return global;
1778
+ }
1779
+ throw "Unable to locate global object";
1780
+ })();
1781
+
1782
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1783
+
1784
+ export type DeepPartial<T> = T extends Builtin ? T
1785
+ : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
1786
+ : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
1787
+ : Partial<T>;
1788
+
1789
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
1790
+ export type Exact<P, I extends P> = P extends Builtin ? P
1791
+ : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
1792
+
1793
+ function toTimestamp(date: Date): Timestamp {
1794
+ const seconds = date.getTime() / 1_000;
1795
+ const nanos = (date.getTime() % 1_000) * 1_000_000;
1796
+ return { seconds, nanos };
1797
+ }
1798
+
1799
+ function fromTimestamp(t: Timestamp): Date {
1800
+ let millis = t.seconds * 1_000;
1801
+ millis += t.nanos / 1_000_000;
1802
+ return new Date(millis);
1803
+ }
1804
+
1805
+ function fromJsonTimestamp(o: any): Date {
1806
+ if (o instanceof Date) {
1807
+ return o;
1808
+ } else if (typeof o === "string") {
1809
+ return new Date(o);
1810
+ } else {
1811
+ return fromTimestamp(Timestamp.fromJSON(o));
1812
+ }
1813
+ }
1814
+
1815
+ function longToNumber(long: Long): number {
1816
+ if (long.gt(Number.MAX_SAFE_INTEGER)) {
1817
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
1818
+ }
1819
+ return long.toNumber();
1820
+ }
1821
+
1822
+ if (_m0.util.Long !== Long) {
1823
+ _m0.util.Long = Long as any;
1824
+ _m0.configure();
1825
+ }
1826
+
1827
+ function isSet(value: any): boolean {
1828
+ return value !== null && value !== undefined;
1829
+ }