decentralcardgame-cardchain-client-ts 0.0.2 → 0.0.3

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.
@@ -7,46 +7,47 @@ import { msgTypes } from './registry';
7
7
  import { IgniteClient } from "../client"
8
8
  import { MissingWalletError } from "../helpers"
9
9
  import { Api } from "./rest";
10
- import { MsgRevealCouncilResponse } from "./types/cardchain/tx";
11
- import { MsgRestartCouncil } from "./types/cardchain/tx";
12
- import { MsgCommitCouncilResponse } from "./types/cardchain/tx";
13
- import { MsgOpenBoosterPack } from "./types/cardchain/tx";
14
- import { MsgRemoveCardFromCollection } from "./types/cardchain/tx";
15
- import { MsgBuyCollection } from "./types/cardchain/tx";
16
- import { MsgBuyCard } from "./types/cardchain/tx";
17
- import { MsgConfirmMatch } from "./types/cardchain/tx";
18
- import { MsgAddArtwork } from "./types/cardchain/tx";
19
- import { MsgApointMatchReporter } from "./types/cardchain/tx";
20
- import { MsgRegisterForCouncil } from "./types/cardchain/tx";
21
- import { MsgFinalizeCollection } from "./types/cardchain/tx";
22
- import { MsgRewokeCouncilRegistration } from "./types/cardchain/tx";
23
- import { MsgAddContributorToCollection } from "./types/cardchain/tx";
24
- import { MsgReportMatch } from "./types/cardchain/tx";
25
- import { MsgRemoveSellOffer } from "./types/cardchain/tx";
26
- import { MsgCreateuser } from "./types/cardchain/tx";
27
- import { MsgCreateSellOffer } from "./types/cardchain/tx";
28
- import { MsgRemoveContributorFromCollection } from "./types/cardchain/tx";
29
- import { MsgVoteCard } from "./types/cardchain/tx";
30
- import { MsgSetProfileCard } from "./types/cardchain/tx";
31
- import { MsgTransferBoosterPack } from "./types/cardchain/tx";
32
- import { MsgCreateCouncil } from "./types/cardchain/tx";
33
- import { MsgSetUserBiography } from "./types/cardchain/tx";
34
- import { MsgBuyCardScheme } from "./types/cardchain/tx";
35
- import { MsgAddStoryToCollection } from "./types/cardchain/tx";
36
- import { MsgSaveCardContent } from "./types/cardchain/tx";
37
- import { MsgSubmitMatchReporterProposal } from "./types/cardchain/tx";
38
- import { MsgSubmitCopyrightProposal } from "./types/cardchain/tx";
39
- import { MsgChangeArtist } from "./types/cardchain/tx";
40
- import { MsgTransferCard } from "./types/cardchain/tx";
41
- import { MsgSetCollectionStoryWriter } from "./types/cardchain/tx";
42
- import { MsgSetUserWebsite } from "./types/cardchain/tx";
43
- import { MsgSetCollectionArtist } from "./types/cardchain/tx";
44
- import { MsgCreateCollection } from "./types/cardchain/tx";
45
- import { MsgDonateToCard } from "./types/cardchain/tx";
46
- import { MsgAddArtworkToCollection } from "./types/cardchain/tx";
47
- import { MsgSetCardRarity } from "./types/cardchain/tx";
48
- import { MsgAddCardToCollection } from "./types/cardchain/tx";
49
- import { MsgSubmitCollectionProposal } from "./types/cardchain/tx";
10
+ import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
11
+ import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
12
+ import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
13
+ import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
14
+ import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
15
+ import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
16
+ import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
17
+ import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
18
+ import { MsgCreateCollection } from "./types/cardchain/cardchain/tx";
19
+ import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
20
+ import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
21
+ import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
22
+ import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
23
+ import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
24
+ import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
25
+ import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
26
+ import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
27
+ import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
28
+ import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
29
+ import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
30
+ import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
31
+ import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
32
+ import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
33
+ import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
34
+ import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
35
+ import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
36
+ import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
37
+ import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
38
+ import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
39
+ import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
40
+ import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
41
+ import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
42
+ import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
43
+ import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
44
+ import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
45
+ import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
46
+ import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
47
+ import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
48
+ import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
49
+ import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
50
+ import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
50
51
 
51
52
  import { Card as typeCard} from "./types"
52
53
  import { Collection as typeCollection} from "./types"
@@ -63,64 +64,65 @@ import { IgnoreMatches as typeIgnoreMatches} from "./types"
63
64
  import { IgnoreSellOffers as typeIgnoreSellOffers} from "./types"
64
65
  import { QueryQServerResponse as typeQueryQServerResponse} from "./types"
65
66
  import { RunningAverage as typeRunningAverage} from "./types"
67
+ import { SingleVote as typeSingleVote} from "./types"
66
68
  import { BoosterPack as typeBoosterPack} from "./types"
67
69
  import { AirDrops as typeAirDrops} from "./types"
68
70
  import { VoteRight as typeVoteRight} from "./types"
69
71
  import { VotingResult as typeVotingResult} from "./types"
70
72
  import { VotingResults as typeVotingResults} from "./types"
71
73
 
72
- export { MsgRevealCouncilResponse, MsgRestartCouncil, MsgCommitCouncilResponse, MsgOpenBoosterPack, MsgRemoveCardFromCollection, MsgBuyCollection, MsgBuyCard, MsgConfirmMatch, MsgAddArtwork, MsgApointMatchReporter, MsgRegisterForCouncil, MsgFinalizeCollection, MsgRewokeCouncilRegistration, MsgAddContributorToCollection, MsgReportMatch, MsgRemoveSellOffer, MsgCreateuser, MsgCreateSellOffer, MsgRemoveContributorFromCollection, MsgVoteCard, MsgSetProfileCard, MsgTransferBoosterPack, MsgCreateCouncil, MsgSetUserBiography, MsgBuyCardScheme, MsgAddStoryToCollection, MsgSaveCardContent, MsgSubmitMatchReporterProposal, MsgSubmitCopyrightProposal, MsgChangeArtist, MsgTransferCard, MsgSetCollectionStoryWriter, MsgSetUserWebsite, MsgSetCollectionArtist, MsgCreateCollection, MsgDonateToCard, MsgAddArtworkToCollection, MsgSetCardRarity, MsgAddCardToCollection, MsgSubmitCollectionProposal };
74
+ export { MsgCreateCouncil, MsgCommitCouncilResponse, MsgFinalizeCollection, MsgSetCardRarity, MsgAddContributorToCollection, MsgTransferCard, MsgSetUserBiography, MsgRemoveSellOffer, MsgCreateCollection, MsgApointMatchReporter, MsgSetProfileCard, MsgDonateToCard, MsgRemoveContributorFromCollection, MsgAddStoryToCollection, MsgSubmitCopyrightProposal, MsgMultiVoteCard, MsgAddArtwork, MsgRegisterForCouncil, MsgSetUserWebsite, MsgSaveCardContent, MsgOpenBoosterPack, MsgReportMatch, MsgBuyCollection, MsgAddCardToCollection, MsgSubmitCollectionProposal, MsgRewokeCouncilRegistration, MsgVoteCard, MsgTransferBoosterPack, MsgRestartCouncil, MsgBuyCardScheme, MsgSubmitMatchReporterProposal, MsgSetCollectionStoryWriter, MsgCreateuser, MsgAddArtworkToCollection, MsgBuyCard, MsgSetCollectionArtist, MsgRevealCouncilResponse, MsgConfirmMatch, MsgChangeArtist, MsgCreateSellOffer, MsgRemoveCardFromCollection };
73
75
 
74
- type sendMsgRevealCouncilResponseParams = {
75
- value: MsgRevealCouncilResponse,
76
+ type sendMsgCreateCouncilParams = {
77
+ value: MsgCreateCouncil,
76
78
  fee?: StdFee,
77
79
  memo?: string
78
80
  };
79
81
 
80
- type sendMsgRestartCouncilParams = {
81
- value: MsgRestartCouncil,
82
+ type sendMsgCommitCouncilResponseParams = {
83
+ value: MsgCommitCouncilResponse,
82
84
  fee?: StdFee,
83
85
  memo?: string
84
86
  };
85
87
 
86
- type sendMsgCommitCouncilResponseParams = {
87
- value: MsgCommitCouncilResponse,
88
+ type sendMsgFinalizeCollectionParams = {
89
+ value: MsgFinalizeCollection,
88
90
  fee?: StdFee,
89
91
  memo?: string
90
92
  };
91
93
 
92
- type sendMsgOpenBoosterPackParams = {
93
- value: MsgOpenBoosterPack,
94
+ type sendMsgSetCardRarityParams = {
95
+ value: MsgSetCardRarity,
94
96
  fee?: StdFee,
95
97
  memo?: string
96
98
  };
97
99
 
98
- type sendMsgRemoveCardFromCollectionParams = {
99
- value: MsgRemoveCardFromCollection,
100
+ type sendMsgAddContributorToCollectionParams = {
101
+ value: MsgAddContributorToCollection,
100
102
  fee?: StdFee,
101
103
  memo?: string
102
104
  };
103
105
 
104
- type sendMsgBuyCollectionParams = {
105
- value: MsgBuyCollection,
106
+ type sendMsgTransferCardParams = {
107
+ value: MsgTransferCard,
106
108
  fee?: StdFee,
107
109
  memo?: string
108
110
  };
109
111
 
110
- type sendMsgBuyCardParams = {
111
- value: MsgBuyCard,
112
+ type sendMsgSetUserBiographyParams = {
113
+ value: MsgSetUserBiography,
112
114
  fee?: StdFee,
113
115
  memo?: string
114
116
  };
115
117
 
116
- type sendMsgConfirmMatchParams = {
117
- value: MsgConfirmMatch,
118
+ type sendMsgRemoveSellOfferParams = {
119
+ value: MsgRemoveSellOffer,
118
120
  fee?: StdFee,
119
121
  memo?: string
120
122
  };
121
123
 
122
- type sendMsgAddArtworkParams = {
123
- value: MsgAddArtwork,
124
+ type sendMsgCreateCollectionParams = {
125
+ value: MsgCreateCollection,
124
126
  fee?: StdFee,
125
127
  memo?: string
126
128
  };
@@ -131,128 +133,128 @@ type sendMsgApointMatchReporterParams = {
131
133
  memo?: string
132
134
  };
133
135
 
134
- type sendMsgRegisterForCouncilParams = {
135
- value: MsgRegisterForCouncil,
136
+ type sendMsgSetProfileCardParams = {
137
+ value: MsgSetProfileCard,
136
138
  fee?: StdFee,
137
139
  memo?: string
138
140
  };
139
141
 
140
- type sendMsgFinalizeCollectionParams = {
141
- value: MsgFinalizeCollection,
142
+ type sendMsgDonateToCardParams = {
143
+ value: MsgDonateToCard,
142
144
  fee?: StdFee,
143
145
  memo?: string
144
146
  };
145
147
 
146
- type sendMsgRewokeCouncilRegistrationParams = {
147
- value: MsgRewokeCouncilRegistration,
148
+ type sendMsgRemoveContributorFromCollectionParams = {
149
+ value: MsgRemoveContributorFromCollection,
148
150
  fee?: StdFee,
149
151
  memo?: string
150
152
  };
151
153
 
152
- type sendMsgAddContributorToCollectionParams = {
153
- value: MsgAddContributorToCollection,
154
+ type sendMsgAddStoryToCollectionParams = {
155
+ value: MsgAddStoryToCollection,
154
156
  fee?: StdFee,
155
157
  memo?: string
156
158
  };
157
159
 
158
- type sendMsgReportMatchParams = {
159
- value: MsgReportMatch,
160
+ type sendMsgSubmitCopyrightProposalParams = {
161
+ value: MsgSubmitCopyrightProposal,
160
162
  fee?: StdFee,
161
163
  memo?: string
162
164
  };
163
165
 
164
- type sendMsgRemoveSellOfferParams = {
165
- value: MsgRemoveSellOffer,
166
+ type sendMsgMultiVoteCardParams = {
167
+ value: MsgMultiVoteCard,
166
168
  fee?: StdFee,
167
169
  memo?: string
168
170
  };
169
171
 
170
- type sendMsgCreateuserParams = {
171
- value: MsgCreateuser,
172
+ type sendMsgAddArtworkParams = {
173
+ value: MsgAddArtwork,
172
174
  fee?: StdFee,
173
175
  memo?: string
174
176
  };
175
177
 
176
- type sendMsgCreateSellOfferParams = {
177
- value: MsgCreateSellOffer,
178
+ type sendMsgRegisterForCouncilParams = {
179
+ value: MsgRegisterForCouncil,
178
180
  fee?: StdFee,
179
181
  memo?: string
180
182
  };
181
183
 
182
- type sendMsgRemoveContributorFromCollectionParams = {
183
- value: MsgRemoveContributorFromCollection,
184
+ type sendMsgSetUserWebsiteParams = {
185
+ value: MsgSetUserWebsite,
184
186
  fee?: StdFee,
185
187
  memo?: string
186
188
  };
187
189
 
188
- type sendMsgVoteCardParams = {
189
- value: MsgVoteCard,
190
+ type sendMsgSaveCardContentParams = {
191
+ value: MsgSaveCardContent,
190
192
  fee?: StdFee,
191
193
  memo?: string
192
194
  };
193
195
 
194
- type sendMsgSetProfileCardParams = {
195
- value: MsgSetProfileCard,
196
+ type sendMsgOpenBoosterPackParams = {
197
+ value: MsgOpenBoosterPack,
196
198
  fee?: StdFee,
197
199
  memo?: string
198
200
  };
199
201
 
200
- type sendMsgTransferBoosterPackParams = {
201
- value: MsgTransferBoosterPack,
202
+ type sendMsgReportMatchParams = {
203
+ value: MsgReportMatch,
202
204
  fee?: StdFee,
203
205
  memo?: string
204
206
  };
205
207
 
206
- type sendMsgCreateCouncilParams = {
207
- value: MsgCreateCouncil,
208
+ type sendMsgBuyCollectionParams = {
209
+ value: MsgBuyCollection,
208
210
  fee?: StdFee,
209
211
  memo?: string
210
212
  };
211
213
 
212
- type sendMsgSetUserBiographyParams = {
213
- value: MsgSetUserBiography,
214
+ type sendMsgAddCardToCollectionParams = {
215
+ value: MsgAddCardToCollection,
214
216
  fee?: StdFee,
215
217
  memo?: string
216
218
  };
217
219
 
218
- type sendMsgBuyCardSchemeParams = {
219
- value: MsgBuyCardScheme,
220
+ type sendMsgSubmitCollectionProposalParams = {
221
+ value: MsgSubmitCollectionProposal,
220
222
  fee?: StdFee,
221
223
  memo?: string
222
224
  };
223
225
 
224
- type sendMsgAddStoryToCollectionParams = {
225
- value: MsgAddStoryToCollection,
226
+ type sendMsgRewokeCouncilRegistrationParams = {
227
+ value: MsgRewokeCouncilRegistration,
226
228
  fee?: StdFee,
227
229
  memo?: string
228
230
  };
229
231
 
230
- type sendMsgSaveCardContentParams = {
231
- value: MsgSaveCardContent,
232
+ type sendMsgVoteCardParams = {
233
+ value: MsgVoteCard,
232
234
  fee?: StdFee,
233
235
  memo?: string
234
236
  };
235
237
 
236
- type sendMsgSubmitMatchReporterProposalParams = {
237
- value: MsgSubmitMatchReporterProposal,
238
+ type sendMsgTransferBoosterPackParams = {
239
+ value: MsgTransferBoosterPack,
238
240
  fee?: StdFee,
239
241
  memo?: string
240
242
  };
241
243
 
242
- type sendMsgSubmitCopyrightProposalParams = {
243
- value: MsgSubmitCopyrightProposal,
244
+ type sendMsgRestartCouncilParams = {
245
+ value: MsgRestartCouncil,
244
246
  fee?: StdFee,
245
247
  memo?: string
246
248
  };
247
249
 
248
- type sendMsgChangeArtistParams = {
249
- value: MsgChangeArtist,
250
+ type sendMsgBuyCardSchemeParams = {
251
+ value: MsgBuyCardScheme,
250
252
  fee?: StdFee,
251
253
  memo?: string
252
254
  };
253
255
 
254
- type sendMsgTransferCardParams = {
255
- value: MsgTransferCard,
256
+ type sendMsgSubmitMatchReporterProposalParams = {
257
+ value: MsgSubmitMatchReporterProposal,
256
258
  fee?: StdFee,
257
259
  memo?: string
258
260
  };
@@ -263,213 +265,223 @@ type sendMsgSetCollectionStoryWriterParams = {
263
265
  memo?: string
264
266
  };
265
267
 
266
- type sendMsgSetUserWebsiteParams = {
267
- value: MsgSetUserWebsite,
268
+ type sendMsgCreateuserParams = {
269
+ value: MsgCreateuser,
268
270
  fee?: StdFee,
269
271
  memo?: string
270
272
  };
271
273
 
272
- type sendMsgSetCollectionArtistParams = {
273
- value: MsgSetCollectionArtist,
274
+ type sendMsgAddArtworkToCollectionParams = {
275
+ value: MsgAddArtworkToCollection,
274
276
  fee?: StdFee,
275
277
  memo?: string
276
278
  };
277
279
 
278
- type sendMsgCreateCollectionParams = {
279
- value: MsgCreateCollection,
280
+ type sendMsgBuyCardParams = {
281
+ value: MsgBuyCard,
280
282
  fee?: StdFee,
281
283
  memo?: string
282
284
  };
283
285
 
284
- type sendMsgDonateToCardParams = {
285
- value: MsgDonateToCard,
286
+ type sendMsgSetCollectionArtistParams = {
287
+ value: MsgSetCollectionArtist,
286
288
  fee?: StdFee,
287
289
  memo?: string
288
290
  };
289
291
 
290
- type sendMsgAddArtworkToCollectionParams = {
291
- value: MsgAddArtworkToCollection,
292
+ type sendMsgRevealCouncilResponseParams = {
293
+ value: MsgRevealCouncilResponse,
292
294
  fee?: StdFee,
293
295
  memo?: string
294
296
  };
295
297
 
296
- type sendMsgSetCardRarityParams = {
297
- value: MsgSetCardRarity,
298
+ type sendMsgConfirmMatchParams = {
299
+ value: MsgConfirmMatch,
298
300
  fee?: StdFee,
299
301
  memo?: string
300
302
  };
301
303
 
302
- type sendMsgAddCardToCollectionParams = {
303
- value: MsgAddCardToCollection,
304
+ type sendMsgChangeArtistParams = {
305
+ value: MsgChangeArtist,
304
306
  fee?: StdFee,
305
307
  memo?: string
306
308
  };
307
309
 
308
- type sendMsgSubmitCollectionProposalParams = {
309
- value: MsgSubmitCollectionProposal,
310
+ type sendMsgCreateSellOfferParams = {
311
+ value: MsgCreateSellOffer,
310
312
  fee?: StdFee,
311
313
  memo?: string
312
314
  };
313
315
 
314
-
315
- type msgRevealCouncilResponseParams = {
316
- value: MsgRevealCouncilResponse,
316
+ type sendMsgRemoveCardFromCollectionParams = {
317
+ value: MsgRemoveCardFromCollection,
318
+ fee?: StdFee,
319
+ memo?: string
317
320
  };
318
321
 
319
- type msgRestartCouncilParams = {
320
- value: MsgRestartCouncil,
322
+
323
+ type msgCreateCouncilParams = {
324
+ value: MsgCreateCouncil,
321
325
  };
322
326
 
323
327
  type msgCommitCouncilResponseParams = {
324
328
  value: MsgCommitCouncilResponse,
325
329
  };
326
330
 
327
- type msgOpenBoosterPackParams = {
328
- value: MsgOpenBoosterPack,
331
+ type msgFinalizeCollectionParams = {
332
+ value: MsgFinalizeCollection,
329
333
  };
330
334
 
331
- type msgRemoveCardFromCollectionParams = {
332
- value: MsgRemoveCardFromCollection,
335
+ type msgSetCardRarityParams = {
336
+ value: MsgSetCardRarity,
333
337
  };
334
338
 
335
- type msgBuyCollectionParams = {
336
- value: MsgBuyCollection,
339
+ type msgAddContributorToCollectionParams = {
340
+ value: MsgAddContributorToCollection,
337
341
  };
338
342
 
339
- type msgBuyCardParams = {
340
- value: MsgBuyCard,
343
+ type msgTransferCardParams = {
344
+ value: MsgTransferCard,
341
345
  };
342
346
 
343
- type msgConfirmMatchParams = {
344
- value: MsgConfirmMatch,
347
+ type msgSetUserBiographyParams = {
348
+ value: MsgSetUserBiography,
345
349
  };
346
350
 
347
- type msgAddArtworkParams = {
348
- value: MsgAddArtwork,
351
+ type msgRemoveSellOfferParams = {
352
+ value: MsgRemoveSellOffer,
353
+ };
354
+
355
+ type msgCreateCollectionParams = {
356
+ value: MsgCreateCollection,
349
357
  };
350
358
 
351
359
  type msgApointMatchReporterParams = {
352
360
  value: MsgApointMatchReporter,
353
361
  };
354
362
 
355
- type msgRegisterForCouncilParams = {
356
- value: MsgRegisterForCouncil,
363
+ type msgSetProfileCardParams = {
364
+ value: MsgSetProfileCard,
357
365
  };
358
366
 
359
- type msgFinalizeCollectionParams = {
360
- value: MsgFinalizeCollection,
367
+ type msgDonateToCardParams = {
368
+ value: MsgDonateToCard,
361
369
  };
362
370
 
363
- type msgRewokeCouncilRegistrationParams = {
364
- value: MsgRewokeCouncilRegistration,
371
+ type msgRemoveContributorFromCollectionParams = {
372
+ value: MsgRemoveContributorFromCollection,
365
373
  };
366
374
 
367
- type msgAddContributorToCollectionParams = {
368
- value: MsgAddContributorToCollection,
375
+ type msgAddStoryToCollectionParams = {
376
+ value: MsgAddStoryToCollection,
369
377
  };
370
378
 
371
- type msgReportMatchParams = {
372
- value: MsgReportMatch,
379
+ type msgSubmitCopyrightProposalParams = {
380
+ value: MsgSubmitCopyrightProposal,
373
381
  };
374
382
 
375
- type msgRemoveSellOfferParams = {
376
- value: MsgRemoveSellOffer,
383
+ type msgMultiVoteCardParams = {
384
+ value: MsgMultiVoteCard,
377
385
  };
378
386
 
379
- type msgCreateuserParams = {
380
- value: MsgCreateuser,
387
+ type msgAddArtworkParams = {
388
+ value: MsgAddArtwork,
381
389
  };
382
390
 
383
- type msgCreateSellOfferParams = {
384
- value: MsgCreateSellOffer,
391
+ type msgRegisterForCouncilParams = {
392
+ value: MsgRegisterForCouncil,
385
393
  };
386
394
 
387
- type msgRemoveContributorFromCollectionParams = {
388
- value: MsgRemoveContributorFromCollection,
395
+ type msgSetUserWebsiteParams = {
396
+ value: MsgSetUserWebsite,
389
397
  };
390
398
 
391
- type msgVoteCardParams = {
392
- value: MsgVoteCard,
399
+ type msgSaveCardContentParams = {
400
+ value: MsgSaveCardContent,
393
401
  };
394
402
 
395
- type msgSetProfileCardParams = {
396
- value: MsgSetProfileCard,
403
+ type msgOpenBoosterPackParams = {
404
+ value: MsgOpenBoosterPack,
397
405
  };
398
406
 
399
- type msgTransferBoosterPackParams = {
400
- value: MsgTransferBoosterPack,
407
+ type msgReportMatchParams = {
408
+ value: MsgReportMatch,
401
409
  };
402
410
 
403
- type msgCreateCouncilParams = {
404
- value: MsgCreateCouncil,
411
+ type msgBuyCollectionParams = {
412
+ value: MsgBuyCollection,
405
413
  };
406
414
 
407
- type msgSetUserBiographyParams = {
408
- value: MsgSetUserBiography,
415
+ type msgAddCardToCollectionParams = {
416
+ value: MsgAddCardToCollection,
409
417
  };
410
418
 
411
- type msgBuyCardSchemeParams = {
412
- value: MsgBuyCardScheme,
419
+ type msgSubmitCollectionProposalParams = {
420
+ value: MsgSubmitCollectionProposal,
413
421
  };
414
422
 
415
- type msgAddStoryToCollectionParams = {
416
- value: MsgAddStoryToCollection,
423
+ type msgRewokeCouncilRegistrationParams = {
424
+ value: MsgRewokeCouncilRegistration,
417
425
  };
418
426
 
419
- type msgSaveCardContentParams = {
420
- value: MsgSaveCardContent,
427
+ type msgVoteCardParams = {
428
+ value: MsgVoteCard,
421
429
  };
422
430
 
423
- type msgSubmitMatchReporterProposalParams = {
424
- value: MsgSubmitMatchReporterProposal,
431
+ type msgTransferBoosterPackParams = {
432
+ value: MsgTransferBoosterPack,
425
433
  };
426
434
 
427
- type msgSubmitCopyrightProposalParams = {
428
- value: MsgSubmitCopyrightProposal,
435
+ type msgRestartCouncilParams = {
436
+ value: MsgRestartCouncil,
429
437
  };
430
438
 
431
- type msgChangeArtistParams = {
432
- value: MsgChangeArtist,
439
+ type msgBuyCardSchemeParams = {
440
+ value: MsgBuyCardScheme,
433
441
  };
434
442
 
435
- type msgTransferCardParams = {
436
- value: MsgTransferCard,
443
+ type msgSubmitMatchReporterProposalParams = {
444
+ value: MsgSubmitMatchReporterProposal,
437
445
  };
438
446
 
439
447
  type msgSetCollectionStoryWriterParams = {
440
448
  value: MsgSetCollectionStoryWriter,
441
449
  };
442
450
 
443
- type msgSetUserWebsiteParams = {
444
- value: MsgSetUserWebsite,
451
+ type msgCreateuserParams = {
452
+ value: MsgCreateuser,
445
453
  };
446
454
 
447
- type msgSetCollectionArtistParams = {
448
- value: MsgSetCollectionArtist,
455
+ type msgAddArtworkToCollectionParams = {
456
+ value: MsgAddArtworkToCollection,
449
457
  };
450
458
 
451
- type msgCreateCollectionParams = {
452
- value: MsgCreateCollection,
459
+ type msgBuyCardParams = {
460
+ value: MsgBuyCard,
453
461
  };
454
462
 
455
- type msgDonateToCardParams = {
456
- value: MsgDonateToCard,
463
+ type msgSetCollectionArtistParams = {
464
+ value: MsgSetCollectionArtist,
457
465
  };
458
466
 
459
- type msgAddArtworkToCollectionParams = {
460
- value: MsgAddArtworkToCollection,
467
+ type msgRevealCouncilResponseParams = {
468
+ value: MsgRevealCouncilResponse,
461
469
  };
462
470
 
463
- type msgSetCardRarityParams = {
464
- value: MsgSetCardRarity,
471
+ type msgConfirmMatchParams = {
472
+ value: MsgConfirmMatch,
465
473
  };
466
474
 
467
- type msgAddCardToCollectionParams = {
468
- value: MsgAddCardToCollection,
475
+ type msgChangeArtistParams = {
476
+ value: MsgChangeArtist,
469
477
  };
470
478
 
471
- type msgSubmitCollectionProposalParams = {
472
- value: MsgSubmitCollectionProposal,
479
+ type msgCreateSellOfferParams = {
480
+ value: MsgCreateSellOffer,
481
+ };
482
+
483
+ type msgRemoveCardFromCollectionParams = {
484
+ value: MsgRemoveCardFromCollection,
473
485
  };
474
486
 
475
487
 
@@ -502,129 +514,129 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
502
514
 
503
515
  return {
504
516
 
505
- async sendMsgRevealCouncilResponse({ value, fee, memo }: sendMsgRevealCouncilResponseParams): Promise<DeliverTxResponse> {
517
+ async sendMsgCreateCouncil({ value, fee, memo }: sendMsgCreateCouncilParams): Promise<DeliverTxResponse> {
506
518
  if (!signer) {
507
- throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.')
519
+ throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.')
508
520
  }
509
521
  try {
510
522
  const { address } = (await signer.getAccounts())[0];
511
523
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
512
- let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) })
524
+ let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) })
513
525
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
514
526
  } catch (e: any) {
515
- throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: '+ e.message)
527
+ throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: '+ e.message)
516
528
  }
517
529
  },
518
530
 
519
- async sendMsgRestartCouncil({ value, fee, memo }: sendMsgRestartCouncilParams): Promise<DeliverTxResponse> {
531
+ async sendMsgCommitCouncilResponse({ value, fee, memo }: sendMsgCommitCouncilResponseParams): Promise<DeliverTxResponse> {
520
532
  if (!signer) {
521
- throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.')
533
+ throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.')
522
534
  }
523
535
  try {
524
536
  const { address } = (await signer.getAccounts())[0];
525
537
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
526
- let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) })
538
+ let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) })
527
539
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
528
540
  } catch (e: any) {
529
- throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: '+ e.message)
541
+ throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: '+ e.message)
530
542
  }
531
543
  },
532
544
 
533
- async sendMsgCommitCouncilResponse({ value, fee, memo }: sendMsgCommitCouncilResponseParams): Promise<DeliverTxResponse> {
545
+ async sendMsgFinalizeCollection({ value, fee, memo }: sendMsgFinalizeCollectionParams): Promise<DeliverTxResponse> {
534
546
  if (!signer) {
535
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.')
547
+ throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.')
536
548
  }
537
549
  try {
538
550
  const { address } = (await signer.getAccounts())[0];
539
551
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
540
- let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) })
552
+ let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) })
541
553
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
542
554
  } catch (e: any) {
543
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: '+ e.message)
555
+ throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: '+ e.message)
544
556
  }
545
557
  },
546
558
 
547
- async sendMsgOpenBoosterPack({ value, fee, memo }: sendMsgOpenBoosterPackParams): Promise<DeliverTxResponse> {
559
+ async sendMsgSetCardRarity({ value, fee, memo }: sendMsgSetCardRarityParams): Promise<DeliverTxResponse> {
548
560
  if (!signer) {
549
- throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.')
561
+ throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.')
550
562
  }
551
563
  try {
552
564
  const { address } = (await signer.getAccounts())[0];
553
565
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
554
- let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) })
566
+ let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) })
555
567
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
556
568
  } catch (e: any) {
557
- throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: '+ e.message)
569
+ throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: '+ e.message)
558
570
  }
559
571
  },
560
572
 
561
- async sendMsgRemoveCardFromCollection({ value, fee, memo }: sendMsgRemoveCardFromCollectionParams): Promise<DeliverTxResponse> {
573
+ async sendMsgAddContributorToCollection({ value, fee, memo }: sendMsgAddContributorToCollectionParams): Promise<DeliverTxResponse> {
562
574
  if (!signer) {
563
- throw new Error('TxClient:sendMsgRemoveCardFromCollection: Unable to sign Tx. Signer is not present.')
575
+ throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.')
564
576
  }
565
577
  try {
566
578
  const { address } = (await signer.getAccounts())[0];
567
579
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
568
- let msg = this.msgRemoveCardFromCollection({ value: MsgRemoveCardFromCollection.fromPartial(value) })
580
+ let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) })
569
581
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
570
582
  } catch (e: any) {
571
- throw new Error('TxClient:sendMsgRemoveCardFromCollection: Could not broadcast Tx: '+ e.message)
583
+ throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: '+ e.message)
572
584
  }
573
585
  },
574
586
 
575
- async sendMsgBuyCollection({ value, fee, memo }: sendMsgBuyCollectionParams): Promise<DeliverTxResponse> {
587
+ async sendMsgTransferCard({ value, fee, memo }: sendMsgTransferCardParams): Promise<DeliverTxResponse> {
576
588
  if (!signer) {
577
- throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.')
589
+ throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.')
578
590
  }
579
591
  try {
580
592
  const { address } = (await signer.getAccounts())[0];
581
593
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
582
- let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) })
594
+ let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) })
583
595
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
584
596
  } catch (e: any) {
585
- throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: '+ e.message)
597
+ throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: '+ e.message)
586
598
  }
587
599
  },
588
600
 
589
- async sendMsgBuyCard({ value, fee, memo }: sendMsgBuyCardParams): Promise<DeliverTxResponse> {
601
+ async sendMsgSetUserBiography({ value, fee, memo }: sendMsgSetUserBiographyParams): Promise<DeliverTxResponse> {
590
602
  if (!signer) {
591
- throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.')
603
+ throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.')
592
604
  }
593
605
  try {
594
606
  const { address } = (await signer.getAccounts())[0];
595
607
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
596
- let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) })
608
+ let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) })
597
609
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
598
610
  } catch (e: any) {
599
- throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: '+ e.message)
611
+ throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: '+ e.message)
600
612
  }
601
613
  },
602
614
 
603
- async sendMsgConfirmMatch({ value, fee, memo }: sendMsgConfirmMatchParams): Promise<DeliverTxResponse> {
615
+ async sendMsgRemoveSellOffer({ value, fee, memo }: sendMsgRemoveSellOfferParams): Promise<DeliverTxResponse> {
604
616
  if (!signer) {
605
- throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.')
617
+ throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.')
606
618
  }
607
619
  try {
608
620
  const { address } = (await signer.getAccounts())[0];
609
621
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
610
- let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) })
622
+ let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) })
611
623
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
612
624
  } catch (e: any) {
613
- throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: '+ e.message)
625
+ throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: '+ e.message)
614
626
  }
615
627
  },
616
628
 
617
- async sendMsgAddArtwork({ value, fee, memo }: sendMsgAddArtworkParams): Promise<DeliverTxResponse> {
629
+ async sendMsgCreateCollection({ value, fee, memo }: sendMsgCreateCollectionParams): Promise<DeliverTxResponse> {
618
630
  if (!signer) {
619
- throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.')
631
+ throw new Error('TxClient:sendMsgCreateCollection: Unable to sign Tx. Signer is not present.')
620
632
  }
621
633
  try {
622
634
  const { address } = (await signer.getAccounts())[0];
623
635
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
624
- let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) })
636
+ let msg = this.msgCreateCollection({ value: MsgCreateCollection.fromPartial(value) })
625
637
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
626
638
  } catch (e: any) {
627
- throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: '+ e.message)
639
+ throw new Error('TxClient:sendMsgCreateCollection: Could not broadcast Tx: '+ e.message)
628
640
  }
629
641
  },
630
642
 
@@ -642,297 +654,297 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
642
654
  }
643
655
  },
644
656
 
645
- async sendMsgRegisterForCouncil({ value, fee, memo }: sendMsgRegisterForCouncilParams): Promise<DeliverTxResponse> {
657
+ async sendMsgSetProfileCard({ value, fee, memo }: sendMsgSetProfileCardParams): Promise<DeliverTxResponse> {
646
658
  if (!signer) {
647
- throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.')
659
+ throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.')
648
660
  }
649
661
  try {
650
662
  const { address } = (await signer.getAccounts())[0];
651
663
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
652
- let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) })
664
+ let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) })
653
665
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
654
666
  } catch (e: any) {
655
- throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: '+ e.message)
667
+ throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: '+ e.message)
656
668
  }
657
669
  },
658
670
 
659
- async sendMsgFinalizeCollection({ value, fee, memo }: sendMsgFinalizeCollectionParams): Promise<DeliverTxResponse> {
671
+ async sendMsgDonateToCard({ value, fee, memo }: sendMsgDonateToCardParams): Promise<DeliverTxResponse> {
660
672
  if (!signer) {
661
- throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.')
673
+ throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.')
662
674
  }
663
675
  try {
664
676
  const { address } = (await signer.getAccounts())[0];
665
677
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
666
- let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) })
678
+ let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) })
667
679
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
668
680
  } catch (e: any) {
669
- throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: '+ e.message)
681
+ throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: '+ e.message)
670
682
  }
671
683
  },
672
684
 
673
- async sendMsgRewokeCouncilRegistration({ value, fee, memo }: sendMsgRewokeCouncilRegistrationParams): Promise<DeliverTxResponse> {
685
+ async sendMsgRemoveContributorFromCollection({ value, fee, memo }: sendMsgRemoveContributorFromCollectionParams): Promise<DeliverTxResponse> {
674
686
  if (!signer) {
675
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.')
687
+ throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.')
676
688
  }
677
689
  try {
678
690
  const { address } = (await signer.getAccounts())[0];
679
691
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
680
- let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) })
692
+ let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) })
681
693
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
682
694
  } catch (e: any) {
683
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: '+ e.message)
695
+ throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: '+ e.message)
684
696
  }
685
697
  },
686
698
 
687
- async sendMsgAddContributorToCollection({ value, fee, memo }: sendMsgAddContributorToCollectionParams): Promise<DeliverTxResponse> {
699
+ async sendMsgAddStoryToCollection({ value, fee, memo }: sendMsgAddStoryToCollectionParams): Promise<DeliverTxResponse> {
688
700
  if (!signer) {
689
- throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.')
701
+ throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.')
690
702
  }
691
703
  try {
692
704
  const { address } = (await signer.getAccounts())[0];
693
705
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
694
- let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) })
706
+ let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) })
695
707
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
696
708
  } catch (e: any) {
697
- throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: '+ e.message)
709
+ throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: '+ e.message)
698
710
  }
699
711
  },
700
712
 
701
- async sendMsgReportMatch({ value, fee, memo }: sendMsgReportMatchParams): Promise<DeliverTxResponse> {
713
+ async sendMsgSubmitCopyrightProposal({ value, fee, memo }: sendMsgSubmitCopyrightProposalParams): Promise<DeliverTxResponse> {
702
714
  if (!signer) {
703
- throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.')
715
+ throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.')
704
716
  }
705
717
  try {
706
718
  const { address } = (await signer.getAccounts())[0];
707
719
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
708
- let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) })
720
+ let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) })
709
721
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
710
722
  } catch (e: any) {
711
- throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: '+ e.message)
723
+ throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: '+ e.message)
712
724
  }
713
725
  },
714
726
 
715
- async sendMsgRemoveSellOffer({ value, fee, memo }: sendMsgRemoveSellOfferParams): Promise<DeliverTxResponse> {
727
+ async sendMsgMultiVoteCard({ value, fee, memo }: sendMsgMultiVoteCardParams): Promise<DeliverTxResponse> {
716
728
  if (!signer) {
717
- throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.')
729
+ throw new Error('TxClient:sendMsgMultiVoteCard: Unable to sign Tx. Signer is not present.')
718
730
  }
719
731
  try {
720
732
  const { address } = (await signer.getAccounts())[0];
721
733
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
722
- let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) })
734
+ let msg = this.msgMultiVoteCard({ value: MsgMultiVoteCard.fromPartial(value) })
723
735
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
724
736
  } catch (e: any) {
725
- throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: '+ e.message)
737
+ throw new Error('TxClient:sendMsgMultiVoteCard: Could not broadcast Tx: '+ e.message)
726
738
  }
727
739
  },
728
740
 
729
- async sendMsgCreateuser({ value, fee, memo }: sendMsgCreateuserParams): Promise<DeliverTxResponse> {
741
+ async sendMsgAddArtwork({ value, fee, memo }: sendMsgAddArtworkParams): Promise<DeliverTxResponse> {
730
742
  if (!signer) {
731
- throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.')
743
+ throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.')
732
744
  }
733
745
  try {
734
746
  const { address } = (await signer.getAccounts())[0];
735
747
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
736
- let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) })
748
+ let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) })
737
749
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
738
750
  } catch (e: any) {
739
- throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: '+ e.message)
751
+ throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: '+ e.message)
740
752
  }
741
753
  },
742
754
 
743
- async sendMsgCreateSellOffer({ value, fee, memo }: sendMsgCreateSellOfferParams): Promise<DeliverTxResponse> {
755
+ async sendMsgRegisterForCouncil({ value, fee, memo }: sendMsgRegisterForCouncilParams): Promise<DeliverTxResponse> {
744
756
  if (!signer) {
745
- throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.')
757
+ throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.')
746
758
  }
747
759
  try {
748
760
  const { address } = (await signer.getAccounts())[0];
749
761
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
750
- let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) })
762
+ let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) })
751
763
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
752
764
  } catch (e: any) {
753
- throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: '+ e.message)
765
+ throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: '+ e.message)
754
766
  }
755
767
  },
756
768
 
757
- async sendMsgRemoveContributorFromCollection({ value, fee, memo }: sendMsgRemoveContributorFromCollectionParams): Promise<DeliverTxResponse> {
769
+ async sendMsgSetUserWebsite({ value, fee, memo }: sendMsgSetUserWebsiteParams): Promise<DeliverTxResponse> {
758
770
  if (!signer) {
759
- throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.')
771
+ throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.')
760
772
  }
761
773
  try {
762
774
  const { address } = (await signer.getAccounts())[0];
763
775
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
764
- let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) })
776
+ let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) })
765
777
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
766
778
  } catch (e: any) {
767
- throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: '+ e.message)
779
+ throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: '+ e.message)
768
780
  }
769
781
  },
770
782
 
771
- async sendMsgVoteCard({ value, fee, memo }: sendMsgVoteCardParams): Promise<DeliverTxResponse> {
783
+ async sendMsgSaveCardContent({ value, fee, memo }: sendMsgSaveCardContentParams): Promise<DeliverTxResponse> {
772
784
  if (!signer) {
773
- throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.')
785
+ throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.')
774
786
  }
775
787
  try {
776
788
  const { address } = (await signer.getAccounts())[0];
777
789
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
778
- let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) })
790
+ let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) })
779
791
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
780
792
  } catch (e: any) {
781
- throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: '+ e.message)
793
+ throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: '+ e.message)
782
794
  }
783
795
  },
784
796
 
785
- async sendMsgSetProfileCard({ value, fee, memo }: sendMsgSetProfileCardParams): Promise<DeliverTxResponse> {
797
+ async sendMsgOpenBoosterPack({ value, fee, memo }: sendMsgOpenBoosterPackParams): Promise<DeliverTxResponse> {
786
798
  if (!signer) {
787
- throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.')
799
+ throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.')
788
800
  }
789
801
  try {
790
802
  const { address } = (await signer.getAccounts())[0];
791
803
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
792
- let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) })
804
+ let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) })
793
805
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
794
806
  } catch (e: any) {
795
- throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: '+ e.message)
807
+ throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: '+ e.message)
796
808
  }
797
809
  },
798
810
 
799
- async sendMsgTransferBoosterPack({ value, fee, memo }: sendMsgTransferBoosterPackParams): Promise<DeliverTxResponse> {
811
+ async sendMsgReportMatch({ value, fee, memo }: sendMsgReportMatchParams): Promise<DeliverTxResponse> {
800
812
  if (!signer) {
801
- throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.')
813
+ throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.')
802
814
  }
803
815
  try {
804
816
  const { address } = (await signer.getAccounts())[0];
805
817
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
806
- let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) })
818
+ let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) })
807
819
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
808
820
  } catch (e: any) {
809
- throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: '+ e.message)
821
+ throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: '+ e.message)
810
822
  }
811
823
  },
812
824
 
813
- async sendMsgCreateCouncil({ value, fee, memo }: sendMsgCreateCouncilParams): Promise<DeliverTxResponse> {
825
+ async sendMsgBuyCollection({ value, fee, memo }: sendMsgBuyCollectionParams): Promise<DeliverTxResponse> {
814
826
  if (!signer) {
815
- throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.')
827
+ throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.')
816
828
  }
817
829
  try {
818
830
  const { address } = (await signer.getAccounts())[0];
819
831
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
820
- let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) })
832
+ let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) })
821
833
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
822
834
  } catch (e: any) {
823
- throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: '+ e.message)
835
+ throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: '+ e.message)
824
836
  }
825
837
  },
826
838
 
827
- async sendMsgSetUserBiography({ value, fee, memo }: sendMsgSetUserBiographyParams): Promise<DeliverTxResponse> {
839
+ async sendMsgAddCardToCollection({ value, fee, memo }: sendMsgAddCardToCollectionParams): Promise<DeliverTxResponse> {
828
840
  if (!signer) {
829
- throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.')
841
+ throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.')
830
842
  }
831
843
  try {
832
844
  const { address } = (await signer.getAccounts())[0];
833
845
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
834
- let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) })
846
+ let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) })
835
847
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
836
848
  } catch (e: any) {
837
- throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: '+ e.message)
849
+ throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: '+ e.message)
838
850
  }
839
851
  },
840
852
 
841
- async sendMsgBuyCardScheme({ value, fee, memo }: sendMsgBuyCardSchemeParams): Promise<DeliverTxResponse> {
853
+ async sendMsgSubmitCollectionProposal({ value, fee, memo }: sendMsgSubmitCollectionProposalParams): Promise<DeliverTxResponse> {
842
854
  if (!signer) {
843
- throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.')
855
+ throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.')
844
856
  }
845
857
  try {
846
858
  const { address } = (await signer.getAccounts())[0];
847
859
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
848
- let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) })
860
+ let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) })
849
861
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
850
862
  } catch (e: any) {
851
- throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: '+ e.message)
863
+ throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: '+ e.message)
852
864
  }
853
865
  },
854
866
 
855
- async sendMsgAddStoryToCollection({ value, fee, memo }: sendMsgAddStoryToCollectionParams): Promise<DeliverTxResponse> {
867
+ async sendMsgRewokeCouncilRegistration({ value, fee, memo }: sendMsgRewokeCouncilRegistrationParams): Promise<DeliverTxResponse> {
856
868
  if (!signer) {
857
- throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.')
869
+ throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.')
858
870
  }
859
871
  try {
860
872
  const { address } = (await signer.getAccounts())[0];
861
873
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
862
- let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) })
874
+ let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) })
863
875
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
864
876
  } catch (e: any) {
865
- throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: '+ e.message)
877
+ throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: '+ e.message)
866
878
  }
867
879
  },
868
880
 
869
- async sendMsgSaveCardContent({ value, fee, memo }: sendMsgSaveCardContentParams): Promise<DeliverTxResponse> {
881
+ async sendMsgVoteCard({ value, fee, memo }: sendMsgVoteCardParams): Promise<DeliverTxResponse> {
870
882
  if (!signer) {
871
- throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.')
883
+ throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.')
872
884
  }
873
885
  try {
874
886
  const { address } = (await signer.getAccounts())[0];
875
887
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
876
- let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) })
888
+ let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) })
877
889
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
878
890
  } catch (e: any) {
879
- throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: '+ e.message)
891
+ throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: '+ e.message)
880
892
  }
881
893
  },
882
894
 
883
- async sendMsgSubmitMatchReporterProposal({ value, fee, memo }: sendMsgSubmitMatchReporterProposalParams): Promise<DeliverTxResponse> {
895
+ async sendMsgTransferBoosterPack({ value, fee, memo }: sendMsgTransferBoosterPackParams): Promise<DeliverTxResponse> {
884
896
  if (!signer) {
885
- throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.')
897
+ throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.')
886
898
  }
887
899
  try {
888
900
  const { address } = (await signer.getAccounts())[0];
889
901
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
890
- let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) })
902
+ let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) })
891
903
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
892
904
  } catch (e: any) {
893
- throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: '+ e.message)
905
+ throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: '+ e.message)
894
906
  }
895
907
  },
896
908
 
897
- async sendMsgSubmitCopyrightProposal({ value, fee, memo }: sendMsgSubmitCopyrightProposalParams): Promise<DeliverTxResponse> {
909
+ async sendMsgRestartCouncil({ value, fee, memo }: sendMsgRestartCouncilParams): Promise<DeliverTxResponse> {
898
910
  if (!signer) {
899
- throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.')
911
+ throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.')
900
912
  }
901
913
  try {
902
914
  const { address } = (await signer.getAccounts())[0];
903
915
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
904
- let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) })
916
+ let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) })
905
917
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
906
918
  } catch (e: any) {
907
- throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: '+ e.message)
919
+ throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: '+ e.message)
908
920
  }
909
921
  },
910
922
 
911
- async sendMsgChangeArtist({ value, fee, memo }: sendMsgChangeArtistParams): Promise<DeliverTxResponse> {
923
+ async sendMsgBuyCardScheme({ value, fee, memo }: sendMsgBuyCardSchemeParams): Promise<DeliverTxResponse> {
912
924
  if (!signer) {
913
- throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.')
925
+ throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.')
914
926
  }
915
927
  try {
916
928
  const { address } = (await signer.getAccounts())[0];
917
929
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
918
- let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) })
930
+ let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) })
919
931
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
920
932
  } catch (e: any) {
921
- throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: '+ e.message)
933
+ throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: '+ e.message)
922
934
  }
923
935
  },
924
936
 
925
- async sendMsgTransferCard({ value, fee, memo }: sendMsgTransferCardParams): Promise<DeliverTxResponse> {
937
+ async sendMsgSubmitMatchReporterProposal({ value, fee, memo }: sendMsgSubmitMatchReporterProposalParams): Promise<DeliverTxResponse> {
926
938
  if (!signer) {
927
- throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.')
939
+ throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.')
928
940
  }
929
941
  try {
930
942
  const { address } = (await signer.getAccounts())[0];
931
943
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
932
- let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) })
944
+ let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) })
933
945
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
934
946
  } catch (e: any) {
935
- throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: '+ e.message)
947
+ throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: '+ e.message)
936
948
  }
937
949
  },
938
950
 
@@ -950,188 +962,202 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
950
962
  }
951
963
  },
952
964
 
953
- async sendMsgSetUserWebsite({ value, fee, memo }: sendMsgSetUserWebsiteParams): Promise<DeliverTxResponse> {
965
+ async sendMsgCreateuser({ value, fee, memo }: sendMsgCreateuserParams): Promise<DeliverTxResponse> {
954
966
  if (!signer) {
955
- throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.')
967
+ throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.')
956
968
  }
957
969
  try {
958
970
  const { address } = (await signer.getAccounts())[0];
959
971
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
960
- let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) })
972
+ let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) })
961
973
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
962
974
  } catch (e: any) {
963
- throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: '+ e.message)
975
+ throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: '+ e.message)
964
976
  }
965
977
  },
966
978
 
967
- async sendMsgSetCollectionArtist({ value, fee, memo }: sendMsgSetCollectionArtistParams): Promise<DeliverTxResponse> {
979
+ async sendMsgAddArtworkToCollection({ value, fee, memo }: sendMsgAddArtworkToCollectionParams): Promise<DeliverTxResponse> {
968
980
  if (!signer) {
969
- throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.')
981
+ throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.')
970
982
  }
971
983
  try {
972
984
  const { address } = (await signer.getAccounts())[0];
973
985
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
974
- let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) })
986
+ let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) })
975
987
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
976
988
  } catch (e: any) {
977
- throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: '+ e.message)
989
+ throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: '+ e.message)
978
990
  }
979
991
  },
980
992
 
981
- async sendMsgCreateCollection({ value, fee, memo }: sendMsgCreateCollectionParams): Promise<DeliverTxResponse> {
993
+ async sendMsgBuyCard({ value, fee, memo }: sendMsgBuyCardParams): Promise<DeliverTxResponse> {
982
994
  if (!signer) {
983
- throw new Error('TxClient:sendMsgCreateCollection: Unable to sign Tx. Signer is not present.')
995
+ throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.')
984
996
  }
985
997
  try {
986
998
  const { address } = (await signer.getAccounts())[0];
987
999
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
988
- let msg = this.msgCreateCollection({ value: MsgCreateCollection.fromPartial(value) })
1000
+ let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) })
989
1001
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
990
1002
  } catch (e: any) {
991
- throw new Error('TxClient:sendMsgCreateCollection: Could not broadcast Tx: '+ e.message)
1003
+ throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: '+ e.message)
992
1004
  }
993
1005
  },
994
1006
 
995
- async sendMsgDonateToCard({ value, fee, memo }: sendMsgDonateToCardParams): Promise<DeliverTxResponse> {
1007
+ async sendMsgSetCollectionArtist({ value, fee, memo }: sendMsgSetCollectionArtistParams): Promise<DeliverTxResponse> {
996
1008
  if (!signer) {
997
- throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.')
1009
+ throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.')
998
1010
  }
999
1011
  try {
1000
1012
  const { address } = (await signer.getAccounts())[0];
1001
1013
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
1002
- let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) })
1014
+ let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) })
1003
1015
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
1004
1016
  } catch (e: any) {
1005
- throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: '+ e.message)
1017
+ throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: '+ e.message)
1006
1018
  }
1007
1019
  },
1008
1020
 
1009
- async sendMsgAddArtworkToCollection({ value, fee, memo }: sendMsgAddArtworkToCollectionParams): Promise<DeliverTxResponse> {
1021
+ async sendMsgRevealCouncilResponse({ value, fee, memo }: sendMsgRevealCouncilResponseParams): Promise<DeliverTxResponse> {
1010
1022
  if (!signer) {
1011
- throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.')
1023
+ throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.')
1012
1024
  }
1013
1025
  try {
1014
1026
  const { address } = (await signer.getAccounts())[0];
1015
1027
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
1016
- let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) })
1028
+ let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) })
1017
1029
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
1018
1030
  } catch (e: any) {
1019
- throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: '+ e.message)
1031
+ throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: '+ e.message)
1020
1032
  }
1021
1033
  },
1022
1034
 
1023
- async sendMsgSetCardRarity({ value, fee, memo }: sendMsgSetCardRarityParams): Promise<DeliverTxResponse> {
1035
+ async sendMsgConfirmMatch({ value, fee, memo }: sendMsgConfirmMatchParams): Promise<DeliverTxResponse> {
1036
+ if (!signer) {
1037
+ throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.')
1038
+ }
1039
+ try {
1040
+ const { address } = (await signer.getAccounts())[0];
1041
+ const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
1042
+ let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) })
1043
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
1044
+ } catch (e: any) {
1045
+ throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: '+ e.message)
1046
+ }
1047
+ },
1048
+
1049
+ async sendMsgChangeArtist({ value, fee, memo }: sendMsgChangeArtistParams): Promise<DeliverTxResponse> {
1024
1050
  if (!signer) {
1025
- throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.')
1051
+ throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.')
1026
1052
  }
1027
1053
  try {
1028
1054
  const { address } = (await signer.getAccounts())[0];
1029
1055
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
1030
- let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) })
1056
+ let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) })
1031
1057
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
1032
1058
  } catch (e: any) {
1033
- throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: '+ e.message)
1059
+ throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: '+ e.message)
1034
1060
  }
1035
1061
  },
1036
1062
 
1037
- async sendMsgAddCardToCollection({ value, fee, memo }: sendMsgAddCardToCollectionParams): Promise<DeliverTxResponse> {
1063
+ async sendMsgCreateSellOffer({ value, fee, memo }: sendMsgCreateSellOfferParams): Promise<DeliverTxResponse> {
1038
1064
  if (!signer) {
1039
- throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.')
1065
+ throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.')
1040
1066
  }
1041
1067
  try {
1042
1068
  const { address } = (await signer.getAccounts())[0];
1043
1069
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
1044
- let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) })
1070
+ let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) })
1045
1071
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
1046
1072
  } catch (e: any) {
1047
- throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: '+ e.message)
1073
+ throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: '+ e.message)
1048
1074
  }
1049
1075
  },
1050
1076
 
1051
- async sendMsgSubmitCollectionProposal({ value, fee, memo }: sendMsgSubmitCollectionProposalParams): Promise<DeliverTxResponse> {
1077
+ async sendMsgRemoveCardFromCollection({ value, fee, memo }: sendMsgRemoveCardFromCollectionParams): Promise<DeliverTxResponse> {
1052
1078
  if (!signer) {
1053
- throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.')
1079
+ throw new Error('TxClient:sendMsgRemoveCardFromCollection: Unable to sign Tx. Signer is not present.')
1054
1080
  }
1055
1081
  try {
1056
1082
  const { address } = (await signer.getAccounts())[0];
1057
1083
  const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
1058
- let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) })
1084
+ let msg = this.msgRemoveCardFromCollection({ value: MsgRemoveCardFromCollection.fromPartial(value) })
1059
1085
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
1060
1086
  } catch (e: any) {
1061
- throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: '+ e.message)
1087
+ throw new Error('TxClient:sendMsgRemoveCardFromCollection: Could not broadcast Tx: '+ e.message)
1062
1088
  }
1063
1089
  },
1064
1090
 
1065
1091
 
1066
- msgRevealCouncilResponse({ value }: msgRevealCouncilResponseParams): EncodeObject {
1092
+ msgCreateCouncil({ value }: msgCreateCouncilParams): EncodeObject {
1067
1093
  try {
1068
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial( value ) }
1094
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial( value ) }
1069
1095
  } catch (e: any) {
1070
- throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message)
1096
+ throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message)
1071
1097
  }
1072
1098
  },
1073
1099
 
1074
- msgRestartCouncil({ value }: msgRestartCouncilParams): EncodeObject {
1100
+ msgCommitCouncilResponse({ value }: msgCommitCouncilResponseParams): EncodeObject {
1075
1101
  try {
1076
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial( value ) }
1102
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial( value ) }
1077
1103
  } catch (e: any) {
1078
- throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message)
1104
+ throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message)
1079
1105
  }
1080
1106
  },
1081
1107
 
1082
- msgCommitCouncilResponse({ value }: msgCommitCouncilResponseParams): EncodeObject {
1108
+ msgFinalizeCollection({ value }: msgFinalizeCollectionParams): EncodeObject {
1083
1109
  try {
1084
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial( value ) }
1110
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial( value ) }
1085
1111
  } catch (e: any) {
1086
- throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message)
1112
+ throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message)
1087
1113
  }
1088
1114
  },
1089
1115
 
1090
- msgOpenBoosterPack({ value }: msgOpenBoosterPackParams): EncodeObject {
1116
+ msgSetCardRarity({ value }: msgSetCardRarityParams): EncodeObject {
1091
1117
  try {
1092
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial( value ) }
1118
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial( value ) }
1093
1119
  } catch (e: any) {
1094
- throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message)
1120
+ throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message)
1095
1121
  }
1096
1122
  },
1097
1123
 
1098
- msgRemoveCardFromCollection({ value }: msgRemoveCardFromCollectionParams): EncodeObject {
1124
+ msgAddContributorToCollection({ value }: msgAddContributorToCollectionParams): EncodeObject {
1099
1125
  try {
1100
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", value: MsgRemoveCardFromCollection.fromPartial( value ) }
1126
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial( value ) }
1101
1127
  } catch (e: any) {
1102
- throw new Error('TxClient:MsgRemoveCardFromCollection: Could not create message: ' + e.message)
1128
+ throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message)
1103
1129
  }
1104
1130
  },
1105
1131
 
1106
- msgBuyCollection({ value }: msgBuyCollectionParams): EncodeObject {
1132
+ msgTransferCard({ value }: msgTransferCardParams): EncodeObject {
1107
1133
  try {
1108
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial( value ) }
1134
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial( value ) }
1109
1135
  } catch (e: any) {
1110
- throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message)
1136
+ throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message)
1111
1137
  }
1112
1138
  },
1113
1139
 
1114
- msgBuyCard({ value }: msgBuyCardParams): EncodeObject {
1140
+ msgSetUserBiography({ value }: msgSetUserBiographyParams): EncodeObject {
1115
1141
  try {
1116
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard", value: MsgBuyCard.fromPartial( value ) }
1142
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial( value ) }
1117
1143
  } catch (e: any) {
1118
- throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message)
1144
+ throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message)
1119
1145
  }
1120
1146
  },
1121
1147
 
1122
- msgConfirmMatch({ value }: msgConfirmMatchParams): EncodeObject {
1148
+ msgRemoveSellOffer({ value }: msgRemoveSellOfferParams): EncodeObject {
1123
1149
  try {
1124
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial( value ) }
1150
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial( value ) }
1125
1151
  } catch (e: any) {
1126
- throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message)
1152
+ throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message)
1127
1153
  }
1128
1154
  },
1129
1155
 
1130
- msgAddArtwork({ value }: msgAddArtworkParams): EncodeObject {
1156
+ msgCreateCollection({ value }: msgCreateCollectionParams): EncodeObject {
1131
1157
  try {
1132
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", value: MsgAddArtwork.fromPartial( value ) }
1158
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", value: MsgCreateCollection.fromPartial( value ) }
1133
1159
  } catch (e: any) {
1134
- throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message)
1160
+ throw new Error('TxClient:MsgCreateCollection: Could not create message: ' + e.message)
1135
1161
  }
1136
1162
  },
1137
1163
 
@@ -1143,171 +1169,171 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
1143
1169
  }
1144
1170
  },
1145
1171
 
1146
- msgRegisterForCouncil({ value }: msgRegisterForCouncilParams): EncodeObject {
1172
+ msgSetProfileCard({ value }: msgSetProfileCardParams): EncodeObject {
1147
1173
  try {
1148
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial( value ) }
1174
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial( value ) }
1149
1175
  } catch (e: any) {
1150
- throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message)
1176
+ throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message)
1151
1177
  }
1152
1178
  },
1153
1179
 
1154
- msgFinalizeCollection({ value }: msgFinalizeCollectionParams): EncodeObject {
1180
+ msgDonateToCard({ value }: msgDonateToCardParams): EncodeObject {
1155
1181
  try {
1156
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial( value ) }
1182
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial( value ) }
1157
1183
  } catch (e: any) {
1158
- throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message)
1184
+ throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message)
1159
1185
  }
1160
1186
  },
1161
1187
 
1162
- msgRewokeCouncilRegistration({ value }: msgRewokeCouncilRegistrationParams): EncodeObject {
1188
+ msgRemoveContributorFromCollection({ value }: msgRemoveContributorFromCollectionParams): EncodeObject {
1163
1189
  try {
1164
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial( value ) }
1190
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial( value ) }
1165
1191
  } catch (e: any) {
1166
- throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message)
1192
+ throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message)
1167
1193
  }
1168
1194
  },
1169
1195
 
1170
- msgAddContributorToCollection({ value }: msgAddContributorToCollectionParams): EncodeObject {
1196
+ msgAddStoryToCollection({ value }: msgAddStoryToCollectionParams): EncodeObject {
1171
1197
  try {
1172
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial( value ) }
1198
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial( value ) }
1173
1199
  } catch (e: any) {
1174
- throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message)
1200
+ throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message)
1175
1201
  }
1176
1202
  },
1177
1203
 
1178
- msgReportMatch({ value }: msgReportMatchParams): EncodeObject {
1204
+ msgSubmitCopyrightProposal({ value }: msgSubmitCopyrightProposalParams): EncodeObject {
1179
1205
  try {
1180
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial( value ) }
1206
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial( value ) }
1181
1207
  } catch (e: any) {
1182
- throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message)
1208
+ throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message)
1183
1209
  }
1184
1210
  },
1185
1211
 
1186
- msgRemoveSellOffer({ value }: msgRemoveSellOfferParams): EncodeObject {
1212
+ msgMultiVoteCard({ value }: msgMultiVoteCardParams): EncodeObject {
1187
1213
  try {
1188
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial( value ) }
1214
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", value: MsgMultiVoteCard.fromPartial( value ) }
1189
1215
  } catch (e: any) {
1190
- throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message)
1216
+ throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message)
1191
1217
  }
1192
1218
  },
1193
1219
 
1194
- msgCreateuser({ value }: msgCreateuserParams): EncodeObject {
1220
+ msgAddArtwork({ value }: msgAddArtworkParams): EncodeObject {
1195
1221
  try {
1196
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial( value ) }
1222
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", value: MsgAddArtwork.fromPartial( value ) }
1197
1223
  } catch (e: any) {
1198
- throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message)
1224
+ throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message)
1199
1225
  }
1200
1226
  },
1201
1227
 
1202
- msgCreateSellOffer({ value }: msgCreateSellOfferParams): EncodeObject {
1228
+ msgRegisterForCouncil({ value }: msgRegisterForCouncilParams): EncodeObject {
1203
1229
  try {
1204
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial( value ) }
1230
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial( value ) }
1205
1231
  } catch (e: any) {
1206
- throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message)
1232
+ throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message)
1207
1233
  }
1208
1234
  },
1209
1235
 
1210
- msgRemoveContributorFromCollection({ value }: msgRemoveContributorFromCollectionParams): EncodeObject {
1236
+ msgSetUserWebsite({ value }: msgSetUserWebsiteParams): EncodeObject {
1211
1237
  try {
1212
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial( value ) }
1238
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial( value ) }
1213
1239
  } catch (e: any) {
1214
- throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message)
1240
+ throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message)
1215
1241
  }
1216
1242
  },
1217
1243
 
1218
- msgVoteCard({ value }: msgVoteCardParams): EncodeObject {
1244
+ msgSaveCardContent({ value }: msgSaveCardContentParams): EncodeObject {
1219
1245
  try {
1220
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial( value ) }
1246
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial( value ) }
1221
1247
  } catch (e: any) {
1222
- throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message)
1248
+ throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message)
1223
1249
  }
1224
1250
  },
1225
1251
 
1226
- msgSetProfileCard({ value }: msgSetProfileCardParams): EncodeObject {
1252
+ msgOpenBoosterPack({ value }: msgOpenBoosterPackParams): EncodeObject {
1227
1253
  try {
1228
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial( value ) }
1254
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial( value ) }
1229
1255
  } catch (e: any) {
1230
- throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message)
1256
+ throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message)
1231
1257
  }
1232
1258
  },
1233
1259
 
1234
- msgTransferBoosterPack({ value }: msgTransferBoosterPackParams): EncodeObject {
1260
+ msgReportMatch({ value }: msgReportMatchParams): EncodeObject {
1235
1261
  try {
1236
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial( value ) }
1262
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial( value ) }
1237
1263
  } catch (e: any) {
1238
- throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message)
1264
+ throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message)
1239
1265
  }
1240
1266
  },
1241
1267
 
1242
- msgCreateCouncil({ value }: msgCreateCouncilParams): EncodeObject {
1268
+ msgBuyCollection({ value }: msgBuyCollectionParams): EncodeObject {
1243
1269
  try {
1244
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial( value ) }
1270
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial( value ) }
1245
1271
  } catch (e: any) {
1246
- throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message)
1272
+ throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message)
1247
1273
  }
1248
1274
  },
1249
1275
 
1250
- msgSetUserBiography({ value }: msgSetUserBiographyParams): EncodeObject {
1276
+ msgAddCardToCollection({ value }: msgAddCardToCollectionParams): EncodeObject {
1251
1277
  try {
1252
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial( value ) }
1278
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial( value ) }
1253
1279
  } catch (e: any) {
1254
- throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message)
1280
+ throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message)
1255
1281
  }
1256
1282
  },
1257
1283
 
1258
- msgBuyCardScheme({ value }: msgBuyCardSchemeParams): EncodeObject {
1284
+ msgSubmitCollectionProposal({ value }: msgSubmitCollectionProposalParams): EncodeObject {
1259
1285
  try {
1260
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial( value ) }
1286
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial( value ) }
1261
1287
  } catch (e: any) {
1262
- throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message)
1288
+ throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message)
1263
1289
  }
1264
1290
  },
1265
1291
 
1266
- msgAddStoryToCollection({ value }: msgAddStoryToCollectionParams): EncodeObject {
1292
+ msgRewokeCouncilRegistration({ value }: msgRewokeCouncilRegistrationParams): EncodeObject {
1267
1293
  try {
1268
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial( value ) }
1294
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial( value ) }
1269
1295
  } catch (e: any) {
1270
- throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message)
1296
+ throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message)
1271
1297
  }
1272
1298
  },
1273
1299
 
1274
- msgSaveCardContent({ value }: msgSaveCardContentParams): EncodeObject {
1300
+ msgVoteCard({ value }: msgVoteCardParams): EncodeObject {
1275
1301
  try {
1276
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial( value ) }
1302
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial( value ) }
1277
1303
  } catch (e: any) {
1278
- throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message)
1304
+ throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message)
1279
1305
  }
1280
1306
  },
1281
1307
 
1282
- msgSubmitMatchReporterProposal({ value }: msgSubmitMatchReporterProposalParams): EncodeObject {
1308
+ msgTransferBoosterPack({ value }: msgTransferBoosterPackParams): EncodeObject {
1283
1309
  try {
1284
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial( value ) }
1310
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial( value ) }
1285
1311
  } catch (e: any) {
1286
- throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message)
1312
+ throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message)
1287
1313
  }
1288
1314
  },
1289
1315
 
1290
- msgSubmitCopyrightProposal({ value }: msgSubmitCopyrightProposalParams): EncodeObject {
1316
+ msgRestartCouncil({ value }: msgRestartCouncilParams): EncodeObject {
1291
1317
  try {
1292
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial( value ) }
1318
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial( value ) }
1293
1319
  } catch (e: any) {
1294
- throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message)
1320
+ throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message)
1295
1321
  }
1296
1322
  },
1297
1323
 
1298
- msgChangeArtist({ value }: msgChangeArtistParams): EncodeObject {
1324
+ msgBuyCardScheme({ value }: msgBuyCardSchemeParams): EncodeObject {
1299
1325
  try {
1300
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial( value ) }
1326
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial( value ) }
1301
1327
  } catch (e: any) {
1302
- throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message)
1328
+ throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message)
1303
1329
  }
1304
1330
  },
1305
1331
 
1306
- msgTransferCard({ value }: msgTransferCardParams): EncodeObject {
1332
+ msgSubmitMatchReporterProposal({ value }: msgSubmitMatchReporterProposalParams): EncodeObject {
1307
1333
  try {
1308
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial( value ) }
1334
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial( value ) }
1309
1335
  } catch (e: any) {
1310
- throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message)
1336
+ throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message)
1311
1337
  }
1312
1338
  },
1313
1339
 
@@ -1319,67 +1345,75 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
1319
1345
  }
1320
1346
  },
1321
1347
 
1322
- msgSetUserWebsite({ value }: msgSetUserWebsiteParams): EncodeObject {
1348
+ msgCreateuser({ value }: msgCreateuserParams): EncodeObject {
1323
1349
  try {
1324
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial( value ) }
1350
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial( value ) }
1325
1351
  } catch (e: any) {
1326
- throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message)
1352
+ throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message)
1327
1353
  }
1328
1354
  },
1329
1355
 
1330
- msgSetCollectionArtist({ value }: msgSetCollectionArtistParams): EncodeObject {
1356
+ msgAddArtworkToCollection({ value }: msgAddArtworkToCollectionParams): EncodeObject {
1331
1357
  try {
1332
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial( value ) }
1358
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial( value ) }
1333
1359
  } catch (e: any) {
1334
- throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message)
1360
+ throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message)
1335
1361
  }
1336
1362
  },
1337
1363
 
1338
- msgCreateCollection({ value }: msgCreateCollectionParams): EncodeObject {
1364
+ msgBuyCard({ value }: msgBuyCardParams): EncodeObject {
1339
1365
  try {
1340
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", value: MsgCreateCollection.fromPartial( value ) }
1366
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard", value: MsgBuyCard.fromPartial( value ) }
1341
1367
  } catch (e: any) {
1342
- throw new Error('TxClient:MsgCreateCollection: Could not create message: ' + e.message)
1368
+ throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message)
1343
1369
  }
1344
1370
  },
1345
1371
 
1346
- msgDonateToCard({ value }: msgDonateToCardParams): EncodeObject {
1372
+ msgSetCollectionArtist({ value }: msgSetCollectionArtistParams): EncodeObject {
1347
1373
  try {
1348
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial( value ) }
1374
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial( value ) }
1349
1375
  } catch (e: any) {
1350
- throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message)
1376
+ throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message)
1351
1377
  }
1352
1378
  },
1353
1379
 
1354
- msgAddArtworkToCollection({ value }: msgAddArtworkToCollectionParams): EncodeObject {
1380
+ msgRevealCouncilResponse({ value }: msgRevealCouncilResponseParams): EncodeObject {
1355
1381
  try {
1356
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial( value ) }
1382
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial( value ) }
1357
1383
  } catch (e: any) {
1358
- throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message)
1384
+ throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message)
1359
1385
  }
1360
1386
  },
1361
1387
 
1362
- msgSetCardRarity({ value }: msgSetCardRarityParams): EncodeObject {
1388
+ msgConfirmMatch({ value }: msgConfirmMatchParams): EncodeObject {
1363
1389
  try {
1364
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial( value ) }
1390
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial( value ) }
1365
1391
  } catch (e: any) {
1366
- throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message)
1392
+ throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message)
1367
1393
  }
1368
1394
  },
1369
1395
 
1370
- msgAddCardToCollection({ value }: msgAddCardToCollectionParams): EncodeObject {
1396
+ msgChangeArtist({ value }: msgChangeArtistParams): EncodeObject {
1371
1397
  try {
1372
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial( value ) }
1398
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial( value ) }
1373
1399
  } catch (e: any) {
1374
- throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message)
1400
+ throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message)
1375
1401
  }
1376
1402
  },
1377
1403
 
1378
- msgSubmitCollectionProposal({ value }: msgSubmitCollectionProposalParams): EncodeObject {
1404
+ msgCreateSellOffer({ value }: msgCreateSellOfferParams): EncodeObject {
1379
1405
  try {
1380
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial( value ) }
1406
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial( value ) }
1381
1407
  } catch (e: any) {
1382
- throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message)
1408
+ throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message)
1409
+ }
1410
+ },
1411
+
1412
+ msgRemoveCardFromCollection({ value }: msgRemoveCardFromCollectionParams): EncodeObject {
1413
+ try {
1414
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", value: MsgRemoveCardFromCollection.fromPartial( value ) }
1415
+ } catch (e: any) {
1416
+ throw new Error('TxClient:MsgRemoveCardFromCollection: Could not create message: ' + e.message)
1383
1417
  }
1384
1418
  },
1385
1419
 
@@ -1420,6 +1454,7 @@ class SDKModule {
1420
1454
  IgnoreSellOffers: getStructure(typeIgnoreSellOffers.fromPartial({})),
1421
1455
  QueryQServerResponse: getStructure(typeQueryQServerResponse.fromPartial({})),
1422
1456
  RunningAverage: getStructure(typeRunningAverage.fromPartial({})),
1457
+ SingleVote: getStructure(typeSingleVote.fromPartial({})),
1423
1458
  BoosterPack: getStructure(typeBoosterPack.fromPartial({})),
1424
1459
  AirDrops: getStructure(typeAirDrops.fromPartial({})),
1425
1460
  VoteRight: getStructure(typeVoteRight.fromPartial({})),