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