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