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,15 +1,15 @@
|
|
|
1
|
-
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
2
1
|
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
3
|
-
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
4
2
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
|
-
import {
|
|
3
|
+
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
4
|
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
|
+
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
7
|
const msgTypes = [
|
|
8
|
-
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
9
8
|
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
10
|
-
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
11
9
|
["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
|
|
12
|
-
["/cosmos.staking.v1beta1.
|
|
10
|
+
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
13
11
|
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
12
|
+
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
13
|
+
["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
|
|
14
14
|
];
|
|
15
15
|
export { msgTypes };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { GeneratedType } from "@cosmjs/proto-signing";
|
|
2
|
-
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
3
2
|
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
4
|
-
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
3
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
-
import {
|
|
4
|
+
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
5
|
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
8
|
|
|
9
9
|
const msgTypes: Array<[string, GeneratedType]> = [
|
|
10
|
-
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
11
10
|
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
12
|
-
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
13
11
|
["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
|
|
14
|
-
["/cosmos.staking.v1beta1.
|
|
12
|
+
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
15
13
|
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
14
|
+
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
15
|
+
["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
|
|
16
16
|
|
|
17
17
|
];
|
|
18
18
|
|
|
@@ -98,7 +98,7 @@ export class Api extends HttpClient {
|
|
|
98
98
|
constructor() {
|
|
99
99
|
super(...arguments);
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
102
102
|
*
|
|
103
103
|
* @tags Query
|
|
104
104
|
* @name QueryDelegatorDelegations
|
|
@@ -113,7 +113,7 @@ export class Api extends HttpClient {
|
|
|
113
113
|
...params,
|
|
114
114
|
});
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
117
117
|
*
|
|
118
118
|
* @tags Query
|
|
119
119
|
* @name QueryRedelegations
|
|
@@ -128,7 +128,7 @@ export class Api extends HttpClient {
|
|
|
128
128
|
...params,
|
|
129
129
|
});
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
132
132
|
*
|
|
133
133
|
* @tags Query
|
|
134
134
|
* @name QueryDelegatorUnbondingDelegations
|
|
@@ -144,7 +144,7 @@ export class Api extends HttpClient {
|
|
|
144
144
|
...params,
|
|
145
145
|
});
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
148
148
|
*
|
|
149
149
|
* @tags Query
|
|
150
150
|
* @name QueryDelegatorValidators
|
|
@@ -217,7 +217,7 @@ export class Api extends HttpClient {
|
|
|
217
217
|
...params,
|
|
218
218
|
});
|
|
219
219
|
/**
|
|
220
|
-
*
|
|
220
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
221
221
|
*
|
|
222
222
|
* @tags Query
|
|
223
223
|
* @name QueryValidators
|
|
@@ -246,7 +246,7 @@ export class Api extends HttpClient {
|
|
|
246
246
|
...params,
|
|
247
247
|
});
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
250
250
|
*
|
|
251
251
|
* @tags Query
|
|
252
252
|
* @name QueryValidatorDelegations
|
|
@@ -290,7 +290,7 @@ export class Api extends HttpClient {
|
|
|
290
290
|
...params,
|
|
291
291
|
});
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
294
294
|
*
|
|
295
295
|
* @tags Query
|
|
296
296
|
* @name QueryValidatorUnbondingDelegations
|
|
@@ -183,6 +183,15 @@ export interface Stakingv1Beta1Validator {
|
|
|
183
183
|
* Since: cosmos-sdk 0.46
|
|
184
184
|
*/
|
|
185
185
|
min_self_delegation?: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* strictly positive if this validator's unbonding has been stopped by external modules
|
|
189
|
+
* @format int64
|
|
190
|
+
*/
|
|
191
|
+
unbonding_on_hold_ref_count?: string;
|
|
192
|
+
|
|
193
|
+
/** list of unbonding ids, each uniquely identifing an unbonding of this validator */
|
|
194
|
+
unbonding_ids?: string[];
|
|
186
195
|
}
|
|
187
196
|
|
|
188
197
|
export interface TypesBlockID {
|
|
@@ -439,6 +448,14 @@ export interface V1Beta1MsgUndelegateResponse {
|
|
|
439
448
|
completion_time?: string;
|
|
440
449
|
}
|
|
441
450
|
|
|
451
|
+
/**
|
|
452
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
453
|
+
MsgUpdateParams message.
|
|
454
|
+
|
|
455
|
+
Since: cosmos-sdk 0.47
|
|
456
|
+
*/
|
|
457
|
+
export type V1Beta1MsgUpdateParamsResponse = object;
|
|
458
|
+
|
|
442
459
|
/**
|
|
443
460
|
* message SomeRequest {
|
|
444
461
|
Foo some_parameter = 1;
|
|
@@ -512,7 +529,7 @@ export interface V1Beta1PageResponse {
|
|
|
512
529
|
}
|
|
513
530
|
|
|
514
531
|
/**
|
|
515
|
-
* Params defines the parameters for the staking module.
|
|
532
|
+
* Params defines the parameters for the x/staking module.
|
|
516
533
|
*/
|
|
517
534
|
export interface V1Beta1Params {
|
|
518
535
|
/** unbonding_time is the time duration of unbonding. */
|
|
@@ -723,6 +740,18 @@ export interface V1Beta1RedelegationEntry {
|
|
|
723
740
|
|
|
724
741
|
/** shares_dst is the amount of destination-validator shares created by redelegation. */
|
|
725
742
|
shares_dst?: string;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Incrementing id that uniquely identifies this entry
|
|
746
|
+
* @format uint64
|
|
747
|
+
*/
|
|
748
|
+
unbonding_id?: string;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Strictly positive if this entry's unbonding has been stopped by external modules
|
|
752
|
+
* @format int64
|
|
753
|
+
*/
|
|
754
|
+
unbonding_on_hold_ref_count?: string;
|
|
726
755
|
}
|
|
727
756
|
|
|
728
757
|
/**
|
|
@@ -790,6 +819,18 @@ export interface V1Beta1UnbondingDelegationEntry {
|
|
|
790
819
|
|
|
791
820
|
/** balance defines the tokens to receive at completion. */
|
|
792
821
|
balance?: string;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Incrementing id that uniquely identifies this entry
|
|
825
|
+
* @format uint64
|
|
826
|
+
*/
|
|
827
|
+
unbonding_id?: string;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Strictly positive if this entry's unbonding has been stopped by external modules
|
|
831
|
+
* @format int64
|
|
832
|
+
*/
|
|
833
|
+
unbonding_on_hold_ref_count?: string;
|
|
793
834
|
}
|
|
794
835
|
|
|
795
836
|
/**
|
|
@@ -931,7 +972,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
931
972
|
*/
|
|
932
973
|
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
933
974
|
/**
|
|
934
|
-
*
|
|
975
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
935
976
|
*
|
|
936
977
|
* @tags Query
|
|
937
978
|
* @name QueryDelegatorDelegations
|
|
@@ -958,7 +999,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
958
999
|
});
|
|
959
1000
|
|
|
960
1001
|
/**
|
|
961
|
-
*
|
|
1002
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
962
1003
|
*
|
|
963
1004
|
* @tags Query
|
|
964
1005
|
* @name QueryRedelegations
|
|
@@ -987,7 +1028,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
987
1028
|
});
|
|
988
1029
|
|
|
989
1030
|
/**
|
|
990
|
-
*
|
|
1031
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
991
1032
|
*
|
|
992
1033
|
* @tags Query
|
|
993
1034
|
* @name QueryDelegatorUnbondingDelegations
|
|
@@ -1015,7 +1056,7 @@ delegator address.
|
|
|
1015
1056
|
});
|
|
1016
1057
|
|
|
1017
1058
|
/**
|
|
1018
|
-
*
|
|
1059
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
1019
1060
|
*
|
|
1020
1061
|
* @tags Query
|
|
1021
1062
|
* @name QueryDelegatorValidators
|
|
@@ -1108,7 +1149,7 @@ pair.
|
|
|
1108
1149
|
});
|
|
1109
1150
|
|
|
1110
1151
|
/**
|
|
1111
|
-
*
|
|
1152
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
1112
1153
|
*
|
|
1113
1154
|
* @tags Query
|
|
1114
1155
|
* @name QueryValidators
|
|
@@ -1151,7 +1192,7 @@ pair.
|
|
|
1151
1192
|
});
|
|
1152
1193
|
|
|
1153
1194
|
/**
|
|
1154
|
-
*
|
|
1195
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
1155
1196
|
*
|
|
1156
1197
|
* @tags Query
|
|
1157
1198
|
* @name QueryValidatorDelegations
|
|
@@ -1211,7 +1252,7 @@ pair.
|
|
|
1211
1252
|
});
|
|
1212
1253
|
|
|
1213
1254
|
/**
|
|
1214
|
-
*
|
|
1255
|
+
* @description When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
|
1215
1256
|
*
|
|
1216
1257
|
* @tags Query
|
|
1217
1258
|
* @name QueryValidatorUnbondingDelegations
|
|
@@ -7,7 +7,7 @@ export const protobufPackage = "cosmos.staking.v1beta1";
|
|
|
7
7
|
|
|
8
8
|
/** GenesisState defines the staking module's genesis state. */
|
|
9
9
|
export interface GenesisState {
|
|
10
|
-
/** params defines all the
|
|
10
|
+
/** params defines all the parameters of related to deposit. */
|
|
11
11
|
params:
|
|
12
12
|
| Params
|
|
13
13
|
| undefined;
|
|
@@ -1904,13 +1904,28 @@ export const QueryParamsResponse = {
|
|
|
1904
1904
|
|
|
1905
1905
|
/** Query defines the gRPC querier service. */
|
|
1906
1906
|
export interface Query {
|
|
1907
|
-
/**
|
|
1907
|
+
/**
|
|
1908
|
+
* Validators queries all validators that match the given status.
|
|
1909
|
+
*
|
|
1910
|
+
* When called from another module, this query might consume a high amount of
|
|
1911
|
+
* gas if the pagination field is incorrectly set.
|
|
1912
|
+
*/
|
|
1908
1913
|
Validators(request: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
|
|
1909
1914
|
/** Validator queries validator info for given validator address. */
|
|
1910
1915
|
Validator(request: QueryValidatorRequest): Promise<QueryValidatorResponse>;
|
|
1911
|
-
/**
|
|
1916
|
+
/**
|
|
1917
|
+
* ValidatorDelegations queries delegate info for given validator.
|
|
1918
|
+
*
|
|
1919
|
+
* When called from another module, this query might consume a high amount of
|
|
1920
|
+
* gas if the pagination field is incorrectly set.
|
|
1921
|
+
*/
|
|
1912
1922
|
ValidatorDelegations(request: QueryValidatorDelegationsRequest): Promise<QueryValidatorDelegationsResponse>;
|
|
1913
|
-
/**
|
|
1923
|
+
/**
|
|
1924
|
+
* ValidatorUnbondingDelegations queries unbonding delegations of a validator.
|
|
1925
|
+
*
|
|
1926
|
+
* When called from another module, this query might consume a high amount of
|
|
1927
|
+
* gas if the pagination field is incorrectly set.
|
|
1928
|
+
*/
|
|
1914
1929
|
ValidatorUnbondingDelegations(
|
|
1915
1930
|
request: QueryValidatorUnbondingDelegationsRequest,
|
|
1916
1931
|
): Promise<QueryValidatorUnbondingDelegationsResponse>;
|
|
@@ -1921,20 +1936,36 @@ export interface Query {
|
|
|
1921
1936
|
* pair.
|
|
1922
1937
|
*/
|
|
1923
1938
|
UnbondingDelegation(request: QueryUnbondingDelegationRequest): Promise<QueryUnbondingDelegationResponse>;
|
|
1924
|
-
/**
|
|
1939
|
+
/**
|
|
1940
|
+
* DelegatorDelegations queries all delegations of a given delegator address.
|
|
1941
|
+
*
|
|
1942
|
+
* When called from another module, this query might consume a high amount of
|
|
1943
|
+
* gas if the pagination field is incorrectly set.
|
|
1944
|
+
*/
|
|
1925
1945
|
DelegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise<QueryDelegatorDelegationsResponse>;
|
|
1926
1946
|
/**
|
|
1927
1947
|
* DelegatorUnbondingDelegations queries all unbonding delegations of a given
|
|
1928
1948
|
* delegator address.
|
|
1949
|
+
*
|
|
1950
|
+
* When called from another module, this query might consume a high amount of
|
|
1951
|
+
* gas if the pagination field is incorrectly set.
|
|
1929
1952
|
*/
|
|
1930
1953
|
DelegatorUnbondingDelegations(
|
|
1931
1954
|
request: QueryDelegatorUnbondingDelegationsRequest,
|
|
1932
1955
|
): Promise<QueryDelegatorUnbondingDelegationsResponse>;
|
|
1933
|
-
/**
|
|
1956
|
+
/**
|
|
1957
|
+
* Redelegations queries redelegations of given address.
|
|
1958
|
+
*
|
|
1959
|
+
* When called from another module, this query might consume a high amount of
|
|
1960
|
+
* gas if the pagination field is incorrectly set.
|
|
1961
|
+
*/
|
|
1934
1962
|
Redelegations(request: QueryRedelegationsRequest): Promise<QueryRedelegationsResponse>;
|
|
1935
1963
|
/**
|
|
1936
1964
|
* DelegatorValidators queries all validators info for given delegator
|
|
1937
1965
|
* address.
|
|
1966
|
+
*
|
|
1967
|
+
* When called from another module, this query might consume a high amount of
|
|
1968
|
+
* gas if the pagination field is incorrectly set.
|
|
1938
1969
|
*/
|
|
1939
1970
|
DelegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
|
|
1940
1971
|
/**
|
|
@@ -4,6 +4,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
4
4
|
import { Any } from "../../../google/protobuf/any";
|
|
5
5
|
import { Duration } from "../../../google/protobuf/duration";
|
|
6
6
|
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
7
|
+
import { ValidatorUpdate } from "../../../tendermint/abci/types";
|
|
7
8
|
import { Header } from "../../../tendermint/types/types";
|
|
8
9
|
import { Coin } from "../../base/v1beta1/coin";
|
|
9
10
|
export const protobufPackage = "cosmos.staking.v1beta1";
|
|
@@ -55,6 +56,47 @@ export function bondStatusToJSON(object) {
|
|
|
55
56
|
return "UNRECOGNIZED";
|
|
56
57
|
}
|
|
57
58
|
}
|
|
59
|
+
/** Infraction indicates the infraction a validator commited. */
|
|
60
|
+
export var Infraction;
|
|
61
|
+
(function (Infraction) {
|
|
62
|
+
/** INFRACTION_UNSPECIFIED - UNSPECIFIED defines an empty infraction. */
|
|
63
|
+
Infraction[Infraction["INFRACTION_UNSPECIFIED"] = 0] = "INFRACTION_UNSPECIFIED";
|
|
64
|
+
/** INFRACTION_DOUBLE_SIGN - DOUBLE_SIGN defines a validator that double-signs a block. */
|
|
65
|
+
Infraction[Infraction["INFRACTION_DOUBLE_SIGN"] = 1] = "INFRACTION_DOUBLE_SIGN";
|
|
66
|
+
/** INFRACTION_DOWNTIME - DOWNTIME defines a validator that missed signing too many blocks. */
|
|
67
|
+
Infraction[Infraction["INFRACTION_DOWNTIME"] = 2] = "INFRACTION_DOWNTIME";
|
|
68
|
+
Infraction[Infraction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
69
|
+
})(Infraction || (Infraction = {}));
|
|
70
|
+
export function infractionFromJSON(object) {
|
|
71
|
+
switch (object) {
|
|
72
|
+
case 0:
|
|
73
|
+
case "INFRACTION_UNSPECIFIED":
|
|
74
|
+
return Infraction.INFRACTION_UNSPECIFIED;
|
|
75
|
+
case 1:
|
|
76
|
+
case "INFRACTION_DOUBLE_SIGN":
|
|
77
|
+
return Infraction.INFRACTION_DOUBLE_SIGN;
|
|
78
|
+
case 2:
|
|
79
|
+
case "INFRACTION_DOWNTIME":
|
|
80
|
+
return Infraction.INFRACTION_DOWNTIME;
|
|
81
|
+
case -1:
|
|
82
|
+
case "UNRECOGNIZED":
|
|
83
|
+
default:
|
|
84
|
+
return Infraction.UNRECOGNIZED;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
export function infractionToJSON(object) {
|
|
88
|
+
switch (object) {
|
|
89
|
+
case Infraction.INFRACTION_UNSPECIFIED:
|
|
90
|
+
return "INFRACTION_UNSPECIFIED";
|
|
91
|
+
case Infraction.INFRACTION_DOUBLE_SIGN:
|
|
92
|
+
return "INFRACTION_DOUBLE_SIGN";
|
|
93
|
+
case Infraction.INFRACTION_DOWNTIME:
|
|
94
|
+
return "INFRACTION_DOWNTIME";
|
|
95
|
+
case Infraction.UNRECOGNIZED:
|
|
96
|
+
default:
|
|
97
|
+
return "UNRECOGNIZED";
|
|
98
|
+
}
|
|
99
|
+
}
|
|
58
100
|
function createBaseHistoricalInfo() {
|
|
59
101
|
return { header: undefined, valset: [] };
|
|
60
102
|
}
|
|
@@ -322,6 +364,8 @@ function createBaseValidator() {
|
|
|
322
364
|
unbondingTime: undefined,
|
|
323
365
|
commission: undefined,
|
|
324
366
|
minSelfDelegation: "",
|
|
367
|
+
unbondingOnHoldRefCount: 0,
|
|
368
|
+
unbondingIds: [],
|
|
325
369
|
};
|
|
326
370
|
}
|
|
327
371
|
export const Validator = {
|
|
@@ -359,6 +403,14 @@ export const Validator = {
|
|
|
359
403
|
if (message.minSelfDelegation !== "") {
|
|
360
404
|
writer.uint32(90).string(message.minSelfDelegation);
|
|
361
405
|
}
|
|
406
|
+
if (message.unbondingOnHoldRefCount !== 0) {
|
|
407
|
+
writer.uint32(96).int64(message.unbondingOnHoldRefCount);
|
|
408
|
+
}
|
|
409
|
+
writer.uint32(106).fork();
|
|
410
|
+
for (const v of message.unbondingIds) {
|
|
411
|
+
writer.uint64(v);
|
|
412
|
+
}
|
|
413
|
+
writer.ldelim();
|
|
362
414
|
return writer;
|
|
363
415
|
},
|
|
364
416
|
decode(input, length) {
|
|
@@ -401,6 +453,20 @@ export const Validator = {
|
|
|
401
453
|
case 11:
|
|
402
454
|
message.minSelfDelegation = reader.string();
|
|
403
455
|
break;
|
|
456
|
+
case 12:
|
|
457
|
+
message.unbondingOnHoldRefCount = longToNumber(reader.int64());
|
|
458
|
+
break;
|
|
459
|
+
case 13:
|
|
460
|
+
if ((tag & 7) === 2) {
|
|
461
|
+
const end2 = reader.uint32() + reader.pos;
|
|
462
|
+
while (reader.pos < end2) {
|
|
463
|
+
message.unbondingIds.push(longToNumber(reader.uint64()));
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
else {
|
|
467
|
+
message.unbondingIds.push(longToNumber(reader.uint64()));
|
|
468
|
+
}
|
|
469
|
+
break;
|
|
404
470
|
default:
|
|
405
471
|
reader.skipType(tag & 7);
|
|
406
472
|
break;
|
|
@@ -421,6 +487,8 @@ export const Validator = {
|
|
|
421
487
|
unbondingTime: isSet(object.unbondingTime) ? fromJsonTimestamp(object.unbondingTime) : undefined,
|
|
422
488
|
commission: isSet(object.commission) ? Commission.fromJSON(object.commission) : undefined,
|
|
423
489
|
minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : "",
|
|
490
|
+
unbondingOnHoldRefCount: isSet(object.unbondingOnHoldRefCount) ? Number(object.unbondingOnHoldRefCount) : 0,
|
|
491
|
+
unbondingIds: Array.isArray(object?.unbondingIds) ? object.unbondingIds.map((e) => Number(e)) : [],
|
|
424
492
|
};
|
|
425
493
|
},
|
|
426
494
|
toJSON(message) {
|
|
@@ -439,6 +507,14 @@ export const Validator = {
|
|
|
439
507
|
message.commission !== undefined
|
|
440
508
|
&& (obj.commission = message.commission ? Commission.toJSON(message.commission) : undefined);
|
|
441
509
|
message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation);
|
|
510
|
+
message.unbondingOnHoldRefCount !== undefined
|
|
511
|
+
&& (obj.unbondingOnHoldRefCount = Math.round(message.unbondingOnHoldRefCount));
|
|
512
|
+
if (message.unbondingIds) {
|
|
513
|
+
obj.unbondingIds = message.unbondingIds.map((e) => Math.round(e));
|
|
514
|
+
}
|
|
515
|
+
else {
|
|
516
|
+
obj.unbondingIds = [];
|
|
517
|
+
}
|
|
442
518
|
return obj;
|
|
443
519
|
},
|
|
444
520
|
fromPartial(object) {
|
|
@@ -460,6 +536,8 @@ export const Validator = {
|
|
|
460
536
|
? Commission.fromPartial(object.commission)
|
|
461
537
|
: undefined;
|
|
462
538
|
message.minSelfDelegation = object.minSelfDelegation ?? "";
|
|
539
|
+
message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount ?? 0;
|
|
540
|
+
message.unbondingIds = object.unbondingIds?.map((e) => e) || [];
|
|
463
541
|
return message;
|
|
464
542
|
},
|
|
465
543
|
};
|
|
@@ -844,7 +922,14 @@ export const UnbondingDelegation = {
|
|
|
844
922
|
},
|
|
845
923
|
};
|
|
846
924
|
function createBaseUnbondingDelegationEntry() {
|
|
847
|
-
return {
|
|
925
|
+
return {
|
|
926
|
+
creationHeight: 0,
|
|
927
|
+
completionTime: undefined,
|
|
928
|
+
initialBalance: "",
|
|
929
|
+
balance: "",
|
|
930
|
+
unbondingId: 0,
|
|
931
|
+
unbondingOnHoldRefCount: 0,
|
|
932
|
+
};
|
|
848
933
|
}
|
|
849
934
|
export const UnbondingDelegationEntry = {
|
|
850
935
|
encode(message, writer = _m0.Writer.create()) {
|
|
@@ -860,6 +945,12 @@ export const UnbondingDelegationEntry = {
|
|
|
860
945
|
if (message.balance !== "") {
|
|
861
946
|
writer.uint32(34).string(message.balance);
|
|
862
947
|
}
|
|
948
|
+
if (message.unbondingId !== 0) {
|
|
949
|
+
writer.uint32(40).uint64(message.unbondingId);
|
|
950
|
+
}
|
|
951
|
+
if (message.unbondingOnHoldRefCount !== 0) {
|
|
952
|
+
writer.uint32(48).int64(message.unbondingOnHoldRefCount);
|
|
953
|
+
}
|
|
863
954
|
return writer;
|
|
864
955
|
},
|
|
865
956
|
decode(input, length) {
|
|
@@ -881,6 +972,12 @@ export const UnbondingDelegationEntry = {
|
|
|
881
972
|
case 4:
|
|
882
973
|
message.balance = reader.string();
|
|
883
974
|
break;
|
|
975
|
+
case 5:
|
|
976
|
+
message.unbondingId = longToNumber(reader.uint64());
|
|
977
|
+
break;
|
|
978
|
+
case 6:
|
|
979
|
+
message.unbondingOnHoldRefCount = longToNumber(reader.int64());
|
|
980
|
+
break;
|
|
884
981
|
default:
|
|
885
982
|
reader.skipType(tag & 7);
|
|
886
983
|
break;
|
|
@@ -894,6 +991,8 @@ export const UnbondingDelegationEntry = {
|
|
|
894
991
|
completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
|
|
895
992
|
initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
|
|
896
993
|
balance: isSet(object.balance) ? String(object.balance) : "",
|
|
994
|
+
unbondingId: isSet(object.unbondingId) ? Number(object.unbondingId) : 0,
|
|
995
|
+
unbondingOnHoldRefCount: isSet(object.unbondingOnHoldRefCount) ? Number(object.unbondingOnHoldRefCount) : 0,
|
|
897
996
|
};
|
|
898
997
|
},
|
|
899
998
|
toJSON(message) {
|
|
@@ -902,6 +1001,9 @@ export const UnbondingDelegationEntry = {
|
|
|
902
1001
|
message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString());
|
|
903
1002
|
message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
|
|
904
1003
|
message.balance !== undefined && (obj.balance = message.balance);
|
|
1004
|
+
message.unbondingId !== undefined && (obj.unbondingId = Math.round(message.unbondingId));
|
|
1005
|
+
message.unbondingOnHoldRefCount !== undefined
|
|
1006
|
+
&& (obj.unbondingOnHoldRefCount = Math.round(message.unbondingOnHoldRefCount));
|
|
905
1007
|
return obj;
|
|
906
1008
|
},
|
|
907
1009
|
fromPartial(object) {
|
|
@@ -910,11 +1012,20 @@ export const UnbondingDelegationEntry = {
|
|
|
910
1012
|
message.completionTime = object.completionTime ?? undefined;
|
|
911
1013
|
message.initialBalance = object.initialBalance ?? "";
|
|
912
1014
|
message.balance = object.balance ?? "";
|
|
1015
|
+
message.unbondingId = object.unbondingId ?? 0;
|
|
1016
|
+
message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount ?? 0;
|
|
913
1017
|
return message;
|
|
914
1018
|
},
|
|
915
1019
|
};
|
|
916
1020
|
function createBaseRedelegationEntry() {
|
|
917
|
-
return {
|
|
1021
|
+
return {
|
|
1022
|
+
creationHeight: 0,
|
|
1023
|
+
completionTime: undefined,
|
|
1024
|
+
initialBalance: "",
|
|
1025
|
+
sharesDst: "",
|
|
1026
|
+
unbondingId: 0,
|
|
1027
|
+
unbondingOnHoldRefCount: 0,
|
|
1028
|
+
};
|
|
918
1029
|
}
|
|
919
1030
|
export const RedelegationEntry = {
|
|
920
1031
|
encode(message, writer = _m0.Writer.create()) {
|
|
@@ -930,6 +1041,12 @@ export const RedelegationEntry = {
|
|
|
930
1041
|
if (message.sharesDst !== "") {
|
|
931
1042
|
writer.uint32(34).string(message.sharesDst);
|
|
932
1043
|
}
|
|
1044
|
+
if (message.unbondingId !== 0) {
|
|
1045
|
+
writer.uint32(40).uint64(message.unbondingId);
|
|
1046
|
+
}
|
|
1047
|
+
if (message.unbondingOnHoldRefCount !== 0) {
|
|
1048
|
+
writer.uint32(48).int64(message.unbondingOnHoldRefCount);
|
|
1049
|
+
}
|
|
933
1050
|
return writer;
|
|
934
1051
|
},
|
|
935
1052
|
decode(input, length) {
|
|
@@ -951,6 +1068,12 @@ export const RedelegationEntry = {
|
|
|
951
1068
|
case 4:
|
|
952
1069
|
message.sharesDst = reader.string();
|
|
953
1070
|
break;
|
|
1071
|
+
case 5:
|
|
1072
|
+
message.unbondingId = longToNumber(reader.uint64());
|
|
1073
|
+
break;
|
|
1074
|
+
case 6:
|
|
1075
|
+
message.unbondingOnHoldRefCount = longToNumber(reader.int64());
|
|
1076
|
+
break;
|
|
954
1077
|
default:
|
|
955
1078
|
reader.skipType(tag & 7);
|
|
956
1079
|
break;
|
|
@@ -964,6 +1087,8 @@ export const RedelegationEntry = {
|
|
|
964
1087
|
completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
|
|
965
1088
|
initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
|
|
966
1089
|
sharesDst: isSet(object.sharesDst) ? String(object.sharesDst) : "",
|
|
1090
|
+
unbondingId: isSet(object.unbondingId) ? Number(object.unbondingId) : 0,
|
|
1091
|
+
unbondingOnHoldRefCount: isSet(object.unbondingOnHoldRefCount) ? Number(object.unbondingOnHoldRefCount) : 0,
|
|
967
1092
|
};
|
|
968
1093
|
},
|
|
969
1094
|
toJSON(message) {
|
|
@@ -972,6 +1097,9 @@ export const RedelegationEntry = {
|
|
|
972
1097
|
message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString());
|
|
973
1098
|
message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
|
|
974
1099
|
message.sharesDst !== undefined && (obj.sharesDst = message.sharesDst);
|
|
1100
|
+
message.unbondingId !== undefined && (obj.unbondingId = Math.round(message.unbondingId));
|
|
1101
|
+
message.unbondingOnHoldRefCount !== undefined
|
|
1102
|
+
&& (obj.unbondingOnHoldRefCount = Math.round(message.unbondingOnHoldRefCount));
|
|
975
1103
|
return obj;
|
|
976
1104
|
},
|
|
977
1105
|
fromPartial(object) {
|
|
@@ -980,6 +1108,8 @@ export const RedelegationEntry = {
|
|
|
980
1108
|
message.completionTime = object.completionTime ?? undefined;
|
|
981
1109
|
message.initialBalance = object.initialBalance ?? "";
|
|
982
1110
|
message.sharesDst = object.sharesDst ?? "";
|
|
1111
|
+
message.unbondingId = object.unbondingId ?? 0;
|
|
1112
|
+
message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount ?? 0;
|
|
983
1113
|
return message;
|
|
984
1114
|
},
|
|
985
1115
|
};
|
|
@@ -1385,6 +1515,54 @@ export const Pool = {
|
|
|
1385
1515
|
return message;
|
|
1386
1516
|
},
|
|
1387
1517
|
};
|
|
1518
|
+
function createBaseValidatorUpdates() {
|
|
1519
|
+
return { updates: [] };
|
|
1520
|
+
}
|
|
1521
|
+
export const ValidatorUpdates = {
|
|
1522
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1523
|
+
for (const v of message.updates) {
|
|
1524
|
+
ValidatorUpdate.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1525
|
+
}
|
|
1526
|
+
return writer;
|
|
1527
|
+
},
|
|
1528
|
+
decode(input, length) {
|
|
1529
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1530
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1531
|
+
const message = createBaseValidatorUpdates();
|
|
1532
|
+
while (reader.pos < end) {
|
|
1533
|
+
const tag = reader.uint32();
|
|
1534
|
+
switch (tag >>> 3) {
|
|
1535
|
+
case 1:
|
|
1536
|
+
message.updates.push(ValidatorUpdate.decode(reader, reader.uint32()));
|
|
1537
|
+
break;
|
|
1538
|
+
default:
|
|
1539
|
+
reader.skipType(tag & 7);
|
|
1540
|
+
break;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
return message;
|
|
1544
|
+
},
|
|
1545
|
+
fromJSON(object) {
|
|
1546
|
+
return {
|
|
1547
|
+
updates: Array.isArray(object?.updates) ? object.updates.map((e) => ValidatorUpdate.fromJSON(e)) : [],
|
|
1548
|
+
};
|
|
1549
|
+
},
|
|
1550
|
+
toJSON(message) {
|
|
1551
|
+
const obj = {};
|
|
1552
|
+
if (message.updates) {
|
|
1553
|
+
obj.updates = message.updates.map((e) => e ? ValidatorUpdate.toJSON(e) : undefined);
|
|
1554
|
+
}
|
|
1555
|
+
else {
|
|
1556
|
+
obj.updates = [];
|
|
1557
|
+
}
|
|
1558
|
+
return obj;
|
|
1559
|
+
},
|
|
1560
|
+
fromPartial(object) {
|
|
1561
|
+
const message = createBaseValidatorUpdates();
|
|
1562
|
+
message.updates = object.updates?.map((e) => ValidatorUpdate.fromPartial(e)) || [];
|
|
1563
|
+
return message;
|
|
1564
|
+
},
|
|
1565
|
+
};
|
|
1388
1566
|
var globalThis = (() => {
|
|
1389
1567
|
if (typeof globalThis !== "undefined") {
|
|
1390
1568
|
return globalThis;
|