decentralcardgame-cardchain-client-ts 0.0.13 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DecentralCardGame.cardchain.cardchain/module.js +357 -334
- package/DecentralCardGame.cardchain.cardchain/module.ts +531 -498
- package/DecentralCardGame.cardchain.cardchain/registry.js +77 -75
- package/DecentralCardGame.cardchain.cardchain/registry.ts +77 -75
- package/DecentralCardGame.cardchain.cardchain/rest.js +31 -23
- package/DecentralCardGame.cardchain.cardchain/rest.ts +89 -62
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.js +89 -0
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.ts +95 -0
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.js +11 -11
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.ts +12 -12
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.ts +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.js +58 -29
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.ts +65 -33
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.js +72 -66
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.ts +99 -92
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection.js → DecentralCardGame/cardchain/cardchain/set.js} +8 -8
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection.ts → DecentralCardGame/cardchain/cardchain/set.ts} +20 -20
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection_proposal.js → DecentralCardGame/cardchain/cardchain/set_proposal.js} +11 -11
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/collection_proposal.ts → DecentralCardGame/cardchain/cardchain/set_proposal.ts} +18 -18
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.js +362 -261
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.ts +568 -466
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.js +34 -8
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.ts +36 -9
- package/DecentralCardGame.cardchain.cardchain/types/amino/amino.js +2 -0
- package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +2 -0
- package/DecentralCardGame.cardchain.cardchain/types.js +23 -23
- package/DecentralCardGame.cardchain.cardchain/types.ts +24 -24
- package/client.js +7 -7
- package/client.ts +10 -9
- package/cosmos.auth.v1beta1/module.js +2 -0
- package/cosmos.auth.v1beta1/module.ts +2 -0
- package/cosmos.auth.v1beta1/rest.js +18 -3
- package/cosmos.auth.v1beta1/rest.ts +113 -3
- package/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +104 -3
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.auth.v1beta1/types.js +2 -1
- package/cosmos.auth.v1beta1/types.ts +2 -0
- package/cosmos.authz.v1beta1/module.js +19 -19
- package/cosmos.authz.v1beta1/module.ts +29 -29
- package/cosmos.authz.v1beta1/registry.js +2 -2
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.bank.v1beta1/module.js +16 -16
- package/cosmos.bank.v1beta1/module.ts +24 -24
- package/cosmos.bank.v1beta1/registry.js +2 -2
- package/cosmos.bank.v1beta1/registry.ts +2 -2
- package/cosmos.bank.v1beta1/rest.js +37 -6
- package/cosmos.bank.v1beta1/rest.ts +99 -6
- package/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +18 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +18 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +230 -1
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +206 -1
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
- package/cosmos.base.tendermint.v1beta1/rest.ts +18 -27
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
- package/cosmos.consensus.v1/index.js +5 -0
- package/cosmos.consensus.v1/index.ts +6 -0
- package/cosmos.consensus.v1/module.js +81 -0
- package/cosmos.consensus.v1/module.ts +129 -0
- package/cosmos.consensus.v1/registry.js +5 -0
- package/cosmos.consensus.v1/registry.ts +9 -0
- package/cosmos.consensus.v1/rest.js +100 -0
- package/cosmos.consensus.v1/rest.ts +268 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
- package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
- package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/http.js +260 -0
- package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
- package/cosmos.consensus.v1/types.js +1 -0
- package/cosmos.consensus.v1/types.ts +5 -0
- package/cosmos.crisis.v1beta1/module.js +24 -1
- package/cosmos.crisis.v1beta1/module.ts +34 -1
- package/cosmos.crisis.v1beta1/registry.js +2 -0
- package/cosmos.crisis.v1beta1/registry.ts +2 -0
- package/cosmos.crisis.v1beta1/rest.ts +19 -0
- package/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +95 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
- package/cosmos.distribution.v1beta1/module.js +67 -21
- package/cosmos.distribution.v1beta1/module.ts +100 -34
- package/cosmos.distribution.v1beta1/registry.js +8 -4
- package/cosmos.distribution.v1beta1/registry.ts +8 -4
- package/cosmos.distribution.v1beta1/rest.js +14 -0
- package/cosmos.distribution.v1beta1/rest.ts +66 -7
- package/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +120 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +199 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
- package/cosmos.evidence.v1beta1/rest.js +4 -3
- package/cosmos.evidence.v1beta1/rest.ts +4 -3
- package/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +13 -2
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/module.js +46 -21
- package/cosmos.gov.v1/module.ts +68 -33
- package/cosmos.gov.v1/registry.js +6 -4
- package/cosmos.gov.v1/registry.ts +6 -4
- package/cosmos.gov.v1/rest.ts +155 -41
- package/cosmos.gov.v1/types/amino/amino.js +2 -0
- package/cosmos.gov.v1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +13 -1
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +179 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +13 -2
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +113 -2
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
- package/cosmos.gov.v1/types.js +2 -1
- package/cosmos.gov.v1/types.ts +2 -0
- package/cosmos.gov.v1beta1/module.js +24 -24
- package/cosmos.gov.v1beta1/module.ts +36 -36
- package/cosmos.gov.v1beta1/registry.js +4 -4
- package/cosmos.gov.v1beta1/registry.ts +4 -4
- package/cosmos.gov.v1beta1/rest.ts +65 -96
- package/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
- package/cosmos.group.v1/module.js +92 -92
- package/cosmos.group.v1/module.ts +138 -138
- package/cosmos.group.v1/registry.js +16 -16
- package/cosmos.group.v1/registry.ts +16 -16
- package/cosmos.group.v1/rest.js +3 -3
- package/cosmos.group.v1/rest.ts +29 -9
- package/cosmos.group.v1/types/amino/amino.js +2 -0
- package/cosmos.group.v1/types/amino/amino.ts +2 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.js +52 -34
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
- package/cosmos.group.v1/types/cosmos/group/v1/types.js +20 -0
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
- package/cosmos.mint.v1beta1/rest.ts +9 -1
- package/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.nft.v1beta1/rest.ts +18 -22
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.params.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/rest.ts +8 -0
- package/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +94 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
- package/cosmos.staking.v1beta1/module.js +41 -39
- package/cosmos.staking.v1beta1/module.ts +61 -59
- package/cosmos.staking.v1beta1/registry.js +6 -6
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.js +7 -7
- package/cosmos.staking.v1beta1/rest.ts +49 -8
- package/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +180 -2
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +94 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
- package/cosmos.staking.v1beta1/types.js +2 -1
- package/cosmos.staking.v1beta1/types.ts +2 -0
- package/cosmos.tx.v1beta1/rest.js +66 -2
- package/cosmos.tx.v1beta1/rest.ts +177 -16
- package/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +360 -2
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +592 -266
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +703 -332
- package/cosmos.tx.v1beta1/types/tendermint/types/params.js +8 -17
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
- package/cosmos.upgrade.v1beta1/rest.ts +0 -1
- package/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +84 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +13 -2
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
- package/ibc.applications.transfer.v1/module.js +5 -27
- package/ibc.applications.transfer.v1/module.ts +5 -34
- package/ibc.applications.transfer.v1/registry.js +1 -4
- package/ibc.applications.transfer.v1/registry.ts +0 -2
- package/ibc.applications.transfer.v1/rest.js +15 -1
- package/ibc.applications.transfer.v1/rest.ts +30 -1
- package/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
- package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +16 -1
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +91 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.applications.transfer.v1/types.js +3 -1
- package/ibc.applications.transfer.v1/types.ts +4 -0
- package/ibc.core.channel.v1/rest.ts +1 -0
- package/ibc.core.channel.v1/types/amino/amino.js +2 -0
- package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +13 -2
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/rest.ts +5 -1
- package/ibc.core.client.v1/types/amino/amino.js +2 -0
- package/ibc.core.client.v1/types/amino/amino.ts +2 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +9 -8
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
- package/ibc.core.connection.v1/types/amino/amino.js +2 -0
- package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
- package/ibc.core.connection.v1/types/{proofs.js → cosmos/ics23/v1/proofs.js} +1 -1
- package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +26 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
- package/index.js +3 -1
- package/index.ts +3 -1
- package/package.json +5 -6
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/voteing.js → DecentralCardGame/cardchain/cardchain/voting.js} +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain/cardchain/voteing.ts → DecentralCardGame/cardchain/cardchain/voting.ts} +0 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
4
|
import { OutpCard } from "./card";
|
|
5
|
-
import { cStatusFromJSON, cStatusToJSON, OutpCollection } from "./collection";
|
|
6
5
|
import { Council } from "./council";
|
|
7
6
|
import { Match, outcomeFromJSON, outcomeToJSON } from "./match";
|
|
8
7
|
import { Params } from "./params";
|
|
9
8
|
import { SellOffer, sellOfferStatusFromJSON, sellOfferStatusToJSON } from "./sell_offer";
|
|
10
9
|
import { Server } from "./server";
|
|
10
|
+
import { cStatusFromJSON, cStatusToJSON, OutpSet } from "./set";
|
|
11
11
|
import { User } from "./user";
|
|
12
|
-
import { VoteRight, VotingResults } from "./
|
|
12
|
+
import { VoteRight, VotingResults } from "./voting";
|
|
13
13
|
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
14
14
|
export var QueryQCardsRequest_Status;
|
|
15
15
|
(function (QueryQCardsRequest_Status) {
|
|
@@ -383,7 +383,7 @@ export const QueryQCardchainInfoRequest = {
|
|
|
383
383
|
function createBaseQueryQCardchainInfoResponse() {
|
|
384
384
|
return {
|
|
385
385
|
cardAuctionPrice: "",
|
|
386
|
-
|
|
386
|
+
activeSets: [],
|
|
387
387
|
cardsNumber: 0,
|
|
388
388
|
matchesNumber: 0,
|
|
389
389
|
sellOffersNumber: 0,
|
|
@@ -397,7 +397,7 @@ export const QueryQCardchainInfoResponse = {
|
|
|
397
397
|
writer.uint32(10).string(message.cardAuctionPrice);
|
|
398
398
|
}
|
|
399
399
|
writer.uint32(18).fork();
|
|
400
|
-
for (const v of message.
|
|
400
|
+
for (const v of message.activeSets) {
|
|
401
401
|
writer.uint64(v);
|
|
402
402
|
}
|
|
403
403
|
writer.ldelim();
|
|
@@ -432,11 +432,11 @@ export const QueryQCardchainInfoResponse = {
|
|
|
432
432
|
if ((tag & 7) === 2) {
|
|
433
433
|
const end2 = reader.uint32() + reader.pos;
|
|
434
434
|
while (reader.pos < end2) {
|
|
435
|
-
message.
|
|
435
|
+
message.activeSets.push(longToNumber(reader.uint64()));
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
else {
|
|
439
|
-
message.
|
|
439
|
+
message.activeSets.push(longToNumber(reader.uint64()));
|
|
440
440
|
}
|
|
441
441
|
break;
|
|
442
442
|
case 3:
|
|
@@ -464,9 +464,7 @@ export const QueryQCardchainInfoResponse = {
|
|
|
464
464
|
fromJSON(object) {
|
|
465
465
|
return {
|
|
466
466
|
cardAuctionPrice: isSet(object.cardAuctionPrice) ? String(object.cardAuctionPrice) : "",
|
|
467
|
-
|
|
468
|
-
? object.activeCollections.map((e) => Number(e))
|
|
469
|
-
: [],
|
|
467
|
+
activeSets: Array.isArray(object?.activeSets) ? object.activeSets.map((e) => Number(e)) : [],
|
|
470
468
|
cardsNumber: isSet(object.cardsNumber) ? Number(object.cardsNumber) : 0,
|
|
471
469
|
matchesNumber: isSet(object.matchesNumber) ? Number(object.matchesNumber) : 0,
|
|
472
470
|
sellOffersNumber: isSet(object.sellOffersNumber) ? Number(object.sellOffersNumber) : 0,
|
|
@@ -477,11 +475,11 @@ export const QueryQCardchainInfoResponse = {
|
|
|
477
475
|
toJSON(message) {
|
|
478
476
|
const obj = {};
|
|
479
477
|
message.cardAuctionPrice !== undefined && (obj.cardAuctionPrice = message.cardAuctionPrice);
|
|
480
|
-
if (message.
|
|
481
|
-
obj.
|
|
478
|
+
if (message.activeSets) {
|
|
479
|
+
obj.activeSets = message.activeSets.map((e) => Math.round(e));
|
|
482
480
|
}
|
|
483
481
|
else {
|
|
484
|
-
obj.
|
|
482
|
+
obj.activeSets = [];
|
|
485
483
|
}
|
|
486
484
|
message.cardsNumber !== undefined && (obj.cardsNumber = Math.round(message.cardsNumber));
|
|
487
485
|
message.matchesNumber !== undefined && (obj.matchesNumber = Math.round(message.matchesNumber));
|
|
@@ -493,7 +491,7 @@ export const QueryQCardchainInfoResponse = {
|
|
|
493
491
|
fromPartial(object) {
|
|
494
492
|
const message = createBaseQueryQCardchainInfoResponse();
|
|
495
493
|
message.cardAuctionPrice = object.cardAuctionPrice ?? "";
|
|
496
|
-
message.
|
|
494
|
+
message.activeSets = object.activeSets?.map((e) => e) || [];
|
|
497
495
|
message.cardsNumber = object.cardsNumber ?? 0;
|
|
498
496
|
message.matchesNumber = object.matchesNumber ?? 0;
|
|
499
497
|
message.sellOffersNumber = object.sellOffersNumber ?? 0;
|
|
@@ -699,6 +697,7 @@ function createBaseQueryQCardsRequest() {
|
|
|
699
697
|
nameContains: "",
|
|
700
698
|
keywordsContains: "",
|
|
701
699
|
notesContains: "",
|
|
700
|
+
onlyStarterCard: false,
|
|
702
701
|
};
|
|
703
702
|
}
|
|
704
703
|
export const QueryQCardsRequest = {
|
|
@@ -727,6 +726,9 @@ export const QueryQCardsRequest = {
|
|
|
727
726
|
if (message.notesContains !== "") {
|
|
728
727
|
writer.uint32(66).string(message.notesContains);
|
|
729
728
|
}
|
|
729
|
+
if (message.onlyStarterCard === true) {
|
|
730
|
+
writer.uint32(72).bool(message.onlyStarterCard);
|
|
731
|
+
}
|
|
730
732
|
return writer;
|
|
731
733
|
},
|
|
732
734
|
decode(input, length) {
|
|
@@ -760,6 +762,9 @@ export const QueryQCardsRequest = {
|
|
|
760
762
|
case 8:
|
|
761
763
|
message.notesContains = reader.string();
|
|
762
764
|
break;
|
|
765
|
+
case 9:
|
|
766
|
+
message.onlyStarterCard = reader.bool();
|
|
767
|
+
break;
|
|
763
768
|
default:
|
|
764
769
|
reader.skipType(tag & 7);
|
|
765
770
|
break;
|
|
@@ -777,6 +782,7 @@ export const QueryQCardsRequest = {
|
|
|
777
782
|
nameContains: isSet(object.nameContains) ? String(object.nameContains) : "",
|
|
778
783
|
keywordsContains: isSet(object.keywordsContains) ? String(object.keywordsContains) : "",
|
|
779
784
|
notesContains: isSet(object.notesContains) ? String(object.notesContains) : "",
|
|
785
|
+
onlyStarterCard: isSet(object.onlyStarterCard) ? Boolean(object.onlyStarterCard) : false,
|
|
780
786
|
};
|
|
781
787
|
},
|
|
782
788
|
toJSON(message) {
|
|
@@ -789,6 +795,7 @@ export const QueryQCardsRequest = {
|
|
|
789
795
|
message.nameContains !== undefined && (obj.nameContains = message.nameContains);
|
|
790
796
|
message.keywordsContains !== undefined && (obj.keywordsContains = message.keywordsContains);
|
|
791
797
|
message.notesContains !== undefined && (obj.notesContains = message.notesContains);
|
|
798
|
+
message.onlyStarterCard !== undefined && (obj.onlyStarterCard = message.onlyStarterCard);
|
|
792
799
|
return obj;
|
|
793
800
|
},
|
|
794
801
|
fromPartial(object) {
|
|
@@ -801,6 +808,7 @@ export const QueryQCardsRequest = {
|
|
|
801
808
|
message.nameContains = object.nameContains ?? "";
|
|
802
809
|
message.keywordsContains = object.keywordsContains ?? "";
|
|
803
810
|
message.notesContains = object.notesContains ?? "";
|
|
811
|
+
message.onlyStarterCard = object.onlyStarterCard ?? false;
|
|
804
812
|
return message;
|
|
805
813
|
},
|
|
806
814
|
};
|
|
@@ -901,25 +909,25 @@ export const QueryQMatchRequest = {
|
|
|
901
909
|
return message;
|
|
902
910
|
},
|
|
903
911
|
};
|
|
904
|
-
function
|
|
905
|
-
return {
|
|
912
|
+
function createBaseQueryQSetRequest() {
|
|
913
|
+
return { setId: 0 };
|
|
906
914
|
}
|
|
907
|
-
export const
|
|
915
|
+
export const QueryQSetRequest = {
|
|
908
916
|
encode(message, writer = _m0.Writer.create()) {
|
|
909
|
-
if (message.
|
|
910
|
-
writer.uint32(8).uint64(message.
|
|
917
|
+
if (message.setId !== 0) {
|
|
918
|
+
writer.uint32(8).uint64(message.setId);
|
|
911
919
|
}
|
|
912
920
|
return writer;
|
|
913
921
|
},
|
|
914
922
|
decode(input, length) {
|
|
915
923
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
916
924
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
917
|
-
const message =
|
|
925
|
+
const message = createBaseQueryQSetRequest();
|
|
918
926
|
while (reader.pos < end) {
|
|
919
927
|
const tag = reader.uint32();
|
|
920
928
|
switch (tag >>> 3) {
|
|
921
929
|
case 1:
|
|
922
|
-
message.
|
|
930
|
+
message.setId = longToNumber(reader.uint64());
|
|
923
931
|
break;
|
|
924
932
|
default:
|
|
925
933
|
reader.skipType(tag & 7);
|
|
@@ -929,16 +937,16 @@ export const QueryQCollectionRequest = {
|
|
|
929
937
|
return message;
|
|
930
938
|
},
|
|
931
939
|
fromJSON(object) {
|
|
932
|
-
return {
|
|
940
|
+
return { setId: isSet(object.setId) ? Number(object.setId) : 0 };
|
|
933
941
|
},
|
|
934
942
|
toJSON(message) {
|
|
935
943
|
const obj = {};
|
|
936
|
-
message.
|
|
944
|
+
message.setId !== undefined && (obj.setId = Math.round(message.setId));
|
|
937
945
|
return obj;
|
|
938
946
|
},
|
|
939
947
|
fromPartial(object) {
|
|
940
|
-
const message =
|
|
941
|
-
message.
|
|
948
|
+
const message = createBaseQueryQSetRequest();
|
|
949
|
+
message.setId = object.setId ?? 0;
|
|
942
950
|
return message;
|
|
943
951
|
},
|
|
944
952
|
};
|
|
@@ -1561,10 +1569,10 @@ export const QueryQServerResponse = {
|
|
|
1561
1569
|
return message;
|
|
1562
1570
|
},
|
|
1563
1571
|
};
|
|
1564
|
-
function
|
|
1572
|
+
function createBaseQueryQSetsRequest() {
|
|
1565
1573
|
return { status: 0, ignoreStatus: false, contributors: [], containsCards: [], owner: "" };
|
|
1566
1574
|
}
|
|
1567
|
-
export const
|
|
1575
|
+
export const QueryQSetsRequest = {
|
|
1568
1576
|
encode(message, writer = _m0.Writer.create()) {
|
|
1569
1577
|
if (message.status !== 0) {
|
|
1570
1578
|
writer.uint32(8).int32(message.status);
|
|
@@ -1588,7 +1596,7 @@ export const QueryQCollectionsRequest = {
|
|
|
1588
1596
|
decode(input, length) {
|
|
1589
1597
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1590
1598
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1591
|
-
const message =
|
|
1599
|
+
const message = createBaseQueryQSetsRequest();
|
|
1592
1600
|
while (reader.pos < end) {
|
|
1593
1601
|
const tag = reader.uint32();
|
|
1594
1602
|
switch (tag >>> 3) {
|
|
@@ -1651,7 +1659,7 @@ export const QueryQCollectionsRequest = {
|
|
|
1651
1659
|
return obj;
|
|
1652
1660
|
},
|
|
1653
1661
|
fromPartial(object) {
|
|
1654
|
-
const message =
|
|
1662
|
+
const message = createBaseQueryQSetsRequest();
|
|
1655
1663
|
message.status = object.status ?? 0;
|
|
1656
1664
|
message.ignoreStatus = object.ignoreStatus ?? false;
|
|
1657
1665
|
message.contributors = object.contributors?.map((e) => e) || [];
|
|
@@ -1660,13 +1668,13 @@ export const QueryQCollectionsRequest = {
|
|
|
1660
1668
|
return message;
|
|
1661
1669
|
},
|
|
1662
1670
|
};
|
|
1663
|
-
function
|
|
1664
|
-
return {
|
|
1671
|
+
function createBaseQueryQSetsResponse() {
|
|
1672
|
+
return { setIds: [] };
|
|
1665
1673
|
}
|
|
1666
|
-
export const
|
|
1674
|
+
export const QueryQSetsResponse = {
|
|
1667
1675
|
encode(message, writer = _m0.Writer.create()) {
|
|
1668
1676
|
writer.uint32(10).fork();
|
|
1669
|
-
for (const v of message.
|
|
1677
|
+
for (const v of message.setIds) {
|
|
1670
1678
|
writer.uint64(v);
|
|
1671
1679
|
}
|
|
1672
1680
|
writer.ldelim();
|
|
@@ -1675,7 +1683,7 @@ export const QueryQCollectionsResponse = {
|
|
|
1675
1683
|
decode(input, length) {
|
|
1676
1684
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1677
1685
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1678
|
-
const message =
|
|
1686
|
+
const message = createBaseQueryQSetsResponse();
|
|
1679
1687
|
while (reader.pos < end) {
|
|
1680
1688
|
const tag = reader.uint32();
|
|
1681
1689
|
switch (tag >>> 3) {
|
|
@@ -1683,11 +1691,11 @@ export const QueryQCollectionsResponse = {
|
|
|
1683
1691
|
if ((tag & 7) === 2) {
|
|
1684
1692
|
const end2 = reader.uint32() + reader.pos;
|
|
1685
1693
|
while (reader.pos < end2) {
|
|
1686
|
-
message.
|
|
1694
|
+
message.setIds.push(longToNumber(reader.uint64()));
|
|
1687
1695
|
}
|
|
1688
1696
|
}
|
|
1689
1697
|
else {
|
|
1690
|
-
message.
|
|
1698
|
+
message.setIds.push(longToNumber(reader.uint64()));
|
|
1691
1699
|
}
|
|
1692
1700
|
break;
|
|
1693
1701
|
default:
|
|
@@ -1698,33 +1706,31 @@ export const QueryQCollectionsResponse = {
|
|
|
1698
1706
|
return message;
|
|
1699
1707
|
},
|
|
1700
1708
|
fromJSON(object) {
|
|
1701
|
-
return {
|
|
1702
|
-
collectionIds: Array.isArray(object?.collectionIds) ? object.collectionIds.map((e) => Number(e)) : [],
|
|
1703
|
-
};
|
|
1709
|
+
return { setIds: Array.isArray(object?.setIds) ? object.setIds.map((e) => Number(e)) : [] };
|
|
1704
1710
|
},
|
|
1705
1711
|
toJSON(message) {
|
|
1706
1712
|
const obj = {};
|
|
1707
|
-
if (message.
|
|
1708
|
-
obj.
|
|
1713
|
+
if (message.setIds) {
|
|
1714
|
+
obj.setIds = message.setIds.map((e) => Math.round(e));
|
|
1709
1715
|
}
|
|
1710
1716
|
else {
|
|
1711
|
-
obj.
|
|
1717
|
+
obj.setIds = [];
|
|
1712
1718
|
}
|
|
1713
1719
|
return obj;
|
|
1714
1720
|
},
|
|
1715
1721
|
fromPartial(object) {
|
|
1716
|
-
const message =
|
|
1717
|
-
message.
|
|
1722
|
+
const message = createBaseQueryQSetsResponse();
|
|
1723
|
+
message.setIds = object.setIds?.map((e) => e) || [];
|
|
1718
1724
|
return message;
|
|
1719
1725
|
},
|
|
1720
1726
|
};
|
|
1721
1727
|
function createBaseQueryRarityDistributionRequest() {
|
|
1722
|
-
return {
|
|
1728
|
+
return { setId: 0 };
|
|
1723
1729
|
}
|
|
1724
1730
|
export const QueryRarityDistributionRequest = {
|
|
1725
1731
|
encode(message, writer = _m0.Writer.create()) {
|
|
1726
|
-
if (message.
|
|
1727
|
-
writer.uint32(8).uint64(message.
|
|
1732
|
+
if (message.setId !== 0) {
|
|
1733
|
+
writer.uint32(8).uint64(message.setId);
|
|
1728
1734
|
}
|
|
1729
1735
|
return writer;
|
|
1730
1736
|
},
|
|
@@ -1736,7 +1742,7 @@ export const QueryRarityDistributionRequest = {
|
|
|
1736
1742
|
const tag = reader.uint32();
|
|
1737
1743
|
switch (tag >>> 3) {
|
|
1738
1744
|
case 1:
|
|
1739
|
-
message.
|
|
1745
|
+
message.setId = longToNumber(reader.uint64());
|
|
1740
1746
|
break;
|
|
1741
1747
|
default:
|
|
1742
1748
|
reader.skipType(tag & 7);
|
|
@@ -1746,16 +1752,16 @@ export const QueryRarityDistributionRequest = {
|
|
|
1746
1752
|
return message;
|
|
1747
1753
|
},
|
|
1748
1754
|
fromJSON(object) {
|
|
1749
|
-
return {
|
|
1755
|
+
return { setId: isSet(object.setId) ? Number(object.setId) : 0 };
|
|
1750
1756
|
},
|
|
1751
1757
|
toJSON(message) {
|
|
1752
1758
|
const obj = {};
|
|
1753
|
-
message.
|
|
1759
|
+
message.setId !== undefined && (obj.setId = Math.round(message.setId));
|
|
1754
1760
|
return obj;
|
|
1755
1761
|
},
|
|
1756
1762
|
fromPartial(object) {
|
|
1757
1763
|
const message = createBaseQueryRarityDistributionRequest();
|
|
1758
|
-
message.
|
|
1764
|
+
message.setId = object.setId ?? 0;
|
|
1759
1765
|
return message;
|
|
1760
1766
|
},
|
|
1761
1767
|
};
|
|
@@ -1766,12 +1772,12 @@ export const QueryRarityDistributionResponse = {
|
|
|
1766
1772
|
encode(message, writer = _m0.Writer.create()) {
|
|
1767
1773
|
writer.uint32(10).fork();
|
|
1768
1774
|
for (const v of message.current) {
|
|
1769
|
-
writer.
|
|
1775
|
+
writer.uint32(v);
|
|
1770
1776
|
}
|
|
1771
1777
|
writer.ldelim();
|
|
1772
1778
|
writer.uint32(18).fork();
|
|
1773
1779
|
for (const v of message.wanted) {
|
|
1774
|
-
writer.
|
|
1780
|
+
writer.uint32(v);
|
|
1775
1781
|
}
|
|
1776
1782
|
writer.ldelim();
|
|
1777
1783
|
return writer;
|
|
@@ -1787,22 +1793,22 @@ export const QueryRarityDistributionResponse = {
|
|
|
1787
1793
|
if ((tag & 7) === 2) {
|
|
1788
1794
|
const end2 = reader.uint32() + reader.pos;
|
|
1789
1795
|
while (reader.pos < end2) {
|
|
1790
|
-
message.current.push(
|
|
1796
|
+
message.current.push(reader.uint32());
|
|
1791
1797
|
}
|
|
1792
1798
|
}
|
|
1793
1799
|
else {
|
|
1794
|
-
message.current.push(
|
|
1800
|
+
message.current.push(reader.uint32());
|
|
1795
1801
|
}
|
|
1796
1802
|
break;
|
|
1797
1803
|
case 2:
|
|
1798
1804
|
if ((tag & 7) === 2) {
|
|
1799
1805
|
const end2 = reader.uint32() + reader.pos;
|
|
1800
1806
|
while (reader.pos < end2) {
|
|
1801
|
-
message.wanted.push(
|
|
1807
|
+
message.wanted.push(reader.uint32());
|
|
1802
1808
|
}
|
|
1803
1809
|
}
|
|
1804
1810
|
else {
|
|
1805
|
-
message.wanted.push(
|
|
1811
|
+
message.wanted.push(reader.uint32());
|
|
1806
1812
|
}
|
|
1807
1813
|
break;
|
|
1808
1814
|
default:
|
|
@@ -1853,13 +1859,13 @@ export class QueryClientImpl {
|
|
|
1853
1859
|
this.QVotableCards = this.QVotableCards.bind(this);
|
|
1854
1860
|
this.QCards = this.QCards.bind(this);
|
|
1855
1861
|
this.QMatch = this.QMatch.bind(this);
|
|
1856
|
-
this.
|
|
1862
|
+
this.QSet = this.QSet.bind(this);
|
|
1857
1863
|
this.QSellOffer = this.QSellOffer.bind(this);
|
|
1858
1864
|
this.QCouncil = this.QCouncil.bind(this);
|
|
1859
1865
|
this.QMatches = this.QMatches.bind(this);
|
|
1860
1866
|
this.QSellOffers = this.QSellOffers.bind(this);
|
|
1861
1867
|
this.QServer = this.QServer.bind(this);
|
|
1862
|
-
this.
|
|
1868
|
+
this.QSets = this.QSets.bind(this);
|
|
1863
1869
|
this.RarityDistribution = this.RarityDistribution.bind(this);
|
|
1864
1870
|
}
|
|
1865
1871
|
Params(request) {
|
|
@@ -1907,10 +1913,10 @@ export class QueryClientImpl {
|
|
|
1907
1913
|
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QMatch", data);
|
|
1908
1914
|
return promise.then((data) => Match.decode(new _m0.Reader(data)));
|
|
1909
1915
|
}
|
|
1910
|
-
|
|
1911
|
-
const data =
|
|
1912
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "
|
|
1913
|
-
return promise.then((data) =>
|
|
1916
|
+
QSet(request) {
|
|
1917
|
+
const data = QueryQSetRequest.encode(request).finish();
|
|
1918
|
+
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QSet", data);
|
|
1919
|
+
return promise.then((data) => OutpSet.decode(new _m0.Reader(data)));
|
|
1914
1920
|
}
|
|
1915
1921
|
QSellOffer(request) {
|
|
1916
1922
|
const data = QueryQSellOfferRequest.encode(request).finish();
|
|
@@ -1937,10 +1943,10 @@ export class QueryClientImpl {
|
|
|
1937
1943
|
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QServer", data);
|
|
1938
1944
|
return promise.then((data) => Server.decode(new _m0.Reader(data)));
|
|
1939
1945
|
}
|
|
1940
|
-
|
|
1941
|
-
const data =
|
|
1942
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "
|
|
1943
|
-
return promise.then((data) =>
|
|
1946
|
+
QSets(request) {
|
|
1947
|
+
const data = QueryQSetsRequest.encode(request).finish();
|
|
1948
|
+
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QSets", data);
|
|
1949
|
+
return promise.then((data) => QueryQSetsResponse.decode(new _m0.Reader(data)));
|
|
1944
1950
|
}
|
|
1945
1951
|
RarityDistribution(request) {
|
|
1946
1952
|
const data = QueryRarityDistributionRequest.encode(request).finish();
|