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