decentralcardgame-cardchain-client-ts 0.0.5 → 0.0.6

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