decentralcardgame-cardchain-client-ts 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DecentralCardGame.cardchain.cardchain/module.js +322 -322
- package/DecentralCardGame.cardchain.cardchain/module.ts +486 -486
- package/DecentralCardGame.cardchain.cardchain/registry.js +71 -71
- package/DecentralCardGame.cardchain.cardchain/registry.ts +71 -71
- package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/rest.ts +8 -3
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.ts +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.js +44 -13
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.ts +44 -13
- 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 +22 -22
- package/DecentralCardGame.cardchain.cardchain/types.ts +22 -22
- package/client.js +7 -7
- package/client.ts +11 -10
- 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 +63 -17
- package/cosmos.distribution.v1beta1/module.ts +91 -25
- 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 +44 -19
- package/cosmos.gov.v1/module.ts +62 -27
- package/cosmos.gov.v1/registry.js +4 -2
- package/cosmos.gov.v1/registry.ts +4 -2
- 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 +98 -96
- package/cosmos.group.v1/module.ts +149 -147
- 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/events.js +65 -1
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
- 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.group.v1/types.js +2 -1
- package/cosmos.group.v1/types.ts +2 -0
- 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 +34 -32
- package/cosmos.staking.v1beta1/module.ts +50 -48
- 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/module.js +19 -19
- package/cosmos.vesting.v1beta1/module.ts +29 -29
- package/cosmos.vesting.v1beta1/registry.js +2 -2
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- 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 +1 -4
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection_proposal.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection_proposal.ts +0 -0
- /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.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.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/params.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.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 → DecentralCardGame/cardchain}/cardchain/user.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/vote_right.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/vote_right.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_result.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_result.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_results.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_results.ts +0 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
|
|
4
|
+
export const protobufPackage = "cosmos_proto";
|
|
5
|
+
|
|
6
|
+
export enum ScalarType {
|
|
7
|
+
SCALAR_TYPE_UNSPECIFIED = 0,
|
|
8
|
+
SCALAR_TYPE_STRING = 1,
|
|
9
|
+
SCALAR_TYPE_BYTES = 2,
|
|
10
|
+
UNRECOGNIZED = -1,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function scalarTypeFromJSON(object: any): ScalarType {
|
|
14
|
+
switch (object) {
|
|
15
|
+
case 0:
|
|
16
|
+
case "SCALAR_TYPE_UNSPECIFIED":
|
|
17
|
+
return ScalarType.SCALAR_TYPE_UNSPECIFIED;
|
|
18
|
+
case 1:
|
|
19
|
+
case "SCALAR_TYPE_STRING":
|
|
20
|
+
return ScalarType.SCALAR_TYPE_STRING;
|
|
21
|
+
case 2:
|
|
22
|
+
case "SCALAR_TYPE_BYTES":
|
|
23
|
+
return ScalarType.SCALAR_TYPE_BYTES;
|
|
24
|
+
case -1:
|
|
25
|
+
case "UNRECOGNIZED":
|
|
26
|
+
default:
|
|
27
|
+
return ScalarType.UNRECOGNIZED;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function scalarTypeToJSON(object: ScalarType): string {
|
|
32
|
+
switch (object) {
|
|
33
|
+
case ScalarType.SCALAR_TYPE_UNSPECIFIED:
|
|
34
|
+
return "SCALAR_TYPE_UNSPECIFIED";
|
|
35
|
+
case ScalarType.SCALAR_TYPE_STRING:
|
|
36
|
+
return "SCALAR_TYPE_STRING";
|
|
37
|
+
case ScalarType.SCALAR_TYPE_BYTES:
|
|
38
|
+
return "SCALAR_TYPE_BYTES";
|
|
39
|
+
case ScalarType.UNRECOGNIZED:
|
|
40
|
+
default:
|
|
41
|
+
return "UNRECOGNIZED";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* InterfaceDescriptor describes an interface type to be used with
|
|
47
|
+
* accepts_interface and implements_interface and declared by declare_interface.
|
|
48
|
+
*/
|
|
49
|
+
export interface InterfaceDescriptor {
|
|
50
|
+
/**
|
|
51
|
+
* name is the name of the interface. It should be a short-name (without
|
|
52
|
+
* a period) such that the fully qualified name of the interface will be
|
|
53
|
+
* package.name, ex. for the package a.b and interface named C, the
|
|
54
|
+
* fully-qualified name will be a.b.C.
|
|
55
|
+
*/
|
|
56
|
+
name: string;
|
|
57
|
+
/**
|
|
58
|
+
* description is a human-readable description of the interface and its
|
|
59
|
+
* purpose.
|
|
60
|
+
*/
|
|
61
|
+
description: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* ScalarDescriptor describes an scalar type to be used with
|
|
66
|
+
* the scalar field option and declared by declare_scalar.
|
|
67
|
+
* Scalars extend simple protobuf built-in types with additional
|
|
68
|
+
* syntax and semantics, for instance to represent big integers.
|
|
69
|
+
* Scalars should ideally define an encoding such that there is only one
|
|
70
|
+
* valid syntactical representation for a given semantic meaning,
|
|
71
|
+
* i.e. the encoding should be deterministic.
|
|
72
|
+
*/
|
|
73
|
+
export interface ScalarDescriptor {
|
|
74
|
+
/**
|
|
75
|
+
* name is the name of the scalar. It should be a short-name (without
|
|
76
|
+
* a period) such that the fully qualified name of the scalar will be
|
|
77
|
+
* package.name, ex. for the package a.b and scalar named C, the
|
|
78
|
+
* fully-qualified name will be a.b.C.
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* description is a human-readable description of the scalar and its
|
|
83
|
+
* encoding format. For instance a big integer or decimal scalar should
|
|
84
|
+
* specify precisely the expected encoding format.
|
|
85
|
+
*/
|
|
86
|
+
description: string;
|
|
87
|
+
/**
|
|
88
|
+
* field_type is the type of field with which this scalar can be used.
|
|
89
|
+
* Scalars can be used with one and only one type of field so that
|
|
90
|
+
* encoding standards and simple and clear. Currently only string and
|
|
91
|
+
* bytes fields are supported for scalars.
|
|
92
|
+
*/
|
|
93
|
+
fieldType: ScalarType[];
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function createBaseInterfaceDescriptor(): InterfaceDescriptor {
|
|
97
|
+
return { name: "", description: "" };
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export const InterfaceDescriptor = {
|
|
101
|
+
encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
102
|
+
if (message.name !== "") {
|
|
103
|
+
writer.uint32(10).string(message.name);
|
|
104
|
+
}
|
|
105
|
+
if (message.description !== "") {
|
|
106
|
+
writer.uint32(18).string(message.description);
|
|
107
|
+
}
|
|
108
|
+
return writer;
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor {
|
|
112
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
113
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
114
|
+
const message = createBaseInterfaceDescriptor();
|
|
115
|
+
while (reader.pos < end) {
|
|
116
|
+
const tag = reader.uint32();
|
|
117
|
+
switch (tag >>> 3) {
|
|
118
|
+
case 1:
|
|
119
|
+
message.name = reader.string();
|
|
120
|
+
break;
|
|
121
|
+
case 2:
|
|
122
|
+
message.description = reader.string();
|
|
123
|
+
break;
|
|
124
|
+
default:
|
|
125
|
+
reader.skipType(tag & 7);
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
fromJSON(object: any): InterfaceDescriptor {
|
|
133
|
+
return {
|
|
134
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
135
|
+
description: isSet(object.description) ? String(object.description) : "",
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
toJSON(message: InterfaceDescriptor): unknown {
|
|
140
|
+
const obj: any = {};
|
|
141
|
+
message.name !== undefined && (obj.name = message.name);
|
|
142
|
+
message.description !== undefined && (obj.description = message.description);
|
|
143
|
+
return obj;
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
fromPartial<I extends Exact<DeepPartial<InterfaceDescriptor>, I>>(object: I): InterfaceDescriptor {
|
|
147
|
+
const message = createBaseInterfaceDescriptor();
|
|
148
|
+
message.name = object.name ?? "";
|
|
149
|
+
message.description = object.description ?? "";
|
|
150
|
+
return message;
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
function createBaseScalarDescriptor(): ScalarDescriptor {
|
|
155
|
+
return { name: "", description: "", fieldType: [] };
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export const ScalarDescriptor = {
|
|
159
|
+
encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
160
|
+
if (message.name !== "") {
|
|
161
|
+
writer.uint32(10).string(message.name);
|
|
162
|
+
}
|
|
163
|
+
if (message.description !== "") {
|
|
164
|
+
writer.uint32(18).string(message.description);
|
|
165
|
+
}
|
|
166
|
+
writer.uint32(26).fork();
|
|
167
|
+
for (const v of message.fieldType) {
|
|
168
|
+
writer.int32(v);
|
|
169
|
+
}
|
|
170
|
+
writer.ldelim();
|
|
171
|
+
return writer;
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor {
|
|
175
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
176
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
177
|
+
const message = createBaseScalarDescriptor();
|
|
178
|
+
while (reader.pos < end) {
|
|
179
|
+
const tag = reader.uint32();
|
|
180
|
+
switch (tag >>> 3) {
|
|
181
|
+
case 1:
|
|
182
|
+
message.name = reader.string();
|
|
183
|
+
break;
|
|
184
|
+
case 2:
|
|
185
|
+
message.description = reader.string();
|
|
186
|
+
break;
|
|
187
|
+
case 3:
|
|
188
|
+
if ((tag & 7) === 2) {
|
|
189
|
+
const end2 = reader.uint32() + reader.pos;
|
|
190
|
+
while (reader.pos < end2) {
|
|
191
|
+
message.fieldType.push(reader.int32() as any);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
message.fieldType.push(reader.int32() as any);
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
default:
|
|
198
|
+
reader.skipType(tag & 7);
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return message;
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
fromJSON(object: any): ScalarDescriptor {
|
|
206
|
+
return {
|
|
207
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
208
|
+
description: isSet(object.description) ? String(object.description) : "",
|
|
209
|
+
fieldType: Array.isArray(object?.fieldType) ? object.fieldType.map((e: any) => scalarTypeFromJSON(e)) : [],
|
|
210
|
+
};
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
toJSON(message: ScalarDescriptor): unknown {
|
|
214
|
+
const obj: any = {};
|
|
215
|
+
message.name !== undefined && (obj.name = message.name);
|
|
216
|
+
message.description !== undefined && (obj.description = message.description);
|
|
217
|
+
if (message.fieldType) {
|
|
218
|
+
obj.fieldType = message.fieldType.map((e) => scalarTypeToJSON(e));
|
|
219
|
+
} else {
|
|
220
|
+
obj.fieldType = [];
|
|
221
|
+
}
|
|
222
|
+
return obj;
|
|
223
|
+
},
|
|
224
|
+
|
|
225
|
+
fromPartial<I extends Exact<DeepPartial<ScalarDescriptor>, I>>(object: I): ScalarDescriptor {
|
|
226
|
+
const message = createBaseScalarDescriptor();
|
|
227
|
+
message.name = object.name ?? "";
|
|
228
|
+
message.description = object.description ?? "";
|
|
229
|
+
message.fieldType = object.fieldType?.map((e) => e) || [];
|
|
230
|
+
return message;
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
235
|
+
|
|
236
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
237
|
+
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
238
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
239
|
+
: Partial<T>;
|
|
240
|
+
|
|
241
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
242
|
+
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
243
|
+
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
244
|
+
|
|
245
|
+
function isSet(value: any): boolean {
|
|
246
|
+
return value !== null && value !== undefined;
|
|
247
|
+
}
|
|
@@ -22,6 +22,14 @@ export interface RpcStatus {
|
|
|
22
22
|
|
|
23
23
|
export type V1Beta1MsgUnjailResponse = object;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
27
|
+
MsgUpdateParams message.
|
|
28
|
+
|
|
29
|
+
Since: cosmos-sdk 0.47
|
|
30
|
+
*/
|
|
31
|
+
export type V1Beta1MsgUpdateParamsResponse = object;
|
|
32
|
+
|
|
25
33
|
/**
|
|
26
34
|
* message SomeRequest {
|
|
27
35
|
Foo some_parameter = 1;
|
|
@@ -7,7 +7,7 @@ export const protobufPackage = "cosmos.slashing.v1beta1";
|
|
|
7
7
|
|
|
8
8
|
/** GenesisState defines the slashing module's genesis state. */
|
|
9
9
|
export interface GenesisState {
|
|
10
|
-
/** params defines all the
|
|
10
|
+
/** params defines all the parameters of the module. */
|
|
11
11
|
params:
|
|
12
12
|
| Params
|
|
13
13
|
| undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Params } from "./slashing";
|
|
3
4
|
export const protobufPackage = "cosmos.slashing.v1beta1";
|
|
4
5
|
function createBaseMsgUnjail() {
|
|
5
6
|
return { validatorAddr: "" };
|
|
@@ -75,16 +76,109 @@ export const MsgUnjailResponse = {
|
|
|
75
76
|
return message;
|
|
76
77
|
},
|
|
77
78
|
};
|
|
79
|
+
function createBaseMsgUpdateParams() {
|
|
80
|
+
return { authority: "", params: undefined };
|
|
81
|
+
}
|
|
82
|
+
export const MsgUpdateParams = {
|
|
83
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
84
|
+
if (message.authority !== "") {
|
|
85
|
+
writer.uint32(10).string(message.authority);
|
|
86
|
+
}
|
|
87
|
+
if (message.params !== undefined) {
|
|
88
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
89
|
+
}
|
|
90
|
+
return writer;
|
|
91
|
+
},
|
|
92
|
+
decode(input, length) {
|
|
93
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
94
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
95
|
+
const message = createBaseMsgUpdateParams();
|
|
96
|
+
while (reader.pos < end) {
|
|
97
|
+
const tag = reader.uint32();
|
|
98
|
+
switch (tag >>> 3) {
|
|
99
|
+
case 1:
|
|
100
|
+
message.authority = reader.string();
|
|
101
|
+
break;
|
|
102
|
+
case 2:
|
|
103
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
reader.skipType(tag & 7);
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return message;
|
|
111
|
+
},
|
|
112
|
+
fromJSON(object) {
|
|
113
|
+
return {
|
|
114
|
+
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
115
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
toJSON(message) {
|
|
119
|
+
const obj = {};
|
|
120
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
121
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
122
|
+
return obj;
|
|
123
|
+
},
|
|
124
|
+
fromPartial(object) {
|
|
125
|
+
const message = createBaseMsgUpdateParams();
|
|
126
|
+
message.authority = object.authority ?? "";
|
|
127
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
128
|
+
? Params.fromPartial(object.params)
|
|
129
|
+
: undefined;
|
|
130
|
+
return message;
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
function createBaseMsgUpdateParamsResponse() {
|
|
134
|
+
return {};
|
|
135
|
+
}
|
|
136
|
+
export const MsgUpdateParamsResponse = {
|
|
137
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
138
|
+
return writer;
|
|
139
|
+
},
|
|
140
|
+
decode(input, length) {
|
|
141
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
142
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
143
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
144
|
+
while (reader.pos < end) {
|
|
145
|
+
const tag = reader.uint32();
|
|
146
|
+
switch (tag >>> 3) {
|
|
147
|
+
default:
|
|
148
|
+
reader.skipType(tag & 7);
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return message;
|
|
153
|
+
},
|
|
154
|
+
fromJSON(_) {
|
|
155
|
+
return {};
|
|
156
|
+
},
|
|
157
|
+
toJSON(_) {
|
|
158
|
+
const obj = {};
|
|
159
|
+
return obj;
|
|
160
|
+
},
|
|
161
|
+
fromPartial(_) {
|
|
162
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
163
|
+
return message;
|
|
164
|
+
},
|
|
165
|
+
};
|
|
78
166
|
export class MsgClientImpl {
|
|
79
167
|
constructor(rpc) {
|
|
80
168
|
this.rpc = rpc;
|
|
81
169
|
this.Unjail = this.Unjail.bind(this);
|
|
170
|
+
this.UpdateParams = this.UpdateParams.bind(this);
|
|
82
171
|
}
|
|
83
172
|
Unjail(request) {
|
|
84
173
|
const data = MsgUnjail.encode(request).finish();
|
|
85
174
|
const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "Unjail", data);
|
|
86
175
|
return promise.then((data) => MsgUnjailResponse.decode(new _m0.Reader(data)));
|
|
87
176
|
}
|
|
177
|
+
UpdateParams(request) {
|
|
178
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
179
|
+
const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "UpdateParams", data);
|
|
180
|
+
return promise.then((data) => MsgUpdateParamsResponse.decode(new _m0.Reader(data)));
|
|
181
|
+
}
|
|
88
182
|
}
|
|
89
183
|
function isSet(value) {
|
|
90
184
|
return value !== null && value !== undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Params } from "./slashing";
|
|
3
4
|
|
|
4
5
|
export const protobufPackage = "cosmos.slashing.v1beta1";
|
|
5
6
|
|
|
@@ -12,6 +13,31 @@ export interface MsgUnjail {
|
|
|
12
13
|
export interface MsgUnjailResponse {
|
|
13
14
|
}
|
|
14
15
|
|
|
16
|
+
/**
|
|
17
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
18
|
+
*
|
|
19
|
+
* Since: cosmos-sdk 0.47
|
|
20
|
+
*/
|
|
21
|
+
export interface MsgUpdateParams {
|
|
22
|
+
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
23
|
+
authority: string;
|
|
24
|
+
/**
|
|
25
|
+
* params defines the x/slashing parameters to update.
|
|
26
|
+
*
|
|
27
|
+
* NOTE: All parameters must be supplied.
|
|
28
|
+
*/
|
|
29
|
+
params: Params | undefined;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
34
|
+
* MsgUpdateParams message.
|
|
35
|
+
*
|
|
36
|
+
* Since: cosmos-sdk 0.47
|
|
37
|
+
*/
|
|
38
|
+
export interface MsgUpdateParamsResponse {
|
|
39
|
+
}
|
|
40
|
+
|
|
15
41
|
function createBaseMsgUnjail(): MsgUnjail {
|
|
16
42
|
return { validatorAddr: "" };
|
|
17
43
|
}
|
|
@@ -98,6 +124,105 @@ export const MsgUnjailResponse = {
|
|
|
98
124
|
},
|
|
99
125
|
};
|
|
100
126
|
|
|
127
|
+
function createBaseMsgUpdateParams(): MsgUpdateParams {
|
|
128
|
+
return { authority: "", params: undefined };
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export const MsgUpdateParams = {
|
|
132
|
+
encode(message: MsgUpdateParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
133
|
+
if (message.authority !== "") {
|
|
134
|
+
writer.uint32(10).string(message.authority);
|
|
135
|
+
}
|
|
136
|
+
if (message.params !== undefined) {
|
|
137
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
138
|
+
}
|
|
139
|
+
return writer;
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams {
|
|
143
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
144
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
145
|
+
const message = createBaseMsgUpdateParams();
|
|
146
|
+
while (reader.pos < end) {
|
|
147
|
+
const tag = reader.uint32();
|
|
148
|
+
switch (tag >>> 3) {
|
|
149
|
+
case 1:
|
|
150
|
+
message.authority = reader.string();
|
|
151
|
+
break;
|
|
152
|
+
case 2:
|
|
153
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
154
|
+
break;
|
|
155
|
+
default:
|
|
156
|
+
reader.skipType(tag & 7);
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return message;
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
fromJSON(object: any): MsgUpdateParams {
|
|
164
|
+
return {
|
|
165
|
+
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
166
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
toJSON(message: MsgUpdateParams): unknown {
|
|
171
|
+
const obj: any = {};
|
|
172
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
173
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
174
|
+
return obj;
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
fromPartial<I extends Exact<DeepPartial<MsgUpdateParams>, I>>(object: I): MsgUpdateParams {
|
|
178
|
+
const message = createBaseMsgUpdateParams();
|
|
179
|
+
message.authority = object.authority ?? "";
|
|
180
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
181
|
+
? Params.fromPartial(object.params)
|
|
182
|
+
: undefined;
|
|
183
|
+
return message;
|
|
184
|
+
},
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
function createBaseMsgUpdateParamsResponse(): MsgUpdateParamsResponse {
|
|
188
|
+
return {};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export const MsgUpdateParamsResponse = {
|
|
192
|
+
encode(_: MsgUpdateParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
193
|
+
return writer;
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse {
|
|
197
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
198
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
199
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
200
|
+
while (reader.pos < end) {
|
|
201
|
+
const tag = reader.uint32();
|
|
202
|
+
switch (tag >>> 3) {
|
|
203
|
+
default:
|
|
204
|
+
reader.skipType(tag & 7);
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return message;
|
|
209
|
+
},
|
|
210
|
+
|
|
211
|
+
fromJSON(_: any): MsgUpdateParamsResponse {
|
|
212
|
+
return {};
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
toJSON(_: MsgUpdateParamsResponse): unknown {
|
|
216
|
+
const obj: any = {};
|
|
217
|
+
return obj;
|
|
218
|
+
},
|
|
219
|
+
|
|
220
|
+
fromPartial<I extends Exact<DeepPartial<MsgUpdateParamsResponse>, I>>(_: I): MsgUpdateParamsResponse {
|
|
221
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
222
|
+
return message;
|
|
223
|
+
},
|
|
224
|
+
};
|
|
225
|
+
|
|
101
226
|
/** Msg defines the slashing Msg service. */
|
|
102
227
|
export interface Msg {
|
|
103
228
|
/**
|
|
@@ -106,6 +231,13 @@ export interface Msg {
|
|
|
106
231
|
* and rewards again.
|
|
107
232
|
*/
|
|
108
233
|
Unjail(request: MsgUnjail): Promise<MsgUnjailResponse>;
|
|
234
|
+
/**
|
|
235
|
+
* UpdateParams defines a governance operation for updating the x/slashing module
|
|
236
|
+
* parameters. The authority defaults to the x/gov module account.
|
|
237
|
+
*
|
|
238
|
+
* Since: cosmos-sdk 0.47
|
|
239
|
+
*/
|
|
240
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
109
241
|
}
|
|
110
242
|
|
|
111
243
|
export class MsgClientImpl implements Msg {
|
|
@@ -113,12 +245,19 @@ export class MsgClientImpl implements Msg {
|
|
|
113
245
|
constructor(rpc: Rpc) {
|
|
114
246
|
this.rpc = rpc;
|
|
115
247
|
this.Unjail = this.Unjail.bind(this);
|
|
248
|
+
this.UpdateParams = this.UpdateParams.bind(this);
|
|
116
249
|
}
|
|
117
250
|
Unjail(request: MsgUnjail): Promise<MsgUnjailResponse> {
|
|
118
251
|
const data = MsgUnjail.encode(request).finish();
|
|
119
252
|
const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "Unjail", data);
|
|
120
253
|
return promise.then((data) => MsgUnjailResponse.decode(new _m0.Reader(data)));
|
|
121
254
|
}
|
|
255
|
+
|
|
256
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse> {
|
|
257
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
258
|
+
const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "UpdateParams", data);
|
|
259
|
+
return promise.then((data) => MsgUpdateParamsResponse.decode(new _m0.Reader(data)));
|
|
260
|
+
}
|
|
122
261
|
}
|
|
123
262
|
|
|
124
263
|
interface Rpc {
|