decentralcardgame-cardchain-client-ts 0.0.27 → 0.0.29

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