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
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Coin } from "
|
|
3
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
import { Card, TimeStamp } from "./card";
|
|
5
|
-
import { Collection } from "./collection";
|
|
6
5
|
import { Council } from "./council";
|
|
7
6
|
import { Image } from "./image";
|
|
8
7
|
import { Match } from "./match";
|
|
@@ -10,6 +9,7 @@ import { Params } from "./params";
|
|
|
10
9
|
import { RunningAverage } from "./running_average";
|
|
11
10
|
import { SellOffer } from "./sell_offer";
|
|
12
11
|
import { Server } from "./server";
|
|
12
|
+
import { Set } from "./set";
|
|
13
13
|
import { User } from "./user";
|
|
14
14
|
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
15
15
|
function createBaseGenesisState() {
|
|
@@ -19,7 +19,7 @@ function createBaseGenesisState() {
|
|
|
19
19
|
users: [],
|
|
20
20
|
addresses: [],
|
|
21
21
|
matches: [],
|
|
22
|
-
|
|
22
|
+
sets: [],
|
|
23
23
|
sellOffers: [],
|
|
24
24
|
pools: [],
|
|
25
25
|
cardAuctionPrice: "",
|
|
@@ -47,8 +47,8 @@ export const GenesisState = {
|
|
|
47
47
|
for (const v of message.matches) {
|
|
48
48
|
Match.encode(v, writer.uint32(50).fork()).ldelim();
|
|
49
49
|
}
|
|
50
|
-
for (const v of message.
|
|
51
|
-
|
|
50
|
+
for (const v of message.sets) {
|
|
51
|
+
Set.encode(v, writer.uint32(58).fork()).ldelim();
|
|
52
52
|
}
|
|
53
53
|
for (const v of message.sellOffers) {
|
|
54
54
|
SellOffer.encode(v, writer.uint32(66).fork()).ldelim();
|
|
@@ -99,7 +99,7 @@ export const GenesisState = {
|
|
|
99
99
|
message.matches.push(Match.decode(reader, reader.uint32()));
|
|
100
100
|
break;
|
|
101
101
|
case 7:
|
|
102
|
-
message.
|
|
102
|
+
message.sets.push(Set.decode(reader, reader.uint32()));
|
|
103
103
|
break;
|
|
104
104
|
case 8:
|
|
105
105
|
message.sellOffers.push(SellOffer.decode(reader, reader.uint32()));
|
|
@@ -139,7 +139,7 @@ export const GenesisState = {
|
|
|
139
139
|
users: Array.isArray(object?.users) ? object.users.map((e) => User.fromJSON(e)) : [],
|
|
140
140
|
addresses: Array.isArray(object?.addresses) ? object.addresses.map((e) => String(e)) : [],
|
|
141
141
|
matches: Array.isArray(object?.matches) ? object.matches.map((e) => Match.fromJSON(e)) : [],
|
|
142
|
-
|
|
142
|
+
sets: Array.isArray(object?.sets) ? object.sets.map((e) => Set.fromJSON(e)) : [],
|
|
143
143
|
sellOffers: Array.isArray(object?.sellOffers) ? object.sellOffers.map((e) => SellOffer.fromJSON(e)) : [],
|
|
144
144
|
pools: Array.isArray(object?.pools) ? object.pools.map((e) => Coin.fromJSON(e)) : [],
|
|
145
145
|
cardAuctionPrice: isSet(object.cardAuctionPrice) ? String(object.cardAuctionPrice) : "",
|
|
@@ -179,11 +179,11 @@ export const GenesisState = {
|
|
|
179
179
|
else {
|
|
180
180
|
obj.matches = [];
|
|
181
181
|
}
|
|
182
|
-
if (message.
|
|
183
|
-
obj.
|
|
182
|
+
if (message.sets) {
|
|
183
|
+
obj.sets = message.sets.map((e) => e ? Set.toJSON(e) : undefined);
|
|
184
184
|
}
|
|
185
185
|
else {
|
|
186
|
-
obj.
|
|
186
|
+
obj.sets = [];
|
|
187
187
|
}
|
|
188
188
|
if (message.sellOffers) {
|
|
189
189
|
obj.sellOffers = message.sellOffers.map((e) => e ? SellOffer.toJSON(e) : undefined);
|
|
@@ -235,7 +235,7 @@ export const GenesisState = {
|
|
|
235
235
|
message.users = object.users?.map((e) => User.fromPartial(e)) || [];
|
|
236
236
|
message.addresses = object.addresses?.map((e) => e) || [];
|
|
237
237
|
message.matches = object.matches?.map((e) => Match.fromPartial(e)) || [];
|
|
238
|
-
message.
|
|
238
|
+
message.sets = object.sets?.map((e) => Set.fromPartial(e)) || [];
|
|
239
239
|
message.sellOffers = object.sellOffers?.map((e) => SellOffer.fromPartial(e)) || [];
|
|
240
240
|
message.pools = object.pools?.map((e) => Coin.fromPartial(e)) || [];
|
|
241
241
|
message.cardAuctionPrice = object.cardAuctionPrice ?? "";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Coin } from "
|
|
3
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
import { Card, TimeStamp } from "./card";
|
|
5
|
-
import { Collection } from "./collection";
|
|
6
5
|
import { Council } from "./council";
|
|
7
6
|
import { Image } from "./image";
|
|
8
7
|
import { Match } from "./match";
|
|
@@ -10,6 +9,7 @@ import { Params } from "./params";
|
|
|
10
9
|
import { RunningAverage } from "./running_average";
|
|
11
10
|
import { SellOffer } from "./sell_offer";
|
|
12
11
|
import { Server } from "./server";
|
|
12
|
+
import { Set } from "./set";
|
|
13
13
|
import { User } from "./user";
|
|
14
14
|
|
|
15
15
|
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
@@ -21,7 +21,7 @@ export interface GenesisState {
|
|
|
21
21
|
users: User[];
|
|
22
22
|
addresses: string[];
|
|
23
23
|
matches: Match[];
|
|
24
|
-
|
|
24
|
+
sets: Set[];
|
|
25
25
|
sellOffers: SellOffer[];
|
|
26
26
|
pools: Coin[];
|
|
27
27
|
cardAuctionPrice: string;
|
|
@@ -40,7 +40,7 @@ function createBaseGenesisState(): GenesisState {
|
|
|
40
40
|
users: [],
|
|
41
41
|
addresses: [],
|
|
42
42
|
matches: [],
|
|
43
|
-
|
|
43
|
+
sets: [],
|
|
44
44
|
sellOffers: [],
|
|
45
45
|
pools: [],
|
|
46
46
|
cardAuctionPrice: "",
|
|
@@ -69,8 +69,8 @@ export const GenesisState = {
|
|
|
69
69
|
for (const v of message.matches) {
|
|
70
70
|
Match.encode(v!, writer.uint32(50).fork()).ldelim();
|
|
71
71
|
}
|
|
72
|
-
for (const v of message.
|
|
73
|
-
|
|
72
|
+
for (const v of message.sets) {
|
|
73
|
+
Set.encode(v!, writer.uint32(58).fork()).ldelim();
|
|
74
74
|
}
|
|
75
75
|
for (const v of message.sellOffers) {
|
|
76
76
|
SellOffer.encode(v!, writer.uint32(66).fork()).ldelim();
|
|
@@ -122,7 +122,7 @@ export const GenesisState = {
|
|
|
122
122
|
message.matches.push(Match.decode(reader, reader.uint32()));
|
|
123
123
|
break;
|
|
124
124
|
case 7:
|
|
125
|
-
message.
|
|
125
|
+
message.sets.push(Set.decode(reader, reader.uint32()));
|
|
126
126
|
break;
|
|
127
127
|
case 8:
|
|
128
128
|
message.sellOffers.push(SellOffer.decode(reader, reader.uint32()));
|
|
@@ -163,7 +163,7 @@ export const GenesisState = {
|
|
|
163
163
|
users: Array.isArray(object?.users) ? object.users.map((e: any) => User.fromJSON(e)) : [],
|
|
164
164
|
addresses: Array.isArray(object?.addresses) ? object.addresses.map((e: any) => String(e)) : [],
|
|
165
165
|
matches: Array.isArray(object?.matches) ? object.matches.map((e: any) => Match.fromJSON(e)) : [],
|
|
166
|
-
|
|
166
|
+
sets: Array.isArray(object?.sets) ? object.sets.map((e: any) => Set.fromJSON(e)) : [],
|
|
167
167
|
sellOffers: Array.isArray(object?.sellOffers) ? object.sellOffers.map((e: any) => SellOffer.fromJSON(e)) : [],
|
|
168
168
|
pools: Array.isArray(object?.pools) ? object.pools.map((e: any) => Coin.fromJSON(e)) : [],
|
|
169
169
|
cardAuctionPrice: isSet(object.cardAuctionPrice) ? String(object.cardAuctionPrice) : "",
|
|
@@ -200,10 +200,10 @@ export const GenesisState = {
|
|
|
200
200
|
} else {
|
|
201
201
|
obj.matches = [];
|
|
202
202
|
}
|
|
203
|
-
if (message.
|
|
204
|
-
obj.
|
|
203
|
+
if (message.sets) {
|
|
204
|
+
obj.sets = message.sets.map((e) => e ? Set.toJSON(e) : undefined);
|
|
205
205
|
} else {
|
|
206
|
-
obj.
|
|
206
|
+
obj.sets = [];
|
|
207
207
|
}
|
|
208
208
|
if (message.sellOffers) {
|
|
209
209
|
obj.sellOffers = message.sellOffers.map((e) => e ? SellOffer.toJSON(e) : undefined);
|
|
@@ -250,7 +250,7 @@ export const GenesisState = {
|
|
|
250
250
|
message.users = object.users?.map((e) => User.fromPartial(e)) || [];
|
|
251
251
|
message.addresses = object.addresses?.map((e) => e) || [];
|
|
252
252
|
message.matches = object.matches?.map((e) => Match.fromPartial(e)) || [];
|
|
253
|
-
message.
|
|
253
|
+
message.sets = object.sets?.map((e) => Set.fromPartial(e)) || [];
|
|
254
254
|
message.sellOffers = object.sellOffers?.map((e) => SellOffer.fromPartial(e)) || [];
|
|
255
255
|
message.pools = object.pools?.map((e) => Coin.fromPartial(e)) || [];
|
|
256
256
|
message.cardAuctionPrice = object.cardAuctionPrice ?? "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { SingleVote } from "./
|
|
4
|
+
import { SingleVote } from "./voting";
|
|
5
5
|
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
6
6
|
export var Outcome;
|
|
7
7
|
(function (Outcome) {
|
|
@@ -5,10 +5,10 @@ export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
|
5
5
|
function createBaseParams() {
|
|
6
6
|
return {
|
|
7
7
|
votingRightsExpirationTime: 0,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
setSize: 0,
|
|
9
|
+
setPrice: "",
|
|
10
|
+
activeSetsAmount: 0,
|
|
11
|
+
setCreationFee: "",
|
|
12
12
|
collateralDeposit: "",
|
|
13
13
|
winnerReward: 0,
|
|
14
14
|
hourlyFaucet: "",
|
|
@@ -25,6 +25,9 @@ function createBaseParams() {
|
|
|
25
25
|
votePoolFraction: 0,
|
|
26
26
|
votingRewardCap: 0,
|
|
27
27
|
matchWorkerDelay: 0,
|
|
28
|
+
rareDropRatio: 0,
|
|
29
|
+
exceptionalDropRatio: 0,
|
|
30
|
+
uniqueDropRatio: 0,
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
export const Params = {
|
|
@@ -32,17 +35,17 @@ export const Params = {
|
|
|
32
35
|
if (message.votingRightsExpirationTime !== 0) {
|
|
33
36
|
writer.uint32(8).int64(message.votingRightsExpirationTime);
|
|
34
37
|
}
|
|
35
|
-
if (message.
|
|
36
|
-
writer.uint32(16).uint64(message.
|
|
38
|
+
if (message.setSize !== 0) {
|
|
39
|
+
writer.uint32(16).uint64(message.setSize);
|
|
37
40
|
}
|
|
38
|
-
if (message.
|
|
39
|
-
writer.uint32(26).string(message.
|
|
41
|
+
if (message.setPrice !== "") {
|
|
42
|
+
writer.uint32(26).string(message.setPrice);
|
|
40
43
|
}
|
|
41
|
-
if (message.
|
|
42
|
-
writer.uint32(32).uint64(message.
|
|
44
|
+
if (message.activeSetsAmount !== 0) {
|
|
45
|
+
writer.uint32(32).uint64(message.activeSetsAmount);
|
|
43
46
|
}
|
|
44
|
-
if (message.
|
|
45
|
-
writer.uint32(42).string(message.
|
|
47
|
+
if (message.setCreationFee !== "") {
|
|
48
|
+
writer.uint32(42).string(message.setCreationFee);
|
|
46
49
|
}
|
|
47
50
|
if (message.collateralDeposit !== "") {
|
|
48
51
|
writer.uint32(50).string(message.collateralDeposit);
|
|
@@ -92,6 +95,15 @@ export const Params = {
|
|
|
92
95
|
if (message.matchWorkerDelay !== 0) {
|
|
93
96
|
writer.uint32(168).uint64(message.matchWorkerDelay);
|
|
94
97
|
}
|
|
98
|
+
if (message.rareDropRatio !== 0) {
|
|
99
|
+
writer.uint32(176).uint64(message.rareDropRatio);
|
|
100
|
+
}
|
|
101
|
+
if (message.exceptionalDropRatio !== 0) {
|
|
102
|
+
writer.uint32(184).uint64(message.exceptionalDropRatio);
|
|
103
|
+
}
|
|
104
|
+
if (message.uniqueDropRatio !== 0) {
|
|
105
|
+
writer.uint32(192).uint64(message.uniqueDropRatio);
|
|
106
|
+
}
|
|
95
107
|
return writer;
|
|
96
108
|
},
|
|
97
109
|
decode(input, length) {
|
|
@@ -105,16 +117,16 @@ export const Params = {
|
|
|
105
117
|
message.votingRightsExpirationTime = longToNumber(reader.int64());
|
|
106
118
|
break;
|
|
107
119
|
case 2:
|
|
108
|
-
message.
|
|
120
|
+
message.setSize = longToNumber(reader.uint64());
|
|
109
121
|
break;
|
|
110
122
|
case 3:
|
|
111
|
-
message.
|
|
123
|
+
message.setPrice = reader.string();
|
|
112
124
|
break;
|
|
113
125
|
case 4:
|
|
114
|
-
message.
|
|
126
|
+
message.activeSetsAmount = longToNumber(reader.uint64());
|
|
115
127
|
break;
|
|
116
128
|
case 5:
|
|
117
|
-
message.
|
|
129
|
+
message.setCreationFee = reader.string();
|
|
118
130
|
break;
|
|
119
131
|
case 6:
|
|
120
132
|
message.collateralDeposit = reader.string();
|
|
@@ -164,6 +176,15 @@ export const Params = {
|
|
|
164
176
|
case 21:
|
|
165
177
|
message.matchWorkerDelay = longToNumber(reader.uint64());
|
|
166
178
|
break;
|
|
179
|
+
case 22:
|
|
180
|
+
message.rareDropRatio = longToNumber(reader.uint64());
|
|
181
|
+
break;
|
|
182
|
+
case 23:
|
|
183
|
+
message.exceptionalDropRatio = longToNumber(reader.uint64());
|
|
184
|
+
break;
|
|
185
|
+
case 24:
|
|
186
|
+
message.uniqueDropRatio = longToNumber(reader.uint64());
|
|
187
|
+
break;
|
|
167
188
|
default:
|
|
168
189
|
reader.skipType(tag & 7);
|
|
169
190
|
break;
|
|
@@ -176,10 +197,10 @@ export const Params = {
|
|
|
176
197
|
votingRightsExpirationTime: isSet(object.votingRightsExpirationTime)
|
|
177
198
|
? Number(object.votingRightsExpirationTime)
|
|
178
199
|
: 0,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
200
|
+
setSize: isSet(object.setSize) ? Number(object.setSize) : 0,
|
|
201
|
+
setPrice: isSet(object.setPrice) ? String(object.setPrice) : "",
|
|
202
|
+
activeSetsAmount: isSet(object.activeSetsAmount) ? Number(object.activeSetsAmount) : 0,
|
|
203
|
+
setCreationFee: isSet(object.setCreationFee) ? String(object.setCreationFee) : "",
|
|
183
204
|
collateralDeposit: isSet(object.collateralDeposit) ? String(object.collateralDeposit) : "",
|
|
184
205
|
winnerReward: isSet(object.winnerReward) ? Number(object.winnerReward) : 0,
|
|
185
206
|
hourlyFaucet: isSet(object.hourlyFaucet) ? String(object.hourlyFaucet) : "",
|
|
@@ -198,17 +219,19 @@ export const Params = {
|
|
|
198
219
|
votePoolFraction: isSet(object.votePoolFraction) ? Number(object.votePoolFraction) : 0,
|
|
199
220
|
votingRewardCap: isSet(object.votingRewardCap) ? Number(object.votingRewardCap) : 0,
|
|
200
221
|
matchWorkerDelay: isSet(object.matchWorkerDelay) ? Number(object.matchWorkerDelay) : 0,
|
|
222
|
+
rareDropRatio: isSet(object.rareDropRatio) ? Number(object.rareDropRatio) : 0,
|
|
223
|
+
exceptionalDropRatio: isSet(object.exceptionalDropRatio) ? Number(object.exceptionalDropRatio) : 0,
|
|
224
|
+
uniqueDropRatio: isSet(object.uniqueDropRatio) ? Number(object.uniqueDropRatio) : 0,
|
|
201
225
|
};
|
|
202
226
|
},
|
|
203
227
|
toJSON(message) {
|
|
204
228
|
const obj = {};
|
|
205
229
|
message.votingRightsExpirationTime !== undefined
|
|
206
230
|
&& (obj.votingRightsExpirationTime = Math.round(message.votingRightsExpirationTime));
|
|
207
|
-
message.
|
|
208
|
-
message.
|
|
209
|
-
message.
|
|
210
|
-
|
|
211
|
-
message.collectionCreationFee !== undefined && (obj.collectionCreationFee = message.collectionCreationFee);
|
|
231
|
+
message.setSize !== undefined && (obj.setSize = Math.round(message.setSize));
|
|
232
|
+
message.setPrice !== undefined && (obj.setPrice = message.setPrice);
|
|
233
|
+
message.activeSetsAmount !== undefined && (obj.activeSetsAmount = Math.round(message.activeSetsAmount));
|
|
234
|
+
message.setCreationFee !== undefined && (obj.setCreationFee = message.setCreationFee);
|
|
212
235
|
message.collateralDeposit !== undefined && (obj.collateralDeposit = message.collateralDeposit);
|
|
213
236
|
message.winnerReward !== undefined && (obj.winnerReward = Math.round(message.winnerReward));
|
|
214
237
|
message.hourlyFaucet !== undefined && (obj.hourlyFaucet = message.hourlyFaucet);
|
|
@@ -227,15 +250,18 @@ export const Params = {
|
|
|
227
250
|
message.votePoolFraction !== undefined && (obj.votePoolFraction = Math.round(message.votePoolFraction));
|
|
228
251
|
message.votingRewardCap !== undefined && (obj.votingRewardCap = Math.round(message.votingRewardCap));
|
|
229
252
|
message.matchWorkerDelay !== undefined && (obj.matchWorkerDelay = Math.round(message.matchWorkerDelay));
|
|
253
|
+
message.rareDropRatio !== undefined && (obj.rareDropRatio = Math.round(message.rareDropRatio));
|
|
254
|
+
message.exceptionalDropRatio !== undefined && (obj.exceptionalDropRatio = Math.round(message.exceptionalDropRatio));
|
|
255
|
+
message.uniqueDropRatio !== undefined && (obj.uniqueDropRatio = Math.round(message.uniqueDropRatio));
|
|
230
256
|
return obj;
|
|
231
257
|
},
|
|
232
258
|
fromPartial(object) {
|
|
233
259
|
const message = createBaseParams();
|
|
234
260
|
message.votingRightsExpirationTime = object.votingRightsExpirationTime ?? 0;
|
|
235
|
-
message.
|
|
236
|
-
message.
|
|
237
|
-
message.
|
|
238
|
-
message.
|
|
261
|
+
message.setSize = object.setSize ?? 0;
|
|
262
|
+
message.setPrice = object.setPrice ?? "";
|
|
263
|
+
message.activeSetsAmount = object.activeSetsAmount ?? 0;
|
|
264
|
+
message.setCreationFee = object.setCreationFee ?? "";
|
|
239
265
|
message.collateralDeposit = object.collateralDeposit ?? "";
|
|
240
266
|
message.winnerReward = object.winnerReward ?? 0;
|
|
241
267
|
message.hourlyFaucet = object.hourlyFaucet ?? "";
|
|
@@ -252,6 +278,9 @@ export const Params = {
|
|
|
252
278
|
message.votePoolFraction = object.votePoolFraction ?? 0;
|
|
253
279
|
message.votingRewardCap = object.votingRewardCap ?? 0;
|
|
254
280
|
message.matchWorkerDelay = object.matchWorkerDelay ?? 0;
|
|
281
|
+
message.rareDropRatio = object.rareDropRatio ?? 0;
|
|
282
|
+
message.exceptionalDropRatio = object.exceptionalDropRatio ?? 0;
|
|
283
|
+
message.uniqueDropRatio = object.uniqueDropRatio ?? 0;
|
|
255
284
|
return message;
|
|
256
285
|
},
|
|
257
286
|
};
|
|
@@ -7,10 +7,10 @@ export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
|
7
7
|
/** Params defines the parameters for the module. */
|
|
8
8
|
export interface Params {
|
|
9
9
|
votingRightsExpirationTime: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
setSize: number;
|
|
11
|
+
setPrice: string;
|
|
12
|
+
activeSetsAmount: number;
|
|
13
|
+
setCreationFee: string;
|
|
14
14
|
collateralDeposit: string;
|
|
15
15
|
winnerReward: number;
|
|
16
16
|
hourlyFaucet: string;
|
|
@@ -27,15 +27,18 @@ export interface Params {
|
|
|
27
27
|
votePoolFraction: number;
|
|
28
28
|
votingRewardCap: number;
|
|
29
29
|
matchWorkerDelay: number;
|
|
30
|
+
rareDropRatio: number;
|
|
31
|
+
exceptionalDropRatio: number;
|
|
32
|
+
uniqueDropRatio: number;
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
function createBaseParams(): Params {
|
|
33
36
|
return {
|
|
34
37
|
votingRightsExpirationTime: 0,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
setSize: 0,
|
|
39
|
+
setPrice: "",
|
|
40
|
+
activeSetsAmount: 0,
|
|
41
|
+
setCreationFee: "",
|
|
39
42
|
collateralDeposit: "",
|
|
40
43
|
winnerReward: 0,
|
|
41
44
|
hourlyFaucet: "",
|
|
@@ -52,6 +55,9 @@ function createBaseParams(): Params {
|
|
|
52
55
|
votePoolFraction: 0,
|
|
53
56
|
votingRewardCap: 0,
|
|
54
57
|
matchWorkerDelay: 0,
|
|
58
|
+
rareDropRatio: 0,
|
|
59
|
+
exceptionalDropRatio: 0,
|
|
60
|
+
uniqueDropRatio: 0,
|
|
55
61
|
};
|
|
56
62
|
}
|
|
57
63
|
|
|
@@ -60,17 +66,17 @@ export const Params = {
|
|
|
60
66
|
if (message.votingRightsExpirationTime !== 0) {
|
|
61
67
|
writer.uint32(8).int64(message.votingRightsExpirationTime);
|
|
62
68
|
}
|
|
63
|
-
if (message.
|
|
64
|
-
writer.uint32(16).uint64(message.
|
|
69
|
+
if (message.setSize !== 0) {
|
|
70
|
+
writer.uint32(16).uint64(message.setSize);
|
|
65
71
|
}
|
|
66
|
-
if (message.
|
|
67
|
-
writer.uint32(26).string(message.
|
|
72
|
+
if (message.setPrice !== "") {
|
|
73
|
+
writer.uint32(26).string(message.setPrice);
|
|
68
74
|
}
|
|
69
|
-
if (message.
|
|
70
|
-
writer.uint32(32).uint64(message.
|
|
75
|
+
if (message.activeSetsAmount !== 0) {
|
|
76
|
+
writer.uint32(32).uint64(message.activeSetsAmount);
|
|
71
77
|
}
|
|
72
|
-
if (message.
|
|
73
|
-
writer.uint32(42).string(message.
|
|
78
|
+
if (message.setCreationFee !== "") {
|
|
79
|
+
writer.uint32(42).string(message.setCreationFee);
|
|
74
80
|
}
|
|
75
81
|
if (message.collateralDeposit !== "") {
|
|
76
82
|
writer.uint32(50).string(message.collateralDeposit);
|
|
@@ -120,6 +126,15 @@ export const Params = {
|
|
|
120
126
|
if (message.matchWorkerDelay !== 0) {
|
|
121
127
|
writer.uint32(168).uint64(message.matchWorkerDelay);
|
|
122
128
|
}
|
|
129
|
+
if (message.rareDropRatio !== 0) {
|
|
130
|
+
writer.uint32(176).uint64(message.rareDropRatio);
|
|
131
|
+
}
|
|
132
|
+
if (message.exceptionalDropRatio !== 0) {
|
|
133
|
+
writer.uint32(184).uint64(message.exceptionalDropRatio);
|
|
134
|
+
}
|
|
135
|
+
if (message.uniqueDropRatio !== 0) {
|
|
136
|
+
writer.uint32(192).uint64(message.uniqueDropRatio);
|
|
137
|
+
}
|
|
123
138
|
return writer;
|
|
124
139
|
},
|
|
125
140
|
|
|
@@ -134,16 +149,16 @@ export const Params = {
|
|
|
134
149
|
message.votingRightsExpirationTime = longToNumber(reader.int64() as Long);
|
|
135
150
|
break;
|
|
136
151
|
case 2:
|
|
137
|
-
message.
|
|
152
|
+
message.setSize = longToNumber(reader.uint64() as Long);
|
|
138
153
|
break;
|
|
139
154
|
case 3:
|
|
140
|
-
message.
|
|
155
|
+
message.setPrice = reader.string();
|
|
141
156
|
break;
|
|
142
157
|
case 4:
|
|
143
|
-
message.
|
|
158
|
+
message.activeSetsAmount = longToNumber(reader.uint64() as Long);
|
|
144
159
|
break;
|
|
145
160
|
case 5:
|
|
146
|
-
message.
|
|
161
|
+
message.setCreationFee = reader.string();
|
|
147
162
|
break;
|
|
148
163
|
case 6:
|
|
149
164
|
message.collateralDeposit = reader.string();
|
|
@@ -193,6 +208,15 @@ export const Params = {
|
|
|
193
208
|
case 21:
|
|
194
209
|
message.matchWorkerDelay = longToNumber(reader.uint64() as Long);
|
|
195
210
|
break;
|
|
211
|
+
case 22:
|
|
212
|
+
message.rareDropRatio = longToNumber(reader.uint64() as Long);
|
|
213
|
+
break;
|
|
214
|
+
case 23:
|
|
215
|
+
message.exceptionalDropRatio = longToNumber(reader.uint64() as Long);
|
|
216
|
+
break;
|
|
217
|
+
case 24:
|
|
218
|
+
message.uniqueDropRatio = longToNumber(reader.uint64() as Long);
|
|
219
|
+
break;
|
|
196
220
|
default:
|
|
197
221
|
reader.skipType(tag & 7);
|
|
198
222
|
break;
|
|
@@ -206,10 +230,10 @@ export const Params = {
|
|
|
206
230
|
votingRightsExpirationTime: isSet(object.votingRightsExpirationTime)
|
|
207
231
|
? Number(object.votingRightsExpirationTime)
|
|
208
232
|
: 0,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
233
|
+
setSize: isSet(object.setSize) ? Number(object.setSize) : 0,
|
|
234
|
+
setPrice: isSet(object.setPrice) ? String(object.setPrice) : "",
|
|
235
|
+
activeSetsAmount: isSet(object.activeSetsAmount) ? Number(object.activeSetsAmount) : 0,
|
|
236
|
+
setCreationFee: isSet(object.setCreationFee) ? String(object.setCreationFee) : "",
|
|
213
237
|
collateralDeposit: isSet(object.collateralDeposit) ? String(object.collateralDeposit) : "",
|
|
214
238
|
winnerReward: isSet(object.winnerReward) ? Number(object.winnerReward) : 0,
|
|
215
239
|
hourlyFaucet: isSet(object.hourlyFaucet) ? String(object.hourlyFaucet) : "",
|
|
@@ -228,6 +252,9 @@ export const Params = {
|
|
|
228
252
|
votePoolFraction: isSet(object.votePoolFraction) ? Number(object.votePoolFraction) : 0,
|
|
229
253
|
votingRewardCap: isSet(object.votingRewardCap) ? Number(object.votingRewardCap) : 0,
|
|
230
254
|
matchWorkerDelay: isSet(object.matchWorkerDelay) ? Number(object.matchWorkerDelay) : 0,
|
|
255
|
+
rareDropRatio: isSet(object.rareDropRatio) ? Number(object.rareDropRatio) : 0,
|
|
256
|
+
exceptionalDropRatio: isSet(object.exceptionalDropRatio) ? Number(object.exceptionalDropRatio) : 0,
|
|
257
|
+
uniqueDropRatio: isSet(object.uniqueDropRatio) ? Number(object.uniqueDropRatio) : 0,
|
|
231
258
|
};
|
|
232
259
|
},
|
|
233
260
|
|
|
@@ -235,11 +262,10 @@ export const Params = {
|
|
|
235
262
|
const obj: any = {};
|
|
236
263
|
message.votingRightsExpirationTime !== undefined
|
|
237
264
|
&& (obj.votingRightsExpirationTime = Math.round(message.votingRightsExpirationTime));
|
|
238
|
-
message.
|
|
239
|
-
message.
|
|
240
|
-
message.
|
|
241
|
-
|
|
242
|
-
message.collectionCreationFee !== undefined && (obj.collectionCreationFee = message.collectionCreationFee);
|
|
265
|
+
message.setSize !== undefined && (obj.setSize = Math.round(message.setSize));
|
|
266
|
+
message.setPrice !== undefined && (obj.setPrice = message.setPrice);
|
|
267
|
+
message.activeSetsAmount !== undefined && (obj.activeSetsAmount = Math.round(message.activeSetsAmount));
|
|
268
|
+
message.setCreationFee !== undefined && (obj.setCreationFee = message.setCreationFee);
|
|
243
269
|
message.collateralDeposit !== undefined && (obj.collateralDeposit = message.collateralDeposit);
|
|
244
270
|
message.winnerReward !== undefined && (obj.winnerReward = Math.round(message.winnerReward));
|
|
245
271
|
message.hourlyFaucet !== undefined && (obj.hourlyFaucet = message.hourlyFaucet);
|
|
@@ -258,16 +284,19 @@ export const Params = {
|
|
|
258
284
|
message.votePoolFraction !== undefined && (obj.votePoolFraction = Math.round(message.votePoolFraction));
|
|
259
285
|
message.votingRewardCap !== undefined && (obj.votingRewardCap = Math.round(message.votingRewardCap));
|
|
260
286
|
message.matchWorkerDelay !== undefined && (obj.matchWorkerDelay = Math.round(message.matchWorkerDelay));
|
|
287
|
+
message.rareDropRatio !== undefined && (obj.rareDropRatio = Math.round(message.rareDropRatio));
|
|
288
|
+
message.exceptionalDropRatio !== undefined && (obj.exceptionalDropRatio = Math.round(message.exceptionalDropRatio));
|
|
289
|
+
message.uniqueDropRatio !== undefined && (obj.uniqueDropRatio = Math.round(message.uniqueDropRatio));
|
|
261
290
|
return obj;
|
|
262
291
|
},
|
|
263
292
|
|
|
264
293
|
fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params {
|
|
265
294
|
const message = createBaseParams();
|
|
266
295
|
message.votingRightsExpirationTime = object.votingRightsExpirationTime ?? 0;
|
|
267
|
-
message.
|
|
268
|
-
message.
|
|
269
|
-
message.
|
|
270
|
-
message.
|
|
296
|
+
message.setSize = object.setSize ?? 0;
|
|
297
|
+
message.setPrice = object.setPrice ?? "";
|
|
298
|
+
message.activeSetsAmount = object.activeSetsAmount ?? 0;
|
|
299
|
+
message.setCreationFee = object.setCreationFee ?? "";
|
|
271
300
|
message.collateralDeposit = object.collateralDeposit ?? "";
|
|
272
301
|
message.winnerReward = object.winnerReward ?? 0;
|
|
273
302
|
message.hourlyFaucet = object.hourlyFaucet ?? "";
|
|
@@ -284,6 +313,9 @@ export const Params = {
|
|
|
284
313
|
message.votePoolFraction = object.votePoolFraction ?? 0;
|
|
285
314
|
message.votingRewardCap = object.votingRewardCap ?? 0;
|
|
286
315
|
message.matchWorkerDelay = object.matchWorkerDelay ?? 0;
|
|
316
|
+
message.rareDropRatio = object.rareDropRatio ?? 0;
|
|
317
|
+
message.exceptionalDropRatio = object.exceptionalDropRatio ?? 0;
|
|
318
|
+
message.uniqueDropRatio = object.uniqueDropRatio ?? 0;
|
|
287
319
|
return message;
|
|
288
320
|
},
|
|
289
321
|
};
|