decentralcardgame-cardchain-client-ts 0.0.12 → 0.0.14

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 (329) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +357 -334
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +532 -499
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +77 -75
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +77 -75
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +31 -23
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +89 -62
  7. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.js +89 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.ts +95 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.js +11 -11
  10. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.ts +12 -12
  11. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.js +1 -1
  12. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.ts +1 -1
  13. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.js +58 -29
  14. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.ts +65 -33
  15. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.js +72 -66
  16. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.ts +99 -92
  17. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection.js → DecentralCardGame/cardchain/cardchain/set.js} +8 -8
  18. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection.ts → DecentralCardGame/cardchain/cardchain/set.ts} +20 -20
  19. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection_proposal.js → DecentralCardGame/cardchain/cardchain/set_proposal.js} +11 -11
  20. package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection_proposal.ts → DecentralCardGame/cardchain/cardchain/set_proposal.ts} +18 -18
  21. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.js +362 -261
  22. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.ts +568 -466
  23. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.js +34 -8
  24. package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.ts +36 -9
  25. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.js +2 -0
  26. package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +2 -0
  27. package/DecentralCardGame.cardchain.cardchain/types.js +23 -23
  28. package/DecentralCardGame.cardchain.cardchain/types.ts +24 -24
  29. package/client.js +7 -8
  30. package/client.ts +11 -11
  31. package/cosmos.auth.v1beta1/module.js +2 -0
  32. package/cosmos.auth.v1beta1/module.ts +3 -1
  33. package/cosmos.auth.v1beta1/rest.js +18 -3
  34. package/cosmos.auth.v1beta1/rest.ts +113 -3
  35. package/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
  36. package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
  37. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
  38. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  39. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  40. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +104 -3
  41. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
  42. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
  43. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
  44. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  45. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  46. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
  47. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  48. package/cosmos.auth.v1beta1/types.js +2 -1
  49. package/cosmos.auth.v1beta1/types.ts +2 -0
  50. package/cosmos.authz.v1beta1/module.js +19 -19
  51. package/cosmos.authz.v1beta1/module.ts +30 -30
  52. package/cosmos.authz.v1beta1/registry.js +2 -2
  53. package/cosmos.authz.v1beta1/registry.ts +2 -2
  54. package/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
  55. package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
  56. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  57. package/cosmos.bank.v1beta1/module.js +16 -16
  58. package/cosmos.bank.v1beta1/module.ts +25 -25
  59. package/cosmos.bank.v1beta1/registry.js +2 -2
  60. package/cosmos.bank.v1beta1/registry.ts +2 -2
  61. package/cosmos.bank.v1beta1/rest.js +37 -6
  62. package/cosmos.bank.v1beta1/rest.ts +99 -6
  63. package/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
  64. package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
  65. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +18 -2
  66. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
  67. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
  68. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +18 -2
  69. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
  70. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +230 -1
  71. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
  72. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +206 -1
  73. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
  74. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
  75. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  76. package/cosmos.base.tendermint.v1beta1/module.ts +1 -1
  77. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  78. package/cosmos.base.tendermint.v1beta1/rest.ts +18 -27
  79. package/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
  80. package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
  81. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
  82. package/cosmos.consensus.v1/index.js +5 -0
  83. package/cosmos.consensus.v1/index.ts +6 -0
  84. package/cosmos.consensus.v1/module.js +81 -0
  85. package/cosmos.consensus.v1/module.ts +129 -0
  86. package/cosmos.consensus.v1/registry.js +5 -0
  87. package/cosmos.consensus.v1/registry.ts +9 -0
  88. package/cosmos.consensus.v1/rest.js +100 -0
  89. package/cosmos.consensus.v1/rest.ts +268 -0
  90. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
  91. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
  92. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
  93. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
  94. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
  95. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
  96. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
  97. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
  98. package/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
  99. package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
  100. package/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
  101. package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
  102. package/cosmos.consensus.v1/types/google/api/http.js +260 -0
  103. package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
  104. package/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
  105. package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
  106. package/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
  107. package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
  108. package/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
  109. package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
  110. package/cosmos.consensus.v1/types.js +1 -0
  111. package/cosmos.consensus.v1/types.ts +5 -0
  112. package/cosmos.crisis.v1beta1/module.js +24 -1
  113. package/cosmos.crisis.v1beta1/module.ts +35 -2
  114. package/cosmos.crisis.v1beta1/registry.js +2 -0
  115. package/cosmos.crisis.v1beta1/registry.ts +2 -0
  116. package/cosmos.crisis.v1beta1/rest.ts +19 -0
  117. package/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
  118. package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
  119. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +95 -0
  120. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
  121. package/cosmos.distribution.v1beta1/module.js +67 -21
  122. package/cosmos.distribution.v1beta1/module.ts +101 -35
  123. package/cosmos.distribution.v1beta1/registry.js +8 -4
  124. package/cosmos.distribution.v1beta1/registry.ts +8 -4
  125. package/cosmos.distribution.v1beta1/rest.js +14 -0
  126. package/cosmos.distribution.v1beta1/rest.ts +66 -7
  127. package/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
  128. package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
  129. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
  130. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  131. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +120 -0
  132. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
  133. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +199 -0
  134. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
  135. package/cosmos.evidence.v1beta1/module.ts +1 -1
  136. package/cosmos.evidence.v1beta1/rest.js +4 -3
  137. package/cosmos.evidence.v1beta1/rest.ts +4 -3
  138. package/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
  139. package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
  140. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
  141. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +13 -2
  142. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
  143. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
  144. package/cosmos.feegrant.v1beta1/module.ts +1 -1
  145. package/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
  146. package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
  147. package/cosmos.gov.v1/module.js +46 -21
  148. package/cosmos.gov.v1/module.ts +69 -34
  149. package/cosmos.gov.v1/registry.js +6 -4
  150. package/cosmos.gov.v1/registry.ts +6 -4
  151. package/cosmos.gov.v1/rest.ts +155 -41
  152. package/cosmos.gov.v1/types/amino/amino.js +2 -0
  153. package/cosmos.gov.v1/types/amino/amino.ts +2 -0
  154. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +13 -1
  155. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
  156. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +179 -0
  157. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
  158. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +13 -2
  159. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
  160. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +113 -2
  161. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
  162. package/cosmos.gov.v1/types.js +2 -1
  163. package/cosmos.gov.v1/types.ts +2 -0
  164. package/cosmos.gov.v1beta1/module.js +24 -24
  165. package/cosmos.gov.v1beta1/module.ts +37 -37
  166. package/cosmos.gov.v1beta1/registry.js +4 -4
  167. package/cosmos.gov.v1beta1/registry.ts +4 -4
  168. package/cosmos.gov.v1beta1/rest.ts +65 -96
  169. package/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
  170. package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
  171. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  172. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
  173. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
  174. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
  175. package/cosmos.group.v1/module.js +92 -92
  176. package/cosmos.group.v1/module.ts +139 -139
  177. package/cosmos.group.v1/registry.js +16 -16
  178. package/cosmos.group.v1/registry.ts +16 -16
  179. package/cosmos.group.v1/rest.js +3 -3
  180. package/cosmos.group.v1/rest.ts +29 -9
  181. package/cosmos.group.v1/types/amino/amino.js +2 -0
  182. package/cosmos.group.v1/types/amino/amino.ts +2 -0
  183. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  184. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +52 -34
  185. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
  186. package/cosmos.group.v1/types/cosmos/group/v1/types.js +20 -0
  187. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
  188. package/cosmos.mint.v1beta1/module.ts +1 -1
  189. package/cosmos.mint.v1beta1/rest.ts +9 -1
  190. package/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
  191. package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
  192. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  193. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  194. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
  195. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
  196. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  197. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  198. package/cosmos.nft.v1beta1/module.ts +1 -1
  199. package/cosmos.nft.v1beta1/rest.ts +18 -22
  200. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
  201. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
  202. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
  203. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  204. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  205. package/cosmos.params.v1beta1/module.ts +1 -1
  206. package/cosmos.params.v1beta1/types/amino/amino.js +2 -0
  207. package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
  208. package/cosmos.slashing.v1beta1/module.ts +1 -1
  209. package/cosmos.slashing.v1beta1/rest.ts +8 -0
  210. package/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
  211. package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
  212. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  213. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +94 -0
  214. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
  215. package/cosmos.staking.v1beta1/module.js +41 -39
  216. package/cosmos.staking.v1beta1/module.ts +62 -60
  217. package/cosmos.staking.v1beta1/registry.js +6 -6
  218. package/cosmos.staking.v1beta1/registry.ts +6 -6
  219. package/cosmos.staking.v1beta1/rest.js +7 -7
  220. package/cosmos.staking.v1beta1/rest.ts +49 -8
  221. package/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
  222. package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
  223. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
  224. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  225. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  226. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
  227. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +180 -2
  228. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
  229. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +94 -1
  230. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
  231. package/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
  232. package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
  233. package/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
  234. package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
  235. package/cosmos.staking.v1beta1/types.js +2 -1
  236. package/cosmos.staking.v1beta1/types.ts +2 -0
  237. package/cosmos.tx.v1beta1/module.ts +1 -1
  238. package/cosmos.tx.v1beta1/rest.js +66 -2
  239. package/cosmos.tx.v1beta1/rest.ts +177 -16
  240. package/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
  241. package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
  242. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +360 -2
  243. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
  244. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +592 -266
  245. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +703 -332
  246. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +8 -17
  247. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
  248. package/cosmos.upgrade.v1beta1/module.ts +1 -1
  249. package/cosmos.upgrade.v1beta1/rest.ts +0 -1
  250. package/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
  251. package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
  252. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  253. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  254. package/cosmos.vesting.v1beta1/module.ts +1 -1
  255. package/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
  256. package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
  257. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
  258. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  259. package/ibc.applications.interchain_accounts.controller.v1/module.ts +1 -1
  260. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
  261. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +13 -2
  262. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
  263. package/ibc.applications.interchain_accounts.host.v1/module.ts +1 -1
  264. package/ibc.applications.transfer.v1/module.js +5 -27
  265. package/ibc.applications.transfer.v1/module.ts +6 -35
  266. package/ibc.applications.transfer.v1/registry.js +1 -4
  267. package/ibc.applications.transfer.v1/registry.ts +0 -2
  268. package/ibc.applications.transfer.v1/rest.js +15 -1
  269. package/ibc.applications.transfer.v1/rest.ts +30 -1
  270. package/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
  271. package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
  272. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  273. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
  274. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
  275. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +16 -1
  276. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
  277. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +91 -0
  278. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
  279. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
  280. package/ibc.applications.transfer.v1/types.js +3 -1
  281. package/ibc.applications.transfer.v1/types.ts +4 -0
  282. package/ibc.core.channel.v1/module.ts +1 -1
  283. package/ibc.core.channel.v1/rest.ts +1 -0
  284. package/ibc.core.channel.v1/types/amino/amino.js +2 -0
  285. package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
  286. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  287. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +13 -2
  288. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
  289. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
  290. package/ibc.core.client.v1/module.ts +1 -1
  291. package/ibc.core.client.v1/rest.ts +5 -1
  292. package/ibc.core.client.v1/types/amino/amino.js +2 -0
  293. package/ibc.core.client.v1/types/amino/amino.ts +2 -0
  294. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  295. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
  296. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +9 -8
  297. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
  298. package/ibc.core.connection.v1/module.ts +1 -1
  299. package/ibc.core.connection.v1/types/amino/amino.js +2 -0
  300. package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
  301. package/ibc.core.connection.v1/types/{proofs.js → cosmos/ics23/v1/proofs.js} +1 -1
  302. package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
  303. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  304. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
  305. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  306. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  307. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +26 -0
  308. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
  309. package/index.js +3 -1
  310. package/index.ts +3 -1
  311. package/package.json +8 -8
  312. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.js +0 -0
  313. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.ts +0 -0
  314. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.js +0 -0
  315. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.ts +0 -0
  316. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.js +0 -0
  317. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.ts +0 -0
  318. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.js +0 -0
  319. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.ts +0 -0
  320. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.js +0 -0
  321. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.ts +0 -0
  322. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.js +0 -0
  323. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.ts +0 -0
  324. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.js +0 -0
  325. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.ts +0 -0
  326. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.js +0 -0
  327. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.ts +0 -0
  328. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/voteing.js → DecentralCardGame/cardchain/cardchain/voting.js} +0 -0
  329. /package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/voteing.ts → DecentralCardGame/cardchain/cardchain/voting.ts} +0 -0
@@ -1,10 +1,11 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Coin } from "../../cosmos/base/v1beta1/coin";
4
+ import { Coin } from "../../../cosmos/base/v1beta1/coin";
5
+ import { cardRarityFromJSON, cardRarityToJSON } from "./card";
5
6
  import { responseFromJSON, responseToJSON } from "./council";
6
7
  import { outcomeFromJSON, outcomeToJSON } from "./match";
7
- import { SingleVote } from "./voteing";
8
+ import { SingleVote } from "./voting";
8
9
  export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
9
10
  function createBaseMsgCreateuser() {
10
11
  return { creator: "", newUser: "", alias: "" };
@@ -1326,10 +1327,10 @@ export const MsgApointMatchReporterResponse = {
1326
1327
  return message;
1327
1328
  },
1328
1329
  };
1329
- function createBaseMsgCreateCollection() {
1330
+ function createBaseMsgCreateSet() {
1330
1331
  return { creator: "", name: "", artist: "", storyWriter: "", contributors: [] };
1331
1332
  }
1332
- export const MsgCreateCollection = {
1333
+ export const MsgCreateSet = {
1333
1334
  encode(message, writer = _m0.Writer.create()) {
1334
1335
  if (message.creator !== "") {
1335
1336
  writer.uint32(10).string(message.creator);
@@ -1351,7 +1352,7 @@ export const MsgCreateCollection = {
1351
1352
  decode(input, length) {
1352
1353
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1353
1354
  let end = length === undefined ? reader.len : reader.pos + length;
1354
- const message = createBaseMsgCreateCollection();
1355
+ const message = createBaseMsgCreateSet();
1355
1356
  while (reader.pos < end) {
1356
1357
  const tag = reader.uint32();
1357
1358
  switch (tag >>> 3) {
@@ -1401,7 +1402,7 @@ export const MsgCreateCollection = {
1401
1402
  return obj;
1402
1403
  },
1403
1404
  fromPartial(object) {
1404
- const message = createBaseMsgCreateCollection();
1405
+ const message = createBaseMsgCreateSet();
1405
1406
  message.creator = object.creator ?? "";
1406
1407
  message.name = object.name ?? "";
1407
1408
  message.artist = object.artist ?? "";
@@ -1410,17 +1411,17 @@ export const MsgCreateCollection = {
1410
1411
  return message;
1411
1412
  },
1412
1413
  };
1413
- function createBaseMsgCreateCollectionResponse() {
1414
+ function createBaseMsgCreateSetResponse() {
1414
1415
  return {};
1415
1416
  }
1416
- export const MsgCreateCollectionResponse = {
1417
+ export const MsgCreateSetResponse = {
1417
1418
  encode(_, writer = _m0.Writer.create()) {
1418
1419
  return writer;
1419
1420
  },
1420
1421
  decode(input, length) {
1421
1422
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1422
1423
  let end = length === undefined ? reader.len : reader.pos + length;
1423
- const message = createBaseMsgCreateCollectionResponse();
1424
+ const message = createBaseMsgCreateSetResponse();
1424
1425
  while (reader.pos < end) {
1425
1426
  const tag = reader.uint32();
1426
1427
  switch (tag >>> 3) {
@@ -1439,20 +1440,20 @@ export const MsgCreateCollectionResponse = {
1439
1440
  return obj;
1440
1441
  },
1441
1442
  fromPartial(_) {
1442
- const message = createBaseMsgCreateCollectionResponse();
1443
+ const message = createBaseMsgCreateSetResponse();
1443
1444
  return message;
1444
1445
  },
1445
1446
  };
1446
- function createBaseMsgAddCardToCollection() {
1447
- return { creator: "", collectionId: 0, cardId: 0 };
1447
+ function createBaseMsgAddCardToSet() {
1448
+ return { creator: "", setId: 0, cardId: 0 };
1448
1449
  }
1449
- export const MsgAddCardToCollection = {
1450
+ export const MsgAddCardToSet = {
1450
1451
  encode(message, writer = _m0.Writer.create()) {
1451
1452
  if (message.creator !== "") {
1452
1453
  writer.uint32(10).string(message.creator);
1453
1454
  }
1454
- if (message.collectionId !== 0) {
1455
- writer.uint32(16).uint64(message.collectionId);
1455
+ if (message.setId !== 0) {
1456
+ writer.uint32(16).uint64(message.setId);
1456
1457
  }
1457
1458
  if (message.cardId !== 0) {
1458
1459
  writer.uint32(24).uint64(message.cardId);
@@ -1462,7 +1463,7 @@ export const MsgAddCardToCollection = {
1462
1463
  decode(input, length) {
1463
1464
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1464
1465
  let end = length === undefined ? reader.len : reader.pos + length;
1465
- const message = createBaseMsgAddCardToCollection();
1466
+ const message = createBaseMsgAddCardToSet();
1466
1467
  while (reader.pos < end) {
1467
1468
  const tag = reader.uint32();
1468
1469
  switch (tag >>> 3) {
@@ -1470,7 +1471,7 @@ export const MsgAddCardToCollection = {
1470
1471
  message.creator = reader.string();
1471
1472
  break;
1472
1473
  case 2:
1473
- message.collectionId = longToNumber(reader.uint64());
1474
+ message.setId = longToNumber(reader.uint64());
1474
1475
  break;
1475
1476
  case 3:
1476
1477
  message.cardId = longToNumber(reader.uint64());
@@ -1485,36 +1486,36 @@ export const MsgAddCardToCollection = {
1485
1486
  fromJSON(object) {
1486
1487
  return {
1487
1488
  creator: isSet(object.creator) ? String(object.creator) : "",
1488
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
1489
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
1489
1490
  cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
1490
1491
  };
1491
1492
  },
1492
1493
  toJSON(message) {
1493
1494
  const obj = {};
1494
1495
  message.creator !== undefined && (obj.creator = message.creator);
1495
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1496
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
1496
1497
  message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
1497
1498
  return obj;
1498
1499
  },
1499
1500
  fromPartial(object) {
1500
- const message = createBaseMsgAddCardToCollection();
1501
+ const message = createBaseMsgAddCardToSet();
1501
1502
  message.creator = object.creator ?? "";
1502
- message.collectionId = object.collectionId ?? 0;
1503
+ message.setId = object.setId ?? 0;
1503
1504
  message.cardId = object.cardId ?? 0;
1504
1505
  return message;
1505
1506
  },
1506
1507
  };
1507
- function createBaseMsgAddCardToCollectionResponse() {
1508
+ function createBaseMsgAddCardToSetResponse() {
1508
1509
  return {};
1509
1510
  }
1510
- export const MsgAddCardToCollectionResponse = {
1511
+ export const MsgAddCardToSetResponse = {
1511
1512
  encode(_, writer = _m0.Writer.create()) {
1512
1513
  return writer;
1513
1514
  },
1514
1515
  decode(input, length) {
1515
1516
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1516
1517
  let end = length === undefined ? reader.len : reader.pos + length;
1517
- const message = createBaseMsgAddCardToCollectionResponse();
1518
+ const message = createBaseMsgAddCardToSetResponse();
1518
1519
  while (reader.pos < end) {
1519
1520
  const tag = reader.uint32();
1520
1521
  switch (tag >>> 3) {
@@ -1533,27 +1534,27 @@ export const MsgAddCardToCollectionResponse = {
1533
1534
  return obj;
1534
1535
  },
1535
1536
  fromPartial(_) {
1536
- const message = createBaseMsgAddCardToCollectionResponse();
1537
+ const message = createBaseMsgAddCardToSetResponse();
1537
1538
  return message;
1538
1539
  },
1539
1540
  };
1540
- function createBaseMsgFinalizeCollection() {
1541
- return { creator: "", collectionId: 0 };
1541
+ function createBaseMsgFinalizeSet() {
1542
+ return { creator: "", setId: 0 };
1542
1543
  }
1543
- export const MsgFinalizeCollection = {
1544
+ export const MsgFinalizeSet = {
1544
1545
  encode(message, writer = _m0.Writer.create()) {
1545
1546
  if (message.creator !== "") {
1546
1547
  writer.uint32(10).string(message.creator);
1547
1548
  }
1548
- if (message.collectionId !== 0) {
1549
- writer.uint32(16).uint64(message.collectionId);
1549
+ if (message.setId !== 0) {
1550
+ writer.uint32(16).uint64(message.setId);
1550
1551
  }
1551
1552
  return writer;
1552
1553
  },
1553
1554
  decode(input, length) {
1554
1555
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1555
1556
  let end = length === undefined ? reader.len : reader.pos + length;
1556
- const message = createBaseMsgFinalizeCollection();
1557
+ const message = createBaseMsgFinalizeSet();
1557
1558
  while (reader.pos < end) {
1558
1559
  const tag = reader.uint32();
1559
1560
  switch (tag >>> 3) {
@@ -1561,7 +1562,7 @@ export const MsgFinalizeCollection = {
1561
1562
  message.creator = reader.string();
1562
1563
  break;
1563
1564
  case 2:
1564
- message.collectionId = longToNumber(reader.uint64());
1565
+ message.setId = longToNumber(reader.uint64());
1565
1566
  break;
1566
1567
  default:
1567
1568
  reader.skipType(tag & 7);
@@ -1573,33 +1574,33 @@ export const MsgFinalizeCollection = {
1573
1574
  fromJSON(object) {
1574
1575
  return {
1575
1576
  creator: isSet(object.creator) ? String(object.creator) : "",
1576
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
1577
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
1577
1578
  };
1578
1579
  },
1579
1580
  toJSON(message) {
1580
1581
  const obj = {};
1581
1582
  message.creator !== undefined && (obj.creator = message.creator);
1582
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1583
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
1583
1584
  return obj;
1584
1585
  },
1585
1586
  fromPartial(object) {
1586
- const message = createBaseMsgFinalizeCollection();
1587
+ const message = createBaseMsgFinalizeSet();
1587
1588
  message.creator = object.creator ?? "";
1588
- message.collectionId = object.collectionId ?? 0;
1589
+ message.setId = object.setId ?? 0;
1589
1590
  return message;
1590
1591
  },
1591
1592
  };
1592
- function createBaseMsgFinalizeCollectionResponse() {
1593
+ function createBaseMsgFinalizeSetResponse() {
1593
1594
  return {};
1594
1595
  }
1595
- export const MsgFinalizeCollectionResponse = {
1596
+ export const MsgFinalizeSetResponse = {
1596
1597
  encode(_, writer = _m0.Writer.create()) {
1597
1598
  return writer;
1598
1599
  },
1599
1600
  decode(input, length) {
1600
1601
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1601
1602
  let end = length === undefined ? reader.len : reader.pos + length;
1602
- const message = createBaseMsgFinalizeCollectionResponse();
1603
+ const message = createBaseMsgFinalizeSetResponse();
1603
1604
  while (reader.pos < end) {
1604
1605
  const tag = reader.uint32();
1605
1606
  switch (tag >>> 3) {
@@ -1618,27 +1619,27 @@ export const MsgFinalizeCollectionResponse = {
1618
1619
  return obj;
1619
1620
  },
1620
1621
  fromPartial(_) {
1621
- const message = createBaseMsgFinalizeCollectionResponse();
1622
+ const message = createBaseMsgFinalizeSetResponse();
1622
1623
  return message;
1623
1624
  },
1624
1625
  };
1625
- function createBaseMsgBuyCollection() {
1626
- return { creator: "", collectionId: 0 };
1626
+ function createBaseMsgBuyBoosterPack() {
1627
+ return { creator: "", setId: 0 };
1627
1628
  }
1628
- export const MsgBuyCollection = {
1629
+ export const MsgBuyBoosterPack = {
1629
1630
  encode(message, writer = _m0.Writer.create()) {
1630
1631
  if (message.creator !== "") {
1631
1632
  writer.uint32(10).string(message.creator);
1632
1633
  }
1633
- if (message.collectionId !== 0) {
1634
- writer.uint32(16).uint64(message.collectionId);
1634
+ if (message.setId !== 0) {
1635
+ writer.uint32(16).uint64(message.setId);
1635
1636
  }
1636
1637
  return writer;
1637
1638
  },
1638
1639
  decode(input, length) {
1639
1640
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1640
1641
  let end = length === undefined ? reader.len : reader.pos + length;
1641
- const message = createBaseMsgBuyCollection();
1642
+ const message = createBaseMsgBuyBoosterPack();
1642
1643
  while (reader.pos < end) {
1643
1644
  const tag = reader.uint32();
1644
1645
  switch (tag >>> 3) {
@@ -1646,7 +1647,7 @@ export const MsgBuyCollection = {
1646
1647
  message.creator = reader.string();
1647
1648
  break;
1648
1649
  case 2:
1649
- message.collectionId = longToNumber(reader.uint64());
1650
+ message.setId = longToNumber(reader.uint64());
1650
1651
  break;
1651
1652
  default:
1652
1653
  reader.skipType(tag & 7);
@@ -1658,26 +1659,26 @@ export const MsgBuyCollection = {
1658
1659
  fromJSON(object) {
1659
1660
  return {
1660
1661
  creator: isSet(object.creator) ? String(object.creator) : "",
1661
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
1662
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
1662
1663
  };
1663
1664
  },
1664
1665
  toJSON(message) {
1665
1666
  const obj = {};
1666
1667
  message.creator !== undefined && (obj.creator = message.creator);
1667
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1668
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
1668
1669
  return obj;
1669
1670
  },
1670
1671
  fromPartial(object) {
1671
- const message = createBaseMsgBuyCollection();
1672
+ const message = createBaseMsgBuyBoosterPack();
1672
1673
  message.creator = object.creator ?? "";
1673
- message.collectionId = object.collectionId ?? 0;
1674
+ message.setId = object.setId ?? 0;
1674
1675
  return message;
1675
1676
  },
1676
1677
  };
1677
- function createBaseMsgBuyCollectionResponse() {
1678
+ function createBaseMsgBuyBoosterPackResponse() {
1678
1679
  return { airdropClaimed: false };
1679
1680
  }
1680
- export const MsgBuyCollectionResponse = {
1681
+ export const MsgBuyBoosterPackResponse = {
1681
1682
  encode(message, writer = _m0.Writer.create()) {
1682
1683
  if (message.airdropClaimed === true) {
1683
1684
  writer.uint32(8).bool(message.airdropClaimed);
@@ -1687,7 +1688,7 @@ export const MsgBuyCollectionResponse = {
1687
1688
  decode(input, length) {
1688
1689
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1689
1690
  let end = length === undefined ? reader.len : reader.pos + length;
1690
- const message = createBaseMsgBuyCollectionResponse();
1691
+ const message = createBaseMsgBuyBoosterPackResponse();
1691
1692
  while (reader.pos < end) {
1692
1693
  const tag = reader.uint32();
1693
1694
  switch (tag >>> 3) {
@@ -1710,21 +1711,21 @@ export const MsgBuyCollectionResponse = {
1710
1711
  return obj;
1711
1712
  },
1712
1713
  fromPartial(object) {
1713
- const message = createBaseMsgBuyCollectionResponse();
1714
+ const message = createBaseMsgBuyBoosterPackResponse();
1714
1715
  message.airdropClaimed = object.airdropClaimed ?? false;
1715
1716
  return message;
1716
1717
  },
1717
1718
  };
1718
- function createBaseMsgRemoveCardFromCollection() {
1719
- return { creator: "", collectionId: 0, cardId: 0 };
1719
+ function createBaseMsgRemoveCardFromSet() {
1720
+ return { creator: "", setId: 0, cardId: 0 };
1720
1721
  }
1721
- export const MsgRemoveCardFromCollection = {
1722
+ export const MsgRemoveCardFromSet = {
1722
1723
  encode(message, writer = _m0.Writer.create()) {
1723
1724
  if (message.creator !== "") {
1724
1725
  writer.uint32(10).string(message.creator);
1725
1726
  }
1726
- if (message.collectionId !== 0) {
1727
- writer.uint32(16).uint64(message.collectionId);
1727
+ if (message.setId !== 0) {
1728
+ writer.uint32(16).uint64(message.setId);
1728
1729
  }
1729
1730
  if (message.cardId !== 0) {
1730
1731
  writer.uint32(24).uint64(message.cardId);
@@ -1734,7 +1735,7 @@ export const MsgRemoveCardFromCollection = {
1734
1735
  decode(input, length) {
1735
1736
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1736
1737
  let end = length === undefined ? reader.len : reader.pos + length;
1737
- const message = createBaseMsgRemoveCardFromCollection();
1738
+ const message = createBaseMsgRemoveCardFromSet();
1738
1739
  while (reader.pos < end) {
1739
1740
  const tag = reader.uint32();
1740
1741
  switch (tag >>> 3) {
@@ -1742,7 +1743,7 @@ export const MsgRemoveCardFromCollection = {
1742
1743
  message.creator = reader.string();
1743
1744
  break;
1744
1745
  case 2:
1745
- message.collectionId = longToNumber(reader.uint64());
1746
+ message.setId = longToNumber(reader.uint64());
1746
1747
  break;
1747
1748
  case 3:
1748
1749
  message.cardId = longToNumber(reader.uint64());
@@ -1757,36 +1758,36 @@ export const MsgRemoveCardFromCollection = {
1757
1758
  fromJSON(object) {
1758
1759
  return {
1759
1760
  creator: isSet(object.creator) ? String(object.creator) : "",
1760
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
1761
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
1761
1762
  cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
1762
1763
  };
1763
1764
  },
1764
1765
  toJSON(message) {
1765
1766
  const obj = {};
1766
1767
  message.creator !== undefined && (obj.creator = message.creator);
1767
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1768
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
1768
1769
  message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
1769
1770
  return obj;
1770
1771
  },
1771
1772
  fromPartial(object) {
1772
- const message = createBaseMsgRemoveCardFromCollection();
1773
+ const message = createBaseMsgRemoveCardFromSet();
1773
1774
  message.creator = object.creator ?? "";
1774
- message.collectionId = object.collectionId ?? 0;
1775
+ message.setId = object.setId ?? 0;
1775
1776
  message.cardId = object.cardId ?? 0;
1776
1777
  return message;
1777
1778
  },
1778
1779
  };
1779
- function createBaseMsgRemoveCardFromCollectionResponse() {
1780
+ function createBaseMsgRemoveCardFromSetResponse() {
1780
1781
  return {};
1781
1782
  }
1782
- export const MsgRemoveCardFromCollectionResponse = {
1783
+ export const MsgRemoveCardFromSetResponse = {
1783
1784
  encode(_, writer = _m0.Writer.create()) {
1784
1785
  return writer;
1785
1786
  },
1786
1787
  decode(input, length) {
1787
1788
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1788
1789
  let end = length === undefined ? reader.len : reader.pos + length;
1789
- const message = createBaseMsgRemoveCardFromCollectionResponse();
1790
+ const message = createBaseMsgRemoveCardFromSetResponse();
1790
1791
  while (reader.pos < end) {
1791
1792
  const tag = reader.uint32();
1792
1793
  switch (tag >>> 3) {
@@ -1805,20 +1806,20 @@ export const MsgRemoveCardFromCollectionResponse = {
1805
1806
  return obj;
1806
1807
  },
1807
1808
  fromPartial(_) {
1808
- const message = createBaseMsgRemoveCardFromCollectionResponse();
1809
+ const message = createBaseMsgRemoveCardFromSetResponse();
1809
1810
  return message;
1810
1811
  },
1811
1812
  };
1812
- function createBaseMsgRemoveContributorFromCollection() {
1813
- return { creator: "", collectionId: 0, user: "" };
1813
+ function createBaseMsgRemoveContributorFromSet() {
1814
+ return { creator: "", setId: 0, user: "" };
1814
1815
  }
1815
- export const MsgRemoveContributorFromCollection = {
1816
+ export const MsgRemoveContributorFromSet = {
1816
1817
  encode(message, writer = _m0.Writer.create()) {
1817
1818
  if (message.creator !== "") {
1818
1819
  writer.uint32(10).string(message.creator);
1819
1820
  }
1820
- if (message.collectionId !== 0) {
1821
- writer.uint32(16).uint64(message.collectionId);
1821
+ if (message.setId !== 0) {
1822
+ writer.uint32(16).uint64(message.setId);
1822
1823
  }
1823
1824
  if (message.user !== "") {
1824
1825
  writer.uint32(26).string(message.user);
@@ -1828,7 +1829,7 @@ export const MsgRemoveContributorFromCollection = {
1828
1829
  decode(input, length) {
1829
1830
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1830
1831
  let end = length === undefined ? reader.len : reader.pos + length;
1831
- const message = createBaseMsgRemoveContributorFromCollection();
1832
+ const message = createBaseMsgRemoveContributorFromSet();
1832
1833
  while (reader.pos < end) {
1833
1834
  const tag = reader.uint32();
1834
1835
  switch (tag >>> 3) {
@@ -1836,7 +1837,7 @@ export const MsgRemoveContributorFromCollection = {
1836
1837
  message.creator = reader.string();
1837
1838
  break;
1838
1839
  case 2:
1839
- message.collectionId = longToNumber(reader.uint64());
1840
+ message.setId = longToNumber(reader.uint64());
1840
1841
  break;
1841
1842
  case 3:
1842
1843
  message.user = reader.string();
@@ -1851,36 +1852,36 @@ export const MsgRemoveContributorFromCollection = {
1851
1852
  fromJSON(object) {
1852
1853
  return {
1853
1854
  creator: isSet(object.creator) ? String(object.creator) : "",
1854
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
1855
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
1855
1856
  user: isSet(object.user) ? String(object.user) : "",
1856
1857
  };
1857
1858
  },
1858
1859
  toJSON(message) {
1859
1860
  const obj = {};
1860
1861
  message.creator !== undefined && (obj.creator = message.creator);
1861
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1862
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
1862
1863
  message.user !== undefined && (obj.user = message.user);
1863
1864
  return obj;
1864
1865
  },
1865
1866
  fromPartial(object) {
1866
- const message = createBaseMsgRemoveContributorFromCollection();
1867
+ const message = createBaseMsgRemoveContributorFromSet();
1867
1868
  message.creator = object.creator ?? "";
1868
- message.collectionId = object.collectionId ?? 0;
1869
+ message.setId = object.setId ?? 0;
1869
1870
  message.user = object.user ?? "";
1870
1871
  return message;
1871
1872
  },
1872
1873
  };
1873
- function createBaseMsgRemoveContributorFromCollectionResponse() {
1874
+ function createBaseMsgRemoveContributorFromSetResponse() {
1874
1875
  return {};
1875
1876
  }
1876
- export const MsgRemoveContributorFromCollectionResponse = {
1877
+ export const MsgRemoveContributorFromSetResponse = {
1877
1878
  encode(_, writer = _m0.Writer.create()) {
1878
1879
  return writer;
1879
1880
  },
1880
1881
  decode(input, length) {
1881
1882
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1882
1883
  let end = length === undefined ? reader.len : reader.pos + length;
1883
- const message = createBaseMsgRemoveContributorFromCollectionResponse();
1884
+ const message = createBaseMsgRemoveContributorFromSetResponse();
1884
1885
  while (reader.pos < end) {
1885
1886
  const tag = reader.uint32();
1886
1887
  switch (tag >>> 3) {
@@ -1899,20 +1900,20 @@ export const MsgRemoveContributorFromCollectionResponse = {
1899
1900
  return obj;
1900
1901
  },
1901
1902
  fromPartial(_) {
1902
- const message = createBaseMsgRemoveContributorFromCollectionResponse();
1903
+ const message = createBaseMsgRemoveContributorFromSetResponse();
1903
1904
  return message;
1904
1905
  },
1905
1906
  };
1906
- function createBaseMsgAddContributorToCollection() {
1907
- return { creator: "", collectionId: 0, user: "" };
1907
+ function createBaseMsgAddContributorToSet() {
1908
+ return { creator: "", setId: 0, user: "" };
1908
1909
  }
1909
- export const MsgAddContributorToCollection = {
1910
+ export const MsgAddContributorToSet = {
1910
1911
  encode(message, writer = _m0.Writer.create()) {
1911
1912
  if (message.creator !== "") {
1912
1913
  writer.uint32(10).string(message.creator);
1913
1914
  }
1914
- if (message.collectionId !== 0) {
1915
- writer.uint32(16).uint64(message.collectionId);
1915
+ if (message.setId !== 0) {
1916
+ writer.uint32(16).uint64(message.setId);
1916
1917
  }
1917
1918
  if (message.user !== "") {
1918
1919
  writer.uint32(26).string(message.user);
@@ -1922,7 +1923,7 @@ export const MsgAddContributorToCollection = {
1922
1923
  decode(input, length) {
1923
1924
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1924
1925
  let end = length === undefined ? reader.len : reader.pos + length;
1925
- const message = createBaseMsgAddContributorToCollection();
1926
+ const message = createBaseMsgAddContributorToSet();
1926
1927
  while (reader.pos < end) {
1927
1928
  const tag = reader.uint32();
1928
1929
  switch (tag >>> 3) {
@@ -1930,7 +1931,7 @@ export const MsgAddContributorToCollection = {
1930
1931
  message.creator = reader.string();
1931
1932
  break;
1932
1933
  case 2:
1933
- message.collectionId = longToNumber(reader.uint64());
1934
+ message.setId = longToNumber(reader.uint64());
1934
1935
  break;
1935
1936
  case 3:
1936
1937
  message.user = reader.string();
@@ -1945,36 +1946,36 @@ export const MsgAddContributorToCollection = {
1945
1946
  fromJSON(object) {
1946
1947
  return {
1947
1948
  creator: isSet(object.creator) ? String(object.creator) : "",
1948
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
1949
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
1949
1950
  user: isSet(object.user) ? String(object.user) : "",
1950
1951
  };
1951
1952
  },
1952
1953
  toJSON(message) {
1953
1954
  const obj = {};
1954
1955
  message.creator !== undefined && (obj.creator = message.creator);
1955
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
1956
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
1956
1957
  message.user !== undefined && (obj.user = message.user);
1957
1958
  return obj;
1958
1959
  },
1959
1960
  fromPartial(object) {
1960
- const message = createBaseMsgAddContributorToCollection();
1961
+ const message = createBaseMsgAddContributorToSet();
1961
1962
  message.creator = object.creator ?? "";
1962
- message.collectionId = object.collectionId ?? 0;
1963
+ message.setId = object.setId ?? 0;
1963
1964
  message.user = object.user ?? "";
1964
1965
  return message;
1965
1966
  },
1966
1967
  };
1967
- function createBaseMsgAddContributorToCollectionResponse() {
1968
+ function createBaseMsgAddContributorToSetResponse() {
1968
1969
  return {};
1969
1970
  }
1970
- export const MsgAddContributorToCollectionResponse = {
1971
+ export const MsgAddContributorToSetResponse = {
1971
1972
  encode(_, writer = _m0.Writer.create()) {
1972
1973
  return writer;
1973
1974
  },
1974
1975
  decode(input, length) {
1975
1976
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1976
1977
  let end = length === undefined ? reader.len : reader.pos + length;
1977
- const message = createBaseMsgAddContributorToCollectionResponse();
1978
+ const message = createBaseMsgAddContributorToSetResponse();
1978
1979
  while (reader.pos < end) {
1979
1980
  const tag = reader.uint32();
1980
1981
  switch (tag >>> 3) {
@@ -1993,27 +1994,27 @@ export const MsgAddContributorToCollectionResponse = {
1993
1994
  return obj;
1994
1995
  },
1995
1996
  fromPartial(_) {
1996
- const message = createBaseMsgAddContributorToCollectionResponse();
1997
+ const message = createBaseMsgAddContributorToSetResponse();
1997
1998
  return message;
1998
1999
  },
1999
2000
  };
2000
- function createBaseMsgSubmitCollectionProposal() {
2001
- return { creator: "", collectionId: 0 };
2001
+ function createBaseMsgSubmitSetProposal() {
2002
+ return { creator: "", setId: 0 };
2002
2003
  }
2003
- export const MsgSubmitCollectionProposal = {
2004
+ export const MsgSubmitSetProposal = {
2004
2005
  encode(message, writer = _m0.Writer.create()) {
2005
2006
  if (message.creator !== "") {
2006
2007
  writer.uint32(10).string(message.creator);
2007
2008
  }
2008
- if (message.collectionId !== 0) {
2009
- writer.uint32(16).uint64(message.collectionId);
2009
+ if (message.setId !== 0) {
2010
+ writer.uint32(16).uint64(message.setId);
2010
2011
  }
2011
2012
  return writer;
2012
2013
  },
2013
2014
  decode(input, length) {
2014
2015
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2015
2016
  let end = length === undefined ? reader.len : reader.pos + length;
2016
- const message = createBaseMsgSubmitCollectionProposal();
2017
+ const message = createBaseMsgSubmitSetProposal();
2017
2018
  while (reader.pos < end) {
2018
2019
  const tag = reader.uint32();
2019
2020
  switch (tag >>> 3) {
@@ -2021,7 +2022,7 @@ export const MsgSubmitCollectionProposal = {
2021
2022
  message.creator = reader.string();
2022
2023
  break;
2023
2024
  case 2:
2024
- message.collectionId = longToNumber(reader.uint64());
2025
+ message.setId = longToNumber(reader.uint64());
2025
2026
  break;
2026
2027
  default:
2027
2028
  reader.skipType(tag & 7);
@@ -2033,33 +2034,33 @@ export const MsgSubmitCollectionProposal = {
2033
2034
  fromJSON(object) {
2034
2035
  return {
2035
2036
  creator: isSet(object.creator) ? String(object.creator) : "",
2036
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
2037
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
2037
2038
  };
2038
2039
  },
2039
2040
  toJSON(message) {
2040
2041
  const obj = {};
2041
2042
  message.creator !== undefined && (obj.creator = message.creator);
2042
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
2043
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
2043
2044
  return obj;
2044
2045
  },
2045
2046
  fromPartial(object) {
2046
- const message = createBaseMsgSubmitCollectionProposal();
2047
+ const message = createBaseMsgSubmitSetProposal();
2047
2048
  message.creator = object.creator ?? "";
2048
- message.collectionId = object.collectionId ?? 0;
2049
+ message.setId = object.setId ?? 0;
2049
2050
  return message;
2050
2051
  },
2051
2052
  };
2052
- function createBaseMsgSubmitCollectionProposalResponse() {
2053
+ function createBaseMsgSubmitSetProposalResponse() {
2053
2054
  return {};
2054
2055
  }
2055
- export const MsgSubmitCollectionProposalResponse = {
2056
+ export const MsgSubmitSetProposalResponse = {
2056
2057
  encode(_, writer = _m0.Writer.create()) {
2057
2058
  return writer;
2058
2059
  },
2059
2060
  decode(input, length) {
2060
2061
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2061
2062
  let end = length === undefined ? reader.len : reader.pos + length;
2062
- const message = createBaseMsgSubmitCollectionProposalResponse();
2063
+ const message = createBaseMsgSubmitSetProposalResponse();
2063
2064
  while (reader.pos < end) {
2064
2065
  const tag = reader.uint32();
2065
2066
  switch (tag >>> 3) {
@@ -2078,7 +2079,7 @@ export const MsgSubmitCollectionProposalResponse = {
2078
2079
  return obj;
2079
2080
  },
2080
2081
  fromPartial(_) {
2081
- const message = createBaseMsgSubmitCollectionProposalResponse();
2082
+ const message = createBaseMsgSubmitSetProposalResponse();
2082
2083
  return message;
2083
2084
  },
2084
2085
  };
@@ -2346,16 +2347,16 @@ export const MsgRemoveSellOfferResponse = {
2346
2347
  return message;
2347
2348
  },
2348
2349
  };
2349
- function createBaseMsgAddArtworkToCollection() {
2350
- return { creator: "", collectionId: 0, image: new Uint8Array() };
2350
+ function createBaseMsgAddArtworkToSet() {
2351
+ return { creator: "", setId: 0, image: new Uint8Array() };
2351
2352
  }
2352
- export const MsgAddArtworkToCollection = {
2353
+ export const MsgAddArtworkToSet = {
2353
2354
  encode(message, writer = _m0.Writer.create()) {
2354
2355
  if (message.creator !== "") {
2355
2356
  writer.uint32(10).string(message.creator);
2356
2357
  }
2357
- if (message.collectionId !== 0) {
2358
- writer.uint32(16).uint64(message.collectionId);
2358
+ if (message.setId !== 0) {
2359
+ writer.uint32(16).uint64(message.setId);
2359
2360
  }
2360
2361
  if (message.image.length !== 0) {
2361
2362
  writer.uint32(26).bytes(message.image);
@@ -2365,7 +2366,7 @@ export const MsgAddArtworkToCollection = {
2365
2366
  decode(input, length) {
2366
2367
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2367
2368
  let end = length === undefined ? reader.len : reader.pos + length;
2368
- const message = createBaseMsgAddArtworkToCollection();
2369
+ const message = createBaseMsgAddArtworkToSet();
2369
2370
  while (reader.pos < end) {
2370
2371
  const tag = reader.uint32();
2371
2372
  switch (tag >>> 3) {
@@ -2373,7 +2374,7 @@ export const MsgAddArtworkToCollection = {
2373
2374
  message.creator = reader.string();
2374
2375
  break;
2375
2376
  case 2:
2376
- message.collectionId = longToNumber(reader.uint64());
2377
+ message.setId = longToNumber(reader.uint64());
2377
2378
  break;
2378
2379
  case 3:
2379
2380
  message.image = reader.bytes();
@@ -2388,37 +2389,37 @@ export const MsgAddArtworkToCollection = {
2388
2389
  fromJSON(object) {
2389
2390
  return {
2390
2391
  creator: isSet(object.creator) ? String(object.creator) : "",
2391
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
2392
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
2392
2393
  image: isSet(object.image) ? bytesFromBase64(object.image) : new Uint8Array(),
2393
2394
  };
2394
2395
  },
2395
2396
  toJSON(message) {
2396
2397
  const obj = {};
2397
2398
  message.creator !== undefined && (obj.creator = message.creator);
2398
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
2399
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
2399
2400
  message.image !== undefined
2400
2401
  && (obj.image = base64FromBytes(message.image !== undefined ? message.image : new Uint8Array()));
2401
2402
  return obj;
2402
2403
  },
2403
2404
  fromPartial(object) {
2404
- const message = createBaseMsgAddArtworkToCollection();
2405
+ const message = createBaseMsgAddArtworkToSet();
2405
2406
  message.creator = object.creator ?? "";
2406
- message.collectionId = object.collectionId ?? 0;
2407
+ message.setId = object.setId ?? 0;
2407
2408
  message.image = object.image ?? new Uint8Array();
2408
2409
  return message;
2409
2410
  },
2410
2411
  };
2411
- function createBaseMsgAddArtworkToCollectionResponse() {
2412
+ function createBaseMsgAddArtworkToSetResponse() {
2412
2413
  return {};
2413
2414
  }
2414
- export const MsgAddArtworkToCollectionResponse = {
2415
+ export const MsgAddArtworkToSetResponse = {
2415
2416
  encode(_, writer = _m0.Writer.create()) {
2416
2417
  return writer;
2417
2418
  },
2418
2419
  decode(input, length) {
2419
2420
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2420
2421
  let end = length === undefined ? reader.len : reader.pos + length;
2421
- const message = createBaseMsgAddArtworkToCollectionResponse();
2422
+ const message = createBaseMsgAddArtworkToSetResponse();
2422
2423
  while (reader.pos < end) {
2423
2424
  const tag = reader.uint32();
2424
2425
  switch (tag >>> 3) {
@@ -2437,20 +2438,20 @@ export const MsgAddArtworkToCollectionResponse = {
2437
2438
  return obj;
2438
2439
  },
2439
2440
  fromPartial(_) {
2440
- const message = createBaseMsgAddArtworkToCollectionResponse();
2441
+ const message = createBaseMsgAddArtworkToSetResponse();
2441
2442
  return message;
2442
2443
  },
2443
2444
  };
2444
- function createBaseMsgAddStoryToCollection() {
2445
- return { creator: "", collectionId: 0, story: "" };
2445
+ function createBaseMsgAddStoryToSet() {
2446
+ return { creator: "", setId: 0, story: "" };
2446
2447
  }
2447
- export const MsgAddStoryToCollection = {
2448
+ export const MsgAddStoryToSet = {
2448
2449
  encode(message, writer = _m0.Writer.create()) {
2449
2450
  if (message.creator !== "") {
2450
2451
  writer.uint32(10).string(message.creator);
2451
2452
  }
2452
- if (message.collectionId !== 0) {
2453
- writer.uint32(16).uint64(message.collectionId);
2453
+ if (message.setId !== 0) {
2454
+ writer.uint32(16).uint64(message.setId);
2454
2455
  }
2455
2456
  if (message.story !== "") {
2456
2457
  writer.uint32(26).string(message.story);
@@ -2460,7 +2461,7 @@ export const MsgAddStoryToCollection = {
2460
2461
  decode(input, length) {
2461
2462
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2462
2463
  let end = length === undefined ? reader.len : reader.pos + length;
2463
- const message = createBaseMsgAddStoryToCollection();
2464
+ const message = createBaseMsgAddStoryToSet();
2464
2465
  while (reader.pos < end) {
2465
2466
  const tag = reader.uint32();
2466
2467
  switch (tag >>> 3) {
@@ -2468,7 +2469,7 @@ export const MsgAddStoryToCollection = {
2468
2469
  message.creator = reader.string();
2469
2470
  break;
2470
2471
  case 2:
2471
- message.collectionId = longToNumber(reader.uint64());
2472
+ message.setId = longToNumber(reader.uint64());
2472
2473
  break;
2473
2474
  case 3:
2474
2475
  message.story = reader.string();
@@ -2483,36 +2484,36 @@ export const MsgAddStoryToCollection = {
2483
2484
  fromJSON(object) {
2484
2485
  return {
2485
2486
  creator: isSet(object.creator) ? String(object.creator) : "",
2486
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
2487
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
2487
2488
  story: isSet(object.story) ? String(object.story) : "",
2488
2489
  };
2489
2490
  },
2490
2491
  toJSON(message) {
2491
2492
  const obj = {};
2492
2493
  message.creator !== undefined && (obj.creator = message.creator);
2493
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
2494
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
2494
2495
  message.story !== undefined && (obj.story = message.story);
2495
2496
  return obj;
2496
2497
  },
2497
2498
  fromPartial(object) {
2498
- const message = createBaseMsgAddStoryToCollection();
2499
+ const message = createBaseMsgAddStoryToSet();
2499
2500
  message.creator = object.creator ?? "";
2500
- message.collectionId = object.collectionId ?? 0;
2501
+ message.setId = object.setId ?? 0;
2501
2502
  message.story = object.story ?? "";
2502
2503
  return message;
2503
2504
  },
2504
2505
  };
2505
- function createBaseMsgAddStoryToCollectionResponse() {
2506
+ function createBaseMsgAddStoryToSetResponse() {
2506
2507
  return {};
2507
2508
  }
2508
- export const MsgAddStoryToCollectionResponse = {
2509
+ export const MsgAddStoryToSetResponse = {
2509
2510
  encode(_, writer = _m0.Writer.create()) {
2510
2511
  return writer;
2511
2512
  },
2512
2513
  decode(input, length) {
2513
2514
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2514
2515
  let end = length === undefined ? reader.len : reader.pos + length;
2515
- const message = createBaseMsgAddStoryToCollectionResponse();
2516
+ const message = createBaseMsgAddStoryToSetResponse();
2516
2517
  while (reader.pos < end) {
2517
2518
  const tag = reader.uint32();
2518
2519
  switch (tag >>> 3) {
@@ -2531,12 +2532,12 @@ export const MsgAddStoryToCollectionResponse = {
2531
2532
  return obj;
2532
2533
  },
2533
2534
  fromPartial(_) {
2534
- const message = createBaseMsgAddStoryToCollectionResponse();
2535
+ const message = createBaseMsgAddStoryToSetResponse();
2535
2536
  return message;
2536
2537
  },
2537
2538
  };
2538
2539
  function createBaseMsgSetCardRarity() {
2539
- return { creator: "", cardId: 0, collectionId: 0, rarity: "" };
2540
+ return { creator: "", cardId: 0, setId: 0, rarity: 0 };
2540
2541
  }
2541
2542
  export const MsgSetCardRarity = {
2542
2543
  encode(message, writer = _m0.Writer.create()) {
@@ -2546,11 +2547,11 @@ export const MsgSetCardRarity = {
2546
2547
  if (message.cardId !== 0) {
2547
2548
  writer.uint32(16).uint64(message.cardId);
2548
2549
  }
2549
- if (message.collectionId !== 0) {
2550
- writer.uint32(24).uint64(message.collectionId);
2550
+ if (message.setId !== 0) {
2551
+ writer.uint32(24).uint64(message.setId);
2551
2552
  }
2552
- if (message.rarity !== "") {
2553
- writer.uint32(34).string(message.rarity);
2553
+ if (message.rarity !== 0) {
2554
+ writer.uint32(32).int32(message.rarity);
2554
2555
  }
2555
2556
  return writer;
2556
2557
  },
@@ -2568,10 +2569,10 @@ export const MsgSetCardRarity = {
2568
2569
  message.cardId = longToNumber(reader.uint64());
2569
2570
  break;
2570
2571
  case 3:
2571
- message.collectionId = longToNumber(reader.uint64());
2572
+ message.setId = longToNumber(reader.uint64());
2572
2573
  break;
2573
2574
  case 4:
2574
- message.rarity = reader.string();
2575
+ message.rarity = reader.int32();
2575
2576
  break;
2576
2577
  default:
2577
2578
  reader.skipType(tag & 7);
@@ -2584,24 +2585,24 @@ export const MsgSetCardRarity = {
2584
2585
  return {
2585
2586
  creator: isSet(object.creator) ? String(object.creator) : "",
2586
2587
  cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
2587
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
2588
- rarity: isSet(object.rarity) ? String(object.rarity) : "",
2588
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
2589
+ rarity: isSet(object.rarity) ? cardRarityFromJSON(object.rarity) : 0,
2589
2590
  };
2590
2591
  },
2591
2592
  toJSON(message) {
2592
2593
  const obj = {};
2593
2594
  message.creator !== undefined && (obj.creator = message.creator);
2594
2595
  message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
2595
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
2596
- message.rarity !== undefined && (obj.rarity = message.rarity);
2596
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
2597
+ message.rarity !== undefined && (obj.rarity = cardRarityToJSON(message.rarity));
2597
2598
  return obj;
2598
2599
  },
2599
2600
  fromPartial(object) {
2600
2601
  const message = createBaseMsgSetCardRarity();
2601
2602
  message.creator = object.creator ?? "";
2602
2603
  message.cardId = object.cardId ?? 0;
2603
- message.collectionId = object.collectionId ?? 0;
2604
- message.rarity = object.rarity ?? "";
2604
+ message.setId = object.setId ?? 0;
2605
+ message.rarity = object.rarity ?? 0;
2605
2606
  return message;
2606
2607
  },
2607
2608
  };
@@ -3483,16 +3484,16 @@ export const MsgTransferBoosterPackResponse = {
3483
3484
  return message;
3484
3485
  },
3485
3486
  };
3486
- function createBaseMsgSetCollectionStoryWriter() {
3487
- return { creator: "", collectionId: 0, storyWriter: "" };
3487
+ function createBaseMsgSetSetStoryWriter() {
3488
+ return { creator: "", setId: 0, storyWriter: "" };
3488
3489
  }
3489
- export const MsgSetCollectionStoryWriter = {
3490
+ export const MsgSetSetStoryWriter = {
3490
3491
  encode(message, writer = _m0.Writer.create()) {
3491
3492
  if (message.creator !== "") {
3492
3493
  writer.uint32(10).string(message.creator);
3493
3494
  }
3494
- if (message.collectionId !== 0) {
3495
- writer.uint32(16).uint64(message.collectionId);
3495
+ if (message.setId !== 0) {
3496
+ writer.uint32(16).uint64(message.setId);
3496
3497
  }
3497
3498
  if (message.storyWriter !== "") {
3498
3499
  writer.uint32(26).string(message.storyWriter);
@@ -3502,7 +3503,7 @@ export const MsgSetCollectionStoryWriter = {
3502
3503
  decode(input, length) {
3503
3504
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
3504
3505
  let end = length === undefined ? reader.len : reader.pos + length;
3505
- const message = createBaseMsgSetCollectionStoryWriter();
3506
+ const message = createBaseMsgSetSetStoryWriter();
3506
3507
  while (reader.pos < end) {
3507
3508
  const tag = reader.uint32();
3508
3509
  switch (tag >>> 3) {
@@ -3510,7 +3511,7 @@ export const MsgSetCollectionStoryWriter = {
3510
3511
  message.creator = reader.string();
3511
3512
  break;
3512
3513
  case 2:
3513
- message.collectionId = longToNumber(reader.uint64());
3514
+ message.setId = longToNumber(reader.uint64());
3514
3515
  break;
3515
3516
  case 3:
3516
3517
  message.storyWriter = reader.string();
@@ -3525,36 +3526,36 @@ export const MsgSetCollectionStoryWriter = {
3525
3526
  fromJSON(object) {
3526
3527
  return {
3527
3528
  creator: isSet(object.creator) ? String(object.creator) : "",
3528
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
3529
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
3529
3530
  storyWriter: isSet(object.storyWriter) ? String(object.storyWriter) : "",
3530
3531
  };
3531
3532
  },
3532
3533
  toJSON(message) {
3533
3534
  const obj = {};
3534
3535
  message.creator !== undefined && (obj.creator = message.creator);
3535
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
3536
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
3536
3537
  message.storyWriter !== undefined && (obj.storyWriter = message.storyWriter);
3537
3538
  return obj;
3538
3539
  },
3539
3540
  fromPartial(object) {
3540
- const message = createBaseMsgSetCollectionStoryWriter();
3541
+ const message = createBaseMsgSetSetStoryWriter();
3541
3542
  message.creator = object.creator ?? "";
3542
- message.collectionId = object.collectionId ?? 0;
3543
+ message.setId = object.setId ?? 0;
3543
3544
  message.storyWriter = object.storyWriter ?? "";
3544
3545
  return message;
3545
3546
  },
3546
3547
  };
3547
- function createBaseMsgSetCollectionStoryWriterResponse() {
3548
+ function createBaseMsgSetSetStoryWriterResponse() {
3548
3549
  return {};
3549
3550
  }
3550
- export const MsgSetCollectionStoryWriterResponse = {
3551
+ export const MsgSetSetStoryWriterResponse = {
3551
3552
  encode(_, writer = _m0.Writer.create()) {
3552
3553
  return writer;
3553
3554
  },
3554
3555
  decode(input, length) {
3555
3556
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
3556
3557
  let end = length === undefined ? reader.len : reader.pos + length;
3557
- const message = createBaseMsgSetCollectionStoryWriterResponse();
3558
+ const message = createBaseMsgSetSetStoryWriterResponse();
3558
3559
  while (reader.pos < end) {
3559
3560
  const tag = reader.uint32();
3560
3561
  switch (tag >>> 3) {
@@ -3573,20 +3574,20 @@ export const MsgSetCollectionStoryWriterResponse = {
3573
3574
  return obj;
3574
3575
  },
3575
3576
  fromPartial(_) {
3576
- const message = createBaseMsgSetCollectionStoryWriterResponse();
3577
+ const message = createBaseMsgSetSetStoryWriterResponse();
3577
3578
  return message;
3578
3579
  },
3579
3580
  };
3580
- function createBaseMsgSetCollectionArtist() {
3581
- return { creator: "", collectionId: 0, artist: "" };
3581
+ function createBaseMsgSetSetArtist() {
3582
+ return { creator: "", setId: 0, artist: "" };
3582
3583
  }
3583
- export const MsgSetCollectionArtist = {
3584
+ export const MsgSetSetArtist = {
3584
3585
  encode(message, writer = _m0.Writer.create()) {
3585
3586
  if (message.creator !== "") {
3586
3587
  writer.uint32(10).string(message.creator);
3587
3588
  }
3588
- if (message.collectionId !== 0) {
3589
- writer.uint32(16).uint64(message.collectionId);
3589
+ if (message.setId !== 0) {
3590
+ writer.uint32(16).uint64(message.setId);
3590
3591
  }
3591
3592
  if (message.artist !== "") {
3592
3593
  writer.uint32(26).string(message.artist);
@@ -3596,7 +3597,7 @@ export const MsgSetCollectionArtist = {
3596
3597
  decode(input, length) {
3597
3598
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
3598
3599
  let end = length === undefined ? reader.len : reader.pos + length;
3599
- const message = createBaseMsgSetCollectionArtist();
3600
+ const message = createBaseMsgSetSetArtist();
3600
3601
  while (reader.pos < end) {
3601
3602
  const tag = reader.uint32();
3602
3603
  switch (tag >>> 3) {
@@ -3604,7 +3605,7 @@ export const MsgSetCollectionArtist = {
3604
3605
  message.creator = reader.string();
3605
3606
  break;
3606
3607
  case 2:
3607
- message.collectionId = longToNumber(reader.uint64());
3608
+ message.setId = longToNumber(reader.uint64());
3608
3609
  break;
3609
3610
  case 3:
3610
3611
  message.artist = reader.string();
@@ -3619,36 +3620,36 @@ export const MsgSetCollectionArtist = {
3619
3620
  fromJSON(object) {
3620
3621
  return {
3621
3622
  creator: isSet(object.creator) ? String(object.creator) : "",
3622
- collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
3623
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
3623
3624
  artist: isSet(object.artist) ? String(object.artist) : "",
3624
3625
  };
3625
3626
  },
3626
3627
  toJSON(message) {
3627
3628
  const obj = {};
3628
3629
  message.creator !== undefined && (obj.creator = message.creator);
3629
- message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
3630
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
3630
3631
  message.artist !== undefined && (obj.artist = message.artist);
3631
3632
  return obj;
3632
3633
  },
3633
3634
  fromPartial(object) {
3634
- const message = createBaseMsgSetCollectionArtist();
3635
+ const message = createBaseMsgSetSetArtist();
3635
3636
  message.creator = object.creator ?? "";
3636
- message.collectionId = object.collectionId ?? 0;
3637
+ message.setId = object.setId ?? 0;
3637
3638
  message.artist = object.artist ?? "";
3638
3639
  return message;
3639
3640
  },
3640
3641
  };
3641
- function createBaseMsgSetCollectionArtistResponse() {
3642
+ function createBaseMsgSetSetArtistResponse() {
3642
3643
  return {};
3643
3644
  }
3644
- export const MsgSetCollectionArtistResponse = {
3645
+ export const MsgSetSetArtistResponse = {
3645
3646
  encode(_, writer = _m0.Writer.create()) {
3646
3647
  return writer;
3647
3648
  },
3648
3649
  decode(input, length) {
3649
3650
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
3650
3651
  let end = length === undefined ? reader.len : reader.pos + length;
3651
- const message = createBaseMsgSetCollectionArtistResponse();
3652
+ const message = createBaseMsgSetSetArtistResponse();
3652
3653
  while (reader.pos < end) {
3653
3654
  const tag = reader.uint32();
3654
3655
  switch (tag >>> 3) {
@@ -3667,7 +3668,7 @@ export const MsgSetCollectionArtistResponse = {
3667
3668
  return obj;
3668
3669
  },
3669
3670
  fromPartial(_) {
3670
- const message = createBaseMsgSetCollectionArtistResponse();
3671
+ const message = createBaseMsgSetSetArtistResponse();
3671
3672
  return message;
3672
3673
  },
3673
3674
  };
@@ -3931,10 +3932,10 @@ export const MsgMultiVoteCardResponse = {
3931
3932
  return message;
3932
3933
  },
3933
3934
  };
3934
- function createBaseMsgMsgOpenMatch() {
3935
+ function createBaseMsgOpenMatch() {
3935
3936
  return { creator: "", playerA: "", playerB: "", playerADeck: [], playerBDeck: [] };
3936
3937
  }
3937
- export const MsgMsgOpenMatch = {
3938
+ export const MsgOpenMatch = {
3938
3939
  encode(message, writer = _m0.Writer.create()) {
3939
3940
  if (message.creator !== "") {
3940
3941
  writer.uint32(10).string(message.creator);
@@ -3960,7 +3961,7 @@ export const MsgMsgOpenMatch = {
3960
3961
  decode(input, length) {
3961
3962
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
3962
3963
  let end = length === undefined ? reader.len : reader.pos + length;
3963
- const message = createBaseMsgMsgOpenMatch();
3964
+ const message = createBaseMsgOpenMatch();
3964
3965
  while (reader.pos < end) {
3965
3966
  const tag = reader.uint32();
3966
3967
  switch (tag >>> 3) {
@@ -4031,7 +4032,7 @@ export const MsgMsgOpenMatch = {
4031
4032
  return obj;
4032
4033
  },
4033
4034
  fromPartial(object) {
4034
- const message = createBaseMsgMsgOpenMatch();
4035
+ const message = createBaseMsgOpenMatch();
4035
4036
  message.creator = object.creator ?? "";
4036
4037
  message.playerA = object.playerA ?? "";
4037
4038
  message.playerB = object.playerB ?? "";
@@ -4040,10 +4041,10 @@ export const MsgMsgOpenMatch = {
4040
4041
  return message;
4041
4042
  },
4042
4043
  };
4043
- function createBaseMsgMsgOpenMatchResponse() {
4044
+ function createBaseMsgOpenMatchResponse() {
4044
4045
  return { matchId: 0 };
4045
4046
  }
4046
- export const MsgMsgOpenMatchResponse = {
4047
+ export const MsgOpenMatchResponse = {
4047
4048
  encode(message, writer = _m0.Writer.create()) {
4048
4049
  if (message.matchId !== 0) {
4049
4050
  writer.uint32(8).uint64(message.matchId);
@@ -4053,7 +4054,7 @@ export const MsgMsgOpenMatchResponse = {
4053
4054
  decode(input, length) {
4054
4055
  const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
4055
4056
  let end = length === undefined ? reader.len : reader.pos + length;
4056
- const message = createBaseMsgMsgOpenMatchResponse();
4057
+ const message = createBaseMsgOpenMatchResponse();
4057
4058
  while (reader.pos < end) {
4058
4059
  const tag = reader.uint32();
4059
4060
  switch (tag >>> 3) {
@@ -4076,11 +4077,105 @@ export const MsgMsgOpenMatchResponse = {
4076
4077
  return obj;
4077
4078
  },
4078
4079
  fromPartial(object) {
4079
- const message = createBaseMsgMsgOpenMatchResponse();
4080
+ const message = createBaseMsgOpenMatchResponse();
4080
4081
  message.matchId = object.matchId ?? 0;
4081
4082
  return message;
4082
4083
  },
4083
4084
  };
4085
+ function createBaseMsgSetSetName() {
4086
+ return { creator: "", setId: 0, name: "" };
4087
+ }
4088
+ export const MsgSetSetName = {
4089
+ encode(message, writer = _m0.Writer.create()) {
4090
+ if (message.creator !== "") {
4091
+ writer.uint32(10).string(message.creator);
4092
+ }
4093
+ if (message.setId !== 0) {
4094
+ writer.uint32(16).uint64(message.setId);
4095
+ }
4096
+ if (message.name !== "") {
4097
+ writer.uint32(26).string(message.name);
4098
+ }
4099
+ return writer;
4100
+ },
4101
+ decode(input, length) {
4102
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
4103
+ let end = length === undefined ? reader.len : reader.pos + length;
4104
+ const message = createBaseMsgSetSetName();
4105
+ while (reader.pos < end) {
4106
+ const tag = reader.uint32();
4107
+ switch (tag >>> 3) {
4108
+ case 1:
4109
+ message.creator = reader.string();
4110
+ break;
4111
+ case 2:
4112
+ message.setId = longToNumber(reader.uint64());
4113
+ break;
4114
+ case 3:
4115
+ message.name = reader.string();
4116
+ break;
4117
+ default:
4118
+ reader.skipType(tag & 7);
4119
+ break;
4120
+ }
4121
+ }
4122
+ return message;
4123
+ },
4124
+ fromJSON(object) {
4125
+ return {
4126
+ creator: isSet(object.creator) ? String(object.creator) : "",
4127
+ setId: isSet(object.setId) ? Number(object.setId) : 0,
4128
+ name: isSet(object.name) ? String(object.name) : "",
4129
+ };
4130
+ },
4131
+ toJSON(message) {
4132
+ const obj = {};
4133
+ message.creator !== undefined && (obj.creator = message.creator);
4134
+ message.setId !== undefined && (obj.setId = Math.round(message.setId));
4135
+ message.name !== undefined && (obj.name = message.name);
4136
+ return obj;
4137
+ },
4138
+ fromPartial(object) {
4139
+ const message = createBaseMsgSetSetName();
4140
+ message.creator = object.creator ?? "";
4141
+ message.setId = object.setId ?? 0;
4142
+ message.name = object.name ?? "";
4143
+ return message;
4144
+ },
4145
+ };
4146
+ function createBaseMsgSetSetNameResponse() {
4147
+ return {};
4148
+ }
4149
+ export const MsgSetSetNameResponse = {
4150
+ encode(_, writer = _m0.Writer.create()) {
4151
+ return writer;
4152
+ },
4153
+ decode(input, length) {
4154
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
4155
+ let end = length === undefined ? reader.len : reader.pos + length;
4156
+ const message = createBaseMsgSetSetNameResponse();
4157
+ while (reader.pos < end) {
4158
+ const tag = reader.uint32();
4159
+ switch (tag >>> 3) {
4160
+ default:
4161
+ reader.skipType(tag & 7);
4162
+ break;
4163
+ }
4164
+ }
4165
+ return message;
4166
+ },
4167
+ fromJSON(_) {
4168
+ return {};
4169
+ },
4170
+ toJSON(_) {
4171
+ const obj = {};
4172
+ return obj;
4173
+ },
4174
+ fromPartial(_) {
4175
+ const message = createBaseMsgSetSetNameResponse();
4176
+ return message;
4177
+ },
4178
+ };
4084
4179
  export class MsgClientImpl {
4085
4180
  constructor(rpc) {
4086
4181
  this.rpc = rpc;
@@ -4097,19 +4192,19 @@ export class MsgClientImpl {
4097
4192
  this.ReportMatch = this.ReportMatch.bind(this);
4098
4193
  this.SubmitMatchReporterProposal = this.SubmitMatchReporterProposal.bind(this);
4099
4194
  this.ApointMatchReporter = this.ApointMatchReporter.bind(this);
4100
- this.CreateCollection = this.CreateCollection.bind(this);
4101
- this.AddCardToCollection = this.AddCardToCollection.bind(this);
4102
- this.FinalizeCollection = this.FinalizeCollection.bind(this);
4103
- this.BuyCollection = this.BuyCollection.bind(this);
4104
- this.RemoveCardFromCollection = this.RemoveCardFromCollection.bind(this);
4105
- this.RemoveContributorFromCollection = this.RemoveContributorFromCollection.bind(this);
4106
- this.AddContributorToCollection = this.AddContributorToCollection.bind(this);
4107
- this.SubmitCollectionProposal = this.SubmitCollectionProposal.bind(this);
4195
+ this.CreateSet = this.CreateSet.bind(this);
4196
+ this.AddCardToSet = this.AddCardToSet.bind(this);
4197
+ this.FinalizeSet = this.FinalizeSet.bind(this);
4198
+ this.BuyBoosterPack = this.BuyBoosterPack.bind(this);
4199
+ this.RemoveCardFromSet = this.RemoveCardFromSet.bind(this);
4200
+ this.RemoveContributorFromSet = this.RemoveContributorFromSet.bind(this);
4201
+ this.AddContributorToSet = this.AddContributorToSet.bind(this);
4202
+ this.SubmitSetProposal = this.SubmitSetProposal.bind(this);
4108
4203
  this.CreateSellOffer = this.CreateSellOffer.bind(this);
4109
4204
  this.BuyCard = this.BuyCard.bind(this);
4110
4205
  this.RemoveSellOffer = this.RemoveSellOffer.bind(this);
4111
- this.AddArtworkToCollection = this.AddArtworkToCollection.bind(this);
4112
- this.AddStoryToCollection = this.AddStoryToCollection.bind(this);
4206
+ this.AddArtworkToSet = this.AddArtworkToSet.bind(this);
4207
+ this.AddStoryToSet = this.AddStoryToSet.bind(this);
4113
4208
  this.SetCardRarity = this.SetCardRarity.bind(this);
4114
4209
  this.CreateCouncil = this.CreateCouncil.bind(this);
4115
4210
  this.CommitCouncilResponse = this.CommitCouncilResponse.bind(this);
@@ -4120,12 +4215,13 @@ export class MsgClientImpl {
4120
4215
  this.SetProfileCard = this.SetProfileCard.bind(this);
4121
4216
  this.OpenBoosterPack = this.OpenBoosterPack.bind(this);
4122
4217
  this.TransferBoosterPack = this.TransferBoosterPack.bind(this);
4123
- this.SetCollectionStoryWriter = this.SetCollectionStoryWriter.bind(this);
4124
- this.SetCollectionArtist = this.SetCollectionArtist.bind(this);
4218
+ this.SetSetStoryWriter = this.SetSetStoryWriter.bind(this);
4219
+ this.SetSetArtist = this.SetSetArtist.bind(this);
4125
4220
  this.SetUserWebsite = this.SetUserWebsite.bind(this);
4126
4221
  this.SetUserBiography = this.SetUserBiography.bind(this);
4127
4222
  this.MultiVoteCard = this.MultiVoteCard.bind(this);
4128
- this.MsgOpenMatch = this.MsgOpenMatch.bind(this);
4223
+ this.OpenMatch = this.OpenMatch.bind(this);
4224
+ this.SetSetName = this.SetSetName.bind(this);
4129
4225
  }
4130
4226
  Createuser(request) {
4131
4227
  const data = MsgCreateuser.encode(request).finish();
@@ -4192,45 +4288,45 @@ export class MsgClientImpl {
4192
4288
  const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "ApointMatchReporter", data);
4193
4289
  return promise.then((data) => MsgApointMatchReporterResponse.decode(new _m0.Reader(data)));
4194
4290
  }
4195
- CreateCollection(request) {
4196
- const data = MsgCreateCollection.encode(request).finish();
4197
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "CreateCollection", data);
4198
- return promise.then((data) => MsgCreateCollectionResponse.decode(new _m0.Reader(data)));
4291
+ CreateSet(request) {
4292
+ const data = MsgCreateSet.encode(request).finish();
4293
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "CreateSet", data);
4294
+ return promise.then((data) => MsgCreateSetResponse.decode(new _m0.Reader(data)));
4199
4295
  }
4200
- AddCardToCollection(request) {
4201
- const data = MsgAddCardToCollection.encode(request).finish();
4202
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddCardToCollection", data);
4203
- return promise.then((data) => MsgAddCardToCollectionResponse.decode(new _m0.Reader(data)));
4296
+ AddCardToSet(request) {
4297
+ const data = MsgAddCardToSet.encode(request).finish();
4298
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddCardToSet", data);
4299
+ return promise.then((data) => MsgAddCardToSetResponse.decode(new _m0.Reader(data)));
4204
4300
  }
4205
- FinalizeCollection(request) {
4206
- const data = MsgFinalizeCollection.encode(request).finish();
4207
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "FinalizeCollection", data);
4208
- return promise.then((data) => MsgFinalizeCollectionResponse.decode(new _m0.Reader(data)));
4301
+ FinalizeSet(request) {
4302
+ const data = MsgFinalizeSet.encode(request).finish();
4303
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "FinalizeSet", data);
4304
+ return promise.then((data) => MsgFinalizeSetResponse.decode(new _m0.Reader(data)));
4209
4305
  }
4210
- BuyCollection(request) {
4211
- const data = MsgBuyCollection.encode(request).finish();
4212
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "BuyCollection", data);
4213
- return promise.then((data) => MsgBuyCollectionResponse.decode(new _m0.Reader(data)));
4306
+ BuyBoosterPack(request) {
4307
+ const data = MsgBuyBoosterPack.encode(request).finish();
4308
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "BuyBoosterPack", data);
4309
+ return promise.then((data) => MsgBuyBoosterPackResponse.decode(new _m0.Reader(data)));
4214
4310
  }
4215
- RemoveCardFromCollection(request) {
4216
- const data = MsgRemoveCardFromCollection.encode(request).finish();
4217
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveCardFromCollection", data);
4218
- return promise.then((data) => MsgRemoveCardFromCollectionResponse.decode(new _m0.Reader(data)));
4311
+ RemoveCardFromSet(request) {
4312
+ const data = MsgRemoveCardFromSet.encode(request).finish();
4313
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveCardFromSet", data);
4314
+ return promise.then((data) => MsgRemoveCardFromSetResponse.decode(new _m0.Reader(data)));
4219
4315
  }
4220
- RemoveContributorFromCollection(request) {
4221
- const data = MsgRemoveContributorFromCollection.encode(request).finish();
4222
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveContributorFromCollection", data);
4223
- return promise.then((data) => MsgRemoveContributorFromCollectionResponse.decode(new _m0.Reader(data)));
4316
+ RemoveContributorFromSet(request) {
4317
+ const data = MsgRemoveContributorFromSet.encode(request).finish();
4318
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveContributorFromSet", data);
4319
+ return promise.then((data) => MsgRemoveContributorFromSetResponse.decode(new _m0.Reader(data)));
4224
4320
  }
4225
- AddContributorToCollection(request) {
4226
- const data = MsgAddContributorToCollection.encode(request).finish();
4227
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddContributorToCollection", data);
4228
- return promise.then((data) => MsgAddContributorToCollectionResponse.decode(new _m0.Reader(data)));
4321
+ AddContributorToSet(request) {
4322
+ const data = MsgAddContributorToSet.encode(request).finish();
4323
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddContributorToSet", data);
4324
+ return promise.then((data) => MsgAddContributorToSetResponse.decode(new _m0.Reader(data)));
4229
4325
  }
4230
- SubmitCollectionProposal(request) {
4231
- const data = MsgSubmitCollectionProposal.encode(request).finish();
4232
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SubmitCollectionProposal", data);
4233
- return promise.then((data) => MsgSubmitCollectionProposalResponse.decode(new _m0.Reader(data)));
4326
+ SubmitSetProposal(request) {
4327
+ const data = MsgSubmitSetProposal.encode(request).finish();
4328
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SubmitSetProposal", data);
4329
+ return promise.then((data) => MsgSubmitSetProposalResponse.decode(new _m0.Reader(data)));
4234
4330
  }
4235
4331
  CreateSellOffer(request) {
4236
4332
  const data = MsgCreateSellOffer.encode(request).finish();
@@ -4247,15 +4343,15 @@ export class MsgClientImpl {
4247
4343
  const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveSellOffer", data);
4248
4344
  return promise.then((data) => MsgRemoveSellOfferResponse.decode(new _m0.Reader(data)));
4249
4345
  }
4250
- AddArtworkToCollection(request) {
4251
- const data = MsgAddArtworkToCollection.encode(request).finish();
4252
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddArtworkToCollection", data);
4253
- return promise.then((data) => MsgAddArtworkToCollectionResponse.decode(new _m0.Reader(data)));
4346
+ AddArtworkToSet(request) {
4347
+ const data = MsgAddArtworkToSet.encode(request).finish();
4348
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddArtworkToSet", data);
4349
+ return promise.then((data) => MsgAddArtworkToSetResponse.decode(new _m0.Reader(data)));
4254
4350
  }
4255
- AddStoryToCollection(request) {
4256
- const data = MsgAddStoryToCollection.encode(request).finish();
4257
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddStoryToCollection", data);
4258
- return promise.then((data) => MsgAddStoryToCollectionResponse.decode(new _m0.Reader(data)));
4351
+ AddStoryToSet(request) {
4352
+ const data = MsgAddStoryToSet.encode(request).finish();
4353
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddStoryToSet", data);
4354
+ return promise.then((data) => MsgAddStoryToSetResponse.decode(new _m0.Reader(data)));
4259
4355
  }
4260
4356
  SetCardRarity(request) {
4261
4357
  const data = MsgSetCardRarity.encode(request).finish();
@@ -4307,15 +4403,15 @@ export class MsgClientImpl {
4307
4403
  const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "TransferBoosterPack", data);
4308
4404
  return promise.then((data) => MsgTransferBoosterPackResponse.decode(new _m0.Reader(data)));
4309
4405
  }
4310
- SetCollectionStoryWriter(request) {
4311
- const data = MsgSetCollectionStoryWriter.encode(request).finish();
4312
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetCollectionStoryWriter", data);
4313
- return promise.then((data) => MsgSetCollectionStoryWriterResponse.decode(new _m0.Reader(data)));
4406
+ SetSetStoryWriter(request) {
4407
+ const data = MsgSetSetStoryWriter.encode(request).finish();
4408
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetSetStoryWriter", data);
4409
+ return promise.then((data) => MsgSetSetStoryWriterResponse.decode(new _m0.Reader(data)));
4314
4410
  }
4315
- SetCollectionArtist(request) {
4316
- const data = MsgSetCollectionArtist.encode(request).finish();
4317
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetCollectionArtist", data);
4318
- return promise.then((data) => MsgSetCollectionArtistResponse.decode(new _m0.Reader(data)));
4411
+ SetSetArtist(request) {
4412
+ const data = MsgSetSetArtist.encode(request).finish();
4413
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetSetArtist", data);
4414
+ return promise.then((data) => MsgSetSetArtistResponse.decode(new _m0.Reader(data)));
4319
4415
  }
4320
4416
  SetUserWebsite(request) {
4321
4417
  const data = MsgSetUserWebsite.encode(request).finish();
@@ -4332,10 +4428,15 @@ export class MsgClientImpl {
4332
4428
  const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "MultiVoteCard", data);
4333
4429
  return promise.then((data) => MsgMultiVoteCardResponse.decode(new _m0.Reader(data)));
4334
4430
  }
4335
- MsgOpenMatch(request) {
4336
- const data = MsgMsgOpenMatch.encode(request).finish();
4337
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "MsgOpenMatch", data);
4338
- return promise.then((data) => MsgMsgOpenMatchResponse.decode(new _m0.Reader(data)));
4431
+ OpenMatch(request) {
4432
+ const data = MsgOpenMatch.encode(request).finish();
4433
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "OpenMatch", data);
4434
+ return promise.then((data) => MsgOpenMatchResponse.decode(new _m0.Reader(data)));
4435
+ }
4436
+ SetSetName(request) {
4437
+ const data = MsgSetSetName.encode(request).finish();
4438
+ const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetSetName", data);
4439
+ return promise.then((data) => MsgSetSetNameResponse.decode(new _m0.Reader(data)));
4339
4440
  }
4340
4441
  }
4341
4442
  var globalThis = (() => {