decentralcardgame-cardchain-client-ts 0.0.4 → 0.0.5

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 (515) hide show
  1. package/README.md +16 -0
  2. package/package.json +1 -1
  3. package/lib/DecentralCardGame.cardchain.cardchain/index.js +0 -5
  4. package/lib/DecentralCardGame.cardchain.cardchain/module.js +0 -1019
  5. package/lib/DecentralCardGame.cardchain.cardchain/registry.js +0 -83
  6. package/lib/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
  7. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/card.js +0 -491
  8. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +0 -497
  9. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +0 -365
  10. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +0 -93
  11. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +0 -102
  12. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +0 -356
  13. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +0 -241
  14. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +0 -88
  15. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +0 -210
  16. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +0 -67
  17. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +0 -73
  18. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +0 -275
  19. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +0 -2186
  20. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +0 -85
  21. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +0 -148
  22. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +0 -93
  23. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +0 -4136
  24. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +0 -554
  25. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +0 -84
  26. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +0 -127
  27. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +0 -148
  28. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.js +0 -365
  29. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.js +0 -93
  30. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.js +0 -102
  31. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/council.js +0 -350
  32. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.js +0 -241
  33. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/image.js +0 -88
  34. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match.js +0 -210
  35. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.js +0 -67
  36. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/num.js +0 -73
  37. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +0 -275
  38. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/query.js +0 -1970
  39. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.js +0 -85
  40. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.js +0 -148
  41. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/server.js +0 -93
  42. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/tx.js +0 -4137
  43. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/user.js +0 -496
  44. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.js +0 -84
  45. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.js +0 -127
  46. package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.js +0 -148
  47. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  48. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +0 -192
  49. package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +0 -171
  50. package/lib/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +0 -2
  51. package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +0 -2
  52. package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +0 -260
  53. package/lib/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
  54. package/lib/DecentralCardGame.cardchain.cardchain/types.js +0 -21
  55. package/lib/client.js +0 -135
  56. package/lib/cosmos.auth.v1beta1/index.js +0 -5
  57. package/lib/cosmos.auth.v1beta1/module.js +0 -62
  58. package/lib/cosmos.auth.v1beta1/registry.js +0 -2
  59. package/lib/cosmos.auth.v1beta1/rest.js +0 -213
  60. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
  61. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
  62. package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -868
  63. package/lib/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  64. package/lib/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  65. package/lib/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
  66. package/lib/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
  67. package/lib/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
  68. package/lib/cosmos.auth.v1beta1/types/google/protobuf/any.js +0 -99
  69. package/lib/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  70. package/lib/cosmos.auth.v1beta1/types.js +0 -4
  71. package/lib/cosmos.authz.v1beta1/index.js +0 -5
  72. package/lib/cosmos.authz.v1beta1/module.js +0 -140
  73. package/lib/cosmos.authz.v1beta1/registry.js +0 -9
  74. package/lib/cosmos.authz.v1beta1/rest.js +0 -131
  75. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
  76. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
  77. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
  78. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
  79. package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
  80. package/lib/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -773
  81. package/lib/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  82. package/lib/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  83. package/lib/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  84. package/lib/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
  85. package/lib/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
  86. package/lib/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
  87. package/lib/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
  88. package/lib/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  89. package/lib/cosmos.authz.v1beta1/types/google/protobuf/duration.js +0 -84
  90. package/lib/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
  91. package/lib/cosmos.authz.v1beta1/types/tendermint/abci/types.js +0 -3447
  92. package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/keys.js +0 -100
  93. package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/proof.js +0 -356
  94. package/lib/cosmos.authz.v1beta1/types/tendermint/types/params.js +0 -378
  95. package/lib/cosmos.authz.v1beta1/types/tendermint/types/types.js +0 -1207
  96. package/lib/cosmos.authz.v1beta1/types/tendermint/types/validator.js +0 -254
  97. package/lib/cosmos.authz.v1beta1/types/tendermint/version/types.js +0 -133
  98. package/lib/cosmos.authz.v1beta1/types.js +0 -7
  99. package/lib/cosmos.bank.v1beta1/index.js +0 -5
  100. package/lib/cosmos.bank.v1beta1/module.js +0 -125
  101. package/lib/cosmos.bank.v1beta1/registry.js +0 -7
  102. package/lib/cosmos.bank.v1beta1/rest.js +0 -222
  103. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -50
  104. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
  105. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -154
  106. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1014
  107. package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -219
  108. package/lib/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  109. package/lib/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  110. package/lib/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  111. package/lib/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  112. package/lib/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
  113. package/lib/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
  114. package/lib/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
  115. package/lib/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  116. package/lib/cosmos.bank.v1beta1/types.js +0 -11
  117. package/lib/cosmos.base.tendermint.v1beta1/index.js +0 -5
  118. package/lib/cosmos.base.tendermint.v1beta1/module.js +0 -70
  119. package/lib/cosmos.base.tendermint.v1beta1/registry.js +0 -2
  120. package/lib/cosmos.base.tendermint.v1beta1/rest.js +0 -209
  121. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  122. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
  123. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
  124. package/lib/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  125. package/lib/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
  126. package/lib/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
  127. package/lib/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
  128. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
  129. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  130. package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
  131. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
  132. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
  133. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
  134. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
  135. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
  136. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
  137. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
  138. package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
  139. package/lib/cosmos.base.tendermint.v1beta1/types.js +0 -8
  140. package/lib/cosmos.crisis.v1beta1/index.js +0 -5
  141. package/lib/cosmos.crisis.v1beta1/module.js +0 -81
  142. package/lib/cosmos.crisis.v1beta1/registry.js +0 -5
  143. package/lib/cosmos.crisis.v1beta1/rest.js +0 -83
  144. package/lib/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  145. package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
  146. package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -111
  147. package/lib/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  148. package/lib/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  149. package/lib/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
  150. package/lib/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  151. package/lib/cosmos.crisis.v1beta1/types.js +0 -1
  152. package/lib/cosmos.distribution.v1beta1/index.js +0 -5
  153. package/lib/cosmos.distribution.v1beta1/module.js +0 -189
  154. package/lib/cosmos.distribution.v1beta1/registry.js +0 -11
  155. package/lib/cosmos.distribution.v1beta1/rest.js +0 -214
  156. package/lib/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  157. package/lib/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  158. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
  159. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
  160. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -926
  161. package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -396
  162. package/lib/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  163. package/lib/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  164. package/lib/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
  165. package/lib/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
  166. package/lib/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
  167. package/lib/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  168. package/lib/cosmos.distribution.v1beta1/types.js +0 -20
  169. package/lib/cosmos.evidence.v1beta1/index.js +0 -5
  170. package/lib/cosmos.evidence.v1beta1/module.js +0 -84
  171. package/lib/cosmos.evidence.v1beta1/registry.js +0 -5
  172. package/lib/cosmos.evidence.v1beta1/rest.js +0 -115
  173. package/lib/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  174. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
  175. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
  176. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -254
  177. package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
  178. package/lib/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  179. package/lib/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  180. package/lib/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
  181. package/lib/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
  182. package/lib/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
  183. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
  184. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  185. package/lib/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
  186. package/lib/cosmos.evidence.v1beta1/types.js +0 -2
  187. package/lib/cosmos.feegrant.v1beta1/index.js +0 -5
  188. package/lib/cosmos.feegrant.v1beta1/module.js +0 -113
  189. package/lib/cosmos.feegrant.v1beta1/registry.js +0 -7
  190. package/lib/cosmos.feegrant.v1beta1/rest.js +0 -130
  191. package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  192. package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  193. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
  194. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
  195. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
  196. package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
  197. package/lib/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  198. package/lib/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  199. package/lib/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
  200. package/lib/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
  201. package/lib/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
  202. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
  203. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  204. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
  205. package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
  206. package/lib/cosmos.feegrant.v1beta1/types.js +0 -5
  207. package/lib/cosmos.gov.v1/index.js +0 -5
  208. package/lib/cosmos.gov.v1/module.js +0 -167
  209. package/lib/cosmos.gov.v1/registry.js +0 -11
  210. package/lib/cosmos.gov.v1/rest.js +0 -242
  211. package/lib/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  212. package/lib/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  213. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -162
  214. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -766
  215. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -917
  216. package/lib/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -590
  217. package/lib/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
  218. package/lib/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
  219. package/lib/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
  220. package/lib/cosmos.gov.v1/types/google/api/annotations.js +0 -2
  221. package/lib/cosmos.gov.v1/types/google/api/http.js +0 -260
  222. package/lib/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
  223. package/lib/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
  224. package/lib/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
  225. package/lib/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
  226. package/lib/cosmos.gov.v1/types.js +0 -9
  227. package/lib/cosmos.gov.v1beta1/index.js +0 -5
  228. package/lib/cosmos.gov.v1beta1/module.js +0 -169
  229. package/lib/cosmos.gov.v1beta1/registry.js +0 -11
  230. package/lib/cosmos.gov.v1beta1/rest.js +0 -242
  231. package/lib/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  232. package/lib/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  233. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
  234. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
  235. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
  236. package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
  237. package/lib/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  238. package/lib/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  239. package/lib/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
  240. package/lib/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
  241. package/lib/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
  242. package/lib/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
  243. package/lib/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  244. package/lib/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
  245. package/lib/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
  246. package/lib/cosmos.gov.v1beta1/types.js +0 -10
  247. package/lib/cosmos.group.v1/index.js +0 -5
  248. package/lib/cosmos.group.v1/module.js +0 -421
  249. package/lib/cosmos.group.v1/registry.js +0 -31
  250. package/lib/cosmos.group.v1/rest.js +0 -351
  251. package/lib/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  252. package/lib/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -433
  253. package/lib/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
  254. package/lib/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1468
  255. package/lib/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1621
  256. package/lib/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1105
  257. package/lib/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
  258. package/lib/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
  259. package/lib/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
  260. package/lib/cosmos.group.v1/types/google/api/annotations.js +0 -2
  261. package/lib/cosmos.group.v1/types/google/api/http.js +0 -260
  262. package/lib/cosmos.group.v1/types/google/protobuf/any.js +0 -99
  263. package/lib/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
  264. package/lib/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
  265. package/lib/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
  266. package/lib/cosmos.group.v1/types.js +0 -21
  267. package/lib/cosmos.mint.v1beta1/index.js +0 -5
  268. package/lib/cosmos.mint.v1beta1/module.js +0 -60
  269. package/lib/cosmos.mint.v1beta1/registry.js +0 -2
  270. package/lib/cosmos.mint.v1beta1/rest.js +0 -128
  271. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
  272. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
  273. package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
  274. package/lib/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  275. package/lib/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
  276. package/lib/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
  277. package/lib/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
  278. package/lib/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  279. package/lib/cosmos.mint.v1beta1/types.js +0 -3
  280. package/lib/cosmos.nft.v1beta1/index.js +0 -5
  281. package/lib/cosmos.nft.v1beta1/module.js +0 -68
  282. package/lib/cosmos.nft.v1beta1/registry.js +0 -2
  283. package/lib/cosmos.nft.v1beta1/rest.js +0 -187
  284. package/lib/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  285. package/lib/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  286. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
  287. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
  288. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
  289. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
  290. package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
  291. package/lib/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
  292. package/lib/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
  293. package/lib/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
  294. package/lib/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  295. package/lib/cosmos.nft.v1beta1/types.js +0 -7
  296. package/lib/cosmos.params.v1beta1/index.js +0 -5
  297. package/lib/cosmos.params.v1beta1/module.js +0 -62
  298. package/lib/cosmos.params.v1beta1/registry.js +0 -2
  299. package/lib/cosmos.params.v1beta1/rest.js +0 -116
  300. package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
  301. package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
  302. package/lib/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  303. package/lib/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
  304. package/lib/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
  305. package/lib/cosmos.params.v1beta1/types/google/api/http.js +0 -260
  306. package/lib/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  307. package/lib/cosmos.params.v1beta1/types.js +0 -4
  308. package/lib/cosmos.slashing.v1beta1/index.js +0 -5
  309. package/lib/cosmos.slashing.v1beta1/module.js +0 -92
  310. package/lib/cosmos.slashing.v1beta1/registry.js +0 -5
  311. package/lib/cosmos.slashing.v1beta1/rest.js +0 -129
  312. package/lib/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  313. package/lib/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  314. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
  315. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
  316. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
  317. package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -91
  318. package/lib/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  319. package/lib/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
  320. package/lib/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
  321. package/lib/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
  322. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  323. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
  324. package/lib/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
  325. package/lib/cosmos.slashing.v1beta1/types.js +0 -6
  326. package/lib/cosmos.staking.v1beta1/index.js +0 -5
  327. package/lib/cosmos.staking.v1beta1/module.js +0 -243
  328. package/lib/cosmos.staking.v1beta1/registry.js +0 -15
  329. package/lib/cosmos.staking.v1beta1/rest.js +0 -308
  330. package/lib/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  331. package/lib/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  332. package/lib/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  333. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
  334. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
  335. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
  336. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1436
  337. package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -768
  338. package/lib/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  339. package/lib/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
  340. package/lib/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
  341. package/lib/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
  342. package/lib/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
  343. package/lib/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  344. package/lib/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
  345. package/lib/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
  346. package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
  347. package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
  348. package/lib/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
  349. package/lib/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
  350. package/lib/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
  351. package/lib/cosmos.staking.v1beta1/types.js +0 -24
  352. package/lib/cosmos.tx.v1beta1/index.js +0 -5
  353. package/lib/cosmos.tx.v1beta1/module.js +0 -82
  354. package/lib/cosmos.tx.v1beta1/registry.js +0 -2
  355. package/lib/cosmos.tx.v1beta1/rest.js +0 -256
  356. package/lib/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
  357. package/lib/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  358. package/lib/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  359. package/lib/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
  360. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
  361. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -802
  362. package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
  363. package/lib/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  364. package/lib/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
  365. package/lib/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
  366. package/lib/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
  367. package/lib/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
  368. package/lib/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  369. package/lib/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
  370. package/lib/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
  371. package/lib/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3486
  372. package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
  373. package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
  374. package/lib/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
  375. package/lib/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
  376. package/lib/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -378
  377. package/lib/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
  378. package/lib/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
  379. package/lib/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
  380. package/lib/cosmos.tx.v1beta1/types.js +0 -14
  381. package/lib/cosmos.upgrade.v1beta1/index.js +0 -5
  382. package/lib/cosmos.upgrade.v1beta1/module.js +0 -113
  383. package/lib/cosmos.upgrade.v1beta1/registry.js +0 -7
  384. package/lib/cosmos.upgrade.v1beta1/rest.js +0 -162
  385. package/lib/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  386. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
  387. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
  388. package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  389. package/lib/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  390. package/lib/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
  391. package/lib/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
  392. package/lib/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
  393. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
  394. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  395. package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
  396. package/lib/cosmos.upgrade.v1beta1/types.js +0 -5
  397. package/lib/cosmos.vesting.v1beta1/index.js +0 -5
  398. package/lib/cosmos.vesting.v1beta1/module.js +0 -140
  399. package/lib/cosmos.vesting.v1beta1/registry.js +0 -9
  400. package/lib/cosmos.vesting.v1beta1/rest.js +0 -83
  401. package/lib/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
  402. package/lib/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  403. package/lib/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  404. package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
  405. package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
  406. package/lib/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  407. package/lib/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
  408. package/lib/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
  409. package/lib/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  410. package/lib/cosmos.vesting.v1beta1/types.js +0 -7
  411. package/lib/env.js +0 -1
  412. package/lib/helpers.js +0 -11
  413. package/lib/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
  414. package/lib/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
  415. package/lib/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
  416. package/lib/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -114
  417. package/lib/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
  418. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
  419. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
  420. package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
  421. package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
  422. package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
  423. package/lib/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
  424. package/lib/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
  425. package/lib/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
  426. package/lib/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
  427. package/lib/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
  428. package/lib/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
  429. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
  430. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
  431. package/lib/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
  432. package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
  433. package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
  434. package/lib/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
  435. package/lib/ibc.applications.transfer.v1/index.js +0 -5
  436. package/lib/ibc.applications.transfer.v1/module.js +0 -86
  437. package/lib/ibc.applications.transfer.v1/registry.js +0 -5
  438. package/lib/ibc.applications.transfer.v1/rest.js +0 -157
  439. package/lib/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  440. package/lib/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  441. package/lib/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  442. package/lib/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
  443. package/lib/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
  444. package/lib/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
  445. package/lib/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
  446. package/lib/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
  447. package/lib/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
  448. package/lib/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
  449. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -75
  450. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -483
  451. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
  452. package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -186
  453. package/lib/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
  454. package/lib/ibc.applications.transfer.v1/types.js +0 -3
  455. package/lib/ibc.core.channel.v1/index.js +0 -5
  456. package/lib/ibc.core.channel.v1/module.js +0 -72
  457. package/lib/ibc.core.channel.v1/registry.js +0 -2
  458. package/lib/ibc.core.channel.v1/rest.js +0 -323
  459. package/lib/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  460. package/lib/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  461. package/lib/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
  462. package/lib/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
  463. package/lib/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
  464. package/lib/ibc.core.channel.v1/types/google/api/http.js +0 -260
  465. package/lib/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
  466. package/lib/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
  467. package/lib/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
  468. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
  469. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
  470. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
  471. package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1425
  472. package/lib/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
  473. package/lib/ibc.core.channel.v1/types.js +0 -9
  474. package/lib/ibc.core.client.v1/index.js +0 -5
  475. package/lib/ibc.core.client.v1/module.js +0 -74
  476. package/lib/ibc.core.client.v1/registry.js +0 -2
  477. package/lib/ibc.core.client.v1/rest.js +0 -218
  478. package/lib/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  479. package/lib/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  480. package/lib/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
  481. package/lib/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
  482. package/lib/ibc.core.client.v1/types/google/api/annotations.js +0 -2
  483. package/lib/ibc.core.client.v1/types/google/api/http.js +0 -260
  484. package/lib/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
  485. package/lib/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
  486. package/lib/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
  487. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
  488. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
  489. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
  490. package/lib/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -509
  491. package/lib/ibc.core.client.v1/types.js +0 -10
  492. package/lib/ibc.core.connection.v1/index.js +0 -5
  493. package/lib/ibc.core.connection.v1/module.js +0 -70
  494. package/lib/ibc.core.connection.v1/registry.js +0 -2
  495. package/lib/ibc.core.connection.v1/rest.js +0 -177
  496. package/lib/ibc.core.connection.v1/types/confio/proofs.js +0 -1120
  497. package/lib/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  498. package/lib/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  499. package/lib/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
  500. package/lib/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
  501. package/lib/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
  502. package/lib/ibc.core.connection.v1/types/google/api/http.js +0 -260
  503. package/lib/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
  504. package/lib/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
  505. package/lib/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
  506. package/lib/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
  507. package/lib/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
  508. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
  509. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
  510. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -684
  511. package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -705
  512. package/lib/ibc.core.connection.v1/types/proofs.js +0 -1126
  513. package/lib/ibc.core.connection.v1/types.js +0 -8
  514. package/lib/index.js +0 -62
  515. package/lib/modules.js +0 -1
@@ -1,1019 +0,0 @@
1
- // Generated by Ignite ignite.com/cli
2
- import { SigningStargateClient } from "@cosmjs/stargate";
3
- import { Registry } from "@cosmjs/proto-signing";
4
- import { msgTypes } from './registry';
5
- import { Api } from "./rest";
6
- import { MsgSubmitMatchReporterProposal } from "./types/cardchain/tx";
7
- import { MsgRewokeCouncilRegistration } from "./types/cardchain/tx";
8
- import { MsgAddStoryToCollection } from "./types/cardchain/tx";
9
- import { MsgCreateCouncil } from "./types/cardchain/tx";
10
- import { MsgCreateSellOffer } from "./types/cardchain/tx";
11
- import { MsgSetUserBiography } from "./types/cardchain/tx";
12
- import { MsgRemoveCardFromCollection } from "./types/cardchain/tx";
13
- import { MsgBuyCard } from "./types/cardchain/tx";
14
- import { MsgSetUserWebsite } from "./types/cardchain/tx";
15
- import { MsgDonateToCard } from "./types/cardchain/tx";
16
- import { MsgCommitCouncilResponse } from "./types/cardchain/tx";
17
- import { MsgReportMatch } from "./types/cardchain/tx";
18
- import { MsgChangeArtist } from "./types/cardchain/tx";
19
- import { MsgCreateuser } from "./types/cardchain/tx";
20
- import { MsgBuyCardScheme } from "./types/cardchain/tx";
21
- import { MsgOpenBoosterPack } from "./types/cardchain/tx";
22
- import { MsgSetProfileCard } from "./types/cardchain/tx";
23
- import { MsgFinalizeCollection } from "./types/cardchain/tx";
24
- import { MsgRemoveSellOffer } from "./types/cardchain/tx";
25
- import { MsgSetCollectionStoryWriter } from "./types/cardchain/tx";
26
- import { MsgApointMatchReporter } from "./types/cardchain/tx";
27
- import { MsgSaveCardContent } from "./types/cardchain/tx";
28
- import { MsgRevealCouncilResponse } from "./types/cardchain/tx";
29
- import { MsgSetCollectionArtist } from "./types/cardchain/tx";
30
- import { MsgRegisterForCouncil } from "./types/cardchain/tx";
31
- import { MsgSetCardRarity } from "./types/cardchain/tx";
32
- import { MsgAddArtwork } from "./types/cardchain/tx";
33
- import { MsgSubmitCollectionProposal } from "./types/cardchain/tx";
34
- import { MsgTransferBoosterPack } from "./types/cardchain/tx";
35
- import { MsgVoteCard } from "./types/cardchain/tx";
36
- import { MsgRemoveContributorFromCollection } from "./types/cardchain/tx";
37
- import { MsgConfirmMatch } from "./types/cardchain/tx";
38
- import { MsgCreateCollection } from "./types/cardchain/tx";
39
- import { MsgAddContributorToCollection } from "./types/cardchain/tx";
40
- import { MsgRestartCouncil } from "./types/cardchain/tx";
41
- import { MsgSubmitCopyrightProposal } from "./types/cardchain/tx";
42
- import { MsgAddCardToCollection } from "./types/cardchain/tx";
43
- import { MsgAddArtworkToCollection } from "./types/cardchain/tx";
44
- import { MsgBuyCollection } from "./types/cardchain/tx";
45
- import { MsgTransferCard } from "./types/cardchain/tx";
46
- import { Card as typeCard } from "./types";
47
- import { Collection as typeCollection } from "./types";
48
- import { CollectionProposal as typeCollectionProposal } from "./types";
49
- import { CopyrightProposal as typeCopyrightProposal } from "./types";
50
- import { WrapClearResponse as typeWrapClearResponse } from "./types";
51
- import { WrapHashResponse as typeWrapHashResponse } from "./types";
52
- import { Image as typeImage } from "./types";
53
- import { MatchPlayer as typeMatchPlayer } from "./types";
54
- import { MatchReporterProposal as typeMatchReporterProposal } from "./types";
55
- import { Num as typeNum } from "./types";
56
- import { Params as typeParams } from "./types";
57
- import { IgnoreMatches as typeIgnoreMatches } from "./types";
58
- import { IgnoreSellOffers as typeIgnoreSellOffers } from "./types";
59
- import { QueryQServerResponse as typeQueryQServerResponse } from "./types";
60
- import { RunningAverage as typeRunningAverage } from "./types";
61
- import { BoosterPack as typeBoosterPack } from "./types";
62
- import { AirDrops as typeAirDrops } from "./types";
63
- import { VoteRight as typeVoteRight } from "./types";
64
- import { VotingResult as typeVotingResult } from "./types";
65
- import { VotingResults as typeVotingResults } from "./types";
66
- export { MsgSubmitMatchReporterProposal, MsgRewokeCouncilRegistration, MsgAddStoryToCollection, MsgCreateCouncil, MsgCreateSellOffer, MsgSetUserBiography, MsgRemoveCardFromCollection, MsgBuyCard, MsgSetUserWebsite, MsgDonateToCard, MsgCommitCouncilResponse, MsgReportMatch, MsgChangeArtist, MsgCreateuser, MsgBuyCardScheme, MsgOpenBoosterPack, MsgSetProfileCard, MsgFinalizeCollection, MsgRemoveSellOffer, MsgSetCollectionStoryWriter, MsgApointMatchReporter, MsgSaveCardContent, MsgRevealCouncilResponse, MsgSetCollectionArtist, MsgRegisterForCouncil, MsgSetCardRarity, MsgAddArtwork, MsgSubmitCollectionProposal, MsgTransferBoosterPack, MsgVoteCard, MsgRemoveContributorFromCollection, MsgConfirmMatch, MsgCreateCollection, MsgAddContributorToCollection, MsgRestartCouncil, MsgSubmitCopyrightProposal, MsgAddCardToCollection, MsgAddArtworkToCollection, MsgBuyCollection, MsgTransferCard };
67
- export const registry = new Registry(msgTypes);
68
- function getStructure(template) {
69
- const structure = { fields: [] };
70
- for (let [key, value] of Object.entries(template)) {
71
- let field = { name: key, type: typeof value };
72
- structure.fields.push(field);
73
- }
74
- return structure;
75
- }
76
- const defaultFee = {
77
- amount: [],
78
- gas: "200000",
79
- };
80
- export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
81
- return {
82
- async sendMsgSubmitMatchReporterProposal({ value, fee, memo }) {
83
- if (!signer) {
84
- throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.');
85
- }
86
- try {
87
- const { address } = (await signer.getAccounts())[0];
88
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
89
- let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) });
90
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
91
- }
92
- catch (e) {
93
- throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: ' + e.message);
94
- }
95
- },
96
- async sendMsgRewokeCouncilRegistration({ value, fee, memo }) {
97
- if (!signer) {
98
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.');
99
- }
100
- try {
101
- const { address } = (await signer.getAccounts())[0];
102
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
103
- let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) });
104
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
105
- }
106
- catch (e) {
107
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: ' + e.message);
108
- }
109
- },
110
- async sendMsgAddStoryToCollection({ value, fee, memo }) {
111
- if (!signer) {
112
- throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.');
113
- }
114
- try {
115
- const { address } = (await signer.getAccounts())[0];
116
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
117
- let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) });
118
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
119
- }
120
- catch (e) {
121
- throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: ' + e.message);
122
- }
123
- },
124
- async sendMsgCreateCouncil({ value, fee, memo }) {
125
- if (!signer) {
126
- throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.');
127
- }
128
- try {
129
- const { address } = (await signer.getAccounts())[0];
130
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
131
- let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) });
132
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
133
- }
134
- catch (e) {
135
- throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: ' + e.message);
136
- }
137
- },
138
- async sendMsgCreateSellOffer({ value, fee, memo }) {
139
- if (!signer) {
140
- throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.');
141
- }
142
- try {
143
- const { address } = (await signer.getAccounts())[0];
144
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
145
- let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) });
146
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
147
- }
148
- catch (e) {
149
- throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: ' + e.message);
150
- }
151
- },
152
- async sendMsgSetUserBiography({ value, fee, memo }) {
153
- if (!signer) {
154
- throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.');
155
- }
156
- try {
157
- const { address } = (await signer.getAccounts())[0];
158
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
159
- let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) });
160
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
161
- }
162
- catch (e) {
163
- throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: ' + e.message);
164
- }
165
- },
166
- async sendMsgRemoveCardFromCollection({ value, fee, memo }) {
167
- if (!signer) {
168
- throw new Error('TxClient:sendMsgRemoveCardFromCollection: Unable to sign Tx. Signer is not present.');
169
- }
170
- try {
171
- const { address } = (await signer.getAccounts())[0];
172
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
173
- let msg = this.msgRemoveCardFromCollection({ value: MsgRemoveCardFromCollection.fromPartial(value) });
174
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
175
- }
176
- catch (e) {
177
- throw new Error('TxClient:sendMsgRemoveCardFromCollection: Could not broadcast Tx: ' + e.message);
178
- }
179
- },
180
- async sendMsgBuyCard({ value, fee, memo }) {
181
- if (!signer) {
182
- throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.');
183
- }
184
- try {
185
- const { address } = (await signer.getAccounts())[0];
186
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
187
- let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) });
188
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
189
- }
190
- catch (e) {
191
- throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: ' + e.message);
192
- }
193
- },
194
- async sendMsgSetUserWebsite({ value, fee, memo }) {
195
- if (!signer) {
196
- throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.');
197
- }
198
- try {
199
- const { address } = (await signer.getAccounts())[0];
200
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
201
- let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) });
202
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
203
- }
204
- catch (e) {
205
- throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: ' + e.message);
206
- }
207
- },
208
- async sendMsgDonateToCard({ value, fee, memo }) {
209
- if (!signer) {
210
- throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.');
211
- }
212
- try {
213
- const { address } = (await signer.getAccounts())[0];
214
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
215
- let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) });
216
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
217
- }
218
- catch (e) {
219
- throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: ' + e.message);
220
- }
221
- },
222
- async sendMsgCommitCouncilResponse({ value, fee, memo }) {
223
- if (!signer) {
224
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.');
225
- }
226
- try {
227
- const { address } = (await signer.getAccounts())[0];
228
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
229
- let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) });
230
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
231
- }
232
- catch (e) {
233
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: ' + e.message);
234
- }
235
- },
236
- async sendMsgReportMatch({ value, fee, memo }) {
237
- if (!signer) {
238
- throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.');
239
- }
240
- try {
241
- const { address } = (await signer.getAccounts())[0];
242
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
243
- let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) });
244
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
245
- }
246
- catch (e) {
247
- throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: ' + e.message);
248
- }
249
- },
250
- async sendMsgChangeArtist({ value, fee, memo }) {
251
- if (!signer) {
252
- throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.');
253
- }
254
- try {
255
- const { address } = (await signer.getAccounts())[0];
256
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
257
- let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) });
258
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
259
- }
260
- catch (e) {
261
- throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: ' + e.message);
262
- }
263
- },
264
- async sendMsgCreateuser({ value, fee, memo }) {
265
- if (!signer) {
266
- throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.');
267
- }
268
- try {
269
- const { address } = (await signer.getAccounts())[0];
270
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
271
- let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) });
272
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
273
- }
274
- catch (e) {
275
- throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: ' + e.message);
276
- }
277
- },
278
- async sendMsgBuyCardScheme({ value, fee, memo }) {
279
- if (!signer) {
280
- throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.');
281
- }
282
- try {
283
- const { address } = (await signer.getAccounts())[0];
284
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
285
- let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) });
286
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
287
- }
288
- catch (e) {
289
- throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: ' + e.message);
290
- }
291
- },
292
- async sendMsgOpenBoosterPack({ value, fee, memo }) {
293
- if (!signer) {
294
- throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.');
295
- }
296
- try {
297
- const { address } = (await signer.getAccounts())[0];
298
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
299
- let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) });
300
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
301
- }
302
- catch (e) {
303
- throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: ' + e.message);
304
- }
305
- },
306
- async sendMsgSetProfileCard({ value, fee, memo }) {
307
- if (!signer) {
308
- throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.');
309
- }
310
- try {
311
- const { address } = (await signer.getAccounts())[0];
312
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
313
- let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) });
314
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
315
- }
316
- catch (e) {
317
- throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: ' + e.message);
318
- }
319
- },
320
- async sendMsgFinalizeCollection({ value, fee, memo }) {
321
- if (!signer) {
322
- throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.');
323
- }
324
- try {
325
- const { address } = (await signer.getAccounts())[0];
326
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
327
- let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) });
328
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
329
- }
330
- catch (e) {
331
- throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: ' + e.message);
332
- }
333
- },
334
- async sendMsgRemoveSellOffer({ value, fee, memo }) {
335
- if (!signer) {
336
- throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.');
337
- }
338
- try {
339
- const { address } = (await signer.getAccounts())[0];
340
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
341
- let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) });
342
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
343
- }
344
- catch (e) {
345
- throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: ' + e.message);
346
- }
347
- },
348
- async sendMsgSetCollectionStoryWriter({ value, fee, memo }) {
349
- if (!signer) {
350
- throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Unable to sign Tx. Signer is not present.');
351
- }
352
- try {
353
- const { address } = (await signer.getAccounts())[0];
354
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
355
- let msg = this.msgSetCollectionStoryWriter({ value: MsgSetCollectionStoryWriter.fromPartial(value) });
356
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
357
- }
358
- catch (e) {
359
- throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Could not broadcast Tx: ' + e.message);
360
- }
361
- },
362
- async sendMsgApointMatchReporter({ value, fee, memo }) {
363
- if (!signer) {
364
- throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.');
365
- }
366
- try {
367
- const { address } = (await signer.getAccounts())[0];
368
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
369
- let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) });
370
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
371
- }
372
- catch (e) {
373
- throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: ' + e.message);
374
- }
375
- },
376
- async sendMsgSaveCardContent({ value, fee, memo }) {
377
- if (!signer) {
378
- throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.');
379
- }
380
- try {
381
- const { address } = (await signer.getAccounts())[0];
382
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
383
- let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) });
384
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
385
- }
386
- catch (e) {
387
- throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: ' + e.message);
388
- }
389
- },
390
- async sendMsgRevealCouncilResponse({ value, fee, memo }) {
391
- if (!signer) {
392
- throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.');
393
- }
394
- try {
395
- const { address } = (await signer.getAccounts())[0];
396
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
397
- let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) });
398
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
399
- }
400
- catch (e) {
401
- throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: ' + e.message);
402
- }
403
- },
404
- async sendMsgSetCollectionArtist({ value, fee, memo }) {
405
- if (!signer) {
406
- throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.');
407
- }
408
- try {
409
- const { address } = (await signer.getAccounts())[0];
410
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
411
- let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) });
412
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
413
- }
414
- catch (e) {
415
- throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: ' + e.message);
416
- }
417
- },
418
- async sendMsgRegisterForCouncil({ value, fee, memo }) {
419
- if (!signer) {
420
- throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.');
421
- }
422
- try {
423
- const { address } = (await signer.getAccounts())[0];
424
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
425
- let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) });
426
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
427
- }
428
- catch (e) {
429
- throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: ' + e.message);
430
- }
431
- },
432
- async sendMsgSetCardRarity({ value, fee, memo }) {
433
- if (!signer) {
434
- throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.');
435
- }
436
- try {
437
- const { address } = (await signer.getAccounts())[0];
438
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
439
- let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) });
440
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
441
- }
442
- catch (e) {
443
- throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: ' + e.message);
444
- }
445
- },
446
- async sendMsgAddArtwork({ value, fee, memo }) {
447
- if (!signer) {
448
- throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.');
449
- }
450
- try {
451
- const { address } = (await signer.getAccounts())[0];
452
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
453
- let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) });
454
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
455
- }
456
- catch (e) {
457
- throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: ' + e.message);
458
- }
459
- },
460
- async sendMsgSubmitCollectionProposal({ value, fee, memo }) {
461
- if (!signer) {
462
- throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.');
463
- }
464
- try {
465
- const { address } = (await signer.getAccounts())[0];
466
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
467
- let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) });
468
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
469
- }
470
- catch (e) {
471
- throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: ' + e.message);
472
- }
473
- },
474
- async sendMsgTransferBoosterPack({ value, fee, memo }) {
475
- if (!signer) {
476
- throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.');
477
- }
478
- try {
479
- const { address } = (await signer.getAccounts())[0];
480
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
481
- let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) });
482
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
483
- }
484
- catch (e) {
485
- throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: ' + e.message);
486
- }
487
- },
488
- async sendMsgVoteCard({ value, fee, memo }) {
489
- if (!signer) {
490
- throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.');
491
- }
492
- try {
493
- const { address } = (await signer.getAccounts())[0];
494
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
495
- let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) });
496
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
497
- }
498
- catch (e) {
499
- throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: ' + e.message);
500
- }
501
- },
502
- async sendMsgRemoveContributorFromCollection({ value, fee, memo }) {
503
- if (!signer) {
504
- throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.');
505
- }
506
- try {
507
- const { address } = (await signer.getAccounts())[0];
508
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
509
- let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) });
510
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
511
- }
512
- catch (e) {
513
- throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: ' + e.message);
514
- }
515
- },
516
- async sendMsgConfirmMatch({ value, fee, memo }) {
517
- if (!signer) {
518
- throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.');
519
- }
520
- try {
521
- const { address } = (await signer.getAccounts())[0];
522
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
523
- let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) });
524
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
525
- }
526
- catch (e) {
527
- throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: ' + e.message);
528
- }
529
- },
530
- async sendMsgCreateCollection({ value, fee, memo }) {
531
- if (!signer) {
532
- throw new Error('TxClient:sendMsgCreateCollection: Unable to sign Tx. Signer is not present.');
533
- }
534
- try {
535
- const { address } = (await signer.getAccounts())[0];
536
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
537
- let msg = this.msgCreateCollection({ value: MsgCreateCollection.fromPartial(value) });
538
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
539
- }
540
- catch (e) {
541
- throw new Error('TxClient:sendMsgCreateCollection: Could not broadcast Tx: ' + e.message);
542
- }
543
- },
544
- async sendMsgAddContributorToCollection({ value, fee, memo }) {
545
- if (!signer) {
546
- throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.');
547
- }
548
- try {
549
- const { address } = (await signer.getAccounts())[0];
550
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
551
- let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) });
552
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
553
- }
554
- catch (e) {
555
- throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: ' + e.message);
556
- }
557
- },
558
- async sendMsgRestartCouncil({ value, fee, memo }) {
559
- if (!signer) {
560
- throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.');
561
- }
562
- try {
563
- const { address } = (await signer.getAccounts())[0];
564
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
565
- let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) });
566
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
567
- }
568
- catch (e) {
569
- throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: ' + e.message);
570
- }
571
- },
572
- async sendMsgSubmitCopyrightProposal({ value, fee, memo }) {
573
- if (!signer) {
574
- throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.');
575
- }
576
- try {
577
- const { address } = (await signer.getAccounts())[0];
578
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
579
- let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) });
580
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
581
- }
582
- catch (e) {
583
- throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: ' + e.message);
584
- }
585
- },
586
- async sendMsgAddCardToCollection({ value, fee, memo }) {
587
- if (!signer) {
588
- throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.');
589
- }
590
- try {
591
- const { address } = (await signer.getAccounts())[0];
592
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
593
- let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) });
594
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
595
- }
596
- catch (e) {
597
- throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: ' + e.message);
598
- }
599
- },
600
- async sendMsgAddArtworkToCollection({ value, fee, memo }) {
601
- if (!signer) {
602
- throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.');
603
- }
604
- try {
605
- const { address } = (await signer.getAccounts())[0];
606
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
607
- let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) });
608
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
609
- }
610
- catch (e) {
611
- throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: ' + e.message);
612
- }
613
- },
614
- async sendMsgBuyCollection({ value, fee, memo }) {
615
- if (!signer) {
616
- throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.');
617
- }
618
- try {
619
- const { address } = (await signer.getAccounts())[0];
620
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
621
- let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) });
622
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
623
- }
624
- catch (e) {
625
- throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: ' + e.message);
626
- }
627
- },
628
- async sendMsgTransferCard({ value, fee, memo }) {
629
- if (!signer) {
630
- throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.');
631
- }
632
- try {
633
- const { address } = (await signer.getAccounts())[0];
634
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
635
- let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) });
636
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
637
- }
638
- catch (e) {
639
- throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: ' + e.message);
640
- }
641
- },
642
- msgSubmitMatchReporterProposal({ value }) {
643
- try {
644
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial(value) };
645
- }
646
- catch (e) {
647
- throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message);
648
- }
649
- },
650
- msgRewokeCouncilRegistration({ value }) {
651
- try {
652
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial(value) };
653
- }
654
- catch (e) {
655
- throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message);
656
- }
657
- },
658
- msgAddStoryToCollection({ value }) {
659
- try {
660
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial(value) };
661
- }
662
- catch (e) {
663
- throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message);
664
- }
665
- },
666
- msgCreateCouncil({ value }) {
667
- try {
668
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial(value) };
669
- }
670
- catch (e) {
671
- throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message);
672
- }
673
- },
674
- msgCreateSellOffer({ value }) {
675
- try {
676
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial(value) };
677
- }
678
- catch (e) {
679
- throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message);
680
- }
681
- },
682
- msgSetUserBiography({ value }) {
683
- try {
684
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial(value) };
685
- }
686
- catch (e) {
687
- throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message);
688
- }
689
- },
690
- msgRemoveCardFromCollection({ value }) {
691
- try {
692
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", value: MsgRemoveCardFromCollection.fromPartial(value) };
693
- }
694
- catch (e) {
695
- throw new Error('TxClient:MsgRemoveCardFromCollection: Could not create message: ' + e.message);
696
- }
697
- },
698
- msgBuyCard({ value }) {
699
- try {
700
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard", value: MsgBuyCard.fromPartial(value) };
701
- }
702
- catch (e) {
703
- throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message);
704
- }
705
- },
706
- msgSetUserWebsite({ value }) {
707
- try {
708
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial(value) };
709
- }
710
- catch (e) {
711
- throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message);
712
- }
713
- },
714
- msgDonateToCard({ value }) {
715
- try {
716
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial(value) };
717
- }
718
- catch (e) {
719
- throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message);
720
- }
721
- },
722
- msgCommitCouncilResponse({ value }) {
723
- try {
724
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial(value) };
725
- }
726
- catch (e) {
727
- throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message);
728
- }
729
- },
730
- msgReportMatch({ value }) {
731
- try {
732
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial(value) };
733
- }
734
- catch (e) {
735
- throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message);
736
- }
737
- },
738
- msgChangeArtist({ value }) {
739
- try {
740
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial(value) };
741
- }
742
- catch (e) {
743
- throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message);
744
- }
745
- },
746
- msgCreateuser({ value }) {
747
- try {
748
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial(value) };
749
- }
750
- catch (e) {
751
- throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message);
752
- }
753
- },
754
- msgBuyCardScheme({ value }) {
755
- try {
756
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial(value) };
757
- }
758
- catch (e) {
759
- throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message);
760
- }
761
- },
762
- msgOpenBoosterPack({ value }) {
763
- try {
764
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial(value) };
765
- }
766
- catch (e) {
767
- throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message);
768
- }
769
- },
770
- msgSetProfileCard({ value }) {
771
- try {
772
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial(value) };
773
- }
774
- catch (e) {
775
- throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message);
776
- }
777
- },
778
- msgFinalizeCollection({ value }) {
779
- try {
780
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial(value) };
781
- }
782
- catch (e) {
783
- throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message);
784
- }
785
- },
786
- msgRemoveSellOffer({ value }) {
787
- try {
788
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial(value) };
789
- }
790
- catch (e) {
791
- throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message);
792
- }
793
- },
794
- msgSetCollectionStoryWriter({ value }) {
795
- try {
796
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionStoryWriter", value: MsgSetCollectionStoryWriter.fromPartial(value) };
797
- }
798
- catch (e) {
799
- throw new Error('TxClient:MsgSetCollectionStoryWriter: Could not create message: ' + e.message);
800
- }
801
- },
802
- msgApointMatchReporter({ value }) {
803
- try {
804
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", value: MsgApointMatchReporter.fromPartial(value) };
805
- }
806
- catch (e) {
807
- throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message);
808
- }
809
- },
810
- msgSaveCardContent({ value }) {
811
- try {
812
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial(value) };
813
- }
814
- catch (e) {
815
- throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message);
816
- }
817
- },
818
- msgRevealCouncilResponse({ value }) {
819
- try {
820
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial(value) };
821
- }
822
- catch (e) {
823
- throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message);
824
- }
825
- },
826
- msgSetCollectionArtist({ value }) {
827
- try {
828
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial(value) };
829
- }
830
- catch (e) {
831
- throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message);
832
- }
833
- },
834
- msgRegisterForCouncil({ value }) {
835
- try {
836
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial(value) };
837
- }
838
- catch (e) {
839
- throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message);
840
- }
841
- },
842
- msgSetCardRarity({ value }) {
843
- try {
844
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial(value) };
845
- }
846
- catch (e) {
847
- throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message);
848
- }
849
- },
850
- msgAddArtwork({ value }) {
851
- try {
852
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", value: MsgAddArtwork.fromPartial(value) };
853
- }
854
- catch (e) {
855
- throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message);
856
- }
857
- },
858
- msgSubmitCollectionProposal({ value }) {
859
- try {
860
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial(value) };
861
- }
862
- catch (e) {
863
- throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message);
864
- }
865
- },
866
- msgTransferBoosterPack({ value }) {
867
- try {
868
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial(value) };
869
- }
870
- catch (e) {
871
- throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message);
872
- }
873
- },
874
- msgVoteCard({ value }) {
875
- try {
876
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial(value) };
877
- }
878
- catch (e) {
879
- throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message);
880
- }
881
- },
882
- msgRemoveContributorFromCollection({ value }) {
883
- try {
884
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial(value) };
885
- }
886
- catch (e) {
887
- throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message);
888
- }
889
- },
890
- msgConfirmMatch({ value }) {
891
- try {
892
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial(value) };
893
- }
894
- catch (e) {
895
- throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message);
896
- }
897
- },
898
- msgCreateCollection({ value }) {
899
- try {
900
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", value: MsgCreateCollection.fromPartial(value) };
901
- }
902
- catch (e) {
903
- throw new Error('TxClient:MsgCreateCollection: Could not create message: ' + e.message);
904
- }
905
- },
906
- msgAddContributorToCollection({ value }) {
907
- try {
908
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial(value) };
909
- }
910
- catch (e) {
911
- throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message);
912
- }
913
- },
914
- msgRestartCouncil({ value }) {
915
- try {
916
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial(value) };
917
- }
918
- catch (e) {
919
- throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message);
920
- }
921
- },
922
- msgSubmitCopyrightProposal({ value }) {
923
- try {
924
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial(value) };
925
- }
926
- catch (e) {
927
- throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message);
928
- }
929
- },
930
- msgAddCardToCollection({ value }) {
931
- try {
932
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial(value) };
933
- }
934
- catch (e) {
935
- throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message);
936
- }
937
- },
938
- msgAddArtworkToCollection({ value }) {
939
- try {
940
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial(value) };
941
- }
942
- catch (e) {
943
- throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message);
944
- }
945
- },
946
- msgBuyCollection({ value }) {
947
- try {
948
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial(value) };
949
- }
950
- catch (e) {
951
- throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message);
952
- }
953
- },
954
- msgTransferCard({ value }) {
955
- try {
956
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial(value) };
957
- }
958
- catch (e) {
959
- throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message);
960
- }
961
- },
962
- };
963
- };
964
- export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
965
- return new Api({ baseURL: addr });
966
- };
967
- class SDKModule {
968
- constructor(client) {
969
- this.registry = [];
970
- this.query = queryClient({ addr: client.env.apiURL });
971
- this.updateTX(client);
972
- this.structure = {
973
- Card: getStructure(typeCard.fromPartial({})),
974
- Collection: getStructure(typeCollection.fromPartial({})),
975
- CollectionProposal: getStructure(typeCollectionProposal.fromPartial({})),
976
- CopyrightProposal: getStructure(typeCopyrightProposal.fromPartial({})),
977
- WrapClearResponse: getStructure(typeWrapClearResponse.fromPartial({})),
978
- WrapHashResponse: getStructure(typeWrapHashResponse.fromPartial({})),
979
- Image: getStructure(typeImage.fromPartial({})),
980
- MatchPlayer: getStructure(typeMatchPlayer.fromPartial({})),
981
- MatchReporterProposal: getStructure(typeMatchReporterProposal.fromPartial({})),
982
- Num: getStructure(typeNum.fromPartial({})),
983
- Params: getStructure(typeParams.fromPartial({})),
984
- IgnoreMatches: getStructure(typeIgnoreMatches.fromPartial({})),
985
- IgnoreSellOffers: getStructure(typeIgnoreSellOffers.fromPartial({})),
986
- QueryQServerResponse: getStructure(typeQueryQServerResponse.fromPartial({})),
987
- RunningAverage: getStructure(typeRunningAverage.fromPartial({})),
988
- BoosterPack: getStructure(typeBoosterPack.fromPartial({})),
989
- AirDrops: getStructure(typeAirDrops.fromPartial({})),
990
- VoteRight: getStructure(typeVoteRight.fromPartial({})),
991
- VotingResult: getStructure(typeVotingResult.fromPartial({})),
992
- VotingResults: getStructure(typeVotingResults.fromPartial({})),
993
- };
994
- client.on('signer-changed', (signer) => {
995
- this.updateTX(client);
996
- });
997
- }
998
- updateTX(client) {
999
- const methods = txClient({
1000
- signer: client.signer,
1001
- addr: client.env.rpcURL,
1002
- prefix: client.env.prefix ?? "cosmos",
1003
- });
1004
- this.tx = methods;
1005
- for (let m in methods) {
1006
- this.tx[m] = methods[m].bind(this.tx);
1007
- }
1008
- }
1009
- }
1010
- ;
1011
- const Module = (test) => {
1012
- return {
1013
- module: {
1014
- DecentralCardGameCardchainCardchain: new SDKModule(test)
1015
- },
1016
- registry: msgTypes
1017
- };
1018
- };
1019
- export default Module;