decentralcardgame-cardchain-client-ts 0.0.26 → 0.0.28

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 (71) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +482 -302
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +1577 -1294
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +66 -62
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +66 -62
  5. package/DecentralCardGame.cardchain.cardchain/rest.ts +12 -0
  6. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +10 -0
  7. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +11 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +182 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +226 -0
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +74 -0
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +87 -0
  12. package/DecentralCardGame.cardchain.cardchain/types.js +2 -1
  13. package/DecentralCardGame.cardchain.cardchain/types.ts +2 -0
  14. package/client.js +4 -1
  15. package/client.ts +161 -154
  16. package/ibc.core.channel.v1/module.js +4 -1
  17. package/ibc.core.channel.v1/module.ts +81 -79
  18. package/ibc.core.client.v1/module.js +4 -1
  19. package/ibc.core.client.v1/module.ts +83 -81
  20. package/ibc.core.connection.v1/module.js +4 -1
  21. package/ibc.core.connection.v1/module.ts +79 -77
  22. package/package.json +1 -1
  23. package/tsconfig.json +10 -10
  24. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/card.js +0 -832
  25. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/card.ts +0 -954
  26. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/copyright_proposal.js +0 -126
  27. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/copyright_proposal.ts +0 -162
  28. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/council.js +0 -407
  29. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/council.ts +0 -481
  30. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/genesis.js +0 -272
  31. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/genesis.ts +0 -324
  32. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/image.js +0 -96
  33. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/image.ts +0 -124
  34. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/match.js +0 -364
  35. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/match.ts +0 -435
  36. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/match_reporter_proposal.js +0 -86
  37. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/match_reporter_proposal.ts +0 -114
  38. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/num.js +0 -82
  39. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/num.ts +0 -112
  40. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/params.js +0 -435
  41. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/params.ts +0 -512
  42. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/query.js +0 -2204
  43. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/query.ts +0 -2687
  44. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/running_average.js +0 -88
  45. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/running_average.ts +0 -120
  46. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/sell_offer.js +0 -177
  47. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/sell_offer.ts +0 -217
  48. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/server.js +0 -112
  49. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/server.ts +0 -146
  50. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/set.js +0 -441
  51. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/set.ts +0 -522
  52. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/set_proposal.js +0 -112
  53. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/set_proposal.ts +0 -146
  54. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/tx.js +0 -5079
  55. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/tx.ts +0 -6194
  56. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/user.js +0 -631
  57. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/user.ts +0 -748
  58. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting.js +0 -416
  59. package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting.ts +0 -494
  60. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/flag.js +0 -86
  61. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/flag.ts +0 -114
  62. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/genesis.js +0 -164
  63. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/genesis.ts +0 -205
  64. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/params.js +0 -40
  65. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/params.ts +0 -62
  66. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/proposal.js +0 -100
  67. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/proposal.ts +0 -130
  68. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/query.js +0 -325
  69. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/query.ts +0 -424
  70. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/tx.js +0 -9
  71. package/DecentralCardGame.cardchain.featureflag/types/DecentralCardGame/cardchain/featureflag/tx.ts +0 -21
@@ -3,47 +3,49 @@ import { SigningStargateClient } from "@cosmjs/stargate";
3
3
  import { Registry } from "@cosmjs/proto-signing";
4
4
  import { msgTypes } from './registry';
5
5
  import { Api } from "./rest";
6
- import { MsgCreateSet } from "./types/cardchain/cardchain/tx";
7
- import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
8
- import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
9
- import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
10
6
  import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
7
+ import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
8
+ import { MsgSetSetStoryWriter } from "./types/cardchain/cardchain/tx";
9
+ import { MsgChangeAlias } from "./types/cardchain/cardchain/tx";
10
+ import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
11
11
  import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
12
- import { MsgRemoveCardFromSet } from "./types/cardchain/cardchain/tx";
13
- import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
14
- import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
12
+ import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
13
+ import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
14
+ import { MsgSetSetArtist } from "./types/cardchain/cardchain/tx";
15
+ import { MsgFinalizeSet } from "./types/cardchain/cardchain/tx";
16
+ import { MsgOpenMatch } from "./types/cardchain/cardchain/tx";
17
+ import { MsgAddArtworkToSet } from "./types/cardchain/cardchain/tx";
18
+ import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
19
+ import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
20
+ import { MsgDisinviteEarlyAccess } from "./types/cardchain/cardchain/tx";
21
+ import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
22
+ import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
23
+ import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
24
+ import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
25
+ import { MsgAddStoryToSet } from "./types/cardchain/cardchain/tx";
26
+ import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
15
27
  import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
16
28
  import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
29
+ import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
30
+ import { MsgAddCardToSet } from "./types/cardchain/cardchain/tx";
31
+ import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
17
32
  import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
18
- import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
19
- import { MsgBuyBoosterPack } from "./types/cardchain/cardchain/tx";
20
- import { MsgRemoveContributorFromSet } from "./types/cardchain/cardchain/tx";
21
- import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
22
- import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
23
33
  import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
24
- import { MsgSetSetArtist } from "./types/cardchain/cardchain/tx";
25
- import { MsgAddStoryToSet } from "./types/cardchain/cardchain/tx";
26
- import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
27
- import { MsgAddContributorToSet } from "./types/cardchain/cardchain/tx";
28
- import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
29
- import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
30
- import { MsgFinalizeSet } from "./types/cardchain/cardchain/tx";
31
- import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
32
34
  import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
33
- import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
34
- import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
35
- import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
36
- import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
37
- import { MsgChangeAlias } from "./types/cardchain/cardchain/tx";
38
- import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
35
+ import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
39
36
  import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
37
+ import { MsgBuyBoosterPack } from "./types/cardchain/cardchain/tx";
38
+ import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
40
39
  import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
41
- import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
42
- import { MsgOpenMatch } from "./types/cardchain/cardchain/tx";
43
- import { MsgAddCardToSet } from "./types/cardchain/cardchain/tx";
44
- import { MsgAddArtworkToSet } from "./types/cardchain/cardchain/tx";
45
- import { MsgSetSetStoryWriter } from "./types/cardchain/cardchain/tx";
40
+ import { MsgAddContributorToSet } from "./types/cardchain/cardchain/tx";
41
+ import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
42
+ import { MsgRemoveCardFromSet } from "./types/cardchain/cardchain/tx";
43
+ import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
44
+ import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
45
+ import { MsgCreateSet } from "./types/cardchain/cardchain/tx";
46
+ import { MsgRemoveContributorFromSet } from "./types/cardchain/cardchain/tx";
46
47
  import { MsgSetSetName } from "./types/cardchain/cardchain/tx";
48
+ import { MsgInviteEarlyAccess } from "./types/cardchain/cardchain/tx";
47
49
  import { Card as typeCard } from "./types";
48
50
  import { TimeStamp as typeTimeStamp } from "./types";
49
51
  import { CopyrightProposal as typeCopyrightProposal } from "./types";
@@ -62,12 +64,13 @@ import { Set as typeSet } from "./types";
62
64
  import { InnerRarities as typeInnerRarities } from "./types";
63
65
  import { AddrWithQuantity as typeAddrWithQuantity } from "./types";
64
66
  import { SetProposal as typeSetProposal } from "./types";
67
+ import { EarlyAccess as typeEarlyAccess } from "./types";
65
68
  import { BoosterPack as typeBoosterPack } from "./types";
66
69
  import { AirDrops as typeAirDrops } from "./types";
67
70
  import { VotingResults as typeVotingResults } from "./types";
68
71
  import { VotingResult as typeVotingResult } from "./types";
69
72
  import { SingleVote as typeSingleVote } from "./types";
70
- export { MsgCreateSet, MsgSetProfileCard, MsgRestartCouncil, MsgConfirmMatch, MsgSetUserWebsite, MsgRevealCouncilResponse, MsgRemoveCardFromSet, MsgBuyCardScheme, MsgSetCardRarity, MsgVoteCard, MsgAddArtwork, MsgReportMatch, MsgSetUserBiography, MsgBuyBoosterPack, MsgRemoveContributorFromSet, MsgRegisterForCouncil, MsgTransferBoosterPack, MsgRemoveSellOffer, MsgSetSetArtist, MsgAddStoryToSet, MsgBuyCard, MsgAddContributorToSet, MsgCreateSellOffer, MsgOpenBoosterPack, MsgFinalizeSet, MsgRewokeCouncilRegistration, MsgMultiVoteCard, MsgCreateCouncil, MsgCreateuser, MsgSaveCardContent, MsgCommitCouncilResponse, MsgChangeAlias, MsgChangeArtist, MsgTransferCard, MsgDonateToCard, MsgApointMatchReporter, MsgOpenMatch, MsgAddCardToSet, MsgAddArtworkToSet, MsgSetSetStoryWriter, MsgSetSetName };
73
+ export { MsgSetUserWebsite, MsgBuyCard, MsgSetSetStoryWriter, MsgChangeAlias, MsgTransferBoosterPack, MsgRevealCouncilResponse, MsgRewokeCouncilRegistration, MsgRestartCouncil, MsgSetSetArtist, MsgFinalizeSet, MsgOpenMatch, MsgAddArtworkToSet, MsgConfirmMatch, MsgCreateSellOffer, MsgDisinviteEarlyAccess, MsgCommitCouncilResponse, MsgSetProfileCard, MsgSaveCardContent, MsgApointMatchReporter, MsgAddStoryToSet, MsgRegisterForCouncil, MsgVoteCard, MsgAddArtwork, MsgSetCardRarity, MsgAddCardToSet, MsgChangeArtist, MsgReportMatch, MsgRemoveSellOffer, MsgMultiVoteCard, MsgBuyCardScheme, MsgTransferCard, MsgBuyBoosterPack, MsgCreateCouncil, MsgDonateToCard, MsgAddContributorToSet, MsgOpenBoosterPack, MsgRemoveCardFromSet, MsgSetUserBiography, MsgCreateuser, MsgCreateSet, MsgRemoveContributorFromSet, MsgSetSetName, MsgInviteEarlyAccess };
71
74
  export const registry = new Registry(msgTypes);
72
75
  function getStructure(template) {
73
76
  const structure = { fields: [] };
@@ -81,76 +84,79 @@ const defaultFee = {
81
84
  amount: [],
82
85
  gas: "200000",
83
86
  };
84
- export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
87
+ export const txClient = ({ signer, prefix, addr } = {
88
+ addr: "http://localhost:26657",
89
+ prefix: "cosmos"
90
+ }) => {
85
91
  return {
86
- async sendMsgCreateSet({ value, fee, memo }) {
92
+ async sendMsgSetUserWebsite({ value, fee, memo }) {
87
93
  if (!signer) {
88
- throw new Error('TxClient:sendMsgCreateSet: Unable to sign Tx. Signer is not present.');
94
+ throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.');
89
95
  }
90
96
  try {
91
97
  const { address } = (await signer.getAccounts())[0];
92
98
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
93
- let msg = this.msgCreateSet({ value: MsgCreateSet.fromPartial(value) });
99
+ let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) });
94
100
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
95
101
  }
96
102
  catch (e) {
97
- throw new Error('TxClient:sendMsgCreateSet: Could not broadcast Tx: ' + e.message);
103
+ throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: ' + e.message);
98
104
  }
99
105
  },
100
- async sendMsgSetProfileCard({ value, fee, memo }) {
106
+ async sendMsgBuyCard({ value, fee, memo }) {
101
107
  if (!signer) {
102
- throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.');
108
+ throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.');
103
109
  }
104
110
  try {
105
111
  const { address } = (await signer.getAccounts())[0];
106
112
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
107
- let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) });
113
+ let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) });
108
114
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
109
115
  }
110
116
  catch (e) {
111
- throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: ' + e.message);
117
+ throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: ' + e.message);
112
118
  }
113
119
  },
114
- async sendMsgRestartCouncil({ value, fee, memo }) {
120
+ async sendMsgSetSetStoryWriter({ value, fee, memo }) {
115
121
  if (!signer) {
116
- throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.');
122
+ throw new Error('TxClient:sendMsgSetSetStoryWriter: Unable to sign Tx. Signer is not present.');
117
123
  }
118
124
  try {
119
125
  const { address } = (await signer.getAccounts())[0];
120
126
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
121
- let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) });
127
+ let msg = this.msgSetSetStoryWriter({ value: MsgSetSetStoryWriter.fromPartial(value) });
122
128
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
123
129
  }
124
130
  catch (e) {
125
- throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: ' + e.message);
131
+ throw new Error('TxClient:sendMsgSetSetStoryWriter: Could not broadcast Tx: ' + e.message);
126
132
  }
127
133
  },
128
- async sendMsgConfirmMatch({ value, fee, memo }) {
134
+ async sendMsgChangeAlias({ value, fee, memo }) {
129
135
  if (!signer) {
130
- throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.');
136
+ throw new Error('TxClient:sendMsgChangeAlias: Unable to sign Tx. Signer is not present.');
131
137
  }
132
138
  try {
133
139
  const { address } = (await signer.getAccounts())[0];
134
140
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
135
- let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) });
141
+ let msg = this.msgChangeAlias({ value: MsgChangeAlias.fromPartial(value) });
136
142
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
137
143
  }
138
144
  catch (e) {
139
- throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: ' + e.message);
145
+ throw new Error('TxClient:sendMsgChangeAlias: Could not broadcast Tx: ' + e.message);
140
146
  }
141
147
  },
142
- async sendMsgSetUserWebsite({ value, fee, memo }) {
148
+ async sendMsgTransferBoosterPack({ value, fee, memo }) {
143
149
  if (!signer) {
144
- throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.');
150
+ throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.');
145
151
  }
146
152
  try {
147
153
  const { address } = (await signer.getAccounts())[0];
148
154
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
149
- let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) });
155
+ let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) });
150
156
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
151
157
  }
152
158
  catch (e) {
153
- throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: ' + e.message);
159
+ throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: ' + e.message);
154
160
  }
155
161
  },
156
162
  async sendMsgRevealCouncilResponse({ value, fee, memo }) {
@@ -167,186 +173,186 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
167
173
  throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: ' + e.message);
168
174
  }
169
175
  },
170
- async sendMsgRemoveCardFromSet({ value, fee, memo }) {
176
+ async sendMsgRewokeCouncilRegistration({ value, fee, memo }) {
171
177
  if (!signer) {
172
- throw new Error('TxClient:sendMsgRemoveCardFromSet: Unable to sign Tx. Signer is not present.');
178
+ throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.');
173
179
  }
174
180
  try {
175
181
  const { address } = (await signer.getAccounts())[0];
176
182
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
177
- let msg = this.msgRemoveCardFromSet({ value: MsgRemoveCardFromSet.fromPartial(value) });
183
+ let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) });
178
184
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
179
185
  }
180
186
  catch (e) {
181
- throw new Error('TxClient:sendMsgRemoveCardFromSet: Could not broadcast Tx: ' + e.message);
187
+ throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: ' + e.message);
182
188
  }
183
189
  },
184
- async sendMsgBuyCardScheme({ value, fee, memo }) {
190
+ async sendMsgRestartCouncil({ value, fee, memo }) {
185
191
  if (!signer) {
186
- throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.');
192
+ throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.');
187
193
  }
188
194
  try {
189
195
  const { address } = (await signer.getAccounts())[0];
190
196
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
191
- let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) });
197
+ let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) });
192
198
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
193
199
  }
194
200
  catch (e) {
195
- throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: ' + e.message);
201
+ throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: ' + e.message);
196
202
  }
197
203
  },
198
- async sendMsgSetCardRarity({ value, fee, memo }) {
204
+ async sendMsgSetSetArtist({ value, fee, memo }) {
199
205
  if (!signer) {
200
- throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.');
206
+ throw new Error('TxClient:sendMsgSetSetArtist: Unable to sign Tx. Signer is not present.');
201
207
  }
202
208
  try {
203
209
  const { address } = (await signer.getAccounts())[0];
204
210
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
205
- let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) });
211
+ let msg = this.msgSetSetArtist({ value: MsgSetSetArtist.fromPartial(value) });
206
212
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
207
213
  }
208
214
  catch (e) {
209
- throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: ' + e.message);
215
+ throw new Error('TxClient:sendMsgSetSetArtist: Could not broadcast Tx: ' + e.message);
210
216
  }
211
217
  },
212
- async sendMsgVoteCard({ value, fee, memo }) {
218
+ async sendMsgFinalizeSet({ value, fee, memo }) {
213
219
  if (!signer) {
214
- throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.');
220
+ throw new Error('TxClient:sendMsgFinalizeSet: Unable to sign Tx. Signer is not present.');
215
221
  }
216
222
  try {
217
223
  const { address } = (await signer.getAccounts())[0];
218
224
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
219
- let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) });
225
+ let msg = this.msgFinalizeSet({ value: MsgFinalizeSet.fromPartial(value) });
220
226
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
221
227
  }
222
228
  catch (e) {
223
- throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: ' + e.message);
229
+ throw new Error('TxClient:sendMsgFinalizeSet: Could not broadcast Tx: ' + e.message);
224
230
  }
225
231
  },
226
- async sendMsgAddArtwork({ value, fee, memo }) {
232
+ async sendMsgOpenMatch({ value, fee, memo }) {
227
233
  if (!signer) {
228
- throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.');
234
+ throw new Error('TxClient:sendMsgOpenMatch: Unable to sign Tx. Signer is not present.');
229
235
  }
230
236
  try {
231
237
  const { address } = (await signer.getAccounts())[0];
232
238
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
233
- let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) });
239
+ let msg = this.msgOpenMatch({ value: MsgOpenMatch.fromPartial(value) });
234
240
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
235
241
  }
236
242
  catch (e) {
237
- throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: ' + e.message);
243
+ throw new Error('TxClient:sendMsgOpenMatch: Could not broadcast Tx: ' + e.message);
238
244
  }
239
245
  },
240
- async sendMsgReportMatch({ value, fee, memo }) {
246
+ async sendMsgAddArtworkToSet({ value, fee, memo }) {
241
247
  if (!signer) {
242
- throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.');
248
+ throw new Error('TxClient:sendMsgAddArtworkToSet: Unable to sign Tx. Signer is not present.');
243
249
  }
244
250
  try {
245
251
  const { address } = (await signer.getAccounts())[0];
246
252
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
247
- let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) });
253
+ let msg = this.msgAddArtworkToSet({ value: MsgAddArtworkToSet.fromPartial(value) });
248
254
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
249
255
  }
250
256
  catch (e) {
251
- throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: ' + e.message);
257
+ throw new Error('TxClient:sendMsgAddArtworkToSet: Could not broadcast Tx: ' + e.message);
252
258
  }
253
259
  },
254
- async sendMsgSetUserBiography({ value, fee, memo }) {
260
+ async sendMsgConfirmMatch({ value, fee, memo }) {
255
261
  if (!signer) {
256
- throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.');
262
+ throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.');
257
263
  }
258
264
  try {
259
265
  const { address } = (await signer.getAccounts())[0];
260
266
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
261
- let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) });
267
+ let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) });
262
268
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
263
269
  }
264
270
  catch (e) {
265
- throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: ' + e.message);
271
+ throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: ' + e.message);
266
272
  }
267
273
  },
268
- async sendMsgBuyBoosterPack({ value, fee, memo }) {
274
+ async sendMsgCreateSellOffer({ value, fee, memo }) {
269
275
  if (!signer) {
270
- throw new Error('TxClient:sendMsgBuyBoosterPack: Unable to sign Tx. Signer is not present.');
276
+ throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.');
271
277
  }
272
278
  try {
273
279
  const { address } = (await signer.getAccounts())[0];
274
280
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
275
- let msg = this.msgBuyBoosterPack({ value: MsgBuyBoosterPack.fromPartial(value) });
281
+ let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) });
276
282
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
277
283
  }
278
284
  catch (e) {
279
- throw new Error('TxClient:sendMsgBuyBoosterPack: Could not broadcast Tx: ' + e.message);
285
+ throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: ' + e.message);
280
286
  }
281
287
  },
282
- async sendMsgRemoveContributorFromSet({ value, fee, memo }) {
288
+ async sendMsgDisinviteEarlyAccess({ value, fee, memo }) {
283
289
  if (!signer) {
284
- throw new Error('TxClient:sendMsgRemoveContributorFromSet: Unable to sign Tx. Signer is not present.');
290
+ throw new Error('TxClient:sendMsgDisinviteEarlyAccess: Unable to sign Tx. Signer is not present.');
285
291
  }
286
292
  try {
287
293
  const { address } = (await signer.getAccounts())[0];
288
294
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
289
- let msg = this.msgRemoveContributorFromSet({ value: MsgRemoveContributorFromSet.fromPartial(value) });
295
+ let msg = this.msgDisinviteEarlyAccess({ value: MsgDisinviteEarlyAccess.fromPartial(value) });
290
296
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
291
297
  }
292
298
  catch (e) {
293
- throw new Error('TxClient:sendMsgRemoveContributorFromSet: Could not broadcast Tx: ' + e.message);
299
+ throw new Error('TxClient:sendMsgDisinviteEarlyAccess: Could not broadcast Tx: ' + e.message);
294
300
  }
295
301
  },
296
- async sendMsgRegisterForCouncil({ value, fee, memo }) {
302
+ async sendMsgCommitCouncilResponse({ value, fee, memo }) {
297
303
  if (!signer) {
298
- throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.');
304
+ throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.');
299
305
  }
300
306
  try {
301
307
  const { address } = (await signer.getAccounts())[0];
302
308
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
303
- let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) });
309
+ let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) });
304
310
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
305
311
  }
306
312
  catch (e) {
307
- throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: ' + e.message);
313
+ throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: ' + e.message);
308
314
  }
309
315
  },
310
- async sendMsgTransferBoosterPack({ value, fee, memo }) {
316
+ async sendMsgSetProfileCard({ value, fee, memo }) {
311
317
  if (!signer) {
312
- throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.');
318
+ throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.');
313
319
  }
314
320
  try {
315
321
  const { address } = (await signer.getAccounts())[0];
316
322
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
317
- let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) });
323
+ let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) });
318
324
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
319
325
  }
320
326
  catch (e) {
321
- throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: ' + e.message);
327
+ throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: ' + e.message);
322
328
  }
323
329
  },
324
- async sendMsgRemoveSellOffer({ value, fee, memo }) {
330
+ async sendMsgSaveCardContent({ value, fee, memo }) {
325
331
  if (!signer) {
326
- throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.');
332
+ throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.');
327
333
  }
328
334
  try {
329
335
  const { address } = (await signer.getAccounts())[0];
330
336
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
331
- let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) });
337
+ let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) });
332
338
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
333
339
  }
334
340
  catch (e) {
335
- throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: ' + e.message);
341
+ throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: ' + e.message);
336
342
  }
337
343
  },
338
- async sendMsgSetSetArtist({ value, fee, memo }) {
344
+ async sendMsgApointMatchReporter({ value, fee, memo }) {
339
345
  if (!signer) {
340
- throw new Error('TxClient:sendMsgSetSetArtist: Unable to sign Tx. Signer is not present.');
346
+ throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.');
341
347
  }
342
348
  try {
343
349
  const { address } = (await signer.getAccounts())[0];
344
350
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
345
- let msg = this.msgSetSetArtist({ value: MsgSetSetArtist.fromPartial(value) });
351
+ let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) });
346
352
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
347
353
  }
348
354
  catch (e) {
349
- throw new Error('TxClient:sendMsgSetSetArtist: Could not broadcast Tx: ' + e.message);
355
+ throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: ' + e.message);
350
356
  }
351
357
  },
352
358
  async sendMsgAddStoryToSet({ value, fee, memo }) {
@@ -363,88 +369,116 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
363
369
  throw new Error('TxClient:sendMsgAddStoryToSet: Could not broadcast Tx: ' + e.message);
364
370
  }
365
371
  },
366
- async sendMsgBuyCard({ value, fee, memo }) {
372
+ async sendMsgRegisterForCouncil({ value, fee, memo }) {
367
373
  if (!signer) {
368
- throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.');
374
+ throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.');
369
375
  }
370
376
  try {
371
377
  const { address } = (await signer.getAccounts())[0];
372
378
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
373
- let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) });
379
+ let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) });
374
380
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
375
381
  }
376
382
  catch (e) {
377
- throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: ' + e.message);
383
+ throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: ' + e.message);
378
384
  }
379
385
  },
380
- async sendMsgAddContributorToSet({ value, fee, memo }) {
386
+ async sendMsgVoteCard({ value, fee, memo }) {
381
387
  if (!signer) {
382
- throw new Error('TxClient:sendMsgAddContributorToSet: Unable to sign Tx. Signer is not present.');
388
+ throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.');
383
389
  }
384
390
  try {
385
391
  const { address } = (await signer.getAccounts())[0];
386
392
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
387
- let msg = this.msgAddContributorToSet({ value: MsgAddContributorToSet.fromPartial(value) });
393
+ let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) });
388
394
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
389
395
  }
390
396
  catch (e) {
391
- throw new Error('TxClient:sendMsgAddContributorToSet: Could not broadcast Tx: ' + e.message);
397
+ throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: ' + e.message);
392
398
  }
393
399
  },
394
- async sendMsgCreateSellOffer({ value, fee, memo }) {
400
+ async sendMsgAddArtwork({ value, fee, memo }) {
395
401
  if (!signer) {
396
- throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.');
402
+ throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.');
397
403
  }
398
404
  try {
399
405
  const { address } = (await signer.getAccounts())[0];
400
406
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
401
- let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) });
407
+ let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) });
402
408
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
403
409
  }
404
410
  catch (e) {
405
- throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: ' + e.message);
411
+ throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: ' + e.message);
406
412
  }
407
413
  },
408
- async sendMsgOpenBoosterPack({ value, fee, memo }) {
414
+ async sendMsgSetCardRarity({ value, fee, memo }) {
409
415
  if (!signer) {
410
- throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.');
416
+ throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.');
411
417
  }
412
418
  try {
413
419
  const { address } = (await signer.getAccounts())[0];
414
420
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
415
- let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) });
421
+ let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) });
416
422
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
417
423
  }
418
424
  catch (e) {
419
- throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: ' + e.message);
425
+ throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: ' + e.message);
420
426
  }
421
427
  },
422
- async sendMsgFinalizeSet({ value, fee, memo }) {
428
+ async sendMsgAddCardToSet({ value, fee, memo }) {
423
429
  if (!signer) {
424
- throw new Error('TxClient:sendMsgFinalizeSet: Unable to sign Tx. Signer is not present.');
430
+ throw new Error('TxClient:sendMsgAddCardToSet: Unable to sign Tx. Signer is not present.');
425
431
  }
426
432
  try {
427
433
  const { address } = (await signer.getAccounts())[0];
428
434
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
429
- let msg = this.msgFinalizeSet({ value: MsgFinalizeSet.fromPartial(value) });
435
+ let msg = this.msgAddCardToSet({ value: MsgAddCardToSet.fromPartial(value) });
430
436
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
431
437
  }
432
438
  catch (e) {
433
- throw new Error('TxClient:sendMsgFinalizeSet: Could not broadcast Tx: ' + e.message);
439
+ throw new Error('TxClient:sendMsgAddCardToSet: Could not broadcast Tx: ' + e.message);
434
440
  }
435
441
  },
436
- async sendMsgRewokeCouncilRegistration({ value, fee, memo }) {
442
+ async sendMsgChangeArtist({ value, fee, memo }) {
437
443
  if (!signer) {
438
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.');
444
+ throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.');
439
445
  }
440
446
  try {
441
447
  const { address } = (await signer.getAccounts())[0];
442
448
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
443
- let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) });
449
+ let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) });
444
450
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
445
451
  }
446
452
  catch (e) {
447
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: ' + e.message);
453
+ throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: ' + e.message);
454
+ }
455
+ },
456
+ async sendMsgReportMatch({ value, fee, memo }) {
457
+ if (!signer) {
458
+ throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.');
459
+ }
460
+ try {
461
+ const { address } = (await signer.getAccounts())[0];
462
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
463
+ let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) });
464
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
465
+ }
466
+ catch (e) {
467
+ throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: ' + e.message);
468
+ }
469
+ },
470
+ async sendMsgRemoveSellOffer({ value, fee, memo }) {
471
+ if (!signer) {
472
+ throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.');
473
+ }
474
+ try {
475
+ const { address } = (await signer.getAccounts())[0];
476
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
477
+ let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) });
478
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
479
+ }
480
+ catch (e) {
481
+ throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: ' + e.message);
448
482
  }
449
483
  },
450
484
  async sendMsgMultiVoteCard({ value, fee, memo }) {
@@ -461,530 +495,675 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
461
495
  throw new Error('TxClient:sendMsgMultiVoteCard: Could not broadcast Tx: ' + e.message);
462
496
  }
463
497
  },
464
- async sendMsgCreateCouncil({ value, fee, memo }) {
498
+ async sendMsgBuyCardScheme({ value, fee, memo }) {
465
499
  if (!signer) {
466
- throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.');
500
+ throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.');
467
501
  }
468
502
  try {
469
503
  const { address } = (await signer.getAccounts())[0];
470
504
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
471
- let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) });
505
+ let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) });
472
506
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
473
507
  }
474
508
  catch (e) {
475
- throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: ' + e.message);
509
+ throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: ' + e.message);
476
510
  }
477
511
  },
478
- async sendMsgCreateuser({ value, fee, memo }) {
512
+ async sendMsgTransferCard({ value, fee, memo }) {
479
513
  if (!signer) {
480
- throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.');
514
+ throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.');
481
515
  }
482
516
  try {
483
517
  const { address } = (await signer.getAccounts())[0];
484
518
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
485
- let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) });
519
+ let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) });
486
520
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
487
521
  }
488
522
  catch (e) {
489
- throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: ' + e.message);
523
+ throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: ' + e.message);
490
524
  }
491
525
  },
492
- async sendMsgSaveCardContent({ value, fee, memo }) {
526
+ async sendMsgBuyBoosterPack({ value, fee, memo }) {
493
527
  if (!signer) {
494
- throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.');
528
+ throw new Error('TxClient:sendMsgBuyBoosterPack: Unable to sign Tx. Signer is not present.');
495
529
  }
496
530
  try {
497
531
  const { address } = (await signer.getAccounts())[0];
498
532
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
499
- let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) });
533
+ let msg = this.msgBuyBoosterPack({ value: MsgBuyBoosterPack.fromPartial(value) });
500
534
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
501
535
  }
502
536
  catch (e) {
503
- throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: ' + e.message);
537
+ throw new Error('TxClient:sendMsgBuyBoosterPack: Could not broadcast Tx: ' + e.message);
504
538
  }
505
539
  },
506
- async sendMsgCommitCouncilResponse({ value, fee, memo }) {
540
+ async sendMsgCreateCouncil({ value, fee, memo }) {
507
541
  if (!signer) {
508
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.');
542
+ throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.');
509
543
  }
510
544
  try {
511
545
  const { address } = (await signer.getAccounts())[0];
512
546
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
513
- let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) });
547
+ let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) });
514
548
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
515
549
  }
516
550
  catch (e) {
517
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: ' + e.message);
551
+ throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: ' + e.message);
518
552
  }
519
553
  },
520
- async sendMsgChangeAlias({ value, fee, memo }) {
554
+ async sendMsgDonateToCard({ value, fee, memo }) {
521
555
  if (!signer) {
522
- throw new Error('TxClient:sendMsgChangeAlias: Unable to sign Tx. Signer is not present.');
556
+ throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.');
523
557
  }
524
558
  try {
525
559
  const { address } = (await signer.getAccounts())[0];
526
560
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
527
- let msg = this.msgChangeAlias({ value: MsgChangeAlias.fromPartial(value) });
561
+ let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) });
528
562
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
529
563
  }
530
564
  catch (e) {
531
- throw new Error('TxClient:sendMsgChangeAlias: Could not broadcast Tx: ' + e.message);
565
+ throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: ' + e.message);
532
566
  }
533
567
  },
534
- async sendMsgChangeArtist({ value, fee, memo }) {
568
+ async sendMsgAddContributorToSet({ value, fee, memo }) {
535
569
  if (!signer) {
536
- throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.');
570
+ throw new Error('TxClient:sendMsgAddContributorToSet: Unable to sign Tx. Signer is not present.');
537
571
  }
538
572
  try {
539
573
  const { address } = (await signer.getAccounts())[0];
540
574
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
541
- let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) });
575
+ let msg = this.msgAddContributorToSet({ value: MsgAddContributorToSet.fromPartial(value) });
542
576
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
543
577
  }
544
578
  catch (e) {
545
- throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: ' + e.message);
579
+ throw new Error('TxClient:sendMsgAddContributorToSet: Could not broadcast Tx: ' + e.message);
546
580
  }
547
581
  },
548
- async sendMsgTransferCard({ value, fee, memo }) {
582
+ async sendMsgOpenBoosterPack({ value, fee, memo }) {
549
583
  if (!signer) {
550
- throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.');
584
+ throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.');
551
585
  }
552
586
  try {
553
587
  const { address } = (await signer.getAccounts())[0];
554
588
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
555
- let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) });
589
+ let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) });
556
590
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
557
591
  }
558
592
  catch (e) {
559
- throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: ' + e.message);
593
+ throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: ' + e.message);
560
594
  }
561
595
  },
562
- async sendMsgDonateToCard({ value, fee, memo }) {
596
+ async sendMsgRemoveCardFromSet({ value, fee, memo }) {
563
597
  if (!signer) {
564
- throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.');
598
+ throw new Error('TxClient:sendMsgRemoveCardFromSet: Unable to sign Tx. Signer is not present.');
565
599
  }
566
600
  try {
567
601
  const { address } = (await signer.getAccounts())[0];
568
602
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
569
- let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) });
603
+ let msg = this.msgRemoveCardFromSet({ value: MsgRemoveCardFromSet.fromPartial(value) });
570
604
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
571
605
  }
572
606
  catch (e) {
573
- throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: ' + e.message);
607
+ throw new Error('TxClient:sendMsgRemoveCardFromSet: Could not broadcast Tx: ' + e.message);
574
608
  }
575
609
  },
576
- async sendMsgApointMatchReporter({ value, fee, memo }) {
610
+ async sendMsgSetUserBiography({ value, fee, memo }) {
577
611
  if (!signer) {
578
- throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.');
612
+ throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.');
579
613
  }
580
614
  try {
581
615
  const { address } = (await signer.getAccounts())[0];
582
616
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
583
- let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) });
617
+ let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) });
584
618
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
585
619
  }
586
620
  catch (e) {
587
- throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: ' + e.message);
621
+ throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: ' + e.message);
588
622
  }
589
623
  },
590
- async sendMsgOpenMatch({ value, fee, memo }) {
624
+ async sendMsgCreateuser({ value, fee, memo }) {
591
625
  if (!signer) {
592
- throw new Error('TxClient:sendMsgOpenMatch: Unable to sign Tx. Signer is not present.');
626
+ throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.');
593
627
  }
594
628
  try {
595
629
  const { address } = (await signer.getAccounts())[0];
596
630
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
597
- let msg = this.msgOpenMatch({ value: MsgOpenMatch.fromPartial(value) });
631
+ let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) });
598
632
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
599
633
  }
600
634
  catch (e) {
601
- throw new Error('TxClient:sendMsgOpenMatch: Could not broadcast Tx: ' + e.message);
635
+ throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: ' + e.message);
602
636
  }
603
637
  },
604
- async sendMsgAddCardToSet({ value, fee, memo }) {
638
+ async sendMsgCreateSet({ value, fee, memo }) {
605
639
  if (!signer) {
606
- throw new Error('TxClient:sendMsgAddCardToSet: Unable to sign Tx. Signer is not present.');
640
+ throw new Error('TxClient:sendMsgCreateSet: Unable to sign Tx. Signer is not present.');
607
641
  }
608
642
  try {
609
643
  const { address } = (await signer.getAccounts())[0];
610
644
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
611
- let msg = this.msgAddCardToSet({ value: MsgAddCardToSet.fromPartial(value) });
645
+ let msg = this.msgCreateSet({ value: MsgCreateSet.fromPartial(value) });
612
646
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
613
647
  }
614
648
  catch (e) {
615
- throw new Error('TxClient:sendMsgAddCardToSet: Could not broadcast Tx: ' + e.message);
649
+ throw new Error('TxClient:sendMsgCreateSet: Could not broadcast Tx: ' + e.message);
616
650
  }
617
651
  },
618
- async sendMsgAddArtworkToSet({ value, fee, memo }) {
652
+ async sendMsgRemoveContributorFromSet({ value, fee, memo }) {
619
653
  if (!signer) {
620
- throw new Error('TxClient:sendMsgAddArtworkToSet: Unable to sign Tx. Signer is not present.');
654
+ throw new Error('TxClient:sendMsgRemoveContributorFromSet: Unable to sign Tx. Signer is not present.');
621
655
  }
622
656
  try {
623
657
  const { address } = (await signer.getAccounts())[0];
624
658
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
625
- let msg = this.msgAddArtworkToSet({ value: MsgAddArtworkToSet.fromPartial(value) });
659
+ let msg = this.msgRemoveContributorFromSet({ value: MsgRemoveContributorFromSet.fromPartial(value) });
626
660
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
627
661
  }
628
662
  catch (e) {
629
- throw new Error('TxClient:sendMsgAddArtworkToSet: Could not broadcast Tx: ' + e.message);
663
+ throw new Error('TxClient:sendMsgRemoveContributorFromSet: Could not broadcast Tx: ' + e.message);
630
664
  }
631
665
  },
632
- async sendMsgSetSetStoryWriter({ value, fee, memo }) {
666
+ async sendMsgSetSetName({ value, fee, memo }) {
633
667
  if (!signer) {
634
- throw new Error('TxClient:sendMsgSetSetStoryWriter: Unable to sign Tx. Signer is not present.');
668
+ throw new Error('TxClient:sendMsgSetSetName: Unable to sign Tx. Signer is not present.');
635
669
  }
636
670
  try {
637
671
  const { address } = (await signer.getAccounts())[0];
638
672
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
639
- let msg = this.msgSetSetStoryWriter({ value: MsgSetSetStoryWriter.fromPartial(value) });
673
+ let msg = this.msgSetSetName({ value: MsgSetSetName.fromPartial(value) });
640
674
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
641
675
  }
642
676
  catch (e) {
643
- throw new Error('TxClient:sendMsgSetSetStoryWriter: Could not broadcast Tx: ' + e.message);
677
+ throw new Error('TxClient:sendMsgSetSetName: Could not broadcast Tx: ' + e.message);
644
678
  }
645
679
  },
646
- async sendMsgSetSetName({ value, fee, memo }) {
680
+ async sendMsgInviteEarlyAccess({ value, fee, memo }) {
647
681
  if (!signer) {
648
- throw new Error('TxClient:sendMsgSetSetName: Unable to sign Tx. Signer is not present.');
682
+ throw new Error('TxClient:sendMsgInviteEarlyAccess: Unable to sign Tx. Signer is not present.');
649
683
  }
650
684
  try {
651
685
  const { address } = (await signer.getAccounts())[0];
652
686
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
653
- let msg = this.msgSetSetName({ value: MsgSetSetName.fromPartial(value) });
687
+ let msg = this.msgInviteEarlyAccess({ value: MsgInviteEarlyAccess.fromPartial(value) });
654
688
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
655
689
  }
656
690
  catch (e) {
657
- throw new Error('TxClient:sendMsgSetSetName: Could not broadcast Tx: ' + e.message);
691
+ throw new Error('TxClient:sendMsgInviteEarlyAccess: Could not broadcast Tx: ' + e.message);
658
692
  }
659
693
  },
660
- msgCreateSet({ value }) {
694
+ msgSetUserWebsite({ value }) {
661
695
  try {
662
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSet", value: MsgCreateSet.fromPartial(value) };
696
+ return {
697
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite",
698
+ value: MsgSetUserWebsite.fromPartial(value)
699
+ };
663
700
  }
664
701
  catch (e) {
665
- throw new Error('TxClient:MsgCreateSet: Could not create message: ' + e.message);
702
+ throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message);
666
703
  }
667
704
  },
668
- msgSetProfileCard({ value }) {
705
+ msgBuyCard({ value }) {
669
706
  try {
670
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial(value) };
707
+ return {
708
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard",
709
+ value: MsgBuyCard.fromPartial(value)
710
+ };
671
711
  }
672
712
  catch (e) {
673
- throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message);
713
+ throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message);
674
714
  }
675
715
  },
676
- msgRestartCouncil({ value }) {
716
+ msgSetSetStoryWriter({ value }) {
677
717
  try {
678
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial(value) };
718
+ return {
719
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetSetStoryWriter",
720
+ value: MsgSetSetStoryWriter.fromPartial(value)
721
+ };
679
722
  }
680
723
  catch (e) {
681
- throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message);
724
+ throw new Error('TxClient:MsgSetSetStoryWriter: Could not create message: ' + e.message);
682
725
  }
683
726
  },
684
- msgConfirmMatch({ value }) {
727
+ msgChangeAlias({ value }) {
685
728
  try {
686
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial(value) };
729
+ return {
730
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeAlias",
731
+ value: MsgChangeAlias.fromPartial(value)
732
+ };
687
733
  }
688
734
  catch (e) {
689
- throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message);
735
+ throw new Error('TxClient:MsgChangeAlias: Could not create message: ' + e.message);
690
736
  }
691
737
  },
692
- msgSetUserWebsite({ value }) {
738
+ msgTransferBoosterPack({ value }) {
693
739
  try {
694
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial(value) };
740
+ return {
741
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack",
742
+ value: MsgTransferBoosterPack.fromPartial(value)
743
+ };
695
744
  }
696
745
  catch (e) {
697
- throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message);
746
+ throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message);
698
747
  }
699
748
  },
700
749
  msgRevealCouncilResponse({ value }) {
701
750
  try {
702
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial(value) };
751
+ return {
752
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse",
753
+ value: MsgRevealCouncilResponse.fromPartial(value)
754
+ };
703
755
  }
704
756
  catch (e) {
705
757
  throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message);
706
758
  }
707
759
  },
708
- msgRemoveCardFromSet({ value }) {
760
+ msgRewokeCouncilRegistration({ value }) {
709
761
  try {
710
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromSet", value: MsgRemoveCardFromSet.fromPartial(value) };
762
+ return {
763
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration",
764
+ value: MsgRewokeCouncilRegistration.fromPartial(value)
765
+ };
711
766
  }
712
767
  catch (e) {
713
- throw new Error('TxClient:MsgRemoveCardFromSet: Could not create message: ' + e.message);
768
+ throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message);
714
769
  }
715
770
  },
716
- msgBuyCardScheme({ value }) {
771
+ msgRestartCouncil({ value }) {
717
772
  try {
718
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial(value) };
773
+ return {
774
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil",
775
+ value: MsgRestartCouncil.fromPartial(value)
776
+ };
719
777
  }
720
778
  catch (e) {
721
- throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message);
779
+ throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message);
722
780
  }
723
781
  },
724
- msgSetCardRarity({ value }) {
782
+ msgSetSetArtist({ value }) {
725
783
  try {
726
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial(value) };
784
+ return {
785
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetSetArtist",
786
+ value: MsgSetSetArtist.fromPartial(value)
787
+ };
727
788
  }
728
789
  catch (e) {
729
- throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message);
790
+ throw new Error('TxClient:MsgSetSetArtist: Could not create message: ' + e.message);
730
791
  }
731
792
  },
732
- msgVoteCard({ value }) {
793
+ msgFinalizeSet({ value }) {
733
794
  try {
734
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial(value) };
795
+ return {
796
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeSet",
797
+ value: MsgFinalizeSet.fromPartial(value)
798
+ };
735
799
  }
736
800
  catch (e) {
737
- throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message);
801
+ throw new Error('TxClient:MsgFinalizeSet: Could not create message: ' + e.message);
738
802
  }
739
803
  },
740
- msgAddArtwork({ value }) {
804
+ msgOpenMatch({ value }) {
741
805
  try {
742
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", value: MsgAddArtwork.fromPartial(value) };
806
+ return {
807
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenMatch",
808
+ value: MsgOpenMatch.fromPartial(value)
809
+ };
743
810
  }
744
811
  catch (e) {
745
- throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message);
812
+ throw new Error('TxClient:MsgOpenMatch: Could not create message: ' + e.message);
746
813
  }
747
814
  },
748
- msgReportMatch({ value }) {
815
+ msgAddArtworkToSet({ value }) {
749
816
  try {
750
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial(value) };
817
+ return {
818
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToSet",
819
+ value: MsgAddArtworkToSet.fromPartial(value)
820
+ };
751
821
  }
752
822
  catch (e) {
753
- throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message);
823
+ throw new Error('TxClient:MsgAddArtworkToSet: Could not create message: ' + e.message);
754
824
  }
755
825
  },
756
- msgSetUserBiography({ value }) {
826
+ msgConfirmMatch({ value }) {
757
827
  try {
758
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial(value) };
828
+ return {
829
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch",
830
+ value: MsgConfirmMatch.fromPartial(value)
831
+ };
759
832
  }
760
833
  catch (e) {
761
- throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message);
834
+ throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message);
762
835
  }
763
836
  },
764
- msgBuyBoosterPack({ value }) {
837
+ msgCreateSellOffer({ value }) {
765
838
  try {
766
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyBoosterPack", value: MsgBuyBoosterPack.fromPartial(value) };
839
+ return {
840
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer",
841
+ value: MsgCreateSellOffer.fromPartial(value)
842
+ };
767
843
  }
768
844
  catch (e) {
769
- throw new Error('TxClient:MsgBuyBoosterPack: Could not create message: ' + e.message);
845
+ throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message);
770
846
  }
771
847
  },
772
- msgRemoveContributorFromSet({ value }) {
848
+ msgDisinviteEarlyAccess({ value }) {
773
849
  try {
774
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromSet", value: MsgRemoveContributorFromSet.fromPartial(value) };
850
+ return {
851
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDisinviteEarlyAccess",
852
+ value: MsgDisinviteEarlyAccess.fromPartial(value)
853
+ };
775
854
  }
776
855
  catch (e) {
777
- throw new Error('TxClient:MsgRemoveContributorFromSet: Could not create message: ' + e.message);
856
+ throw new Error('TxClient:MsgDisinviteEarlyAccess: Could not create message: ' + e.message);
778
857
  }
779
858
  },
780
- msgRegisterForCouncil({ value }) {
859
+ msgCommitCouncilResponse({ value }) {
781
860
  try {
782
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial(value) };
861
+ return {
862
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse",
863
+ value: MsgCommitCouncilResponse.fromPartial(value)
864
+ };
783
865
  }
784
866
  catch (e) {
785
- throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message);
867
+ throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message);
786
868
  }
787
869
  },
788
- msgTransferBoosterPack({ value }) {
870
+ msgSetProfileCard({ value }) {
789
871
  try {
790
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial(value) };
872
+ return {
873
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard",
874
+ value: MsgSetProfileCard.fromPartial(value)
875
+ };
791
876
  }
792
877
  catch (e) {
793
- throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message);
878
+ throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message);
794
879
  }
795
880
  },
796
- msgRemoveSellOffer({ value }) {
881
+ msgSaveCardContent({ value }) {
797
882
  try {
798
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial(value) };
883
+ return {
884
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent",
885
+ value: MsgSaveCardContent.fromPartial(value)
886
+ };
799
887
  }
800
888
  catch (e) {
801
- throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message);
889
+ throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message);
802
890
  }
803
891
  },
804
- msgSetSetArtist({ value }) {
892
+ msgApointMatchReporter({ value }) {
805
893
  try {
806
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetSetArtist", value: MsgSetSetArtist.fromPartial(value) };
894
+ return {
895
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter",
896
+ value: MsgApointMatchReporter.fromPartial(value)
897
+ };
807
898
  }
808
899
  catch (e) {
809
- throw new Error('TxClient:MsgSetSetArtist: Could not create message: ' + e.message);
900
+ throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message);
810
901
  }
811
902
  },
812
903
  msgAddStoryToSet({ value }) {
813
904
  try {
814
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToSet", value: MsgAddStoryToSet.fromPartial(value) };
905
+ return {
906
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToSet",
907
+ value: MsgAddStoryToSet.fromPartial(value)
908
+ };
815
909
  }
816
910
  catch (e) {
817
911
  throw new Error('TxClient:MsgAddStoryToSet: Could not create message: ' + e.message);
818
912
  }
819
913
  },
820
- msgBuyCard({ value }) {
914
+ msgRegisterForCouncil({ value }) {
821
915
  try {
822
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard", value: MsgBuyCard.fromPartial(value) };
916
+ return {
917
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil",
918
+ value: MsgRegisterForCouncil.fromPartial(value)
919
+ };
823
920
  }
824
921
  catch (e) {
825
- throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message);
922
+ throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message);
826
923
  }
827
924
  },
828
- msgAddContributorToSet({ value }) {
925
+ msgVoteCard({ value }) {
829
926
  try {
830
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToSet", value: MsgAddContributorToSet.fromPartial(value) };
927
+ return {
928
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard",
929
+ value: MsgVoteCard.fromPartial(value)
930
+ };
831
931
  }
832
932
  catch (e) {
833
- throw new Error('TxClient:MsgAddContributorToSet: Could not create message: ' + e.message);
933
+ throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message);
834
934
  }
835
935
  },
836
- msgCreateSellOffer({ value }) {
936
+ msgAddArtwork({ value }) {
837
937
  try {
838
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial(value) };
938
+ return {
939
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork",
940
+ value: MsgAddArtwork.fromPartial(value)
941
+ };
839
942
  }
840
943
  catch (e) {
841
- throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message);
944
+ throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message);
842
945
  }
843
946
  },
844
- msgOpenBoosterPack({ value }) {
947
+ msgSetCardRarity({ value }) {
845
948
  try {
846
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial(value) };
949
+ return {
950
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity",
951
+ value: MsgSetCardRarity.fromPartial(value)
952
+ };
847
953
  }
848
954
  catch (e) {
849
- throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message);
955
+ throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message);
850
956
  }
851
957
  },
852
- msgFinalizeSet({ value }) {
958
+ msgAddCardToSet({ value }) {
853
959
  try {
854
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeSet", value: MsgFinalizeSet.fromPartial(value) };
960
+ return {
961
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToSet",
962
+ value: MsgAddCardToSet.fromPartial(value)
963
+ };
855
964
  }
856
965
  catch (e) {
857
- throw new Error('TxClient:MsgFinalizeSet: Could not create message: ' + e.message);
966
+ throw new Error('TxClient:MsgAddCardToSet: Could not create message: ' + e.message);
858
967
  }
859
968
  },
860
- msgRewokeCouncilRegistration({ value }) {
969
+ msgChangeArtist({ value }) {
861
970
  try {
862
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial(value) };
971
+ return {
972
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist",
973
+ value: MsgChangeArtist.fromPartial(value)
974
+ };
863
975
  }
864
976
  catch (e) {
865
- throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message);
977
+ throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message);
866
978
  }
867
979
  },
868
- msgMultiVoteCard({ value }) {
980
+ msgReportMatch({ value }) {
869
981
  try {
870
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", value: MsgMultiVoteCard.fromPartial(value) };
982
+ return {
983
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch",
984
+ value: MsgReportMatch.fromPartial(value)
985
+ };
871
986
  }
872
987
  catch (e) {
873
- throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message);
988
+ throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message);
874
989
  }
875
990
  },
876
- msgCreateCouncil({ value }) {
991
+ msgRemoveSellOffer({ value }) {
877
992
  try {
878
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial(value) };
993
+ return {
994
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer",
995
+ value: MsgRemoveSellOffer.fromPartial(value)
996
+ };
879
997
  }
880
998
  catch (e) {
881
- throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message);
999
+ throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message);
882
1000
  }
883
1001
  },
884
- msgCreateuser({ value }) {
1002
+ msgMultiVoteCard({ value }) {
885
1003
  try {
886
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial(value) };
1004
+ return {
1005
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard",
1006
+ value: MsgMultiVoteCard.fromPartial(value)
1007
+ };
887
1008
  }
888
1009
  catch (e) {
889
- throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message);
1010
+ throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message);
890
1011
  }
891
1012
  },
892
- msgSaveCardContent({ value }) {
1013
+ msgBuyCardScheme({ value }) {
893
1014
  try {
894
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial(value) };
1015
+ return {
1016
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme",
1017
+ value: MsgBuyCardScheme.fromPartial(value)
1018
+ };
895
1019
  }
896
1020
  catch (e) {
897
- throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message);
1021
+ throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message);
898
1022
  }
899
1023
  },
900
- msgCommitCouncilResponse({ value }) {
1024
+ msgTransferCard({ value }) {
901
1025
  try {
902
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial(value) };
1026
+ return {
1027
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard",
1028
+ value: MsgTransferCard.fromPartial(value)
1029
+ };
903
1030
  }
904
1031
  catch (e) {
905
- throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message);
1032
+ throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message);
906
1033
  }
907
1034
  },
908
- msgChangeAlias({ value }) {
1035
+ msgBuyBoosterPack({ value }) {
909
1036
  try {
910
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeAlias", value: MsgChangeAlias.fromPartial(value) };
1037
+ return {
1038
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyBoosterPack",
1039
+ value: MsgBuyBoosterPack.fromPartial(value)
1040
+ };
911
1041
  }
912
1042
  catch (e) {
913
- throw new Error('TxClient:MsgChangeAlias: Could not create message: ' + e.message);
1043
+ throw new Error('TxClient:MsgBuyBoosterPack: Could not create message: ' + e.message);
914
1044
  }
915
1045
  },
916
- msgChangeArtist({ value }) {
1046
+ msgCreateCouncil({ value }) {
917
1047
  try {
918
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial(value) };
1048
+ return {
1049
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil",
1050
+ value: MsgCreateCouncil.fromPartial(value)
1051
+ };
919
1052
  }
920
1053
  catch (e) {
921
- throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message);
1054
+ throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message);
922
1055
  }
923
1056
  },
924
- msgTransferCard({ value }) {
1057
+ msgDonateToCard({ value }) {
925
1058
  try {
926
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial(value) };
1059
+ return {
1060
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard",
1061
+ value: MsgDonateToCard.fromPartial(value)
1062
+ };
927
1063
  }
928
1064
  catch (e) {
929
- throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message);
1065
+ throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message);
930
1066
  }
931
1067
  },
932
- msgDonateToCard({ value }) {
1068
+ msgAddContributorToSet({ value }) {
933
1069
  try {
934
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial(value) };
1070
+ return {
1071
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToSet",
1072
+ value: MsgAddContributorToSet.fromPartial(value)
1073
+ };
935
1074
  }
936
1075
  catch (e) {
937
- throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message);
1076
+ throw new Error('TxClient:MsgAddContributorToSet: Could not create message: ' + e.message);
938
1077
  }
939
1078
  },
940
- msgApointMatchReporter({ value }) {
1079
+ msgOpenBoosterPack({ value }) {
941
1080
  try {
942
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", value: MsgApointMatchReporter.fromPartial(value) };
1081
+ return {
1082
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack",
1083
+ value: MsgOpenBoosterPack.fromPartial(value)
1084
+ };
943
1085
  }
944
1086
  catch (e) {
945
- throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message);
1087
+ throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message);
946
1088
  }
947
1089
  },
948
- msgOpenMatch({ value }) {
1090
+ msgRemoveCardFromSet({ value }) {
949
1091
  try {
950
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenMatch", value: MsgOpenMatch.fromPartial(value) };
1092
+ return {
1093
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromSet",
1094
+ value: MsgRemoveCardFromSet.fromPartial(value)
1095
+ };
951
1096
  }
952
1097
  catch (e) {
953
- throw new Error('TxClient:MsgOpenMatch: Could not create message: ' + e.message);
1098
+ throw new Error('TxClient:MsgRemoveCardFromSet: Could not create message: ' + e.message);
954
1099
  }
955
1100
  },
956
- msgAddCardToSet({ value }) {
1101
+ msgSetUserBiography({ value }) {
957
1102
  try {
958
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToSet", value: MsgAddCardToSet.fromPartial(value) };
1103
+ return {
1104
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography",
1105
+ value: MsgSetUserBiography.fromPartial(value)
1106
+ };
959
1107
  }
960
1108
  catch (e) {
961
- throw new Error('TxClient:MsgAddCardToSet: Could not create message: ' + e.message);
1109
+ throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message);
962
1110
  }
963
1111
  },
964
- msgAddArtworkToSet({ value }) {
1112
+ msgCreateuser({ value }) {
965
1113
  try {
966
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToSet", value: MsgAddArtworkToSet.fromPartial(value) };
1114
+ return {
1115
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser",
1116
+ value: MsgCreateuser.fromPartial(value)
1117
+ };
967
1118
  }
968
1119
  catch (e) {
969
- throw new Error('TxClient:MsgAddArtworkToSet: Could not create message: ' + e.message);
1120
+ throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message);
970
1121
  }
971
1122
  },
972
- msgSetSetStoryWriter({ value }) {
1123
+ msgCreateSet({ value }) {
973
1124
  try {
974
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetSetStoryWriter", value: MsgSetSetStoryWriter.fromPartial(value) };
1125
+ return {
1126
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSet",
1127
+ value: MsgCreateSet.fromPartial(value)
1128
+ };
975
1129
  }
976
1130
  catch (e) {
977
- throw new Error('TxClient:MsgSetSetStoryWriter: Could not create message: ' + e.message);
1131
+ throw new Error('TxClient:MsgCreateSet: Could not create message: ' + e.message);
1132
+ }
1133
+ },
1134
+ msgRemoveContributorFromSet({ value }) {
1135
+ try {
1136
+ return {
1137
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromSet",
1138
+ value: MsgRemoveContributorFromSet.fromPartial(value)
1139
+ };
1140
+ }
1141
+ catch (e) {
1142
+ throw new Error('TxClient:MsgRemoveContributorFromSet: Could not create message: ' + e.message);
978
1143
  }
979
1144
  },
980
1145
  msgSetSetName({ value }) {
981
1146
  try {
982
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetSetName", value: MsgSetSetName.fromPartial(value) };
1147
+ return {
1148
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetSetName",
1149
+ value: MsgSetSetName.fromPartial(value)
1150
+ };
983
1151
  }
984
1152
  catch (e) {
985
1153
  throw new Error('TxClient:MsgSetSetName: Could not create message: ' + e.message);
986
1154
  }
987
1155
  },
1156
+ msgInviteEarlyAccess({ value }) {
1157
+ try {
1158
+ return {
1159
+ typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgInviteEarlyAccess",
1160
+ value: MsgInviteEarlyAccess.fromPartial(value)
1161
+ };
1162
+ }
1163
+ catch (e) {
1164
+ throw new Error('TxClient:MsgInviteEarlyAccess: Could not create message: ' + e.message);
1165
+ }
1166
+ },
988
1167
  };
989
1168
  };
990
1169
  export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
@@ -1014,6 +1193,7 @@ class SDKModule {
1014
1193
  InnerRarities: getStructure(typeInnerRarities.fromPartial({})),
1015
1194
  AddrWithQuantity: getStructure(typeAddrWithQuantity.fromPartial({})),
1016
1195
  SetProposal: getStructure(typeSetProposal.fromPartial({})),
1196
+ EarlyAccess: getStructure(typeEarlyAccess.fromPartial({})),
1017
1197
  BoosterPack: getStructure(typeBoosterPack.fromPartial({})),
1018
1198
  AirDrops: getStructure(typeAirDrops.fromPartial({})),
1019
1199
  VotingResults: getStructure(typeVotingResults.fromPartial({})),