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,2366 @@
1
+ /* eslint-disable */
2
+ import Long from "long";
3
+ import _m0 from "protobufjs/minimal";
4
+ import { OutpCard } from "./card";
5
+ import { CStatus, cStatusFromJSON, cStatusToJSON, OutpCollection } from "./collection";
6
+ import { Council } from "./council";
7
+ import { Match } from "./match";
8
+ import { Params } from "./params";
9
+ import { SellOffer, SellOfferStatus, sellOfferStatusFromJSON, sellOfferStatusToJSON } from "./sell_offer";
10
+ import { Server } from "./server";
11
+ import { Outcome, outcomeFromJSON, outcomeToJSON } from "./tx";
12
+ import { User } from "./user";
13
+ import { VoteRight } from "./vote_right";
14
+ import { VotingResults } from "./voting_results";
15
+
16
+ export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
17
+
18
+ /** QueryParamsRequest is request type for the Query/Params RPC method. */
19
+ export interface QueryParamsRequest {
20
+ }
21
+
22
+ /** QueryParamsResponse is response type for the Query/Params RPC method. */
23
+ export interface QueryParamsResponse {
24
+ /** params holds all the parameters of this module. */
25
+ params: Params | undefined;
26
+ }
27
+
28
+ export interface QueryQCardRequest {
29
+ cardId: string;
30
+ }
31
+
32
+ export interface QueryQCardContentRequest {
33
+ cardId: string;
34
+ }
35
+
36
+ export interface QueryQCardContentResponse {
37
+ content: string;
38
+ hash: string;
39
+ }
40
+
41
+ export interface QueryQUserRequest {
42
+ address: string;
43
+ }
44
+
45
+ export interface QueryQCardchainInfoRequest {
46
+ }
47
+
48
+ export interface QueryQCardchainInfoResponse {
49
+ cardAuctionPrice: string;
50
+ activeCollections: number[];
51
+ cardsNumber: number;
52
+ matchesNumber: number;
53
+ sellOffersNumber: number;
54
+ councilsNumber: number;
55
+ }
56
+
57
+ export interface QueryQVotingResultsRequest {
58
+ }
59
+
60
+ export interface QueryQVotingResultsResponse {
61
+ lastVotingResults: VotingResults | undefined;
62
+ }
63
+
64
+ export interface QueryQVotableCardsRequest {
65
+ address: string;
66
+ }
67
+
68
+ export interface QueryQVotableCardsResponse {
69
+ unregistered: boolean;
70
+ noVoteRights: boolean;
71
+ voteRights: VoteRight[];
72
+ }
73
+
74
+ export interface QueryQCardsRequest {
75
+ owner: string;
76
+ status: QueryQCardsRequest_Status;
77
+ cardType: string;
78
+ classes: string;
79
+ sortBy: string;
80
+ nameContains: string;
81
+ keywordsContains: string;
82
+ notesContains: string;
83
+ }
84
+
85
+ export enum QueryQCardsRequest_Status {
86
+ scheme = 0,
87
+ prototype = 1,
88
+ trial = 2,
89
+ permanent = 3,
90
+ suspended = 4,
91
+ banned = 5,
92
+ bannedSoon = 6,
93
+ bannedVerySoon = 7,
94
+ none = 8,
95
+ playable = 9,
96
+ unplayable = 10,
97
+ UNRECOGNIZED = -1,
98
+ }
99
+
100
+ export function queryQCardsRequest_StatusFromJSON(object: any): QueryQCardsRequest_Status {
101
+ switch (object) {
102
+ case 0:
103
+ case "scheme":
104
+ return QueryQCardsRequest_Status.scheme;
105
+ case 1:
106
+ case "prototype":
107
+ return QueryQCardsRequest_Status.prototype;
108
+ case 2:
109
+ case "trial":
110
+ return QueryQCardsRequest_Status.trial;
111
+ case 3:
112
+ case "permanent":
113
+ return QueryQCardsRequest_Status.permanent;
114
+ case 4:
115
+ case "suspended":
116
+ return QueryQCardsRequest_Status.suspended;
117
+ case 5:
118
+ case "banned":
119
+ return QueryQCardsRequest_Status.banned;
120
+ case 6:
121
+ case "bannedSoon":
122
+ return QueryQCardsRequest_Status.bannedSoon;
123
+ case 7:
124
+ case "bannedVerySoon":
125
+ return QueryQCardsRequest_Status.bannedVerySoon;
126
+ case 8:
127
+ case "none":
128
+ return QueryQCardsRequest_Status.none;
129
+ case 9:
130
+ case "playable":
131
+ return QueryQCardsRequest_Status.playable;
132
+ case 10:
133
+ case "unplayable":
134
+ return QueryQCardsRequest_Status.unplayable;
135
+ case -1:
136
+ case "UNRECOGNIZED":
137
+ default:
138
+ return QueryQCardsRequest_Status.UNRECOGNIZED;
139
+ }
140
+ }
141
+
142
+ export function queryQCardsRequest_StatusToJSON(object: QueryQCardsRequest_Status): string {
143
+ switch (object) {
144
+ case QueryQCardsRequest_Status.scheme:
145
+ return "scheme";
146
+ case QueryQCardsRequest_Status.prototype:
147
+ return "prototype";
148
+ case QueryQCardsRequest_Status.trial:
149
+ return "trial";
150
+ case QueryQCardsRequest_Status.permanent:
151
+ return "permanent";
152
+ case QueryQCardsRequest_Status.suspended:
153
+ return "suspended";
154
+ case QueryQCardsRequest_Status.banned:
155
+ return "banned";
156
+ case QueryQCardsRequest_Status.bannedSoon:
157
+ return "bannedSoon";
158
+ case QueryQCardsRequest_Status.bannedVerySoon:
159
+ return "bannedVerySoon";
160
+ case QueryQCardsRequest_Status.none:
161
+ return "none";
162
+ case QueryQCardsRequest_Status.playable:
163
+ return "playable";
164
+ case QueryQCardsRequest_Status.unplayable:
165
+ return "unplayable";
166
+ case QueryQCardsRequest_Status.UNRECOGNIZED:
167
+ default:
168
+ return "UNRECOGNIZED";
169
+ }
170
+ }
171
+
172
+ export interface QueryQCardsResponse {
173
+ cardsList: number[];
174
+ }
175
+
176
+ export interface QueryQMatchRequest {
177
+ matchId: number;
178
+ }
179
+
180
+ export interface QueryQCollectionRequest {
181
+ collectionId: number;
182
+ }
183
+
184
+ export interface QueryQSellOfferRequest {
185
+ sellOfferId: number;
186
+ }
187
+
188
+ export interface QueryQCouncilRequest {
189
+ councilId: number;
190
+ }
191
+
192
+ export interface QueryQMatchesRequest {
193
+ timestampDown: number;
194
+ timestampUp: number;
195
+ containsUsers: string[];
196
+ reporter: string;
197
+ outcome: Outcome;
198
+ cardsPlayed: number[];
199
+ ignore: IgnoreMatches | undefined;
200
+ }
201
+
202
+ export interface IgnoreMatches {
203
+ outcome: boolean;
204
+ }
205
+
206
+ export interface QueryQMatchesResponse {
207
+ matchesList: number[];
208
+ matches: Match[];
209
+ }
210
+
211
+ export interface QueryQSellOffersRequest {
212
+ priceDown: string;
213
+ priceUp: string;
214
+ seller: string;
215
+ buyer: string;
216
+ card: number;
217
+ status: SellOfferStatus;
218
+ ignore: IgnoreSellOffers | undefined;
219
+ }
220
+
221
+ export interface IgnoreSellOffers {
222
+ status: boolean;
223
+ card: boolean;
224
+ }
225
+
226
+ export interface QueryQSellOffersResponse {
227
+ sellOffersIds: number[];
228
+ sellOffers: SellOffer[];
229
+ }
230
+
231
+ export interface QueryQServerRequest {
232
+ id: number;
233
+ }
234
+
235
+ export interface QueryQServerResponse {
236
+ }
237
+
238
+ export interface QueryQCollectionsRequest {
239
+ status: CStatus;
240
+ ignoreStatus: boolean;
241
+ contributors: string[];
242
+ containsCards: number[];
243
+ owner: string;
244
+ }
245
+
246
+ export interface QueryQCollectionsResponse {
247
+ collectionIds: number[];
248
+ }
249
+
250
+ export interface QueryRarityDistributionRequest {
251
+ collectionId: number;
252
+ }
253
+
254
+ export interface QueryRarityDistributionResponse {
255
+ current: number[];
256
+ wanted: number[];
257
+ }
258
+
259
+ function createBaseQueryParamsRequest(): QueryParamsRequest {
260
+ return {};
261
+ }
262
+
263
+ export const QueryParamsRequest = {
264
+ encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
265
+ return writer;
266
+ },
267
+
268
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest {
269
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
270
+ let end = length === undefined ? reader.len : reader.pos + length;
271
+ const message = createBaseQueryParamsRequest();
272
+ while (reader.pos < end) {
273
+ const tag = reader.uint32();
274
+ switch (tag >>> 3) {
275
+ default:
276
+ reader.skipType(tag & 7);
277
+ break;
278
+ }
279
+ }
280
+ return message;
281
+ },
282
+
283
+ fromJSON(_: any): QueryParamsRequest {
284
+ return {};
285
+ },
286
+
287
+ toJSON(_: QueryParamsRequest): unknown {
288
+ const obj: any = {};
289
+ return obj;
290
+ },
291
+
292
+ fromPartial<I extends Exact<DeepPartial<QueryParamsRequest>, I>>(_: I): QueryParamsRequest {
293
+ const message = createBaseQueryParamsRequest();
294
+ return message;
295
+ },
296
+ };
297
+
298
+ function createBaseQueryParamsResponse(): QueryParamsResponse {
299
+ return { params: undefined };
300
+ }
301
+
302
+ export const QueryParamsResponse = {
303
+ encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
304
+ if (message.params !== undefined) {
305
+ Params.encode(message.params, writer.uint32(10).fork()).ldelim();
306
+ }
307
+ return writer;
308
+ },
309
+
310
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse {
311
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
312
+ let end = length === undefined ? reader.len : reader.pos + length;
313
+ const message = createBaseQueryParamsResponse();
314
+ while (reader.pos < end) {
315
+ const tag = reader.uint32();
316
+ switch (tag >>> 3) {
317
+ case 1:
318
+ message.params = Params.decode(reader, reader.uint32());
319
+ break;
320
+ default:
321
+ reader.skipType(tag & 7);
322
+ break;
323
+ }
324
+ }
325
+ return message;
326
+ },
327
+
328
+ fromJSON(object: any): QueryParamsResponse {
329
+ return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };
330
+ },
331
+
332
+ toJSON(message: QueryParamsResponse): unknown {
333
+ const obj: any = {};
334
+ message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
335
+ return obj;
336
+ },
337
+
338
+ fromPartial<I extends Exact<DeepPartial<QueryParamsResponse>, I>>(object: I): QueryParamsResponse {
339
+ const message = createBaseQueryParamsResponse();
340
+ message.params = (object.params !== undefined && object.params !== null)
341
+ ? Params.fromPartial(object.params)
342
+ : undefined;
343
+ return message;
344
+ },
345
+ };
346
+
347
+ function createBaseQueryQCardRequest(): QueryQCardRequest {
348
+ return { cardId: "" };
349
+ }
350
+
351
+ export const QueryQCardRequest = {
352
+ encode(message: QueryQCardRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
353
+ if (message.cardId !== "") {
354
+ writer.uint32(10).string(message.cardId);
355
+ }
356
+ return writer;
357
+ },
358
+
359
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardRequest {
360
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
361
+ let end = length === undefined ? reader.len : reader.pos + length;
362
+ const message = createBaseQueryQCardRequest();
363
+ while (reader.pos < end) {
364
+ const tag = reader.uint32();
365
+ switch (tag >>> 3) {
366
+ case 1:
367
+ message.cardId = reader.string();
368
+ break;
369
+ default:
370
+ reader.skipType(tag & 7);
371
+ break;
372
+ }
373
+ }
374
+ return message;
375
+ },
376
+
377
+ fromJSON(object: any): QueryQCardRequest {
378
+ return { cardId: isSet(object.cardId) ? String(object.cardId) : "" };
379
+ },
380
+
381
+ toJSON(message: QueryQCardRequest): unknown {
382
+ const obj: any = {};
383
+ message.cardId !== undefined && (obj.cardId = message.cardId);
384
+ return obj;
385
+ },
386
+
387
+ fromPartial<I extends Exact<DeepPartial<QueryQCardRequest>, I>>(object: I): QueryQCardRequest {
388
+ const message = createBaseQueryQCardRequest();
389
+ message.cardId = object.cardId ?? "";
390
+ return message;
391
+ },
392
+ };
393
+
394
+ function createBaseQueryQCardContentRequest(): QueryQCardContentRequest {
395
+ return { cardId: "" };
396
+ }
397
+
398
+ export const QueryQCardContentRequest = {
399
+ encode(message: QueryQCardContentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
400
+ if (message.cardId !== "") {
401
+ writer.uint32(10).string(message.cardId);
402
+ }
403
+ return writer;
404
+ },
405
+
406
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardContentRequest {
407
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
408
+ let end = length === undefined ? reader.len : reader.pos + length;
409
+ const message = createBaseQueryQCardContentRequest();
410
+ while (reader.pos < end) {
411
+ const tag = reader.uint32();
412
+ switch (tag >>> 3) {
413
+ case 1:
414
+ message.cardId = reader.string();
415
+ break;
416
+ default:
417
+ reader.skipType(tag & 7);
418
+ break;
419
+ }
420
+ }
421
+ return message;
422
+ },
423
+
424
+ fromJSON(object: any): QueryQCardContentRequest {
425
+ return { cardId: isSet(object.cardId) ? String(object.cardId) : "" };
426
+ },
427
+
428
+ toJSON(message: QueryQCardContentRequest): unknown {
429
+ const obj: any = {};
430
+ message.cardId !== undefined && (obj.cardId = message.cardId);
431
+ return obj;
432
+ },
433
+
434
+ fromPartial<I extends Exact<DeepPartial<QueryQCardContentRequest>, I>>(object: I): QueryQCardContentRequest {
435
+ const message = createBaseQueryQCardContentRequest();
436
+ message.cardId = object.cardId ?? "";
437
+ return message;
438
+ },
439
+ };
440
+
441
+ function createBaseQueryQCardContentResponse(): QueryQCardContentResponse {
442
+ return { content: "", hash: "" };
443
+ }
444
+
445
+ export const QueryQCardContentResponse = {
446
+ encode(message: QueryQCardContentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
447
+ if (message.content !== "") {
448
+ writer.uint32(10).string(message.content);
449
+ }
450
+ if (message.hash !== "") {
451
+ writer.uint32(18).string(message.hash);
452
+ }
453
+ return writer;
454
+ },
455
+
456
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardContentResponse {
457
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
458
+ let end = length === undefined ? reader.len : reader.pos + length;
459
+ const message = createBaseQueryQCardContentResponse();
460
+ while (reader.pos < end) {
461
+ const tag = reader.uint32();
462
+ switch (tag >>> 3) {
463
+ case 1:
464
+ message.content = reader.string();
465
+ break;
466
+ case 2:
467
+ message.hash = reader.string();
468
+ break;
469
+ default:
470
+ reader.skipType(tag & 7);
471
+ break;
472
+ }
473
+ }
474
+ return message;
475
+ },
476
+
477
+ fromJSON(object: any): QueryQCardContentResponse {
478
+ return {
479
+ content: isSet(object.content) ? String(object.content) : "",
480
+ hash: isSet(object.hash) ? String(object.hash) : "",
481
+ };
482
+ },
483
+
484
+ toJSON(message: QueryQCardContentResponse): unknown {
485
+ const obj: any = {};
486
+ message.content !== undefined && (obj.content = message.content);
487
+ message.hash !== undefined && (obj.hash = message.hash);
488
+ return obj;
489
+ },
490
+
491
+ fromPartial<I extends Exact<DeepPartial<QueryQCardContentResponse>, I>>(object: I): QueryQCardContentResponse {
492
+ const message = createBaseQueryQCardContentResponse();
493
+ message.content = object.content ?? "";
494
+ message.hash = object.hash ?? "";
495
+ return message;
496
+ },
497
+ };
498
+
499
+ function createBaseQueryQUserRequest(): QueryQUserRequest {
500
+ return { address: "" };
501
+ }
502
+
503
+ export const QueryQUserRequest = {
504
+ encode(message: QueryQUserRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
505
+ if (message.address !== "") {
506
+ writer.uint32(10).string(message.address);
507
+ }
508
+ return writer;
509
+ },
510
+
511
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQUserRequest {
512
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
513
+ let end = length === undefined ? reader.len : reader.pos + length;
514
+ const message = createBaseQueryQUserRequest();
515
+ while (reader.pos < end) {
516
+ const tag = reader.uint32();
517
+ switch (tag >>> 3) {
518
+ case 1:
519
+ message.address = reader.string();
520
+ break;
521
+ default:
522
+ reader.skipType(tag & 7);
523
+ break;
524
+ }
525
+ }
526
+ return message;
527
+ },
528
+
529
+ fromJSON(object: any): QueryQUserRequest {
530
+ return { address: isSet(object.address) ? String(object.address) : "" };
531
+ },
532
+
533
+ toJSON(message: QueryQUserRequest): unknown {
534
+ const obj: any = {};
535
+ message.address !== undefined && (obj.address = message.address);
536
+ return obj;
537
+ },
538
+
539
+ fromPartial<I extends Exact<DeepPartial<QueryQUserRequest>, I>>(object: I): QueryQUserRequest {
540
+ const message = createBaseQueryQUserRequest();
541
+ message.address = object.address ?? "";
542
+ return message;
543
+ },
544
+ };
545
+
546
+ function createBaseQueryQCardchainInfoRequest(): QueryQCardchainInfoRequest {
547
+ return {};
548
+ }
549
+
550
+ export const QueryQCardchainInfoRequest = {
551
+ encode(_: QueryQCardchainInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
552
+ return writer;
553
+ },
554
+
555
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardchainInfoRequest {
556
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
557
+ let end = length === undefined ? reader.len : reader.pos + length;
558
+ const message = createBaseQueryQCardchainInfoRequest();
559
+ while (reader.pos < end) {
560
+ const tag = reader.uint32();
561
+ switch (tag >>> 3) {
562
+ default:
563
+ reader.skipType(tag & 7);
564
+ break;
565
+ }
566
+ }
567
+ return message;
568
+ },
569
+
570
+ fromJSON(_: any): QueryQCardchainInfoRequest {
571
+ return {};
572
+ },
573
+
574
+ toJSON(_: QueryQCardchainInfoRequest): unknown {
575
+ const obj: any = {};
576
+ return obj;
577
+ },
578
+
579
+ fromPartial<I extends Exact<DeepPartial<QueryQCardchainInfoRequest>, I>>(_: I): QueryQCardchainInfoRequest {
580
+ const message = createBaseQueryQCardchainInfoRequest();
581
+ return message;
582
+ },
583
+ };
584
+
585
+ function createBaseQueryQCardchainInfoResponse(): QueryQCardchainInfoResponse {
586
+ return {
587
+ cardAuctionPrice: "",
588
+ activeCollections: [],
589
+ cardsNumber: 0,
590
+ matchesNumber: 0,
591
+ sellOffersNumber: 0,
592
+ councilsNumber: 0,
593
+ };
594
+ }
595
+
596
+ export const QueryQCardchainInfoResponse = {
597
+ encode(message: QueryQCardchainInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
598
+ if (message.cardAuctionPrice !== "") {
599
+ writer.uint32(10).string(message.cardAuctionPrice);
600
+ }
601
+ writer.uint32(18).fork();
602
+ for (const v of message.activeCollections) {
603
+ writer.uint64(v);
604
+ }
605
+ writer.ldelim();
606
+ if (message.cardsNumber !== 0) {
607
+ writer.uint32(24).uint64(message.cardsNumber);
608
+ }
609
+ if (message.matchesNumber !== 0) {
610
+ writer.uint32(32).uint64(message.matchesNumber);
611
+ }
612
+ if (message.sellOffersNumber !== 0) {
613
+ writer.uint32(40).uint64(message.sellOffersNumber);
614
+ }
615
+ if (message.councilsNumber !== 0) {
616
+ writer.uint32(48).uint64(message.councilsNumber);
617
+ }
618
+ return writer;
619
+ },
620
+
621
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardchainInfoResponse {
622
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
623
+ let end = length === undefined ? reader.len : reader.pos + length;
624
+ const message = createBaseQueryQCardchainInfoResponse();
625
+ while (reader.pos < end) {
626
+ const tag = reader.uint32();
627
+ switch (tag >>> 3) {
628
+ case 1:
629
+ message.cardAuctionPrice = reader.string();
630
+ break;
631
+ case 2:
632
+ if ((tag & 7) === 2) {
633
+ const end2 = reader.uint32() + reader.pos;
634
+ while (reader.pos < end2) {
635
+ message.activeCollections.push(longToNumber(reader.uint64() as Long));
636
+ }
637
+ } else {
638
+ message.activeCollections.push(longToNumber(reader.uint64() as Long));
639
+ }
640
+ break;
641
+ case 3:
642
+ message.cardsNumber = longToNumber(reader.uint64() as Long);
643
+ break;
644
+ case 4:
645
+ message.matchesNumber = longToNumber(reader.uint64() as Long);
646
+ break;
647
+ case 5:
648
+ message.sellOffersNumber = longToNumber(reader.uint64() as Long);
649
+ break;
650
+ case 6:
651
+ message.councilsNumber = longToNumber(reader.uint64() as Long);
652
+ break;
653
+ default:
654
+ reader.skipType(tag & 7);
655
+ break;
656
+ }
657
+ }
658
+ return message;
659
+ },
660
+
661
+ fromJSON(object: any): QueryQCardchainInfoResponse {
662
+ return {
663
+ cardAuctionPrice: isSet(object.cardAuctionPrice) ? String(object.cardAuctionPrice) : "",
664
+ activeCollections: Array.isArray(object?.activeCollections)
665
+ ? object.activeCollections.map((e: any) => Number(e))
666
+ : [],
667
+ cardsNumber: isSet(object.cardsNumber) ? Number(object.cardsNumber) : 0,
668
+ matchesNumber: isSet(object.matchesNumber) ? Number(object.matchesNumber) : 0,
669
+ sellOffersNumber: isSet(object.sellOffersNumber) ? Number(object.sellOffersNumber) : 0,
670
+ councilsNumber: isSet(object.councilsNumber) ? Number(object.councilsNumber) : 0,
671
+ };
672
+ },
673
+
674
+ toJSON(message: QueryQCardchainInfoResponse): unknown {
675
+ const obj: any = {};
676
+ message.cardAuctionPrice !== undefined && (obj.cardAuctionPrice = message.cardAuctionPrice);
677
+ if (message.activeCollections) {
678
+ obj.activeCollections = message.activeCollections.map((e) => Math.round(e));
679
+ } else {
680
+ obj.activeCollections = [];
681
+ }
682
+ message.cardsNumber !== undefined && (obj.cardsNumber = Math.round(message.cardsNumber));
683
+ message.matchesNumber !== undefined && (obj.matchesNumber = Math.round(message.matchesNumber));
684
+ message.sellOffersNumber !== undefined && (obj.sellOffersNumber = Math.round(message.sellOffersNumber));
685
+ message.councilsNumber !== undefined && (obj.councilsNumber = Math.round(message.councilsNumber));
686
+ return obj;
687
+ },
688
+
689
+ fromPartial<I extends Exact<DeepPartial<QueryQCardchainInfoResponse>, I>>(object: I): QueryQCardchainInfoResponse {
690
+ const message = createBaseQueryQCardchainInfoResponse();
691
+ message.cardAuctionPrice = object.cardAuctionPrice ?? "";
692
+ message.activeCollections = object.activeCollections?.map((e) => e) || [];
693
+ message.cardsNumber = object.cardsNumber ?? 0;
694
+ message.matchesNumber = object.matchesNumber ?? 0;
695
+ message.sellOffersNumber = object.sellOffersNumber ?? 0;
696
+ message.councilsNumber = object.councilsNumber ?? 0;
697
+ return message;
698
+ },
699
+ };
700
+
701
+ function createBaseQueryQVotingResultsRequest(): QueryQVotingResultsRequest {
702
+ return {};
703
+ }
704
+
705
+ export const QueryQVotingResultsRequest = {
706
+ encode(_: QueryQVotingResultsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
707
+ return writer;
708
+ },
709
+
710
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQVotingResultsRequest {
711
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
712
+ let end = length === undefined ? reader.len : reader.pos + length;
713
+ const message = createBaseQueryQVotingResultsRequest();
714
+ while (reader.pos < end) {
715
+ const tag = reader.uint32();
716
+ switch (tag >>> 3) {
717
+ default:
718
+ reader.skipType(tag & 7);
719
+ break;
720
+ }
721
+ }
722
+ return message;
723
+ },
724
+
725
+ fromJSON(_: any): QueryQVotingResultsRequest {
726
+ return {};
727
+ },
728
+
729
+ toJSON(_: QueryQVotingResultsRequest): unknown {
730
+ const obj: any = {};
731
+ return obj;
732
+ },
733
+
734
+ fromPartial<I extends Exact<DeepPartial<QueryQVotingResultsRequest>, I>>(_: I): QueryQVotingResultsRequest {
735
+ const message = createBaseQueryQVotingResultsRequest();
736
+ return message;
737
+ },
738
+ };
739
+
740
+ function createBaseQueryQVotingResultsResponse(): QueryQVotingResultsResponse {
741
+ return { lastVotingResults: undefined };
742
+ }
743
+
744
+ export const QueryQVotingResultsResponse = {
745
+ encode(message: QueryQVotingResultsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
746
+ if (message.lastVotingResults !== undefined) {
747
+ VotingResults.encode(message.lastVotingResults, writer.uint32(10).fork()).ldelim();
748
+ }
749
+ return writer;
750
+ },
751
+
752
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQVotingResultsResponse {
753
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
754
+ let end = length === undefined ? reader.len : reader.pos + length;
755
+ const message = createBaseQueryQVotingResultsResponse();
756
+ while (reader.pos < end) {
757
+ const tag = reader.uint32();
758
+ switch (tag >>> 3) {
759
+ case 1:
760
+ message.lastVotingResults = VotingResults.decode(reader, reader.uint32());
761
+ break;
762
+ default:
763
+ reader.skipType(tag & 7);
764
+ break;
765
+ }
766
+ }
767
+ return message;
768
+ },
769
+
770
+ fromJSON(object: any): QueryQVotingResultsResponse {
771
+ return {
772
+ lastVotingResults: isSet(object.lastVotingResults) ? VotingResults.fromJSON(object.lastVotingResults) : undefined,
773
+ };
774
+ },
775
+
776
+ toJSON(message: QueryQVotingResultsResponse): unknown {
777
+ const obj: any = {};
778
+ message.lastVotingResults !== undefined && (obj.lastVotingResults = message.lastVotingResults
779
+ ? VotingResults.toJSON(message.lastVotingResults)
780
+ : undefined);
781
+ return obj;
782
+ },
783
+
784
+ fromPartial<I extends Exact<DeepPartial<QueryQVotingResultsResponse>, I>>(object: I): QueryQVotingResultsResponse {
785
+ const message = createBaseQueryQVotingResultsResponse();
786
+ message.lastVotingResults = (object.lastVotingResults !== undefined && object.lastVotingResults !== null)
787
+ ? VotingResults.fromPartial(object.lastVotingResults)
788
+ : undefined;
789
+ return message;
790
+ },
791
+ };
792
+
793
+ function createBaseQueryQVotableCardsRequest(): QueryQVotableCardsRequest {
794
+ return { address: "" };
795
+ }
796
+
797
+ export const QueryQVotableCardsRequest = {
798
+ encode(message: QueryQVotableCardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
799
+ if (message.address !== "") {
800
+ writer.uint32(10).string(message.address);
801
+ }
802
+ return writer;
803
+ },
804
+
805
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQVotableCardsRequest {
806
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
807
+ let end = length === undefined ? reader.len : reader.pos + length;
808
+ const message = createBaseQueryQVotableCardsRequest();
809
+ while (reader.pos < end) {
810
+ const tag = reader.uint32();
811
+ switch (tag >>> 3) {
812
+ case 1:
813
+ message.address = reader.string();
814
+ break;
815
+ default:
816
+ reader.skipType(tag & 7);
817
+ break;
818
+ }
819
+ }
820
+ return message;
821
+ },
822
+
823
+ fromJSON(object: any): QueryQVotableCardsRequest {
824
+ return { address: isSet(object.address) ? String(object.address) : "" };
825
+ },
826
+
827
+ toJSON(message: QueryQVotableCardsRequest): unknown {
828
+ const obj: any = {};
829
+ message.address !== undefined && (obj.address = message.address);
830
+ return obj;
831
+ },
832
+
833
+ fromPartial<I extends Exact<DeepPartial<QueryQVotableCardsRequest>, I>>(object: I): QueryQVotableCardsRequest {
834
+ const message = createBaseQueryQVotableCardsRequest();
835
+ message.address = object.address ?? "";
836
+ return message;
837
+ },
838
+ };
839
+
840
+ function createBaseQueryQVotableCardsResponse(): QueryQVotableCardsResponse {
841
+ return { unregistered: false, noVoteRights: false, voteRights: [] };
842
+ }
843
+
844
+ export const QueryQVotableCardsResponse = {
845
+ encode(message: QueryQVotableCardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
846
+ if (message.unregistered === true) {
847
+ writer.uint32(8).bool(message.unregistered);
848
+ }
849
+ if (message.noVoteRights === true) {
850
+ writer.uint32(16).bool(message.noVoteRights);
851
+ }
852
+ for (const v of message.voteRights) {
853
+ VoteRight.encode(v!, writer.uint32(26).fork()).ldelim();
854
+ }
855
+ return writer;
856
+ },
857
+
858
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQVotableCardsResponse {
859
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
860
+ let end = length === undefined ? reader.len : reader.pos + length;
861
+ const message = createBaseQueryQVotableCardsResponse();
862
+ while (reader.pos < end) {
863
+ const tag = reader.uint32();
864
+ switch (tag >>> 3) {
865
+ case 1:
866
+ message.unregistered = reader.bool();
867
+ break;
868
+ case 2:
869
+ message.noVoteRights = reader.bool();
870
+ break;
871
+ case 3:
872
+ message.voteRights.push(VoteRight.decode(reader, reader.uint32()));
873
+ break;
874
+ default:
875
+ reader.skipType(tag & 7);
876
+ break;
877
+ }
878
+ }
879
+ return message;
880
+ },
881
+
882
+ fromJSON(object: any): QueryQVotableCardsResponse {
883
+ return {
884
+ unregistered: isSet(object.unregistered) ? Boolean(object.unregistered) : false,
885
+ noVoteRights: isSet(object.noVoteRights) ? Boolean(object.noVoteRights) : false,
886
+ voteRights: Array.isArray(object?.voteRights) ? object.voteRights.map((e: any) => VoteRight.fromJSON(e)) : [],
887
+ };
888
+ },
889
+
890
+ toJSON(message: QueryQVotableCardsResponse): unknown {
891
+ const obj: any = {};
892
+ message.unregistered !== undefined && (obj.unregistered = message.unregistered);
893
+ message.noVoteRights !== undefined && (obj.noVoteRights = message.noVoteRights);
894
+ if (message.voteRights) {
895
+ obj.voteRights = message.voteRights.map((e) => e ? VoteRight.toJSON(e) : undefined);
896
+ } else {
897
+ obj.voteRights = [];
898
+ }
899
+ return obj;
900
+ },
901
+
902
+ fromPartial<I extends Exact<DeepPartial<QueryQVotableCardsResponse>, I>>(object: I): QueryQVotableCardsResponse {
903
+ const message = createBaseQueryQVotableCardsResponse();
904
+ message.unregistered = object.unregistered ?? false;
905
+ message.noVoteRights = object.noVoteRights ?? false;
906
+ message.voteRights = object.voteRights?.map((e) => VoteRight.fromPartial(e)) || [];
907
+ return message;
908
+ },
909
+ };
910
+
911
+ function createBaseQueryQCardsRequest(): QueryQCardsRequest {
912
+ return {
913
+ owner: "",
914
+ status: 0,
915
+ cardType: "",
916
+ classes: "",
917
+ sortBy: "",
918
+ nameContains: "",
919
+ keywordsContains: "",
920
+ notesContains: "",
921
+ };
922
+ }
923
+
924
+ export const QueryQCardsRequest = {
925
+ encode(message: QueryQCardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
926
+ if (message.owner !== "") {
927
+ writer.uint32(10).string(message.owner);
928
+ }
929
+ if (message.status !== 0) {
930
+ writer.uint32(16).int32(message.status);
931
+ }
932
+ if (message.cardType !== "") {
933
+ writer.uint32(26).string(message.cardType);
934
+ }
935
+ if (message.classes !== "") {
936
+ writer.uint32(34).string(message.classes);
937
+ }
938
+ if (message.sortBy !== "") {
939
+ writer.uint32(42).string(message.sortBy);
940
+ }
941
+ if (message.nameContains !== "") {
942
+ writer.uint32(50).string(message.nameContains);
943
+ }
944
+ if (message.keywordsContains !== "") {
945
+ writer.uint32(58).string(message.keywordsContains);
946
+ }
947
+ if (message.notesContains !== "") {
948
+ writer.uint32(66).string(message.notesContains);
949
+ }
950
+ return writer;
951
+ },
952
+
953
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardsRequest {
954
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
955
+ let end = length === undefined ? reader.len : reader.pos + length;
956
+ const message = createBaseQueryQCardsRequest();
957
+ while (reader.pos < end) {
958
+ const tag = reader.uint32();
959
+ switch (tag >>> 3) {
960
+ case 1:
961
+ message.owner = reader.string();
962
+ break;
963
+ case 2:
964
+ message.status = reader.int32() as any;
965
+ break;
966
+ case 3:
967
+ message.cardType = reader.string();
968
+ break;
969
+ case 4:
970
+ message.classes = reader.string();
971
+ break;
972
+ case 5:
973
+ message.sortBy = reader.string();
974
+ break;
975
+ case 6:
976
+ message.nameContains = reader.string();
977
+ break;
978
+ case 7:
979
+ message.keywordsContains = reader.string();
980
+ break;
981
+ case 8:
982
+ message.notesContains = reader.string();
983
+ break;
984
+ default:
985
+ reader.skipType(tag & 7);
986
+ break;
987
+ }
988
+ }
989
+ return message;
990
+ },
991
+
992
+ fromJSON(object: any): QueryQCardsRequest {
993
+ return {
994
+ owner: isSet(object.owner) ? String(object.owner) : "",
995
+ status: isSet(object.status) ? queryQCardsRequest_StatusFromJSON(object.status) : 0,
996
+ cardType: isSet(object.cardType) ? String(object.cardType) : "",
997
+ classes: isSet(object.classes) ? String(object.classes) : "",
998
+ sortBy: isSet(object.sortBy) ? String(object.sortBy) : "",
999
+ nameContains: isSet(object.nameContains) ? String(object.nameContains) : "",
1000
+ keywordsContains: isSet(object.keywordsContains) ? String(object.keywordsContains) : "",
1001
+ notesContains: isSet(object.notesContains) ? String(object.notesContains) : "",
1002
+ };
1003
+ },
1004
+
1005
+ toJSON(message: QueryQCardsRequest): unknown {
1006
+ const obj: any = {};
1007
+ message.owner !== undefined && (obj.owner = message.owner);
1008
+ message.status !== undefined && (obj.status = queryQCardsRequest_StatusToJSON(message.status));
1009
+ message.cardType !== undefined && (obj.cardType = message.cardType);
1010
+ message.classes !== undefined && (obj.classes = message.classes);
1011
+ message.sortBy !== undefined && (obj.sortBy = message.sortBy);
1012
+ message.nameContains !== undefined && (obj.nameContains = message.nameContains);
1013
+ message.keywordsContains !== undefined && (obj.keywordsContains = message.keywordsContains);
1014
+ message.notesContains !== undefined && (obj.notesContains = message.notesContains);
1015
+ return obj;
1016
+ },
1017
+
1018
+ fromPartial<I extends Exact<DeepPartial<QueryQCardsRequest>, I>>(object: I): QueryQCardsRequest {
1019
+ const message = createBaseQueryQCardsRequest();
1020
+ message.owner = object.owner ?? "";
1021
+ message.status = object.status ?? 0;
1022
+ message.cardType = object.cardType ?? "";
1023
+ message.classes = object.classes ?? "";
1024
+ message.sortBy = object.sortBy ?? "";
1025
+ message.nameContains = object.nameContains ?? "";
1026
+ message.keywordsContains = object.keywordsContains ?? "";
1027
+ message.notesContains = object.notesContains ?? "";
1028
+ return message;
1029
+ },
1030
+ };
1031
+
1032
+ function createBaseQueryQCardsResponse(): QueryQCardsResponse {
1033
+ return { cardsList: [] };
1034
+ }
1035
+
1036
+ export const QueryQCardsResponse = {
1037
+ encode(message: QueryQCardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1038
+ writer.uint32(10).fork();
1039
+ for (const v of message.cardsList) {
1040
+ writer.uint64(v);
1041
+ }
1042
+ writer.ldelim();
1043
+ return writer;
1044
+ },
1045
+
1046
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCardsResponse {
1047
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1048
+ let end = length === undefined ? reader.len : reader.pos + length;
1049
+ const message = createBaseQueryQCardsResponse();
1050
+ while (reader.pos < end) {
1051
+ const tag = reader.uint32();
1052
+ switch (tag >>> 3) {
1053
+ case 1:
1054
+ if ((tag & 7) === 2) {
1055
+ const end2 = reader.uint32() + reader.pos;
1056
+ while (reader.pos < end2) {
1057
+ message.cardsList.push(longToNumber(reader.uint64() as Long));
1058
+ }
1059
+ } else {
1060
+ message.cardsList.push(longToNumber(reader.uint64() as Long));
1061
+ }
1062
+ break;
1063
+ default:
1064
+ reader.skipType(tag & 7);
1065
+ break;
1066
+ }
1067
+ }
1068
+ return message;
1069
+ },
1070
+
1071
+ fromJSON(object: any): QueryQCardsResponse {
1072
+ return { cardsList: Array.isArray(object?.cardsList) ? object.cardsList.map((e: any) => Number(e)) : [] };
1073
+ },
1074
+
1075
+ toJSON(message: QueryQCardsResponse): unknown {
1076
+ const obj: any = {};
1077
+ if (message.cardsList) {
1078
+ obj.cardsList = message.cardsList.map((e) => Math.round(e));
1079
+ } else {
1080
+ obj.cardsList = [];
1081
+ }
1082
+ return obj;
1083
+ },
1084
+
1085
+ fromPartial<I extends Exact<DeepPartial<QueryQCardsResponse>, I>>(object: I): QueryQCardsResponse {
1086
+ const message = createBaseQueryQCardsResponse();
1087
+ message.cardsList = object.cardsList?.map((e) => e) || [];
1088
+ return message;
1089
+ },
1090
+ };
1091
+
1092
+ function createBaseQueryQMatchRequest(): QueryQMatchRequest {
1093
+ return { matchId: 0 };
1094
+ }
1095
+
1096
+ export const QueryQMatchRequest = {
1097
+ encode(message: QueryQMatchRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1098
+ if (message.matchId !== 0) {
1099
+ writer.uint32(8).uint64(message.matchId);
1100
+ }
1101
+ return writer;
1102
+ },
1103
+
1104
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQMatchRequest {
1105
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1106
+ let end = length === undefined ? reader.len : reader.pos + length;
1107
+ const message = createBaseQueryQMatchRequest();
1108
+ while (reader.pos < end) {
1109
+ const tag = reader.uint32();
1110
+ switch (tag >>> 3) {
1111
+ case 1:
1112
+ message.matchId = longToNumber(reader.uint64() as Long);
1113
+ break;
1114
+ default:
1115
+ reader.skipType(tag & 7);
1116
+ break;
1117
+ }
1118
+ }
1119
+ return message;
1120
+ },
1121
+
1122
+ fromJSON(object: any): QueryQMatchRequest {
1123
+ return { matchId: isSet(object.matchId) ? Number(object.matchId) : 0 };
1124
+ },
1125
+
1126
+ toJSON(message: QueryQMatchRequest): unknown {
1127
+ const obj: any = {};
1128
+ message.matchId !== undefined && (obj.matchId = Math.round(message.matchId));
1129
+ return obj;
1130
+ },
1131
+
1132
+ fromPartial<I extends Exact<DeepPartial<QueryQMatchRequest>, I>>(object: I): QueryQMatchRequest {
1133
+ const message = createBaseQueryQMatchRequest();
1134
+ message.matchId = object.matchId ?? 0;
1135
+ return message;
1136
+ },
1137
+ };
1138
+
1139
+ function createBaseQueryQCollectionRequest(): QueryQCollectionRequest {
1140
+ return { collectionId: 0 };
1141
+ }
1142
+
1143
+ export const QueryQCollectionRequest = {
1144
+ encode(message: QueryQCollectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1145
+ if (message.collectionId !== 0) {
1146
+ writer.uint32(8).uint64(message.collectionId);
1147
+ }
1148
+ return writer;
1149
+ },
1150
+
1151
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCollectionRequest {
1152
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1153
+ let end = length === undefined ? reader.len : reader.pos + length;
1154
+ const message = createBaseQueryQCollectionRequest();
1155
+ while (reader.pos < end) {
1156
+ const tag = reader.uint32();
1157
+ switch (tag >>> 3) {
1158
+ case 1:
1159
+ message.collectionId = longToNumber(reader.uint64() as Long);
1160
+ break;
1161
+ default:
1162
+ reader.skipType(tag & 7);
1163
+ break;
1164
+ }
1165
+ }
1166
+ return message;
1167
+ },
1168
+
1169
+ fromJSON(object: any): QueryQCollectionRequest {
1170
+ return { collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0 };
1171
+ },
1172
+
1173
+ toJSON(message: QueryQCollectionRequest): unknown {
1174
+ const obj: any = {};
1175
+ message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1176
+ return obj;
1177
+ },
1178
+
1179
+ fromPartial<I extends Exact<DeepPartial<QueryQCollectionRequest>, I>>(object: I): QueryQCollectionRequest {
1180
+ const message = createBaseQueryQCollectionRequest();
1181
+ message.collectionId = object.collectionId ?? 0;
1182
+ return message;
1183
+ },
1184
+ };
1185
+
1186
+ function createBaseQueryQSellOfferRequest(): QueryQSellOfferRequest {
1187
+ return { sellOfferId: 0 };
1188
+ }
1189
+
1190
+ export const QueryQSellOfferRequest = {
1191
+ encode(message: QueryQSellOfferRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1192
+ if (message.sellOfferId !== 0) {
1193
+ writer.uint32(8).uint64(message.sellOfferId);
1194
+ }
1195
+ return writer;
1196
+ },
1197
+
1198
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQSellOfferRequest {
1199
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1200
+ let end = length === undefined ? reader.len : reader.pos + length;
1201
+ const message = createBaseQueryQSellOfferRequest();
1202
+ while (reader.pos < end) {
1203
+ const tag = reader.uint32();
1204
+ switch (tag >>> 3) {
1205
+ case 1:
1206
+ message.sellOfferId = longToNumber(reader.uint64() as Long);
1207
+ break;
1208
+ default:
1209
+ reader.skipType(tag & 7);
1210
+ break;
1211
+ }
1212
+ }
1213
+ return message;
1214
+ },
1215
+
1216
+ fromJSON(object: any): QueryQSellOfferRequest {
1217
+ return { sellOfferId: isSet(object.sellOfferId) ? Number(object.sellOfferId) : 0 };
1218
+ },
1219
+
1220
+ toJSON(message: QueryQSellOfferRequest): unknown {
1221
+ const obj: any = {};
1222
+ message.sellOfferId !== undefined && (obj.sellOfferId = Math.round(message.sellOfferId));
1223
+ return obj;
1224
+ },
1225
+
1226
+ fromPartial<I extends Exact<DeepPartial<QueryQSellOfferRequest>, I>>(object: I): QueryQSellOfferRequest {
1227
+ const message = createBaseQueryQSellOfferRequest();
1228
+ message.sellOfferId = object.sellOfferId ?? 0;
1229
+ return message;
1230
+ },
1231
+ };
1232
+
1233
+ function createBaseQueryQCouncilRequest(): QueryQCouncilRequest {
1234
+ return { councilId: 0 };
1235
+ }
1236
+
1237
+ export const QueryQCouncilRequest = {
1238
+ encode(message: QueryQCouncilRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1239
+ if (message.councilId !== 0) {
1240
+ writer.uint32(8).uint64(message.councilId);
1241
+ }
1242
+ return writer;
1243
+ },
1244
+
1245
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCouncilRequest {
1246
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1247
+ let end = length === undefined ? reader.len : reader.pos + length;
1248
+ const message = createBaseQueryQCouncilRequest();
1249
+ while (reader.pos < end) {
1250
+ const tag = reader.uint32();
1251
+ switch (tag >>> 3) {
1252
+ case 1:
1253
+ message.councilId = longToNumber(reader.uint64() as Long);
1254
+ break;
1255
+ default:
1256
+ reader.skipType(tag & 7);
1257
+ break;
1258
+ }
1259
+ }
1260
+ return message;
1261
+ },
1262
+
1263
+ fromJSON(object: any): QueryQCouncilRequest {
1264
+ return { councilId: isSet(object.councilId) ? Number(object.councilId) : 0 };
1265
+ },
1266
+
1267
+ toJSON(message: QueryQCouncilRequest): unknown {
1268
+ const obj: any = {};
1269
+ message.councilId !== undefined && (obj.councilId = Math.round(message.councilId));
1270
+ return obj;
1271
+ },
1272
+
1273
+ fromPartial<I extends Exact<DeepPartial<QueryQCouncilRequest>, I>>(object: I): QueryQCouncilRequest {
1274
+ const message = createBaseQueryQCouncilRequest();
1275
+ message.councilId = object.councilId ?? 0;
1276
+ return message;
1277
+ },
1278
+ };
1279
+
1280
+ function createBaseQueryQMatchesRequest(): QueryQMatchesRequest {
1281
+ return {
1282
+ timestampDown: 0,
1283
+ timestampUp: 0,
1284
+ containsUsers: [],
1285
+ reporter: "",
1286
+ outcome: 0,
1287
+ cardsPlayed: [],
1288
+ ignore: undefined,
1289
+ };
1290
+ }
1291
+
1292
+ export const QueryQMatchesRequest = {
1293
+ encode(message: QueryQMatchesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1294
+ if (message.timestampDown !== 0) {
1295
+ writer.uint32(8).uint64(message.timestampDown);
1296
+ }
1297
+ if (message.timestampUp !== 0) {
1298
+ writer.uint32(16).uint64(message.timestampUp);
1299
+ }
1300
+ for (const v of message.containsUsers) {
1301
+ writer.uint32(26).string(v!);
1302
+ }
1303
+ if (message.reporter !== "") {
1304
+ writer.uint32(34).string(message.reporter);
1305
+ }
1306
+ if (message.outcome !== 0) {
1307
+ writer.uint32(40).int32(message.outcome);
1308
+ }
1309
+ writer.uint32(50).fork();
1310
+ for (const v of message.cardsPlayed) {
1311
+ writer.uint64(v);
1312
+ }
1313
+ writer.ldelim();
1314
+ if (message.ignore !== undefined) {
1315
+ IgnoreMatches.encode(message.ignore, writer.uint32(58).fork()).ldelim();
1316
+ }
1317
+ return writer;
1318
+ },
1319
+
1320
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQMatchesRequest {
1321
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1322
+ let end = length === undefined ? reader.len : reader.pos + length;
1323
+ const message = createBaseQueryQMatchesRequest();
1324
+ while (reader.pos < end) {
1325
+ const tag = reader.uint32();
1326
+ switch (tag >>> 3) {
1327
+ case 1:
1328
+ message.timestampDown = longToNumber(reader.uint64() as Long);
1329
+ break;
1330
+ case 2:
1331
+ message.timestampUp = longToNumber(reader.uint64() as Long);
1332
+ break;
1333
+ case 3:
1334
+ message.containsUsers.push(reader.string());
1335
+ break;
1336
+ case 4:
1337
+ message.reporter = reader.string();
1338
+ break;
1339
+ case 5:
1340
+ message.outcome = reader.int32() as any;
1341
+ break;
1342
+ case 6:
1343
+ if ((tag & 7) === 2) {
1344
+ const end2 = reader.uint32() + reader.pos;
1345
+ while (reader.pos < end2) {
1346
+ message.cardsPlayed.push(longToNumber(reader.uint64() as Long));
1347
+ }
1348
+ } else {
1349
+ message.cardsPlayed.push(longToNumber(reader.uint64() as Long));
1350
+ }
1351
+ break;
1352
+ case 7:
1353
+ message.ignore = IgnoreMatches.decode(reader, reader.uint32());
1354
+ break;
1355
+ default:
1356
+ reader.skipType(tag & 7);
1357
+ break;
1358
+ }
1359
+ }
1360
+ return message;
1361
+ },
1362
+
1363
+ fromJSON(object: any): QueryQMatchesRequest {
1364
+ return {
1365
+ timestampDown: isSet(object.timestampDown) ? Number(object.timestampDown) : 0,
1366
+ timestampUp: isSet(object.timestampUp) ? Number(object.timestampUp) : 0,
1367
+ containsUsers: Array.isArray(object?.containsUsers) ? object.containsUsers.map((e: any) => String(e)) : [],
1368
+ reporter: isSet(object.reporter) ? String(object.reporter) : "",
1369
+ outcome: isSet(object.outcome) ? outcomeFromJSON(object.outcome) : 0,
1370
+ cardsPlayed: Array.isArray(object?.cardsPlayed) ? object.cardsPlayed.map((e: any) => Number(e)) : [],
1371
+ ignore: isSet(object.ignore) ? IgnoreMatches.fromJSON(object.ignore) : undefined,
1372
+ };
1373
+ },
1374
+
1375
+ toJSON(message: QueryQMatchesRequest): unknown {
1376
+ const obj: any = {};
1377
+ message.timestampDown !== undefined && (obj.timestampDown = Math.round(message.timestampDown));
1378
+ message.timestampUp !== undefined && (obj.timestampUp = Math.round(message.timestampUp));
1379
+ if (message.containsUsers) {
1380
+ obj.containsUsers = message.containsUsers.map((e) => e);
1381
+ } else {
1382
+ obj.containsUsers = [];
1383
+ }
1384
+ message.reporter !== undefined && (obj.reporter = message.reporter);
1385
+ message.outcome !== undefined && (obj.outcome = outcomeToJSON(message.outcome));
1386
+ if (message.cardsPlayed) {
1387
+ obj.cardsPlayed = message.cardsPlayed.map((e) => Math.round(e));
1388
+ } else {
1389
+ obj.cardsPlayed = [];
1390
+ }
1391
+ message.ignore !== undefined && (obj.ignore = message.ignore ? IgnoreMatches.toJSON(message.ignore) : undefined);
1392
+ return obj;
1393
+ },
1394
+
1395
+ fromPartial<I extends Exact<DeepPartial<QueryQMatchesRequest>, I>>(object: I): QueryQMatchesRequest {
1396
+ const message = createBaseQueryQMatchesRequest();
1397
+ message.timestampDown = object.timestampDown ?? 0;
1398
+ message.timestampUp = object.timestampUp ?? 0;
1399
+ message.containsUsers = object.containsUsers?.map((e) => e) || [];
1400
+ message.reporter = object.reporter ?? "";
1401
+ message.outcome = object.outcome ?? 0;
1402
+ message.cardsPlayed = object.cardsPlayed?.map((e) => e) || [];
1403
+ message.ignore = (object.ignore !== undefined && object.ignore !== null)
1404
+ ? IgnoreMatches.fromPartial(object.ignore)
1405
+ : undefined;
1406
+ return message;
1407
+ },
1408
+ };
1409
+
1410
+ function createBaseIgnoreMatches(): IgnoreMatches {
1411
+ return { outcome: false };
1412
+ }
1413
+
1414
+ export const IgnoreMatches = {
1415
+ encode(message: IgnoreMatches, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1416
+ if (message.outcome === true) {
1417
+ writer.uint32(8).bool(message.outcome);
1418
+ }
1419
+ return writer;
1420
+ },
1421
+
1422
+ decode(input: _m0.Reader | Uint8Array, length?: number): IgnoreMatches {
1423
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1424
+ let end = length === undefined ? reader.len : reader.pos + length;
1425
+ const message = createBaseIgnoreMatches();
1426
+ while (reader.pos < end) {
1427
+ const tag = reader.uint32();
1428
+ switch (tag >>> 3) {
1429
+ case 1:
1430
+ message.outcome = reader.bool();
1431
+ break;
1432
+ default:
1433
+ reader.skipType(tag & 7);
1434
+ break;
1435
+ }
1436
+ }
1437
+ return message;
1438
+ },
1439
+
1440
+ fromJSON(object: any): IgnoreMatches {
1441
+ return { outcome: isSet(object.outcome) ? Boolean(object.outcome) : false };
1442
+ },
1443
+
1444
+ toJSON(message: IgnoreMatches): unknown {
1445
+ const obj: any = {};
1446
+ message.outcome !== undefined && (obj.outcome = message.outcome);
1447
+ return obj;
1448
+ },
1449
+
1450
+ fromPartial<I extends Exact<DeepPartial<IgnoreMatches>, I>>(object: I): IgnoreMatches {
1451
+ const message = createBaseIgnoreMatches();
1452
+ message.outcome = object.outcome ?? false;
1453
+ return message;
1454
+ },
1455
+ };
1456
+
1457
+ function createBaseQueryQMatchesResponse(): QueryQMatchesResponse {
1458
+ return { matchesList: [], matches: [] };
1459
+ }
1460
+
1461
+ export const QueryQMatchesResponse = {
1462
+ encode(message: QueryQMatchesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1463
+ writer.uint32(10).fork();
1464
+ for (const v of message.matchesList) {
1465
+ writer.uint64(v);
1466
+ }
1467
+ writer.ldelim();
1468
+ for (const v of message.matches) {
1469
+ Match.encode(v!, writer.uint32(18).fork()).ldelim();
1470
+ }
1471
+ return writer;
1472
+ },
1473
+
1474
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQMatchesResponse {
1475
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1476
+ let end = length === undefined ? reader.len : reader.pos + length;
1477
+ const message = createBaseQueryQMatchesResponse();
1478
+ while (reader.pos < end) {
1479
+ const tag = reader.uint32();
1480
+ switch (tag >>> 3) {
1481
+ case 1:
1482
+ if ((tag & 7) === 2) {
1483
+ const end2 = reader.uint32() + reader.pos;
1484
+ while (reader.pos < end2) {
1485
+ message.matchesList.push(longToNumber(reader.uint64() as Long));
1486
+ }
1487
+ } else {
1488
+ message.matchesList.push(longToNumber(reader.uint64() as Long));
1489
+ }
1490
+ break;
1491
+ case 2:
1492
+ message.matches.push(Match.decode(reader, reader.uint32()));
1493
+ break;
1494
+ default:
1495
+ reader.skipType(tag & 7);
1496
+ break;
1497
+ }
1498
+ }
1499
+ return message;
1500
+ },
1501
+
1502
+ fromJSON(object: any): QueryQMatchesResponse {
1503
+ return {
1504
+ matchesList: Array.isArray(object?.matchesList) ? object.matchesList.map((e: any) => Number(e)) : [],
1505
+ matches: Array.isArray(object?.matches) ? object.matches.map((e: any) => Match.fromJSON(e)) : [],
1506
+ };
1507
+ },
1508
+
1509
+ toJSON(message: QueryQMatchesResponse): unknown {
1510
+ const obj: any = {};
1511
+ if (message.matchesList) {
1512
+ obj.matchesList = message.matchesList.map((e) => Math.round(e));
1513
+ } else {
1514
+ obj.matchesList = [];
1515
+ }
1516
+ if (message.matches) {
1517
+ obj.matches = message.matches.map((e) => e ? Match.toJSON(e) : undefined);
1518
+ } else {
1519
+ obj.matches = [];
1520
+ }
1521
+ return obj;
1522
+ },
1523
+
1524
+ fromPartial<I extends Exact<DeepPartial<QueryQMatchesResponse>, I>>(object: I): QueryQMatchesResponse {
1525
+ const message = createBaseQueryQMatchesResponse();
1526
+ message.matchesList = object.matchesList?.map((e) => e) || [];
1527
+ message.matches = object.matches?.map((e) => Match.fromPartial(e)) || [];
1528
+ return message;
1529
+ },
1530
+ };
1531
+
1532
+ function createBaseQueryQSellOffersRequest(): QueryQSellOffersRequest {
1533
+ return { priceDown: "", priceUp: "", seller: "", buyer: "", card: 0, status: 0, ignore: undefined };
1534
+ }
1535
+
1536
+ export const QueryQSellOffersRequest = {
1537
+ encode(message: QueryQSellOffersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1538
+ if (message.priceDown !== "") {
1539
+ writer.uint32(10).string(message.priceDown);
1540
+ }
1541
+ if (message.priceUp !== "") {
1542
+ writer.uint32(18).string(message.priceUp);
1543
+ }
1544
+ if (message.seller !== "") {
1545
+ writer.uint32(26).string(message.seller);
1546
+ }
1547
+ if (message.buyer !== "") {
1548
+ writer.uint32(34).string(message.buyer);
1549
+ }
1550
+ if (message.card !== 0) {
1551
+ writer.uint32(40).uint64(message.card);
1552
+ }
1553
+ if (message.status !== 0) {
1554
+ writer.uint32(48).int32(message.status);
1555
+ }
1556
+ if (message.ignore !== undefined) {
1557
+ IgnoreSellOffers.encode(message.ignore, writer.uint32(58).fork()).ldelim();
1558
+ }
1559
+ return writer;
1560
+ },
1561
+
1562
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQSellOffersRequest {
1563
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1564
+ let end = length === undefined ? reader.len : reader.pos + length;
1565
+ const message = createBaseQueryQSellOffersRequest();
1566
+ while (reader.pos < end) {
1567
+ const tag = reader.uint32();
1568
+ switch (tag >>> 3) {
1569
+ case 1:
1570
+ message.priceDown = reader.string();
1571
+ break;
1572
+ case 2:
1573
+ message.priceUp = reader.string();
1574
+ break;
1575
+ case 3:
1576
+ message.seller = reader.string();
1577
+ break;
1578
+ case 4:
1579
+ message.buyer = reader.string();
1580
+ break;
1581
+ case 5:
1582
+ message.card = longToNumber(reader.uint64() as Long);
1583
+ break;
1584
+ case 6:
1585
+ message.status = reader.int32() as any;
1586
+ break;
1587
+ case 7:
1588
+ message.ignore = IgnoreSellOffers.decode(reader, reader.uint32());
1589
+ break;
1590
+ default:
1591
+ reader.skipType(tag & 7);
1592
+ break;
1593
+ }
1594
+ }
1595
+ return message;
1596
+ },
1597
+
1598
+ fromJSON(object: any): QueryQSellOffersRequest {
1599
+ return {
1600
+ priceDown: isSet(object.priceDown) ? String(object.priceDown) : "",
1601
+ priceUp: isSet(object.priceUp) ? String(object.priceUp) : "",
1602
+ seller: isSet(object.seller) ? String(object.seller) : "",
1603
+ buyer: isSet(object.buyer) ? String(object.buyer) : "",
1604
+ card: isSet(object.card) ? Number(object.card) : 0,
1605
+ status: isSet(object.status) ? sellOfferStatusFromJSON(object.status) : 0,
1606
+ ignore: isSet(object.ignore) ? IgnoreSellOffers.fromJSON(object.ignore) : undefined,
1607
+ };
1608
+ },
1609
+
1610
+ toJSON(message: QueryQSellOffersRequest): unknown {
1611
+ const obj: any = {};
1612
+ message.priceDown !== undefined && (obj.priceDown = message.priceDown);
1613
+ message.priceUp !== undefined && (obj.priceUp = message.priceUp);
1614
+ message.seller !== undefined && (obj.seller = message.seller);
1615
+ message.buyer !== undefined && (obj.buyer = message.buyer);
1616
+ message.card !== undefined && (obj.card = Math.round(message.card));
1617
+ message.status !== undefined && (obj.status = sellOfferStatusToJSON(message.status));
1618
+ message.ignore !== undefined && (obj.ignore = message.ignore ? IgnoreSellOffers.toJSON(message.ignore) : undefined);
1619
+ return obj;
1620
+ },
1621
+
1622
+ fromPartial<I extends Exact<DeepPartial<QueryQSellOffersRequest>, I>>(object: I): QueryQSellOffersRequest {
1623
+ const message = createBaseQueryQSellOffersRequest();
1624
+ message.priceDown = object.priceDown ?? "";
1625
+ message.priceUp = object.priceUp ?? "";
1626
+ message.seller = object.seller ?? "";
1627
+ message.buyer = object.buyer ?? "";
1628
+ message.card = object.card ?? 0;
1629
+ message.status = object.status ?? 0;
1630
+ message.ignore = (object.ignore !== undefined && object.ignore !== null)
1631
+ ? IgnoreSellOffers.fromPartial(object.ignore)
1632
+ : undefined;
1633
+ return message;
1634
+ },
1635
+ };
1636
+
1637
+ function createBaseIgnoreSellOffers(): IgnoreSellOffers {
1638
+ return { status: false, card: false };
1639
+ }
1640
+
1641
+ export const IgnoreSellOffers = {
1642
+ encode(message: IgnoreSellOffers, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1643
+ if (message.status === true) {
1644
+ writer.uint32(8).bool(message.status);
1645
+ }
1646
+ if (message.card === true) {
1647
+ writer.uint32(16).bool(message.card);
1648
+ }
1649
+ return writer;
1650
+ },
1651
+
1652
+ decode(input: _m0.Reader | Uint8Array, length?: number): IgnoreSellOffers {
1653
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1654
+ let end = length === undefined ? reader.len : reader.pos + length;
1655
+ const message = createBaseIgnoreSellOffers();
1656
+ while (reader.pos < end) {
1657
+ const tag = reader.uint32();
1658
+ switch (tag >>> 3) {
1659
+ case 1:
1660
+ message.status = reader.bool();
1661
+ break;
1662
+ case 2:
1663
+ message.card = reader.bool();
1664
+ break;
1665
+ default:
1666
+ reader.skipType(tag & 7);
1667
+ break;
1668
+ }
1669
+ }
1670
+ return message;
1671
+ },
1672
+
1673
+ fromJSON(object: any): IgnoreSellOffers {
1674
+ return {
1675
+ status: isSet(object.status) ? Boolean(object.status) : false,
1676
+ card: isSet(object.card) ? Boolean(object.card) : false,
1677
+ };
1678
+ },
1679
+
1680
+ toJSON(message: IgnoreSellOffers): unknown {
1681
+ const obj: any = {};
1682
+ message.status !== undefined && (obj.status = message.status);
1683
+ message.card !== undefined && (obj.card = message.card);
1684
+ return obj;
1685
+ },
1686
+
1687
+ fromPartial<I extends Exact<DeepPartial<IgnoreSellOffers>, I>>(object: I): IgnoreSellOffers {
1688
+ const message = createBaseIgnoreSellOffers();
1689
+ message.status = object.status ?? false;
1690
+ message.card = object.card ?? false;
1691
+ return message;
1692
+ },
1693
+ };
1694
+
1695
+ function createBaseQueryQSellOffersResponse(): QueryQSellOffersResponse {
1696
+ return { sellOffersIds: [], sellOffers: [] };
1697
+ }
1698
+
1699
+ export const QueryQSellOffersResponse = {
1700
+ encode(message: QueryQSellOffersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1701
+ writer.uint32(10).fork();
1702
+ for (const v of message.sellOffersIds) {
1703
+ writer.uint64(v);
1704
+ }
1705
+ writer.ldelim();
1706
+ for (const v of message.sellOffers) {
1707
+ SellOffer.encode(v!, writer.uint32(18).fork()).ldelim();
1708
+ }
1709
+ return writer;
1710
+ },
1711
+
1712
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQSellOffersResponse {
1713
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1714
+ let end = length === undefined ? reader.len : reader.pos + length;
1715
+ const message = createBaseQueryQSellOffersResponse();
1716
+ while (reader.pos < end) {
1717
+ const tag = reader.uint32();
1718
+ switch (tag >>> 3) {
1719
+ case 1:
1720
+ if ((tag & 7) === 2) {
1721
+ const end2 = reader.uint32() + reader.pos;
1722
+ while (reader.pos < end2) {
1723
+ message.sellOffersIds.push(longToNumber(reader.uint64() as Long));
1724
+ }
1725
+ } else {
1726
+ message.sellOffersIds.push(longToNumber(reader.uint64() as Long));
1727
+ }
1728
+ break;
1729
+ case 2:
1730
+ message.sellOffers.push(SellOffer.decode(reader, reader.uint32()));
1731
+ break;
1732
+ default:
1733
+ reader.skipType(tag & 7);
1734
+ break;
1735
+ }
1736
+ }
1737
+ return message;
1738
+ },
1739
+
1740
+ fromJSON(object: any): QueryQSellOffersResponse {
1741
+ return {
1742
+ sellOffersIds: Array.isArray(object?.sellOffersIds) ? object.sellOffersIds.map((e: any) => Number(e)) : [],
1743
+ sellOffers: Array.isArray(object?.sellOffers) ? object.sellOffers.map((e: any) => SellOffer.fromJSON(e)) : [],
1744
+ };
1745
+ },
1746
+
1747
+ toJSON(message: QueryQSellOffersResponse): unknown {
1748
+ const obj: any = {};
1749
+ if (message.sellOffersIds) {
1750
+ obj.sellOffersIds = message.sellOffersIds.map((e) => Math.round(e));
1751
+ } else {
1752
+ obj.sellOffersIds = [];
1753
+ }
1754
+ if (message.sellOffers) {
1755
+ obj.sellOffers = message.sellOffers.map((e) => e ? SellOffer.toJSON(e) : undefined);
1756
+ } else {
1757
+ obj.sellOffers = [];
1758
+ }
1759
+ return obj;
1760
+ },
1761
+
1762
+ fromPartial<I extends Exact<DeepPartial<QueryQSellOffersResponse>, I>>(object: I): QueryQSellOffersResponse {
1763
+ const message = createBaseQueryQSellOffersResponse();
1764
+ message.sellOffersIds = object.sellOffersIds?.map((e) => e) || [];
1765
+ message.sellOffers = object.sellOffers?.map((e) => SellOffer.fromPartial(e)) || [];
1766
+ return message;
1767
+ },
1768
+ };
1769
+
1770
+ function createBaseQueryQServerRequest(): QueryQServerRequest {
1771
+ return { id: 0 };
1772
+ }
1773
+
1774
+ export const QueryQServerRequest = {
1775
+ encode(message: QueryQServerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1776
+ if (message.id !== 0) {
1777
+ writer.uint32(8).uint64(message.id);
1778
+ }
1779
+ return writer;
1780
+ },
1781
+
1782
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQServerRequest {
1783
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1784
+ let end = length === undefined ? reader.len : reader.pos + length;
1785
+ const message = createBaseQueryQServerRequest();
1786
+ while (reader.pos < end) {
1787
+ const tag = reader.uint32();
1788
+ switch (tag >>> 3) {
1789
+ case 1:
1790
+ message.id = longToNumber(reader.uint64() as Long);
1791
+ break;
1792
+ default:
1793
+ reader.skipType(tag & 7);
1794
+ break;
1795
+ }
1796
+ }
1797
+ return message;
1798
+ },
1799
+
1800
+ fromJSON(object: any): QueryQServerRequest {
1801
+ return { id: isSet(object.id) ? Number(object.id) : 0 };
1802
+ },
1803
+
1804
+ toJSON(message: QueryQServerRequest): unknown {
1805
+ const obj: any = {};
1806
+ message.id !== undefined && (obj.id = Math.round(message.id));
1807
+ return obj;
1808
+ },
1809
+
1810
+ fromPartial<I extends Exact<DeepPartial<QueryQServerRequest>, I>>(object: I): QueryQServerRequest {
1811
+ const message = createBaseQueryQServerRequest();
1812
+ message.id = object.id ?? 0;
1813
+ return message;
1814
+ },
1815
+ };
1816
+
1817
+ function createBaseQueryQServerResponse(): QueryQServerResponse {
1818
+ return {};
1819
+ }
1820
+
1821
+ export const QueryQServerResponse = {
1822
+ encode(_: QueryQServerResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1823
+ return writer;
1824
+ },
1825
+
1826
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQServerResponse {
1827
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1828
+ let end = length === undefined ? reader.len : reader.pos + length;
1829
+ const message = createBaseQueryQServerResponse();
1830
+ while (reader.pos < end) {
1831
+ const tag = reader.uint32();
1832
+ switch (tag >>> 3) {
1833
+ default:
1834
+ reader.skipType(tag & 7);
1835
+ break;
1836
+ }
1837
+ }
1838
+ return message;
1839
+ },
1840
+
1841
+ fromJSON(_: any): QueryQServerResponse {
1842
+ return {};
1843
+ },
1844
+
1845
+ toJSON(_: QueryQServerResponse): unknown {
1846
+ const obj: any = {};
1847
+ return obj;
1848
+ },
1849
+
1850
+ fromPartial<I extends Exact<DeepPartial<QueryQServerResponse>, I>>(_: I): QueryQServerResponse {
1851
+ const message = createBaseQueryQServerResponse();
1852
+ return message;
1853
+ },
1854
+ };
1855
+
1856
+ function createBaseQueryQCollectionsRequest(): QueryQCollectionsRequest {
1857
+ return { status: 0, ignoreStatus: false, contributors: [], containsCards: [], owner: "" };
1858
+ }
1859
+
1860
+ export const QueryQCollectionsRequest = {
1861
+ encode(message: QueryQCollectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1862
+ if (message.status !== 0) {
1863
+ writer.uint32(8).int32(message.status);
1864
+ }
1865
+ if (message.ignoreStatus === true) {
1866
+ writer.uint32(16).bool(message.ignoreStatus);
1867
+ }
1868
+ for (const v of message.contributors) {
1869
+ writer.uint32(26).string(v!);
1870
+ }
1871
+ writer.uint32(34).fork();
1872
+ for (const v of message.containsCards) {
1873
+ writer.uint64(v);
1874
+ }
1875
+ writer.ldelim();
1876
+ if (message.owner !== "") {
1877
+ writer.uint32(42).string(message.owner);
1878
+ }
1879
+ return writer;
1880
+ },
1881
+
1882
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCollectionsRequest {
1883
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1884
+ let end = length === undefined ? reader.len : reader.pos + length;
1885
+ const message = createBaseQueryQCollectionsRequest();
1886
+ while (reader.pos < end) {
1887
+ const tag = reader.uint32();
1888
+ switch (tag >>> 3) {
1889
+ case 1:
1890
+ message.status = reader.int32() as any;
1891
+ break;
1892
+ case 2:
1893
+ message.ignoreStatus = reader.bool();
1894
+ break;
1895
+ case 3:
1896
+ message.contributors.push(reader.string());
1897
+ break;
1898
+ case 4:
1899
+ if ((tag & 7) === 2) {
1900
+ const end2 = reader.uint32() + reader.pos;
1901
+ while (reader.pos < end2) {
1902
+ message.containsCards.push(longToNumber(reader.uint64() as Long));
1903
+ }
1904
+ } else {
1905
+ message.containsCards.push(longToNumber(reader.uint64() as Long));
1906
+ }
1907
+ break;
1908
+ case 5:
1909
+ message.owner = reader.string();
1910
+ break;
1911
+ default:
1912
+ reader.skipType(tag & 7);
1913
+ break;
1914
+ }
1915
+ }
1916
+ return message;
1917
+ },
1918
+
1919
+ fromJSON(object: any): QueryQCollectionsRequest {
1920
+ return {
1921
+ status: isSet(object.status) ? cStatusFromJSON(object.status) : 0,
1922
+ ignoreStatus: isSet(object.ignoreStatus) ? Boolean(object.ignoreStatus) : false,
1923
+ contributors: Array.isArray(object?.contributors) ? object.contributors.map((e: any) => String(e)) : [],
1924
+ containsCards: Array.isArray(object?.containsCards) ? object.containsCards.map((e: any) => Number(e)) : [],
1925
+ owner: isSet(object.owner) ? String(object.owner) : "",
1926
+ };
1927
+ },
1928
+
1929
+ toJSON(message: QueryQCollectionsRequest): unknown {
1930
+ const obj: any = {};
1931
+ message.status !== undefined && (obj.status = cStatusToJSON(message.status));
1932
+ message.ignoreStatus !== undefined && (obj.ignoreStatus = message.ignoreStatus);
1933
+ if (message.contributors) {
1934
+ obj.contributors = message.contributors.map((e) => e);
1935
+ } else {
1936
+ obj.contributors = [];
1937
+ }
1938
+ if (message.containsCards) {
1939
+ obj.containsCards = message.containsCards.map((e) => Math.round(e));
1940
+ } else {
1941
+ obj.containsCards = [];
1942
+ }
1943
+ message.owner !== undefined && (obj.owner = message.owner);
1944
+ return obj;
1945
+ },
1946
+
1947
+ fromPartial<I extends Exact<DeepPartial<QueryQCollectionsRequest>, I>>(object: I): QueryQCollectionsRequest {
1948
+ const message = createBaseQueryQCollectionsRequest();
1949
+ message.status = object.status ?? 0;
1950
+ message.ignoreStatus = object.ignoreStatus ?? false;
1951
+ message.contributors = object.contributors?.map((e) => e) || [];
1952
+ message.containsCards = object.containsCards?.map((e) => e) || [];
1953
+ message.owner = object.owner ?? "";
1954
+ return message;
1955
+ },
1956
+ };
1957
+
1958
+ function createBaseQueryQCollectionsResponse(): QueryQCollectionsResponse {
1959
+ return { collectionIds: [] };
1960
+ }
1961
+
1962
+ export const QueryQCollectionsResponse = {
1963
+ encode(message: QueryQCollectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1964
+ writer.uint32(10).fork();
1965
+ for (const v of message.collectionIds) {
1966
+ writer.uint64(v);
1967
+ }
1968
+ writer.ldelim();
1969
+ return writer;
1970
+ },
1971
+
1972
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryQCollectionsResponse {
1973
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1974
+ let end = length === undefined ? reader.len : reader.pos + length;
1975
+ const message = createBaseQueryQCollectionsResponse();
1976
+ while (reader.pos < end) {
1977
+ const tag = reader.uint32();
1978
+ switch (tag >>> 3) {
1979
+ case 1:
1980
+ if ((tag & 7) === 2) {
1981
+ const end2 = reader.uint32() + reader.pos;
1982
+ while (reader.pos < end2) {
1983
+ message.collectionIds.push(longToNumber(reader.uint64() as Long));
1984
+ }
1985
+ } else {
1986
+ message.collectionIds.push(longToNumber(reader.uint64() as Long));
1987
+ }
1988
+ break;
1989
+ default:
1990
+ reader.skipType(tag & 7);
1991
+ break;
1992
+ }
1993
+ }
1994
+ return message;
1995
+ },
1996
+
1997
+ fromJSON(object: any): QueryQCollectionsResponse {
1998
+ return {
1999
+ collectionIds: Array.isArray(object?.collectionIds) ? object.collectionIds.map((e: any) => Number(e)) : [],
2000
+ };
2001
+ },
2002
+
2003
+ toJSON(message: QueryQCollectionsResponse): unknown {
2004
+ const obj: any = {};
2005
+ if (message.collectionIds) {
2006
+ obj.collectionIds = message.collectionIds.map((e) => Math.round(e));
2007
+ } else {
2008
+ obj.collectionIds = [];
2009
+ }
2010
+ return obj;
2011
+ },
2012
+
2013
+ fromPartial<I extends Exact<DeepPartial<QueryQCollectionsResponse>, I>>(object: I): QueryQCollectionsResponse {
2014
+ const message = createBaseQueryQCollectionsResponse();
2015
+ message.collectionIds = object.collectionIds?.map((e) => e) || [];
2016
+ return message;
2017
+ },
2018
+ };
2019
+
2020
+ function createBaseQueryRarityDistributionRequest(): QueryRarityDistributionRequest {
2021
+ return { collectionId: 0 };
2022
+ }
2023
+
2024
+ export const QueryRarityDistributionRequest = {
2025
+ encode(message: QueryRarityDistributionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
2026
+ if (message.collectionId !== 0) {
2027
+ writer.uint32(8).uint64(message.collectionId);
2028
+ }
2029
+ return writer;
2030
+ },
2031
+
2032
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryRarityDistributionRequest {
2033
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2034
+ let end = length === undefined ? reader.len : reader.pos + length;
2035
+ const message = createBaseQueryRarityDistributionRequest();
2036
+ while (reader.pos < end) {
2037
+ const tag = reader.uint32();
2038
+ switch (tag >>> 3) {
2039
+ case 1:
2040
+ message.collectionId = longToNumber(reader.uint64() as Long);
2041
+ break;
2042
+ default:
2043
+ reader.skipType(tag & 7);
2044
+ break;
2045
+ }
2046
+ }
2047
+ return message;
2048
+ },
2049
+
2050
+ fromJSON(object: any): QueryRarityDistributionRequest {
2051
+ return { collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0 };
2052
+ },
2053
+
2054
+ toJSON(message: QueryRarityDistributionRequest): unknown {
2055
+ const obj: any = {};
2056
+ message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
2057
+ return obj;
2058
+ },
2059
+
2060
+ fromPartial<I extends Exact<DeepPartial<QueryRarityDistributionRequest>, I>>(
2061
+ object: I,
2062
+ ): QueryRarityDistributionRequest {
2063
+ const message = createBaseQueryRarityDistributionRequest();
2064
+ message.collectionId = object.collectionId ?? 0;
2065
+ return message;
2066
+ },
2067
+ };
2068
+
2069
+ function createBaseQueryRarityDistributionResponse(): QueryRarityDistributionResponse {
2070
+ return { current: [], wanted: [] };
2071
+ }
2072
+
2073
+ export const QueryRarityDistributionResponse = {
2074
+ encode(message: QueryRarityDistributionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
2075
+ writer.uint32(10).fork();
2076
+ for (const v of message.current) {
2077
+ writer.uint64(v);
2078
+ }
2079
+ writer.ldelim();
2080
+ writer.uint32(18).fork();
2081
+ for (const v of message.wanted) {
2082
+ writer.uint64(v);
2083
+ }
2084
+ writer.ldelim();
2085
+ return writer;
2086
+ },
2087
+
2088
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryRarityDistributionResponse {
2089
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2090
+ let end = length === undefined ? reader.len : reader.pos + length;
2091
+ const message = createBaseQueryRarityDistributionResponse();
2092
+ while (reader.pos < end) {
2093
+ const tag = reader.uint32();
2094
+ switch (tag >>> 3) {
2095
+ case 1:
2096
+ if ((tag & 7) === 2) {
2097
+ const end2 = reader.uint32() + reader.pos;
2098
+ while (reader.pos < end2) {
2099
+ message.current.push(longToNumber(reader.uint64() as Long));
2100
+ }
2101
+ } else {
2102
+ message.current.push(longToNumber(reader.uint64() as Long));
2103
+ }
2104
+ break;
2105
+ case 2:
2106
+ if ((tag & 7) === 2) {
2107
+ const end2 = reader.uint32() + reader.pos;
2108
+ while (reader.pos < end2) {
2109
+ message.wanted.push(longToNumber(reader.uint64() as Long));
2110
+ }
2111
+ } else {
2112
+ message.wanted.push(longToNumber(reader.uint64() as Long));
2113
+ }
2114
+ break;
2115
+ default:
2116
+ reader.skipType(tag & 7);
2117
+ break;
2118
+ }
2119
+ }
2120
+ return message;
2121
+ },
2122
+
2123
+ fromJSON(object: any): QueryRarityDistributionResponse {
2124
+ return {
2125
+ current: Array.isArray(object?.current) ? object.current.map((e: any) => Number(e)) : [],
2126
+ wanted: Array.isArray(object?.wanted) ? object.wanted.map((e: any) => Number(e)) : [],
2127
+ };
2128
+ },
2129
+
2130
+ toJSON(message: QueryRarityDistributionResponse): unknown {
2131
+ const obj: any = {};
2132
+ if (message.current) {
2133
+ obj.current = message.current.map((e) => Math.round(e));
2134
+ } else {
2135
+ obj.current = [];
2136
+ }
2137
+ if (message.wanted) {
2138
+ obj.wanted = message.wanted.map((e) => Math.round(e));
2139
+ } else {
2140
+ obj.wanted = [];
2141
+ }
2142
+ return obj;
2143
+ },
2144
+
2145
+ fromPartial<I extends Exact<DeepPartial<QueryRarityDistributionResponse>, I>>(
2146
+ object: I,
2147
+ ): QueryRarityDistributionResponse {
2148
+ const message = createBaseQueryRarityDistributionResponse();
2149
+ message.current = object.current?.map((e) => e) || [];
2150
+ message.wanted = object.wanted?.map((e) => e) || [];
2151
+ return message;
2152
+ },
2153
+ };
2154
+
2155
+ /** Query defines the gRPC querier service. */
2156
+ export interface Query {
2157
+ /** Parameters queries the parameters of the module. */
2158
+ Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
2159
+ /** Queries a list of QCard items. */
2160
+ QCard(request: QueryQCardRequest): Promise<OutpCard>;
2161
+ /** Queries a list of QCardContent items. */
2162
+ QCardContent(request: QueryQCardContentRequest): Promise<QueryQCardContentResponse>;
2163
+ /** Queries a list of QUser items. */
2164
+ QUser(request: QueryQUserRequest): Promise<User>;
2165
+ /** Queries a list of QCardchainInfo items. */
2166
+ QCardchainInfo(request: QueryQCardchainInfoRequest): Promise<QueryQCardchainInfoResponse>;
2167
+ /** Queries a list of QVotingResults items. */
2168
+ QVotingResults(request: QueryQVotingResultsRequest): Promise<QueryQVotingResultsResponse>;
2169
+ /** Queries a list of QVotableCards items. */
2170
+ QVotableCards(request: QueryQVotableCardsRequest): Promise<QueryQVotableCardsResponse>;
2171
+ /** Queries a list of QCards items. */
2172
+ QCards(request: QueryQCardsRequest): Promise<QueryQCardsResponse>;
2173
+ /** Queries a list of QMatch items. */
2174
+ QMatch(request: QueryQMatchRequest): Promise<Match>;
2175
+ /** Queries a list of QCollection items. */
2176
+ QCollection(request: QueryQCollectionRequest): Promise<OutpCollection>;
2177
+ /** Queries a list of QSellOffer items. */
2178
+ QSellOffer(request: QueryQSellOfferRequest): Promise<SellOffer>;
2179
+ /** Queries a list of QCouncil items. */
2180
+ QCouncil(request: QueryQCouncilRequest): Promise<Council>;
2181
+ /** Queries a list of QMatches items. */
2182
+ QMatches(request: QueryQMatchesRequest): Promise<QueryQMatchesResponse>;
2183
+ /** Queries a list of QSellOffers items. */
2184
+ QSellOffers(request: QueryQSellOffersRequest): Promise<QueryQSellOffersResponse>;
2185
+ /** Queries a list of QServer items. */
2186
+ QServer(request: QueryQServerRequest): Promise<Server>;
2187
+ /** Queries a list of QCollections items. */
2188
+ QCollections(request: QueryQCollectionsRequest): Promise<QueryQCollectionsResponse>;
2189
+ /** Queries a list of RarityDistribution items. */
2190
+ RarityDistribution(request: QueryRarityDistributionRequest): Promise<QueryRarityDistributionResponse>;
2191
+ }
2192
+
2193
+ export class QueryClientImpl implements Query {
2194
+ private readonly rpc: Rpc;
2195
+ constructor(rpc: Rpc) {
2196
+ this.rpc = rpc;
2197
+ this.Params = this.Params.bind(this);
2198
+ this.QCard = this.QCard.bind(this);
2199
+ this.QCardContent = this.QCardContent.bind(this);
2200
+ this.QUser = this.QUser.bind(this);
2201
+ this.QCardchainInfo = this.QCardchainInfo.bind(this);
2202
+ this.QVotingResults = this.QVotingResults.bind(this);
2203
+ this.QVotableCards = this.QVotableCards.bind(this);
2204
+ this.QCards = this.QCards.bind(this);
2205
+ this.QMatch = this.QMatch.bind(this);
2206
+ this.QCollection = this.QCollection.bind(this);
2207
+ this.QSellOffer = this.QSellOffer.bind(this);
2208
+ this.QCouncil = this.QCouncil.bind(this);
2209
+ this.QMatches = this.QMatches.bind(this);
2210
+ this.QSellOffers = this.QSellOffers.bind(this);
2211
+ this.QServer = this.QServer.bind(this);
2212
+ this.QCollections = this.QCollections.bind(this);
2213
+ this.RarityDistribution = this.RarityDistribution.bind(this);
2214
+ }
2215
+ Params(request: QueryParamsRequest): Promise<QueryParamsResponse> {
2216
+ const data = QueryParamsRequest.encode(request).finish();
2217
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "Params", data);
2218
+ return promise.then((data) => QueryParamsResponse.decode(new _m0.Reader(data)));
2219
+ }
2220
+
2221
+ QCard(request: QueryQCardRequest): Promise<OutpCard> {
2222
+ const data = QueryQCardRequest.encode(request).finish();
2223
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCard", data);
2224
+ return promise.then((data) => OutpCard.decode(new _m0.Reader(data)));
2225
+ }
2226
+
2227
+ QCardContent(request: QueryQCardContentRequest): Promise<QueryQCardContentResponse> {
2228
+ const data = QueryQCardContentRequest.encode(request).finish();
2229
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCardContent", data);
2230
+ return promise.then((data) => QueryQCardContentResponse.decode(new _m0.Reader(data)));
2231
+ }
2232
+
2233
+ QUser(request: QueryQUserRequest): Promise<User> {
2234
+ const data = QueryQUserRequest.encode(request).finish();
2235
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QUser", data);
2236
+ return promise.then((data) => User.decode(new _m0.Reader(data)));
2237
+ }
2238
+
2239
+ QCardchainInfo(request: QueryQCardchainInfoRequest): Promise<QueryQCardchainInfoResponse> {
2240
+ const data = QueryQCardchainInfoRequest.encode(request).finish();
2241
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCardchainInfo", data);
2242
+ return promise.then((data) => QueryQCardchainInfoResponse.decode(new _m0.Reader(data)));
2243
+ }
2244
+
2245
+ QVotingResults(request: QueryQVotingResultsRequest): Promise<QueryQVotingResultsResponse> {
2246
+ const data = QueryQVotingResultsRequest.encode(request).finish();
2247
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QVotingResults", data);
2248
+ return promise.then((data) => QueryQVotingResultsResponse.decode(new _m0.Reader(data)));
2249
+ }
2250
+
2251
+ QVotableCards(request: QueryQVotableCardsRequest): Promise<QueryQVotableCardsResponse> {
2252
+ const data = QueryQVotableCardsRequest.encode(request).finish();
2253
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QVotableCards", data);
2254
+ return promise.then((data) => QueryQVotableCardsResponse.decode(new _m0.Reader(data)));
2255
+ }
2256
+
2257
+ QCards(request: QueryQCardsRequest): Promise<QueryQCardsResponse> {
2258
+ const data = QueryQCardsRequest.encode(request).finish();
2259
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCards", data);
2260
+ return promise.then((data) => QueryQCardsResponse.decode(new _m0.Reader(data)));
2261
+ }
2262
+
2263
+ QMatch(request: QueryQMatchRequest): Promise<Match> {
2264
+ const data = QueryQMatchRequest.encode(request).finish();
2265
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QMatch", data);
2266
+ return promise.then((data) => Match.decode(new _m0.Reader(data)));
2267
+ }
2268
+
2269
+ QCollection(request: QueryQCollectionRequest): Promise<OutpCollection> {
2270
+ const data = QueryQCollectionRequest.encode(request).finish();
2271
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCollection", data);
2272
+ return promise.then((data) => OutpCollection.decode(new _m0.Reader(data)));
2273
+ }
2274
+
2275
+ QSellOffer(request: QueryQSellOfferRequest): Promise<SellOffer> {
2276
+ const data = QueryQSellOfferRequest.encode(request).finish();
2277
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QSellOffer", data);
2278
+ return promise.then((data) => SellOffer.decode(new _m0.Reader(data)));
2279
+ }
2280
+
2281
+ QCouncil(request: QueryQCouncilRequest): Promise<Council> {
2282
+ const data = QueryQCouncilRequest.encode(request).finish();
2283
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCouncil", data);
2284
+ return promise.then((data) => Council.decode(new _m0.Reader(data)));
2285
+ }
2286
+
2287
+ QMatches(request: QueryQMatchesRequest): Promise<QueryQMatchesResponse> {
2288
+ const data = QueryQMatchesRequest.encode(request).finish();
2289
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QMatches", data);
2290
+ return promise.then((data) => QueryQMatchesResponse.decode(new _m0.Reader(data)));
2291
+ }
2292
+
2293
+ QSellOffers(request: QueryQSellOffersRequest): Promise<QueryQSellOffersResponse> {
2294
+ const data = QueryQSellOffersRequest.encode(request).finish();
2295
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QSellOffers", data);
2296
+ return promise.then((data) => QueryQSellOffersResponse.decode(new _m0.Reader(data)));
2297
+ }
2298
+
2299
+ QServer(request: QueryQServerRequest): Promise<Server> {
2300
+ const data = QueryQServerRequest.encode(request).finish();
2301
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QServer", data);
2302
+ return promise.then((data) => Server.decode(new _m0.Reader(data)));
2303
+ }
2304
+
2305
+ QCollections(request: QueryQCollectionsRequest): Promise<QueryQCollectionsResponse> {
2306
+ const data = QueryQCollectionsRequest.encode(request).finish();
2307
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCollections", data);
2308
+ return promise.then((data) => QueryQCollectionsResponse.decode(new _m0.Reader(data)));
2309
+ }
2310
+
2311
+ RarityDistribution(request: QueryRarityDistributionRequest): Promise<QueryRarityDistributionResponse> {
2312
+ const data = QueryRarityDistributionRequest.encode(request).finish();
2313
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "RarityDistribution", data);
2314
+ return promise.then((data) => QueryRarityDistributionResponse.decode(new _m0.Reader(data)));
2315
+ }
2316
+ }
2317
+
2318
+ interface Rpc {
2319
+ request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
2320
+ }
2321
+
2322
+ declare var self: any | undefined;
2323
+ declare var window: any | undefined;
2324
+ declare var global: any | undefined;
2325
+ var globalThis: any = (() => {
2326
+ if (typeof globalThis !== "undefined") {
2327
+ return globalThis;
2328
+ }
2329
+ if (typeof self !== "undefined") {
2330
+ return self;
2331
+ }
2332
+ if (typeof window !== "undefined") {
2333
+ return window;
2334
+ }
2335
+ if (typeof global !== "undefined") {
2336
+ return global;
2337
+ }
2338
+ throw "Unable to locate global object";
2339
+ })();
2340
+
2341
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
2342
+
2343
+ export type DeepPartial<T> = T extends Builtin ? T
2344
+ : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
2345
+ : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
2346
+ : Partial<T>;
2347
+
2348
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
2349
+ export type Exact<P, I extends P> = P extends Builtin ? P
2350
+ : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2351
+
2352
+ function longToNumber(long: Long): number {
2353
+ if (long.gt(Number.MAX_SAFE_INTEGER)) {
2354
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
2355
+ }
2356
+ return long.toNumber();
2357
+ }
2358
+
2359
+ if (_m0.util.Long !== Long) {
2360
+ _m0.util.Long = Long as any;
2361
+ _m0.configure();
2362
+ }
2363
+
2364
+ function isSet(value: any): boolean {
2365
+ return value !== null && value !== undefined;
2366
+ }