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