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