decentralcardgame-cardchain-client-ts 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,47 +3,47 @@ import { SigningStargateClient } from "@cosmjs/stargate";
3
3
  import { Registry } from "@cosmjs/proto-signing";
4
4
  import { msgTypes } from './registry';
5
5
  import { Api } from "./rest";
6
- import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
6
+ import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
7
+ import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
7
8
  import { MsgCreateCollection } from "./types/cardchain/cardchain/tx";
8
- import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
9
- import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
10
- import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
11
- import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
12
- import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
9
+ import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
10
+ import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
11
+ import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
12
+ import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
13
+ import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
14
+ import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
15
+ import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
16
+ import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
13
17
  import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
14
- import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
18
+ import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
19
+ import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
20
+ import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
21
+ import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
22
+ import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
23
+ import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
24
+ import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
25
+ import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
15
26
  import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
16
- import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
17
27
  import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
18
- import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
19
- import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
20
- import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
21
- import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
22
- import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
23
- import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
28
+ import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
24
29
  import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
25
- import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
26
- import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
27
- import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
28
30
  import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
29
- import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
31
+ import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
32
+ import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
30
33
  import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
31
- import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
32
- import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
33
- import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
34
- import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
34
+ import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
35
35
  import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
36
- import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
36
+ import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
37
37
  import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
38
- import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
39
- import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
40
- import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
41
- import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
42
- import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
43
- import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
44
38
  import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
39
+ import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
40
+ import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
41
+ import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
42
+ import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
43
+ import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
44
+ import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
45
45
  import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
46
- import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
46
+ import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
47
47
  import { Card as typeCard } from "./types";
48
48
  import { TimeStamp as typeTimeStamp } from "./types";
49
49
  import { Collection as typeCollection } from "./types";
@@ -66,7 +66,7 @@ import { AirDrops as typeAirDrops } from "./types";
66
66
  import { VoteRight as typeVoteRight } from "./types";
67
67
  import { VotingResult as typeVotingResult } from "./types";
68
68
  import { VotingResults as typeVotingResults } from "./types";
69
- export { MsgSetCardRarity, MsgCreateCollection, MsgBuyCollection, MsgBuyCardScheme, MsgCreateSellOffer, MsgSetCollectionArtist, MsgRevealCouncilResponse, MsgDonateToCard, MsgTransferCard, MsgAddContributorToCollection, MsgRegisterForCouncil, MsgCreateCouncil, MsgAddArtworkToCollection, MsgSetUserBiography, MsgRemoveCardFromCollection, MsgVoteCard, MsgCommitCouncilResponse, MsgOpenBoosterPack, MsgSetUserWebsite, MsgSubmitCopyrightProposal, MsgSaveCardContent, MsgRemoveContributorFromCollection, MsgConfirmMatch, MsgRewokeCouncilRegistration, MsgChangeArtist, MsgRemoveSellOffer, MsgAddCardToCollection, MsgFinalizeCollection, MsgAddStoryToCollection, MsgSetCollectionStoryWriter, MsgMultiVoteCard, MsgAddArtwork, MsgReportMatch, MsgCreateuser, MsgSubmitCollectionProposal, MsgRestartCouncil, MsgSubmitMatchReporterProposal, MsgSetProfileCard, MsgApointMatchReporter, MsgBuyCard, MsgTransferBoosterPack };
69
+ export { MsgTransferCard, MsgOpenBoosterPack, MsgCreateCollection, MsgCreateuser, MsgSubmitMatchReporterProposal, MsgRemoveContributorFromCollection, MsgSubmitCopyrightProposal, MsgRewokeCouncilRegistration, MsgReportMatch, MsgSubmitCollectionProposal, MsgSaveCardContent, MsgDonateToCard, MsgAddStoryToCollection, MsgTransferBoosterPack, MsgSetProfileCard, MsgRemoveCardFromCollection, MsgAddArtworkToCollection, MsgAddCardToCollection, MsgSetCardRarity, MsgFinalizeCollection, MsgAddContributorToCollection, MsgCreateCouncil, MsgRestartCouncil, MsgSetUserWebsite, MsgConfirmMatch, MsgSetUserBiography, MsgMultiVoteCard, MsgChangeArtist, MsgCreateSellOffer, MsgSetCollectionStoryWriter, MsgRemoveSellOffer, MsgAddArtwork, MsgApointMatchReporter, MsgRegisterForCouncil, MsgRevealCouncilResponse, MsgVoteCard, MsgSetCollectionArtist, MsgBuyCardScheme, MsgBuyCollection, MsgBuyCard, MsgCommitCouncilResponse };
70
70
  export const registry = new Registry(msgTypes);
71
71
  function getStructure(template) {
72
72
  const structure = { fields: [] };
@@ -82,18 +82,32 @@ const defaultFee = {
82
82
  };
83
83
  export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
84
84
  return {
85
- async sendMsgSetCardRarity({ value, fee, memo }) {
85
+ async sendMsgTransferCard({ value, fee, memo }) {
86
86
  if (!signer) {
87
- throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.');
87
+ throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.');
88
88
  }
89
89
  try {
90
90
  const { address } = (await signer.getAccounts())[0];
91
91
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
92
- let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) });
92
+ let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) });
93
93
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
94
94
  }
95
95
  catch (e) {
96
- throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: ' + e.message);
96
+ throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: ' + e.message);
97
+ }
98
+ },
99
+ async sendMsgOpenBoosterPack({ value, fee, memo }) {
100
+ if (!signer) {
101
+ throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.');
102
+ }
103
+ try {
104
+ const { address } = (await signer.getAccounts())[0];
105
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
106
+ let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) });
107
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
108
+ }
109
+ catch (e) {
110
+ throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: ' + e.message);
97
111
  }
98
112
  },
99
113
  async sendMsgCreateCollection({ value, fee, memo }) {
@@ -110,172 +124,172 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
110
124
  throw new Error('TxClient:sendMsgCreateCollection: Could not broadcast Tx: ' + e.message);
111
125
  }
112
126
  },
113
- async sendMsgBuyCollection({ value, fee, memo }) {
127
+ async sendMsgCreateuser({ value, fee, memo }) {
114
128
  if (!signer) {
115
- throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.');
129
+ throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.');
116
130
  }
117
131
  try {
118
132
  const { address } = (await signer.getAccounts())[0];
119
133
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
120
- let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) });
134
+ let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) });
121
135
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
122
136
  }
123
137
  catch (e) {
124
- throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: ' + e.message);
138
+ throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: ' + e.message);
125
139
  }
126
140
  },
127
- async sendMsgBuyCardScheme({ value, fee, memo }) {
141
+ async sendMsgSubmitMatchReporterProposal({ value, fee, memo }) {
128
142
  if (!signer) {
129
- throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.');
143
+ throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.');
130
144
  }
131
145
  try {
132
146
  const { address } = (await signer.getAccounts())[0];
133
147
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
134
- let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) });
148
+ let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) });
135
149
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
136
150
  }
137
151
  catch (e) {
138
- throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: ' + e.message);
152
+ throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: ' + e.message);
139
153
  }
140
154
  },
141
- async sendMsgCreateSellOffer({ value, fee, memo }) {
155
+ async sendMsgRemoveContributorFromCollection({ value, fee, memo }) {
142
156
  if (!signer) {
143
- throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.');
157
+ throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.');
144
158
  }
145
159
  try {
146
160
  const { address } = (await signer.getAccounts())[0];
147
161
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
148
- let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) });
162
+ let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) });
149
163
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
150
164
  }
151
165
  catch (e) {
152
- throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: ' + e.message);
166
+ throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: ' + e.message);
153
167
  }
154
168
  },
155
- async sendMsgSetCollectionArtist({ value, fee, memo }) {
169
+ async sendMsgSubmitCopyrightProposal({ value, fee, memo }) {
156
170
  if (!signer) {
157
- throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.');
171
+ throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.');
158
172
  }
159
173
  try {
160
174
  const { address } = (await signer.getAccounts())[0];
161
175
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
162
- let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) });
176
+ let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) });
163
177
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
164
178
  }
165
179
  catch (e) {
166
- throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: ' + e.message);
180
+ throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: ' + e.message);
167
181
  }
168
182
  },
169
- async sendMsgRevealCouncilResponse({ value, fee, memo }) {
183
+ async sendMsgRewokeCouncilRegistration({ value, fee, memo }) {
170
184
  if (!signer) {
171
- throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.');
185
+ throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.');
172
186
  }
173
187
  try {
174
188
  const { address } = (await signer.getAccounts())[0];
175
189
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
176
- let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) });
190
+ let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) });
177
191
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
178
192
  }
179
193
  catch (e) {
180
- throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: ' + e.message);
194
+ throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: ' + e.message);
181
195
  }
182
196
  },
183
- async sendMsgDonateToCard({ value, fee, memo }) {
197
+ async sendMsgReportMatch({ value, fee, memo }) {
184
198
  if (!signer) {
185
- throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.');
199
+ throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.');
186
200
  }
187
201
  try {
188
202
  const { address } = (await signer.getAccounts())[0];
189
203
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
190
- let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) });
204
+ let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) });
191
205
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
192
206
  }
193
207
  catch (e) {
194
- throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: ' + e.message);
208
+ throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: ' + e.message);
195
209
  }
196
210
  },
197
- async sendMsgTransferCard({ value, fee, memo }) {
211
+ async sendMsgSubmitCollectionProposal({ value, fee, memo }) {
198
212
  if (!signer) {
199
- throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.');
213
+ throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.');
200
214
  }
201
215
  try {
202
216
  const { address } = (await signer.getAccounts())[0];
203
217
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
204
- let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) });
218
+ let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) });
205
219
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
206
220
  }
207
221
  catch (e) {
208
- throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: ' + e.message);
222
+ throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: ' + e.message);
209
223
  }
210
224
  },
211
- async sendMsgAddContributorToCollection({ value, fee, memo }) {
225
+ async sendMsgSaveCardContent({ value, fee, memo }) {
212
226
  if (!signer) {
213
- throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.');
227
+ throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.');
214
228
  }
215
229
  try {
216
230
  const { address } = (await signer.getAccounts())[0];
217
231
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
218
- let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) });
232
+ let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) });
219
233
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
220
234
  }
221
235
  catch (e) {
222
- throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: ' + e.message);
236
+ throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: ' + e.message);
223
237
  }
224
238
  },
225
- async sendMsgRegisterForCouncil({ value, fee, memo }) {
239
+ async sendMsgDonateToCard({ value, fee, memo }) {
226
240
  if (!signer) {
227
- throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.');
241
+ throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.');
228
242
  }
229
243
  try {
230
244
  const { address } = (await signer.getAccounts())[0];
231
245
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
232
- let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) });
246
+ let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) });
233
247
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
234
248
  }
235
249
  catch (e) {
236
- throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: ' + e.message);
250
+ throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: ' + e.message);
237
251
  }
238
252
  },
239
- async sendMsgCreateCouncil({ value, fee, memo }) {
253
+ async sendMsgAddStoryToCollection({ value, fee, memo }) {
240
254
  if (!signer) {
241
- throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.');
255
+ throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.');
242
256
  }
243
257
  try {
244
258
  const { address } = (await signer.getAccounts())[0];
245
259
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
246
- let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) });
260
+ let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) });
247
261
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
248
262
  }
249
263
  catch (e) {
250
- throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: ' + e.message);
264
+ throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: ' + e.message);
251
265
  }
252
266
  },
253
- async sendMsgAddArtworkToCollection({ value, fee, memo }) {
267
+ async sendMsgTransferBoosterPack({ value, fee, memo }) {
254
268
  if (!signer) {
255
- throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.');
269
+ throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.');
256
270
  }
257
271
  try {
258
272
  const { address } = (await signer.getAccounts())[0];
259
273
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
260
- let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) });
274
+ let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) });
261
275
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
262
276
  }
263
277
  catch (e) {
264
- throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: ' + e.message);
278
+ throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: ' + e.message);
265
279
  }
266
280
  },
267
- async sendMsgSetUserBiography({ value, fee, memo }) {
281
+ async sendMsgSetProfileCard({ value, fee, memo }) {
268
282
  if (!signer) {
269
- throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.');
283
+ throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.');
270
284
  }
271
285
  try {
272
286
  const { address } = (await signer.getAccounts())[0];
273
287
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
274
- let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) });
288
+ let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) });
275
289
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
276
290
  }
277
291
  catch (e) {
278
- throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: ' + e.message);
292
+ throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: ' + e.message);
279
293
  }
280
294
  },
281
295
  async sendMsgRemoveCardFromCollection({ value, fee, memo }) {
@@ -292,200 +306,186 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
292
306
  throw new Error('TxClient:sendMsgRemoveCardFromCollection: Could not broadcast Tx: ' + e.message);
293
307
  }
294
308
  },
295
- async sendMsgVoteCard({ value, fee, memo }) {
309
+ async sendMsgAddArtworkToCollection({ value, fee, memo }) {
296
310
  if (!signer) {
297
- throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.');
311
+ throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.');
298
312
  }
299
313
  try {
300
314
  const { address } = (await signer.getAccounts())[0];
301
315
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
302
- let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) });
316
+ let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) });
303
317
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
304
318
  }
305
319
  catch (e) {
306
- throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: ' + e.message);
320
+ throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: ' + e.message);
307
321
  }
308
322
  },
309
- async sendMsgCommitCouncilResponse({ value, fee, memo }) {
323
+ async sendMsgAddCardToCollection({ value, fee, memo }) {
310
324
  if (!signer) {
311
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.');
325
+ throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.');
312
326
  }
313
327
  try {
314
328
  const { address } = (await signer.getAccounts())[0];
315
329
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
316
- let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) });
330
+ let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) });
317
331
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
318
332
  }
319
333
  catch (e) {
320
- throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: ' + e.message);
334
+ throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: ' + e.message);
321
335
  }
322
336
  },
323
- async sendMsgOpenBoosterPack({ value, fee, memo }) {
337
+ async sendMsgSetCardRarity({ value, fee, memo }) {
324
338
  if (!signer) {
325
- throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.');
339
+ throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.');
326
340
  }
327
341
  try {
328
342
  const { address } = (await signer.getAccounts())[0];
329
343
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
330
- let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) });
344
+ let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) });
331
345
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
332
346
  }
333
347
  catch (e) {
334
- throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: ' + e.message);
348
+ throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: ' + e.message);
335
349
  }
336
350
  },
337
- async sendMsgSetUserWebsite({ value, fee, memo }) {
351
+ async sendMsgFinalizeCollection({ value, fee, memo }) {
338
352
  if (!signer) {
339
- throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.');
353
+ throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.');
340
354
  }
341
355
  try {
342
356
  const { address } = (await signer.getAccounts())[0];
343
357
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
344
- let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) });
358
+ let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) });
345
359
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
346
360
  }
347
361
  catch (e) {
348
- throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: ' + e.message);
362
+ throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: ' + e.message);
349
363
  }
350
364
  },
351
- async sendMsgSubmitCopyrightProposal({ value, fee, memo }) {
365
+ async sendMsgAddContributorToCollection({ value, fee, memo }) {
352
366
  if (!signer) {
353
- throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.');
367
+ throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.');
354
368
  }
355
369
  try {
356
370
  const { address } = (await signer.getAccounts())[0];
357
371
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
358
- let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) });
372
+ let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) });
359
373
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
360
374
  }
361
375
  catch (e) {
362
- throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: ' + e.message);
376
+ throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: ' + e.message);
363
377
  }
364
378
  },
365
- async sendMsgSaveCardContent({ value, fee, memo }) {
379
+ async sendMsgCreateCouncil({ value, fee, memo }) {
366
380
  if (!signer) {
367
- throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.');
381
+ throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.');
368
382
  }
369
383
  try {
370
384
  const { address } = (await signer.getAccounts())[0];
371
385
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
372
- let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) });
386
+ let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) });
373
387
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
374
388
  }
375
389
  catch (e) {
376
- throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: ' + e.message);
390
+ throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: ' + e.message);
377
391
  }
378
392
  },
379
- async sendMsgRemoveContributorFromCollection({ value, fee, memo }) {
393
+ async sendMsgRestartCouncil({ value, fee, memo }) {
380
394
  if (!signer) {
381
- throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.');
395
+ throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.');
382
396
  }
383
397
  try {
384
398
  const { address } = (await signer.getAccounts())[0];
385
399
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
386
- let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) });
400
+ let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) });
387
401
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
388
402
  }
389
403
  catch (e) {
390
- throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: ' + e.message);
404
+ throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: ' + e.message);
391
405
  }
392
406
  },
393
- async sendMsgConfirmMatch({ value, fee, memo }) {
407
+ async sendMsgSetUserWebsite({ value, fee, memo }) {
394
408
  if (!signer) {
395
- throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.');
409
+ throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.');
396
410
  }
397
411
  try {
398
412
  const { address } = (await signer.getAccounts())[0];
399
413
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
400
- let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) });
414
+ let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) });
401
415
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
402
416
  }
403
417
  catch (e) {
404
- throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: ' + e.message);
418
+ throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: ' + e.message);
405
419
  }
406
420
  },
407
- async sendMsgRewokeCouncilRegistration({ value, fee, memo }) {
421
+ async sendMsgConfirmMatch({ value, fee, memo }) {
408
422
  if (!signer) {
409
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.');
423
+ throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.');
410
424
  }
411
425
  try {
412
426
  const { address } = (await signer.getAccounts())[0];
413
427
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
414
- let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) });
428
+ let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) });
415
429
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
416
430
  }
417
431
  catch (e) {
418
- throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: ' + e.message);
432
+ throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: ' + e.message);
419
433
  }
420
434
  },
421
- async sendMsgChangeArtist({ value, fee, memo }) {
435
+ async sendMsgSetUserBiography({ value, fee, memo }) {
422
436
  if (!signer) {
423
- throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.');
437
+ throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.');
424
438
  }
425
439
  try {
426
440
  const { address } = (await signer.getAccounts())[0];
427
441
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
428
- let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) });
442
+ let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) });
429
443
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
430
444
  }
431
445
  catch (e) {
432
- throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: ' + e.message);
433
- }
434
- },
435
- async sendMsgRemoveSellOffer({ value, fee, memo }) {
436
- if (!signer) {
437
- throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.');
438
- }
439
- try {
440
- const { address } = (await signer.getAccounts())[0];
441
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
442
- let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) });
443
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
444
- }
445
- catch (e) {
446
- throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: ' + e.message);
446
+ throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: ' + e.message);
447
447
  }
448
448
  },
449
- async sendMsgAddCardToCollection({ value, fee, memo }) {
449
+ async sendMsgMultiVoteCard({ value, fee, memo }) {
450
450
  if (!signer) {
451
- throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.');
451
+ throw new Error('TxClient:sendMsgMultiVoteCard: Unable to sign Tx. Signer is not present.');
452
452
  }
453
453
  try {
454
454
  const { address } = (await signer.getAccounts())[0];
455
455
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
456
- let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) });
456
+ let msg = this.msgMultiVoteCard({ value: MsgMultiVoteCard.fromPartial(value) });
457
457
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
458
458
  }
459
459
  catch (e) {
460
- throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: ' + e.message);
460
+ throw new Error('TxClient:sendMsgMultiVoteCard: Could not broadcast Tx: ' + e.message);
461
461
  }
462
462
  },
463
- async sendMsgFinalizeCollection({ value, fee, memo }) {
463
+ async sendMsgChangeArtist({ value, fee, memo }) {
464
464
  if (!signer) {
465
- throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.');
465
+ throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.');
466
466
  }
467
467
  try {
468
468
  const { address } = (await signer.getAccounts())[0];
469
469
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
470
- let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) });
470
+ let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) });
471
471
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
472
472
  }
473
473
  catch (e) {
474
- throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: ' + e.message);
474
+ throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: ' + e.message);
475
475
  }
476
476
  },
477
- async sendMsgAddStoryToCollection({ value, fee, memo }) {
477
+ async sendMsgCreateSellOffer({ value, fee, memo }) {
478
478
  if (!signer) {
479
- throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.');
479
+ throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.');
480
480
  }
481
481
  try {
482
482
  const { address } = (await signer.getAccounts())[0];
483
483
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
484
- let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) });
484
+ let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) });
485
485
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
486
486
  }
487
487
  catch (e) {
488
- throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: ' + e.message);
488
+ throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: ' + e.message);
489
489
  }
490
490
  },
491
491
  async sendMsgSetCollectionStoryWriter({ value, fee, memo }) {
@@ -502,18 +502,18 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
502
502
  throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Could not broadcast Tx: ' + e.message);
503
503
  }
504
504
  },
505
- async sendMsgMultiVoteCard({ value, fee, memo }) {
505
+ async sendMsgRemoveSellOffer({ value, fee, memo }) {
506
506
  if (!signer) {
507
- throw new Error('TxClient:sendMsgMultiVoteCard: Unable to sign Tx. Signer is not present.');
507
+ throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.');
508
508
  }
509
509
  try {
510
510
  const { address } = (await signer.getAccounts())[0];
511
511
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
512
- let msg = this.msgMultiVoteCard({ value: MsgMultiVoteCard.fromPartial(value) });
512
+ let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) });
513
513
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
514
514
  }
515
515
  catch (e) {
516
- throw new Error('TxClient:sendMsgMultiVoteCard: Could not broadcast Tx: ' + e.message);
516
+ throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: ' + e.message);
517
517
  }
518
518
  },
519
519
  async sendMsgAddArtwork({ value, fee, memo }) {
@@ -530,102 +530,102 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
530
530
  throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: ' + e.message);
531
531
  }
532
532
  },
533
- async sendMsgReportMatch({ value, fee, memo }) {
533
+ async sendMsgApointMatchReporter({ value, fee, memo }) {
534
534
  if (!signer) {
535
- throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.');
535
+ throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.');
536
536
  }
537
537
  try {
538
538
  const { address } = (await signer.getAccounts())[0];
539
539
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
540
- let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) });
540
+ let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) });
541
541
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
542
542
  }
543
543
  catch (e) {
544
- throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: ' + e.message);
544
+ throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: ' + e.message);
545
545
  }
546
546
  },
547
- async sendMsgCreateuser({ value, fee, memo }) {
547
+ async sendMsgRegisterForCouncil({ value, fee, memo }) {
548
548
  if (!signer) {
549
- throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.');
549
+ throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.');
550
550
  }
551
551
  try {
552
552
  const { address } = (await signer.getAccounts())[0];
553
553
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
554
- let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) });
554
+ let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) });
555
555
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
556
556
  }
557
557
  catch (e) {
558
- throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: ' + e.message);
558
+ throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: ' + e.message);
559
559
  }
560
560
  },
561
- async sendMsgSubmitCollectionProposal({ value, fee, memo }) {
561
+ async sendMsgRevealCouncilResponse({ value, fee, memo }) {
562
562
  if (!signer) {
563
- throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.');
563
+ throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.');
564
564
  }
565
565
  try {
566
566
  const { address } = (await signer.getAccounts())[0];
567
567
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
568
- let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) });
568
+ let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) });
569
569
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
570
570
  }
571
571
  catch (e) {
572
- throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: ' + e.message);
572
+ throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: ' + e.message);
573
573
  }
574
574
  },
575
- async sendMsgRestartCouncil({ value, fee, memo }) {
575
+ async sendMsgVoteCard({ value, fee, memo }) {
576
576
  if (!signer) {
577
- throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.');
577
+ throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.');
578
578
  }
579
579
  try {
580
580
  const { address } = (await signer.getAccounts())[0];
581
581
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
582
- let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) });
582
+ let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) });
583
583
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
584
584
  }
585
585
  catch (e) {
586
- throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: ' + e.message);
586
+ throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: ' + e.message);
587
587
  }
588
588
  },
589
- async sendMsgSubmitMatchReporterProposal({ value, fee, memo }) {
589
+ async sendMsgSetCollectionArtist({ value, fee, memo }) {
590
590
  if (!signer) {
591
- throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.');
591
+ throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.');
592
592
  }
593
593
  try {
594
594
  const { address } = (await signer.getAccounts())[0];
595
595
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
596
- let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) });
596
+ let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) });
597
597
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
598
598
  }
599
599
  catch (e) {
600
- throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: ' + e.message);
600
+ throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: ' + e.message);
601
601
  }
602
602
  },
603
- async sendMsgSetProfileCard({ value, fee, memo }) {
603
+ async sendMsgBuyCardScheme({ value, fee, memo }) {
604
604
  if (!signer) {
605
- throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.');
605
+ throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.');
606
606
  }
607
607
  try {
608
608
  const { address } = (await signer.getAccounts())[0];
609
609
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
610
- let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) });
610
+ let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) });
611
611
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
612
612
  }
613
613
  catch (e) {
614
- throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: ' + e.message);
614
+ throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: ' + e.message);
615
615
  }
616
616
  },
617
- async sendMsgApointMatchReporter({ value, fee, memo }) {
617
+ async sendMsgBuyCollection({ value, fee, memo }) {
618
618
  if (!signer) {
619
- throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.');
619
+ throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.');
620
620
  }
621
621
  try {
622
622
  const { address } = (await signer.getAccounts())[0];
623
623
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
624
- let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) });
624
+ let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) });
625
625
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
626
626
  }
627
627
  catch (e) {
628
- throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: ' + e.message);
628
+ throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: ' + e.message);
629
629
  }
630
630
  },
631
631
  async sendMsgBuyCard({ value, fee, memo }) {
@@ -642,26 +642,34 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
642
642
  throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: ' + e.message);
643
643
  }
644
644
  },
645
- async sendMsgTransferBoosterPack({ value, fee, memo }) {
645
+ async sendMsgCommitCouncilResponse({ value, fee, memo }) {
646
646
  if (!signer) {
647
- throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.');
647
+ throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.');
648
648
  }
649
649
  try {
650
650
  const { address } = (await signer.getAccounts())[0];
651
651
  const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
652
- let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) });
652
+ let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) });
653
653
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
654
654
  }
655
655
  catch (e) {
656
- throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: ' + e.message);
656
+ throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: ' + e.message);
657
657
  }
658
658
  },
659
- msgSetCardRarity({ value }) {
659
+ msgTransferCard({ value }) {
660
660
  try {
661
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial(value) };
661
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial(value) };
662
662
  }
663
663
  catch (e) {
664
- throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message);
664
+ throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message);
665
+ }
666
+ },
667
+ msgOpenBoosterPack({ value }) {
668
+ try {
669
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial(value) };
670
+ }
671
+ catch (e) {
672
+ throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message);
665
673
  }
666
674
  },
667
675
  msgCreateCollection({ value }) {
@@ -672,100 +680,100 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
672
680
  throw new Error('TxClient:MsgCreateCollection: Could not create message: ' + e.message);
673
681
  }
674
682
  },
675
- msgBuyCollection({ value }) {
683
+ msgCreateuser({ value }) {
676
684
  try {
677
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial(value) };
685
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial(value) };
678
686
  }
679
687
  catch (e) {
680
- throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message);
688
+ throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message);
681
689
  }
682
690
  },
683
- msgBuyCardScheme({ value }) {
691
+ msgSubmitMatchReporterProposal({ value }) {
684
692
  try {
685
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial(value) };
693
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial(value) };
686
694
  }
687
695
  catch (e) {
688
- throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message);
696
+ throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message);
689
697
  }
690
698
  },
691
- msgCreateSellOffer({ value }) {
699
+ msgRemoveContributorFromCollection({ value }) {
692
700
  try {
693
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial(value) };
701
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial(value) };
694
702
  }
695
703
  catch (e) {
696
- throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message);
704
+ throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message);
697
705
  }
698
706
  },
699
- msgSetCollectionArtist({ value }) {
707
+ msgSubmitCopyrightProposal({ value }) {
700
708
  try {
701
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial(value) };
709
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial(value) };
702
710
  }
703
711
  catch (e) {
704
- throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message);
712
+ throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message);
705
713
  }
706
714
  },
707
- msgRevealCouncilResponse({ value }) {
715
+ msgRewokeCouncilRegistration({ value }) {
708
716
  try {
709
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial(value) };
717
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial(value) };
710
718
  }
711
719
  catch (e) {
712
- throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message);
720
+ throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message);
713
721
  }
714
722
  },
715
- msgDonateToCard({ value }) {
723
+ msgReportMatch({ value }) {
716
724
  try {
717
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial(value) };
725
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial(value) };
718
726
  }
719
727
  catch (e) {
720
- throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message);
728
+ throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message);
721
729
  }
722
730
  },
723
- msgTransferCard({ value }) {
731
+ msgSubmitCollectionProposal({ value }) {
724
732
  try {
725
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial(value) };
733
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial(value) };
726
734
  }
727
735
  catch (e) {
728
- throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message);
736
+ throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message);
729
737
  }
730
738
  },
731
- msgAddContributorToCollection({ value }) {
739
+ msgSaveCardContent({ value }) {
732
740
  try {
733
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial(value) };
741
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial(value) };
734
742
  }
735
743
  catch (e) {
736
- throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message);
744
+ throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message);
737
745
  }
738
746
  },
739
- msgRegisterForCouncil({ value }) {
747
+ msgDonateToCard({ value }) {
740
748
  try {
741
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial(value) };
749
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial(value) };
742
750
  }
743
751
  catch (e) {
744
- throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message);
752
+ throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message);
745
753
  }
746
754
  },
747
- msgCreateCouncil({ value }) {
755
+ msgAddStoryToCollection({ value }) {
748
756
  try {
749
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial(value) };
757
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial(value) };
750
758
  }
751
759
  catch (e) {
752
- throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message);
760
+ throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message);
753
761
  }
754
762
  },
755
- msgAddArtworkToCollection({ value }) {
763
+ msgTransferBoosterPack({ value }) {
756
764
  try {
757
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial(value) };
765
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial(value) };
758
766
  }
759
767
  catch (e) {
760
- throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message);
768
+ throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message);
761
769
  }
762
770
  },
763
- msgSetUserBiography({ value }) {
771
+ msgSetProfileCard({ value }) {
764
772
  try {
765
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial(value) };
773
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial(value) };
766
774
  }
767
775
  catch (e) {
768
- throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message);
776
+ throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message);
769
777
  }
770
778
  },
771
779
  msgRemoveCardFromCollection({ value }) {
@@ -776,116 +784,108 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
776
784
  throw new Error('TxClient:MsgRemoveCardFromCollection: Could not create message: ' + e.message);
777
785
  }
778
786
  },
779
- msgVoteCard({ value }) {
780
- try {
781
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial(value) };
782
- }
783
- catch (e) {
784
- throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message);
785
- }
786
- },
787
- msgCommitCouncilResponse({ value }) {
787
+ msgAddArtworkToCollection({ value }) {
788
788
  try {
789
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial(value) };
789
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial(value) };
790
790
  }
791
791
  catch (e) {
792
- throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message);
792
+ throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message);
793
793
  }
794
794
  },
795
- msgOpenBoosterPack({ value }) {
795
+ msgAddCardToCollection({ value }) {
796
796
  try {
797
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial(value) };
797
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial(value) };
798
798
  }
799
799
  catch (e) {
800
- throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message);
800
+ throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message);
801
801
  }
802
802
  },
803
- msgSetUserWebsite({ value }) {
803
+ msgSetCardRarity({ value }) {
804
804
  try {
805
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial(value) };
805
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial(value) };
806
806
  }
807
807
  catch (e) {
808
- throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message);
808
+ throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message);
809
809
  }
810
810
  },
811
- msgSubmitCopyrightProposal({ value }) {
811
+ msgFinalizeCollection({ value }) {
812
812
  try {
813
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial(value) };
813
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial(value) };
814
814
  }
815
815
  catch (e) {
816
- throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message);
816
+ throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message);
817
817
  }
818
818
  },
819
- msgSaveCardContent({ value }) {
819
+ msgAddContributorToCollection({ value }) {
820
820
  try {
821
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial(value) };
821
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial(value) };
822
822
  }
823
823
  catch (e) {
824
- throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message);
824
+ throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message);
825
825
  }
826
826
  },
827
- msgRemoveContributorFromCollection({ value }) {
827
+ msgCreateCouncil({ value }) {
828
828
  try {
829
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial(value) };
829
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial(value) };
830
830
  }
831
831
  catch (e) {
832
- throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message);
832
+ throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message);
833
833
  }
834
834
  },
835
- msgConfirmMatch({ value }) {
835
+ msgRestartCouncil({ value }) {
836
836
  try {
837
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial(value) };
837
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial(value) };
838
838
  }
839
839
  catch (e) {
840
- throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message);
840
+ throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message);
841
841
  }
842
842
  },
843
- msgRewokeCouncilRegistration({ value }) {
843
+ msgSetUserWebsite({ value }) {
844
844
  try {
845
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial(value) };
845
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial(value) };
846
846
  }
847
847
  catch (e) {
848
- throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message);
848
+ throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message);
849
849
  }
850
850
  },
851
- msgChangeArtist({ value }) {
851
+ msgConfirmMatch({ value }) {
852
852
  try {
853
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial(value) };
853
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial(value) };
854
854
  }
855
855
  catch (e) {
856
- throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message);
856
+ throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message);
857
857
  }
858
858
  },
859
- msgRemoveSellOffer({ value }) {
859
+ msgSetUserBiography({ value }) {
860
860
  try {
861
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial(value) };
861
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial(value) };
862
862
  }
863
863
  catch (e) {
864
- throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message);
864
+ throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message);
865
865
  }
866
866
  },
867
- msgAddCardToCollection({ value }) {
867
+ msgMultiVoteCard({ value }) {
868
868
  try {
869
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial(value) };
869
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", value: MsgMultiVoteCard.fromPartial(value) };
870
870
  }
871
871
  catch (e) {
872
- throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message);
872
+ throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message);
873
873
  }
874
874
  },
875
- msgFinalizeCollection({ value }) {
875
+ msgChangeArtist({ value }) {
876
876
  try {
877
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial(value) };
877
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial(value) };
878
878
  }
879
879
  catch (e) {
880
- throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message);
880
+ throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message);
881
881
  }
882
882
  },
883
- msgAddStoryToCollection({ value }) {
883
+ msgCreateSellOffer({ value }) {
884
884
  try {
885
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial(value) };
885
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial(value) };
886
886
  }
887
887
  catch (e) {
888
- throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message);
888
+ throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message);
889
889
  }
890
890
  },
891
891
  msgSetCollectionStoryWriter({ value }) {
@@ -896,12 +896,12 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
896
896
  throw new Error('TxClient:MsgSetCollectionStoryWriter: Could not create message: ' + e.message);
897
897
  }
898
898
  },
899
- msgMultiVoteCard({ value }) {
899
+ msgRemoveSellOffer({ value }) {
900
900
  try {
901
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", value: MsgMultiVoteCard.fromPartial(value) };
901
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial(value) };
902
902
  }
903
903
  catch (e) {
904
- throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message);
904
+ throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message);
905
905
  }
906
906
  },
907
907
  msgAddArtwork({ value }) {
@@ -912,60 +912,60 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
912
912
  throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message);
913
913
  }
914
914
  },
915
- msgReportMatch({ value }) {
915
+ msgApointMatchReporter({ value }) {
916
916
  try {
917
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial(value) };
917
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", value: MsgApointMatchReporter.fromPartial(value) };
918
918
  }
919
919
  catch (e) {
920
- throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message);
920
+ throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message);
921
921
  }
922
922
  },
923
- msgCreateuser({ value }) {
923
+ msgRegisterForCouncil({ value }) {
924
924
  try {
925
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial(value) };
925
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial(value) };
926
926
  }
927
927
  catch (e) {
928
- throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message);
928
+ throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message);
929
929
  }
930
930
  },
931
- msgSubmitCollectionProposal({ value }) {
931
+ msgRevealCouncilResponse({ value }) {
932
932
  try {
933
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial(value) };
933
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial(value) };
934
934
  }
935
935
  catch (e) {
936
- throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message);
936
+ throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message);
937
937
  }
938
938
  },
939
- msgRestartCouncil({ value }) {
939
+ msgVoteCard({ value }) {
940
940
  try {
941
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial(value) };
941
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial(value) };
942
942
  }
943
943
  catch (e) {
944
- throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message);
944
+ throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message);
945
945
  }
946
946
  },
947
- msgSubmitMatchReporterProposal({ value }) {
947
+ msgSetCollectionArtist({ value }) {
948
948
  try {
949
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial(value) };
949
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial(value) };
950
950
  }
951
951
  catch (e) {
952
- throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message);
952
+ throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message);
953
953
  }
954
954
  },
955
- msgSetProfileCard({ value }) {
955
+ msgBuyCardScheme({ value }) {
956
956
  try {
957
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial(value) };
957
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial(value) };
958
958
  }
959
959
  catch (e) {
960
- throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message);
960
+ throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message);
961
961
  }
962
962
  },
963
- msgApointMatchReporter({ value }) {
963
+ msgBuyCollection({ value }) {
964
964
  try {
965
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", value: MsgApointMatchReporter.fromPartial(value) };
965
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial(value) };
966
966
  }
967
967
  catch (e) {
968
- throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message);
968
+ throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message);
969
969
  }
970
970
  },
971
971
  msgBuyCard({ value }) {
@@ -976,12 +976,12 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
976
976
  throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message);
977
977
  }
978
978
  },
979
- msgTransferBoosterPack({ value }) {
979
+ msgCommitCouncilResponse({ value }) {
980
980
  try {
981
- return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial(value) };
981
+ return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial(value) };
982
982
  }
983
983
  catch (e) {
984
- throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message);
984
+ throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message);
985
985
  }
986
986
  },
987
987
  };