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