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
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { GeneratedType } from "@cosmjs/proto-signing";
|
|
2
|
-
import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
|
|
3
|
-
import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
|
|
4
|
-
import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
|
|
5
|
-
import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
|
|
6
|
-
import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
|
|
7
2
|
import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
|
|
3
|
+
import { MsgVote } from "./types/cosmos/group/v1/tx";
|
|
4
|
+
import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
|
|
8
5
|
import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
|
|
9
|
-
import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
|
|
10
6
|
import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
|
|
11
|
-
import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
|
|
12
7
|
import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
|
|
8
|
+
import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
|
|
9
|
+
import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
|
|
10
|
+
import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
|
|
11
|
+
import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
|
|
13
12
|
import { MsgExec } from "./types/cosmos/group/v1/tx";
|
|
14
|
-
import {
|
|
13
|
+
import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
|
|
15
14
|
import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
|
|
15
|
+
import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
|
|
16
16
|
|
|
17
17
|
const msgTypes: Array<[string, GeneratedType]> = [
|
|
18
|
-
["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers],
|
|
19
|
-
["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin],
|
|
20
|
-
["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy],
|
|
21
|
-
["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata],
|
|
22
|
-
["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy],
|
|
23
18
|
["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal],
|
|
19
|
+
["/cosmos.group.v1.MsgVote", MsgVote],
|
|
20
|
+
["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers],
|
|
24
21
|
["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal],
|
|
25
|
-
["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy],
|
|
26
22
|
["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup],
|
|
27
|
-
["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata],
|
|
28
23
|
["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin],
|
|
24
|
+
["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin],
|
|
25
|
+
["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy],
|
|
26
|
+
["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata],
|
|
27
|
+
["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy],
|
|
29
28
|
["/cosmos.group.v1.MsgExec", MsgExec],
|
|
30
|
-
["/cosmos.group.v1.
|
|
29
|
+
["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy],
|
|
31
30
|
["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup],
|
|
31
|
+
["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata],
|
|
32
32
|
|
|
33
33
|
];
|
|
34
34
|
|
package/cosmos.group.v1/rest.js
CHANGED
|
@@ -172,7 +172,7 @@ export class Api extends HttpClient {
|
|
|
172
172
|
*
|
|
173
173
|
* @tags Query
|
|
174
174
|
* @name QueryGroupMembers
|
|
175
|
-
* @summary GroupMembers queries members of a group
|
|
175
|
+
* @summary GroupMembers queries members of a group by group id.
|
|
176
176
|
* @request GET:/cosmos/group/v1/group_members/{group_id}
|
|
177
177
|
*/
|
|
178
178
|
this.queryGroupMembers = (groupId, query, params = {}) => this.request({
|
|
@@ -187,7 +187,7 @@ export class Api extends HttpClient {
|
|
|
187
187
|
*
|
|
188
188
|
* @tags Query
|
|
189
189
|
* @name QueryGroupPoliciesByAdmin
|
|
190
|
-
* @summary
|
|
190
|
+
* @summary GroupPoliciesByAdmin queries group policies by admin address.
|
|
191
191
|
* @request GET:/cosmos/group/v1/group_policies_by_admin/{admin}
|
|
192
192
|
*/
|
|
193
193
|
this.queryGroupPoliciesByAdmin = (admin, query, params = {}) => this.request({
|
|
@@ -337,7 +337,7 @@ export class Api extends HttpClient {
|
|
|
337
337
|
*
|
|
338
338
|
* @tags Query
|
|
339
339
|
* @name QueryVotesByProposal
|
|
340
|
-
* @summary VotesByProposal queries a vote by proposal.
|
|
340
|
+
* @summary VotesByProposal queries a vote by proposal id.
|
|
341
341
|
* @request GET:/cosmos/group/v1/votes_by_proposal/{proposal_id}
|
|
342
342
|
*/
|
|
343
343
|
this.queryVotesByProposal = (proposalId, query, params = {}) => this.request({
|
package/cosmos.group.v1/rest.ts
CHANGED
|
@@ -210,7 +210,11 @@ export interface V1GroupPolicyInfo {
|
|
|
210
210
|
/** admin is the account address of the group admin. */
|
|
211
211
|
admin?: string;
|
|
212
212
|
|
|
213
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* metadata is any arbitrary metadata attached to the group policy.
|
|
215
|
+
* the recommended format of the metadata is to be found here:
|
|
216
|
+
* https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
|
|
217
|
+
*/
|
|
214
218
|
metadata?: string;
|
|
215
219
|
|
|
216
220
|
/**
|
|
@@ -380,7 +384,11 @@ export interface V1Proposal {
|
|
|
380
384
|
/** group_policy_address is the account address of group policy. */
|
|
381
385
|
group_policy_address?: string;
|
|
382
386
|
|
|
383
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* metadata is any arbitrary metadata attached to the proposal.
|
|
389
|
+
* the recommended format of the metadata is to be found here:
|
|
390
|
+
* https://docs.cosmos.network/v0.47/modules/group#proposal-4
|
|
391
|
+
*/
|
|
384
392
|
metadata?: string;
|
|
385
393
|
|
|
386
394
|
/** proposers are the account addresses of the proposers. */
|
|
@@ -421,7 +429,7 @@ export interface V1Proposal {
|
|
|
421
429
|
|
|
422
430
|
/**
|
|
423
431
|
* voting_period_end is the timestamp before which voting must be done.
|
|
424
|
-
* Unless a
|
|
432
|
+
* Unless a successful MsgExec is called before (to execute a proposal whose
|
|
425
433
|
* tally is successful before the voting period ends), tallying will be done
|
|
426
434
|
* at this point, and the `final_tally_result`and `status` fields will be
|
|
427
435
|
* accordingly updated.
|
|
@@ -434,6 +442,18 @@ export interface V1Proposal {
|
|
|
434
442
|
|
|
435
443
|
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
|
436
444
|
messages?: ProtobufAny[];
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* title is the title of the proposal
|
|
448
|
+
* Since: cosmos-sdk 0.47
|
|
449
|
+
*/
|
|
450
|
+
title?: string;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* summary is a short summary of the proposal
|
|
454
|
+
* Since: cosmos-sdk 0.47
|
|
455
|
+
*/
|
|
456
|
+
summary?: string;
|
|
437
457
|
}
|
|
438
458
|
|
|
439
459
|
/**
|
|
@@ -478,7 +498,7 @@ export enum V1ProposalStatus {
|
|
|
478
498
|
* QueryGroupInfoResponse is the Query/GroupInfo response type.
|
|
479
499
|
*/
|
|
480
500
|
export interface V1QueryGroupInfoResponse {
|
|
481
|
-
/** info is the GroupInfo
|
|
501
|
+
/** info is the GroupInfo of the group. */
|
|
482
502
|
info?: V1GroupInfo;
|
|
483
503
|
}
|
|
484
504
|
|
|
@@ -519,7 +539,7 @@ export interface V1QueryGroupPoliciesByGroupResponse {
|
|
|
519
539
|
* QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.
|
|
520
540
|
*/
|
|
521
541
|
export interface V1QueryGroupPolicyInfoResponse {
|
|
522
|
-
/** info is the GroupPolicyInfo
|
|
542
|
+
/** info is the GroupPolicyInfo of the group policy. */
|
|
523
543
|
info?: V1GroupPolicyInfo;
|
|
524
544
|
}
|
|
525
545
|
|
|
@@ -648,7 +668,7 @@ export interface V1Vote {
|
|
|
648
668
|
/** option is the voter's choice on the proposal. */
|
|
649
669
|
option?: V1VoteOption;
|
|
650
670
|
|
|
651
|
-
/** metadata is any arbitrary metadata
|
|
671
|
+
/** metadata is any arbitrary metadata attached to the vote. */
|
|
652
672
|
metadata?: string;
|
|
653
673
|
|
|
654
674
|
/**
|
|
@@ -894,7 +914,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
894
914
|
*
|
|
895
915
|
* @tags Query
|
|
896
916
|
* @name QueryGroupMembers
|
|
897
|
-
* @summary GroupMembers queries members of a group
|
|
917
|
+
* @summary GroupMembers queries members of a group by group id.
|
|
898
918
|
* @request GET:/cosmos/group/v1/group_members/{group_id}
|
|
899
919
|
*/
|
|
900
920
|
queryGroupMembers = (
|
|
@@ -921,7 +941,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
921
941
|
*
|
|
922
942
|
* @tags Query
|
|
923
943
|
* @name QueryGroupPoliciesByAdmin
|
|
924
|
-
* @summary
|
|
944
|
+
* @summary GroupPoliciesByAdmin queries group policies by admin address.
|
|
925
945
|
* @request GET:/cosmos/group/v1/group_policies_by_admin/{admin}
|
|
926
946
|
*/
|
|
927
947
|
queryGroupPoliciesByAdmin = (
|
|
@@ -1150,7 +1170,7 @@ proposal itself.
|
|
|
1150
1170
|
*
|
|
1151
1171
|
* @tags Query
|
|
1152
1172
|
* @name QueryVotesByProposal
|
|
1153
|
-
* @summary VotesByProposal queries a vote by proposal.
|
|
1173
|
+
* @summary VotesByProposal queries a vote by proposal id.
|
|
1154
1174
|
* @request GET:/cosmos/group/v1/votes_by_proposal/{proposal_id}
|
|
1155
1175
|
*/
|
|
1156
1176
|
queryVotesByProposal = (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types";
|
|
4
|
+
import { proposalExecutorResultFromJSON, proposalExecutorResultToJSON, proposalStatusFromJSON, proposalStatusToJSON, TallyResult, } from "./types";
|
|
5
5
|
export const protobufPackage = "cosmos.group.v1";
|
|
6
6
|
function createBaseEventCreateGroup() {
|
|
7
7
|
return { groupId: 0 };
|
|
@@ -403,6 +403,70 @@ export const EventLeaveGroup = {
|
|
|
403
403
|
return message;
|
|
404
404
|
},
|
|
405
405
|
};
|
|
406
|
+
function createBaseEventProposalPruned() {
|
|
407
|
+
return { proposalId: 0, status: 0, tallyResult: undefined };
|
|
408
|
+
}
|
|
409
|
+
export const EventProposalPruned = {
|
|
410
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
411
|
+
if (message.proposalId !== 0) {
|
|
412
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
413
|
+
}
|
|
414
|
+
if (message.status !== 0) {
|
|
415
|
+
writer.uint32(16).int32(message.status);
|
|
416
|
+
}
|
|
417
|
+
if (message.tallyResult !== undefined) {
|
|
418
|
+
TallyResult.encode(message.tallyResult, writer.uint32(26).fork()).ldelim();
|
|
419
|
+
}
|
|
420
|
+
return writer;
|
|
421
|
+
},
|
|
422
|
+
decode(input, length) {
|
|
423
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
424
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
425
|
+
const message = createBaseEventProposalPruned();
|
|
426
|
+
while (reader.pos < end) {
|
|
427
|
+
const tag = reader.uint32();
|
|
428
|
+
switch (tag >>> 3) {
|
|
429
|
+
case 1:
|
|
430
|
+
message.proposalId = longToNumber(reader.uint64());
|
|
431
|
+
break;
|
|
432
|
+
case 2:
|
|
433
|
+
message.status = reader.int32();
|
|
434
|
+
break;
|
|
435
|
+
case 3:
|
|
436
|
+
message.tallyResult = TallyResult.decode(reader, reader.uint32());
|
|
437
|
+
break;
|
|
438
|
+
default:
|
|
439
|
+
reader.skipType(tag & 7);
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
return message;
|
|
444
|
+
},
|
|
445
|
+
fromJSON(object) {
|
|
446
|
+
return {
|
|
447
|
+
proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
|
|
448
|
+
status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0,
|
|
449
|
+
tallyResult: isSet(object.tallyResult) ? TallyResult.fromJSON(object.tallyResult) : undefined,
|
|
450
|
+
};
|
|
451
|
+
},
|
|
452
|
+
toJSON(message) {
|
|
453
|
+
const obj = {};
|
|
454
|
+
message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
|
|
455
|
+
message.status !== undefined && (obj.status = proposalStatusToJSON(message.status));
|
|
456
|
+
message.tallyResult !== undefined
|
|
457
|
+
&& (obj.tallyResult = message.tallyResult ? TallyResult.toJSON(message.tallyResult) : undefined);
|
|
458
|
+
return obj;
|
|
459
|
+
},
|
|
460
|
+
fromPartial(object) {
|
|
461
|
+
const message = createBaseEventProposalPruned();
|
|
462
|
+
message.proposalId = object.proposalId ?? 0;
|
|
463
|
+
message.status = object.status ?? 0;
|
|
464
|
+
message.tallyResult = (object.tallyResult !== undefined && object.tallyResult !== null)
|
|
465
|
+
? TallyResult.fromPartial(object.tallyResult)
|
|
466
|
+
: undefined;
|
|
467
|
+
return message;
|
|
468
|
+
},
|
|
469
|
+
};
|
|
406
470
|
var globalThis = (() => {
|
|
407
471
|
if (typeof globalThis !== "undefined") {
|
|
408
472
|
return globalThis;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
ProposalExecutorResult,
|
|
6
|
+
proposalExecutorResultFromJSON,
|
|
7
|
+
proposalExecutorResultToJSON,
|
|
8
|
+
ProposalStatus,
|
|
9
|
+
proposalStatusFromJSON,
|
|
10
|
+
proposalStatusToJSON,
|
|
11
|
+
TallyResult,
|
|
12
|
+
} from "./types";
|
|
5
13
|
|
|
6
14
|
export const protobufPackage = "cosmos.group.v1";
|
|
7
15
|
|
|
@@ -67,6 +75,16 @@ export interface EventLeaveGroup {
|
|
|
67
75
|
address: string;
|
|
68
76
|
}
|
|
69
77
|
|
|
78
|
+
/** EventProposalPruned is an event emitted when a proposal is pruned. */
|
|
79
|
+
export interface EventProposalPruned {
|
|
80
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
81
|
+
proposalId: number;
|
|
82
|
+
/** status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN). */
|
|
83
|
+
status: ProposalStatus;
|
|
84
|
+
/** tally_result is the proposal tally result (when applicable). */
|
|
85
|
+
tallyResult: TallyResult | undefined;
|
|
86
|
+
}
|
|
87
|
+
|
|
70
88
|
function createBaseEventCreateGroup(): EventCreateGroup {
|
|
71
89
|
return { groupId: 0 };
|
|
72
90
|
}
|
|
@@ -521,6 +539,76 @@ export const EventLeaveGroup = {
|
|
|
521
539
|
},
|
|
522
540
|
};
|
|
523
541
|
|
|
542
|
+
function createBaseEventProposalPruned(): EventProposalPruned {
|
|
543
|
+
return { proposalId: 0, status: 0, tallyResult: undefined };
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export const EventProposalPruned = {
|
|
547
|
+
encode(message: EventProposalPruned, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
548
|
+
if (message.proposalId !== 0) {
|
|
549
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
550
|
+
}
|
|
551
|
+
if (message.status !== 0) {
|
|
552
|
+
writer.uint32(16).int32(message.status);
|
|
553
|
+
}
|
|
554
|
+
if (message.tallyResult !== undefined) {
|
|
555
|
+
TallyResult.encode(message.tallyResult, writer.uint32(26).fork()).ldelim();
|
|
556
|
+
}
|
|
557
|
+
return writer;
|
|
558
|
+
},
|
|
559
|
+
|
|
560
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventProposalPruned {
|
|
561
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
562
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
563
|
+
const message = createBaseEventProposalPruned();
|
|
564
|
+
while (reader.pos < end) {
|
|
565
|
+
const tag = reader.uint32();
|
|
566
|
+
switch (tag >>> 3) {
|
|
567
|
+
case 1:
|
|
568
|
+
message.proposalId = longToNumber(reader.uint64() as Long);
|
|
569
|
+
break;
|
|
570
|
+
case 2:
|
|
571
|
+
message.status = reader.int32() as any;
|
|
572
|
+
break;
|
|
573
|
+
case 3:
|
|
574
|
+
message.tallyResult = TallyResult.decode(reader, reader.uint32());
|
|
575
|
+
break;
|
|
576
|
+
default:
|
|
577
|
+
reader.skipType(tag & 7);
|
|
578
|
+
break;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
return message;
|
|
582
|
+
},
|
|
583
|
+
|
|
584
|
+
fromJSON(object: any): EventProposalPruned {
|
|
585
|
+
return {
|
|
586
|
+
proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
|
|
587
|
+
status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0,
|
|
588
|
+
tallyResult: isSet(object.tallyResult) ? TallyResult.fromJSON(object.tallyResult) : undefined,
|
|
589
|
+
};
|
|
590
|
+
},
|
|
591
|
+
|
|
592
|
+
toJSON(message: EventProposalPruned): unknown {
|
|
593
|
+
const obj: any = {};
|
|
594
|
+
message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
|
|
595
|
+
message.status !== undefined && (obj.status = proposalStatusToJSON(message.status));
|
|
596
|
+
message.tallyResult !== undefined
|
|
597
|
+
&& (obj.tallyResult = message.tallyResult ? TallyResult.toJSON(message.tallyResult) : undefined);
|
|
598
|
+
return obj;
|
|
599
|
+
},
|
|
600
|
+
|
|
601
|
+
fromPartial<I extends Exact<DeepPartial<EventProposalPruned>, I>>(object: I): EventProposalPruned {
|
|
602
|
+
const message = createBaseEventProposalPruned();
|
|
603
|
+
message.proposalId = object.proposalId ?? 0;
|
|
604
|
+
message.status = object.status ?? 0;
|
|
605
|
+
message.tallyResult = (object.tallyResult !== undefined && object.tallyResult !== null)
|
|
606
|
+
? TallyResult.fromPartial(object.tallyResult)
|
|
607
|
+
: undefined;
|
|
608
|
+
return message;
|
|
609
|
+
},
|
|
610
|
+
};
|
|
611
|
+
|
|
524
612
|
declare var self: any | undefined;
|
|
525
613
|
declare var window: any | undefined;
|
|
526
614
|
declare var global: any | undefined;
|
|
@@ -16,7 +16,7 @@ export interface QueryGroupInfoRequest {
|
|
|
16
16
|
|
|
17
17
|
/** QueryGroupInfoResponse is the Query/GroupInfo response type. */
|
|
18
18
|
export interface QueryGroupInfoResponse {
|
|
19
|
-
/** info is the GroupInfo
|
|
19
|
+
/** info is the GroupInfo of the group. */
|
|
20
20
|
info: GroupInfo | undefined;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -28,7 +28,7 @@ export interface QueryGroupPolicyInfoRequest {
|
|
|
28
28
|
|
|
29
29
|
/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */
|
|
30
30
|
export interface QueryGroupPolicyInfoResponse {
|
|
31
|
-
/** info is the GroupPolicyInfo
|
|
31
|
+
/** info is the GroupPolicyInfo of the group policy. */
|
|
32
32
|
info: GroupPolicyInfo | undefined;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -1856,13 +1856,13 @@ export interface Query {
|
|
|
1856
1856
|
GroupInfo(request: QueryGroupInfoRequest): Promise<QueryGroupInfoResponse>;
|
|
1857
1857
|
/** GroupPolicyInfo queries group policy info based on account address of group policy. */
|
|
1858
1858
|
GroupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise<QueryGroupPolicyInfoResponse>;
|
|
1859
|
-
/** GroupMembers queries members of a group */
|
|
1859
|
+
/** GroupMembers queries members of a group by group id. */
|
|
1860
1860
|
GroupMembers(request: QueryGroupMembersRequest): Promise<QueryGroupMembersResponse>;
|
|
1861
1861
|
/** GroupsByAdmin queries groups by admin address. */
|
|
1862
1862
|
GroupsByAdmin(request: QueryGroupsByAdminRequest): Promise<QueryGroupsByAdminResponse>;
|
|
1863
1863
|
/** GroupPoliciesByGroup queries group policies by group id. */
|
|
1864
1864
|
GroupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise<QueryGroupPoliciesByGroupResponse>;
|
|
1865
|
-
/**
|
|
1865
|
+
/** GroupPoliciesByAdmin queries group policies by admin address. */
|
|
1866
1866
|
GroupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise<QueryGroupPoliciesByAdminResponse>;
|
|
1867
1867
|
/** Proposal queries a proposal based on proposal id. */
|
|
1868
1868
|
Proposal(request: QueryProposalRequest): Promise<QueryProposalResponse>;
|
|
@@ -1870,7 +1870,7 @@ export interface Query {
|
|
|
1870
1870
|
ProposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise<QueryProposalsByGroupPolicyResponse>;
|
|
1871
1871
|
/** VoteByProposalVoter queries a vote by proposal id and voter. */
|
|
1872
1872
|
VoteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise<QueryVoteByProposalVoterResponse>;
|
|
1873
|
-
/** VotesByProposal queries a vote by proposal. */
|
|
1873
|
+
/** VotesByProposal queries a vote by proposal id. */
|
|
1874
1874
|
VotesByProposal(request: QueryVotesByProposalRequest): Promise<QueryVotesByProposalResponse>;
|
|
1875
1875
|
/** VotesByVoter queries a vote by voter. */
|
|
1876
1876
|
VotesByVoter(request: QueryVotesByVoterRequest): Promise<QueryVotesByVoterResponse>;
|
|
@@ -618,6 +618,39 @@ export const MsgUpdateGroupPolicyAdmin = {
|
|
|
618
618
|
return message;
|
|
619
619
|
},
|
|
620
620
|
};
|
|
621
|
+
function createBaseMsgUpdateGroupPolicyAdminResponse() {
|
|
622
|
+
return {};
|
|
623
|
+
}
|
|
624
|
+
export const MsgUpdateGroupPolicyAdminResponse = {
|
|
625
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
626
|
+
return writer;
|
|
627
|
+
},
|
|
628
|
+
decode(input, length) {
|
|
629
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
630
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
631
|
+
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
632
|
+
while (reader.pos < end) {
|
|
633
|
+
const tag = reader.uint32();
|
|
634
|
+
switch (tag >>> 3) {
|
|
635
|
+
default:
|
|
636
|
+
reader.skipType(tag & 7);
|
|
637
|
+
break;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return message;
|
|
641
|
+
},
|
|
642
|
+
fromJSON(_) {
|
|
643
|
+
return {};
|
|
644
|
+
},
|
|
645
|
+
toJSON(_) {
|
|
646
|
+
const obj = {};
|
|
647
|
+
return obj;
|
|
648
|
+
},
|
|
649
|
+
fromPartial(_) {
|
|
650
|
+
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
651
|
+
return message;
|
|
652
|
+
},
|
|
653
|
+
};
|
|
621
654
|
function createBaseMsgCreateGroupWithPolicy() {
|
|
622
655
|
return {
|
|
623
656
|
admin: "",
|
|
@@ -773,39 +806,6 @@ export const MsgCreateGroupWithPolicyResponse = {
|
|
|
773
806
|
return message;
|
|
774
807
|
},
|
|
775
808
|
};
|
|
776
|
-
function createBaseMsgUpdateGroupPolicyAdminResponse() {
|
|
777
|
-
return {};
|
|
778
|
-
}
|
|
779
|
-
export const MsgUpdateGroupPolicyAdminResponse = {
|
|
780
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
781
|
-
return writer;
|
|
782
|
-
},
|
|
783
|
-
decode(input, length) {
|
|
784
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
785
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
786
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
787
|
-
while (reader.pos < end) {
|
|
788
|
-
const tag = reader.uint32();
|
|
789
|
-
switch (tag >>> 3) {
|
|
790
|
-
default:
|
|
791
|
-
reader.skipType(tag & 7);
|
|
792
|
-
break;
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
return message;
|
|
796
|
-
},
|
|
797
|
-
fromJSON(_) {
|
|
798
|
-
return {};
|
|
799
|
-
},
|
|
800
|
-
toJSON(_) {
|
|
801
|
-
const obj = {};
|
|
802
|
-
return obj;
|
|
803
|
-
},
|
|
804
|
-
fromPartial(_) {
|
|
805
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
806
|
-
return message;
|
|
807
|
-
},
|
|
808
|
-
};
|
|
809
809
|
function createBaseMsgUpdateGroupPolicyDecisionPolicy() {
|
|
810
810
|
return { admin: "", groupPolicyAddress: "", decisionPolicy: undefined };
|
|
811
811
|
}
|
|
@@ -998,7 +998,7 @@ export const MsgUpdateGroupPolicyMetadataResponse = {
|
|
|
998
998
|
},
|
|
999
999
|
};
|
|
1000
1000
|
function createBaseMsgSubmitProposal() {
|
|
1001
|
-
return { groupPolicyAddress: "", proposers: [], metadata: "", messages: [], exec: 0 };
|
|
1001
|
+
return { groupPolicyAddress: "", proposers: [], metadata: "", messages: [], exec: 0, title: "", summary: "" };
|
|
1002
1002
|
}
|
|
1003
1003
|
export const MsgSubmitProposal = {
|
|
1004
1004
|
encode(message, writer = _m0.Writer.create()) {
|
|
@@ -1017,6 +1017,12 @@ export const MsgSubmitProposal = {
|
|
|
1017
1017
|
if (message.exec !== 0) {
|
|
1018
1018
|
writer.uint32(40).int32(message.exec);
|
|
1019
1019
|
}
|
|
1020
|
+
if (message.title !== "") {
|
|
1021
|
+
writer.uint32(50).string(message.title);
|
|
1022
|
+
}
|
|
1023
|
+
if (message.summary !== "") {
|
|
1024
|
+
writer.uint32(58).string(message.summary);
|
|
1025
|
+
}
|
|
1020
1026
|
return writer;
|
|
1021
1027
|
},
|
|
1022
1028
|
decode(input, length) {
|
|
@@ -1041,6 +1047,12 @@ export const MsgSubmitProposal = {
|
|
|
1041
1047
|
case 5:
|
|
1042
1048
|
message.exec = reader.int32();
|
|
1043
1049
|
break;
|
|
1050
|
+
case 6:
|
|
1051
|
+
message.title = reader.string();
|
|
1052
|
+
break;
|
|
1053
|
+
case 7:
|
|
1054
|
+
message.summary = reader.string();
|
|
1055
|
+
break;
|
|
1044
1056
|
default:
|
|
1045
1057
|
reader.skipType(tag & 7);
|
|
1046
1058
|
break;
|
|
@@ -1055,6 +1067,8 @@ export const MsgSubmitProposal = {
|
|
|
1055
1067
|
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
1056
1068
|
messages: Array.isArray(object?.messages) ? object.messages.map((e) => Any.fromJSON(e)) : [],
|
|
1057
1069
|
exec: isSet(object.exec) ? execFromJSON(object.exec) : 0,
|
|
1070
|
+
title: isSet(object.title) ? String(object.title) : "",
|
|
1071
|
+
summary: isSet(object.summary) ? String(object.summary) : "",
|
|
1058
1072
|
};
|
|
1059
1073
|
},
|
|
1060
1074
|
toJSON(message) {
|
|
@@ -1074,6 +1088,8 @@ export const MsgSubmitProposal = {
|
|
|
1074
1088
|
obj.messages = [];
|
|
1075
1089
|
}
|
|
1076
1090
|
message.exec !== undefined && (obj.exec = execToJSON(message.exec));
|
|
1091
|
+
message.title !== undefined && (obj.title = message.title);
|
|
1092
|
+
message.summary !== undefined && (obj.summary = message.summary);
|
|
1077
1093
|
return obj;
|
|
1078
1094
|
},
|
|
1079
1095
|
fromPartial(object) {
|
|
@@ -1083,6 +1099,8 @@ export const MsgSubmitProposal = {
|
|
|
1083
1099
|
message.metadata = object.metadata ?? "";
|
|
1084
1100
|
message.messages = object.messages?.map((e) => Any.fromPartial(e)) || [];
|
|
1085
1101
|
message.exec = object.exec ?? 0;
|
|
1102
|
+
message.title = object.title ?? "";
|
|
1103
|
+
message.summary = object.summary ?? "";
|
|
1086
1104
|
return message;
|
|
1087
1105
|
},
|
|
1088
1106
|
};
|