decentralcardgame-cardchain-client-ts 0.0.12 → 0.0.14
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 +532 -499
- 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 -8
- package/client.ts +11 -11
- package/cosmos.auth.v1beta1/module.js +2 -0
- package/cosmos.auth.v1beta1/module.ts +3 -1
- 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 +30 -30
- 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 +25 -25
- 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/module.ts +1 -1
- 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 +35 -2
- 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 +101 -35
- 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/module.ts +1 -1
- 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/module.ts +1 -1
- 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 +69 -34
- 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 +37 -37
- 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 +139 -139
- 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/module.ts +1 -1
- 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/module.ts +1 -1
- 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/module.ts +1 -1
- package/cosmos.params.v1beta1/types/amino/amino.js +2 -0
- package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/module.ts +1 -1
- 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 +62 -60
- 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/module.ts +1 -1
- 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/module.ts +1 -1
- 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.ts +1 -1
- 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/module.ts +1 -1
- 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.interchain_accounts.host.v1/module.ts +1 -1
- package/ibc.applications.transfer.v1/module.js +5 -27
- package/ibc.applications.transfer.v1/module.ts +6 -35
- 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/module.ts +1 -1
- 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/module.ts +1 -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/module.ts +1 -1
- 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 +8 -8
- /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
|
@@ -227,7 +227,7 @@ export interface MemberRequest {
|
|
|
227
227
|
/**
|
|
228
228
|
* ThresholdDecisionPolicy is a decision policy where a proposal passes when it
|
|
229
229
|
* satisfies the two following conditions:
|
|
230
|
-
* 1. The sum of all `YES`
|
|
230
|
+
* 1. The sum of all `YES` voter's weights is greater or equal than the defined
|
|
231
231
|
* `threshold`.
|
|
232
232
|
* 2. The voting and execution periods of the proposal respect the parameters
|
|
233
233
|
* given by `windows`.
|
|
@@ -252,7 +252,7 @@ export interface ThresholdDecisionPolicy {
|
|
|
252
252
|
*/
|
|
253
253
|
export interface PercentageDecisionPolicy {
|
|
254
254
|
/**
|
|
255
|
-
* percentage is the minimum percentage the weighted sum of `YES` votes must
|
|
255
|
+
* percentage is the minimum percentage of the weighted sum of `YES` votes must
|
|
256
256
|
* meet for a proposal to succeed.
|
|
257
257
|
*/
|
|
258
258
|
percentage: string;
|
|
@@ -322,7 +322,11 @@ export interface GroupPolicyInfo {
|
|
|
322
322
|
groupId: number;
|
|
323
323
|
/** admin is the account address of the group admin. */
|
|
324
324
|
admin: string;
|
|
325
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* metadata is any arbitrary metadata attached to the group policy.
|
|
327
|
+
* the recommended format of the metadata is to be found here:
|
|
328
|
+
* https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
|
|
329
|
+
*/
|
|
326
330
|
metadata: string;
|
|
327
331
|
/**
|
|
328
332
|
* version is used to track changes to a group's GroupPolicyInfo structure that
|
|
@@ -348,7 +352,11 @@ export interface Proposal {
|
|
|
348
352
|
id: number;
|
|
349
353
|
/** group_policy_address is the account address of group policy. */
|
|
350
354
|
groupPolicyAddress: string;
|
|
351
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* metadata is any arbitrary metadata attached to the proposal.
|
|
357
|
+
* the recommended format of the metadata is to be found here:
|
|
358
|
+
* https://docs.cosmos.network/v0.47/modules/group#proposal-4
|
|
359
|
+
*/
|
|
352
360
|
metadata: string;
|
|
353
361
|
/** proposers are the account addresses of the proposers. */
|
|
354
362
|
proposers: string[];
|
|
@@ -381,7 +389,7 @@ export interface Proposal {
|
|
|
381
389
|
| undefined;
|
|
382
390
|
/**
|
|
383
391
|
* voting_period_end is the timestamp before which voting must be done.
|
|
384
|
-
* Unless a
|
|
392
|
+
* Unless a successful MsgExec is called before (to execute a proposal whose
|
|
385
393
|
* tally is successful before the voting period ends), tallying will be done
|
|
386
394
|
* at this point, and the `final_tally_result`and `status` fields will be
|
|
387
395
|
* accordingly updated.
|
|
@@ -393,6 +401,18 @@ export interface Proposal {
|
|
|
393
401
|
executorResult: ProposalExecutorResult;
|
|
394
402
|
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
|
395
403
|
messages: Any[];
|
|
404
|
+
/**
|
|
405
|
+
* title is the title of the proposal
|
|
406
|
+
*
|
|
407
|
+
* Since: cosmos-sdk 0.47
|
|
408
|
+
*/
|
|
409
|
+
title: string;
|
|
410
|
+
/**
|
|
411
|
+
* summary is a short summary of the proposal
|
|
412
|
+
*
|
|
413
|
+
* Since: cosmos-sdk 0.47
|
|
414
|
+
*/
|
|
415
|
+
summary: string;
|
|
396
416
|
}
|
|
397
417
|
|
|
398
418
|
/** TallyResult represents the sum of weighted votes for each vote option. */
|
|
@@ -415,7 +435,7 @@ export interface Vote {
|
|
|
415
435
|
voter: string;
|
|
416
436
|
/** option is the voter's choice on the proposal. */
|
|
417
437
|
option: VoteOption;
|
|
418
|
-
/** metadata is any arbitrary metadata
|
|
438
|
+
/** metadata is any arbitrary metadata attached to the vote. */
|
|
419
439
|
metadata: string;
|
|
420
440
|
/** submit_time is the timestamp when the vote was submitted. */
|
|
421
441
|
submitTime: Date | undefined;
|
|
@@ -1034,6 +1054,8 @@ function createBaseProposal(): Proposal {
|
|
|
1034
1054
|
votingPeriodEnd: undefined,
|
|
1035
1055
|
executorResult: 0,
|
|
1036
1056
|
messages: [],
|
|
1057
|
+
title: "",
|
|
1058
|
+
summary: "",
|
|
1037
1059
|
};
|
|
1038
1060
|
}
|
|
1039
1061
|
|
|
@@ -1075,6 +1097,12 @@ export const Proposal = {
|
|
|
1075
1097
|
for (const v of message.messages) {
|
|
1076
1098
|
Any.encode(v!, writer.uint32(98).fork()).ldelim();
|
|
1077
1099
|
}
|
|
1100
|
+
if (message.title !== "") {
|
|
1101
|
+
writer.uint32(106).string(message.title);
|
|
1102
|
+
}
|
|
1103
|
+
if (message.summary !== "") {
|
|
1104
|
+
writer.uint32(114).string(message.summary);
|
|
1105
|
+
}
|
|
1078
1106
|
return writer;
|
|
1079
1107
|
},
|
|
1080
1108
|
|
|
@@ -1121,6 +1149,12 @@ export const Proposal = {
|
|
|
1121
1149
|
case 12:
|
|
1122
1150
|
message.messages.push(Any.decode(reader, reader.uint32()));
|
|
1123
1151
|
break;
|
|
1152
|
+
case 13:
|
|
1153
|
+
message.title = reader.string();
|
|
1154
|
+
break;
|
|
1155
|
+
case 14:
|
|
1156
|
+
message.summary = reader.string();
|
|
1157
|
+
break;
|
|
1124
1158
|
default:
|
|
1125
1159
|
reader.skipType(tag & 7);
|
|
1126
1160
|
break;
|
|
@@ -1143,6 +1177,8 @@ export const Proposal = {
|
|
|
1143
1177
|
votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined,
|
|
1144
1178
|
executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0,
|
|
1145
1179
|
messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [],
|
|
1180
|
+
title: isSet(object.title) ? String(object.title) : "",
|
|
1181
|
+
summary: isSet(object.summary) ? String(object.summary) : "",
|
|
1146
1182
|
};
|
|
1147
1183
|
},
|
|
1148
1184
|
|
|
@@ -1169,6 +1205,8 @@ export const Proposal = {
|
|
|
1169
1205
|
} else {
|
|
1170
1206
|
obj.messages = [];
|
|
1171
1207
|
}
|
|
1208
|
+
message.title !== undefined && (obj.title = message.title);
|
|
1209
|
+
message.summary !== undefined && (obj.summary = message.summary);
|
|
1172
1210
|
return obj;
|
|
1173
1211
|
},
|
|
1174
1212
|
|
|
@@ -1188,6 +1226,8 @@ export const Proposal = {
|
|
|
1188
1226
|
message.votingPeriodEnd = object.votingPeriodEnd ?? undefined;
|
|
1189
1227
|
message.executorResult = object.executorResult ?? 0;
|
|
1190
1228
|
message.messages = object.messages?.map((e) => Any.fromPartial(e)) || [];
|
|
1229
|
+
message.title = object.title ?? "";
|
|
1230
|
+
message.summary = object.summary ?? "";
|
|
1191
1231
|
return message;
|
|
1192
1232
|
},
|
|
1193
1233
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by Ignite ignite.com/cli
|
|
2
2
|
|
|
3
|
-
import { StdFee } from "@cosmjs/
|
|
3
|
+
import { StdFee } from "@cosmjs/amino";
|
|
4
4
|
import { SigningStargateClient, DeliverTxResponse } from "@cosmjs/stargate";
|
|
5
5
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
6
6
|
import { msgTypes } from './registry';
|
|
@@ -21,7 +21,15 @@ export interface RpcStatus {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
|
|
24
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
25
|
+
MsgUpdateParams message.
|
|
26
|
+
|
|
27
|
+
Since: cosmos-sdk 0.47
|
|
28
|
+
*/
|
|
29
|
+
export type V1Beta1MsgUpdateParamsResponse = object;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Params defines the parameters for the x/mint module.
|
|
25
33
|
*/
|
|
26
34
|
export interface V1Beta1Params {
|
|
27
35
|
/** type of coin to mint */
|
|
@@ -12,7 +12,7 @@ export interface Minter {
|
|
|
12
12
|
annualProvisions: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
/** Params
|
|
15
|
+
/** Params defines the parameters for the x/mint module. */
|
|
16
16
|
export interface Params {
|
|
17
17
|
/** type of coin to mint */
|
|
18
18
|
mintDenom: string;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Params } from "./mint";
|
|
4
|
+
export const protobufPackage = "cosmos.mint.v1beta1";
|
|
5
|
+
function createBaseMsgUpdateParams() {
|
|
6
|
+
return { authority: "", params: undefined };
|
|
7
|
+
}
|
|
8
|
+
export const MsgUpdateParams = {
|
|
9
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
10
|
+
if (message.authority !== "") {
|
|
11
|
+
writer.uint32(10).string(message.authority);
|
|
12
|
+
}
|
|
13
|
+
if (message.params !== undefined) {
|
|
14
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
15
|
+
}
|
|
16
|
+
return writer;
|
|
17
|
+
},
|
|
18
|
+
decode(input, length) {
|
|
19
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
20
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
21
|
+
const message = createBaseMsgUpdateParams();
|
|
22
|
+
while (reader.pos < end) {
|
|
23
|
+
const tag = reader.uint32();
|
|
24
|
+
switch (tag >>> 3) {
|
|
25
|
+
case 1:
|
|
26
|
+
message.authority = reader.string();
|
|
27
|
+
break;
|
|
28
|
+
case 2:
|
|
29
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
30
|
+
break;
|
|
31
|
+
default:
|
|
32
|
+
reader.skipType(tag & 7);
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return message;
|
|
37
|
+
},
|
|
38
|
+
fromJSON(object) {
|
|
39
|
+
return {
|
|
40
|
+
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
41
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
toJSON(message) {
|
|
45
|
+
const obj = {};
|
|
46
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
47
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
48
|
+
return obj;
|
|
49
|
+
},
|
|
50
|
+
fromPartial(object) {
|
|
51
|
+
const message = createBaseMsgUpdateParams();
|
|
52
|
+
message.authority = object.authority ?? "";
|
|
53
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
54
|
+
? Params.fromPartial(object.params)
|
|
55
|
+
: undefined;
|
|
56
|
+
return message;
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
function createBaseMsgUpdateParamsResponse() {
|
|
60
|
+
return {};
|
|
61
|
+
}
|
|
62
|
+
export const MsgUpdateParamsResponse = {
|
|
63
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
64
|
+
return writer;
|
|
65
|
+
},
|
|
66
|
+
decode(input, length) {
|
|
67
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
68
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
69
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
70
|
+
while (reader.pos < end) {
|
|
71
|
+
const tag = reader.uint32();
|
|
72
|
+
switch (tag >>> 3) {
|
|
73
|
+
default:
|
|
74
|
+
reader.skipType(tag & 7);
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
fromJSON(_) {
|
|
81
|
+
return {};
|
|
82
|
+
},
|
|
83
|
+
toJSON(_) {
|
|
84
|
+
const obj = {};
|
|
85
|
+
return obj;
|
|
86
|
+
},
|
|
87
|
+
fromPartial(_) {
|
|
88
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
89
|
+
return message;
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
export class MsgClientImpl {
|
|
93
|
+
constructor(rpc) {
|
|
94
|
+
this.rpc = rpc;
|
|
95
|
+
this.UpdateParams = this.UpdateParams.bind(this);
|
|
96
|
+
}
|
|
97
|
+
UpdateParams(request) {
|
|
98
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
99
|
+
const promise = this.rpc.request("cosmos.mint.v1beta1.Msg", "UpdateParams", data);
|
|
100
|
+
return promise.then((data) => MsgUpdateParamsResponse.decode(new _m0.Reader(data)));
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function isSet(value) {
|
|
104
|
+
return value !== null && value !== undefined;
|
|
105
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Params } from "./mint";
|
|
4
|
+
|
|
5
|
+
export const protobufPackage = "cosmos.mint.v1beta1";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
9
|
+
*
|
|
10
|
+
* Since: cosmos-sdk 0.47
|
|
11
|
+
*/
|
|
12
|
+
export interface MsgUpdateParams {
|
|
13
|
+
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
14
|
+
authority: string;
|
|
15
|
+
/**
|
|
16
|
+
* params defines the x/mint parameters to update.
|
|
17
|
+
*
|
|
18
|
+
* NOTE: All parameters must be supplied.
|
|
19
|
+
*/
|
|
20
|
+
params: Params | undefined;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
25
|
+
* MsgUpdateParams message.
|
|
26
|
+
*
|
|
27
|
+
* Since: cosmos-sdk 0.47
|
|
28
|
+
*/
|
|
29
|
+
export interface MsgUpdateParamsResponse {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function createBaseMsgUpdateParams(): MsgUpdateParams {
|
|
33
|
+
return { authority: "", params: undefined };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export const MsgUpdateParams = {
|
|
37
|
+
encode(message: MsgUpdateParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
38
|
+
if (message.authority !== "") {
|
|
39
|
+
writer.uint32(10).string(message.authority);
|
|
40
|
+
}
|
|
41
|
+
if (message.params !== undefined) {
|
|
42
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
43
|
+
}
|
|
44
|
+
return writer;
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams {
|
|
48
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
49
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
50
|
+
const message = createBaseMsgUpdateParams();
|
|
51
|
+
while (reader.pos < end) {
|
|
52
|
+
const tag = reader.uint32();
|
|
53
|
+
switch (tag >>> 3) {
|
|
54
|
+
case 1:
|
|
55
|
+
message.authority = reader.string();
|
|
56
|
+
break;
|
|
57
|
+
case 2:
|
|
58
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
59
|
+
break;
|
|
60
|
+
default:
|
|
61
|
+
reader.skipType(tag & 7);
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return message;
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
fromJSON(object: any): MsgUpdateParams {
|
|
69
|
+
return {
|
|
70
|
+
authority: isSet(object.authority) ? String(object.authority) : "",
|
|
71
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
toJSON(message: MsgUpdateParams): unknown {
|
|
76
|
+
const obj: any = {};
|
|
77
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
78
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
79
|
+
return obj;
|
|
80
|
+
},
|
|
81
|
+
|
|
82
|
+
fromPartial<I extends Exact<DeepPartial<MsgUpdateParams>, I>>(object: I): MsgUpdateParams {
|
|
83
|
+
const message = createBaseMsgUpdateParams();
|
|
84
|
+
message.authority = object.authority ?? "";
|
|
85
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
86
|
+
? Params.fromPartial(object.params)
|
|
87
|
+
: undefined;
|
|
88
|
+
return message;
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
function createBaseMsgUpdateParamsResponse(): MsgUpdateParamsResponse {
|
|
93
|
+
return {};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export const MsgUpdateParamsResponse = {
|
|
97
|
+
encode(_: MsgUpdateParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
98
|
+
return writer;
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse {
|
|
102
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
103
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
104
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
105
|
+
while (reader.pos < end) {
|
|
106
|
+
const tag = reader.uint32();
|
|
107
|
+
switch (tag >>> 3) {
|
|
108
|
+
default:
|
|
109
|
+
reader.skipType(tag & 7);
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return message;
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
fromJSON(_: any): MsgUpdateParamsResponse {
|
|
117
|
+
return {};
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
toJSON(_: MsgUpdateParamsResponse): unknown {
|
|
121
|
+
const obj: any = {};
|
|
122
|
+
return obj;
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
fromPartial<I extends Exact<DeepPartial<MsgUpdateParamsResponse>, I>>(_: I): MsgUpdateParamsResponse {
|
|
126
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
127
|
+
return message;
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/** Msg defines the x/mint Msg service. */
|
|
132
|
+
export interface Msg {
|
|
133
|
+
/**
|
|
134
|
+
* UpdateParams defines a governance operation for updating the x/mint module
|
|
135
|
+
* parameters. The authority is defaults to the x/gov module account.
|
|
136
|
+
*
|
|
137
|
+
* Since: cosmos-sdk 0.47
|
|
138
|
+
*/
|
|
139
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export class MsgClientImpl implements Msg {
|
|
143
|
+
private readonly rpc: Rpc;
|
|
144
|
+
constructor(rpc: Rpc) {
|
|
145
|
+
this.rpc = rpc;
|
|
146
|
+
this.UpdateParams = this.UpdateParams.bind(this);
|
|
147
|
+
}
|
|
148
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse> {
|
|
149
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
150
|
+
const promise = this.rpc.request("cosmos.mint.v1beta1.Msg", "UpdateParams", data);
|
|
151
|
+
return promise.then((data) => MsgUpdateParamsResponse.decode(new _m0.Reader(data)));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface Rpc {
|
|
156
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
160
|
+
|
|
161
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
162
|
+
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
163
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
164
|
+
: Partial<T>;
|
|
165
|
+
|
|
166
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
167
|
+
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
168
|
+
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
169
|
+
|
|
170
|
+
function isSet(value: any): boolean {
|
|
171
|
+
return value !== null && value !== undefined;
|
|
172
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by Ignite ignite.com/cli
|
|
2
2
|
|
|
3
|
-
import { StdFee } from "@cosmjs/
|
|
3
|
+
import { StdFee } from "@cosmjs/amino";
|
|
4
4
|
import { SigningStargateClient, DeliverTxResponse } from "@cosmjs/stargate";
|
|
5
5
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
6
6
|
import { msgTypes } from './registry';
|
|
@@ -370,56 +370,52 @@ export interface V1Beta1PageResponse {
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
export interface V1Beta1QueryBalanceResponse {
|
|
373
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* amount is the number of all NFTs of a given class owned by the owner
|
|
375
|
+
* @format uint64
|
|
376
|
+
*/
|
|
374
377
|
amount?: string;
|
|
375
378
|
}
|
|
376
379
|
|
|
377
380
|
export interface V1Beta1QueryClassResponse {
|
|
378
|
-
/**
|
|
381
|
+
/** class defines the class of the nft type. */
|
|
379
382
|
class?: V1Beta1Class;
|
|
380
383
|
}
|
|
381
384
|
|
|
382
385
|
export interface V1Beta1QueryClassesResponse {
|
|
386
|
+
/** class defines the class of the nft type. */
|
|
383
387
|
classes?: V1Beta1Class[];
|
|
384
388
|
|
|
385
|
-
/**
|
|
386
|
-
* PageResponse is to be embedded in gRPC response messages where the
|
|
387
|
-
* corresponding request message has used PageRequest.
|
|
388
|
-
*
|
|
389
|
-
* message SomeResponse {
|
|
390
|
-
* repeated Bar results = 1;
|
|
391
|
-
* PageResponse page = 2;
|
|
392
|
-
* }
|
|
393
|
-
*/
|
|
389
|
+
/** pagination defines the pagination in the response. */
|
|
394
390
|
pagination?: V1Beta1PageResponse;
|
|
395
391
|
}
|
|
396
392
|
|
|
397
393
|
export interface V1Beta1QueryNFTResponse {
|
|
398
|
-
/**
|
|
394
|
+
/**
|
|
395
|
+
* owner is the owner address of the nft
|
|
396
|
+
* NFT defines the NFT.
|
|
397
|
+
*/
|
|
399
398
|
nft?: V1Beta1NFT;
|
|
400
399
|
}
|
|
401
400
|
|
|
402
401
|
export interface V1Beta1QueryNFTsResponse {
|
|
402
|
+
/** NFT defines the NFT */
|
|
403
403
|
nfts?: V1Beta1NFT[];
|
|
404
404
|
|
|
405
|
-
/**
|
|
406
|
-
* PageResponse is to be embedded in gRPC response messages where the
|
|
407
|
-
* corresponding request message has used PageRequest.
|
|
408
|
-
*
|
|
409
|
-
* message SomeResponse {
|
|
410
|
-
* repeated Bar results = 1;
|
|
411
|
-
* PageResponse page = 2;
|
|
412
|
-
* }
|
|
413
|
-
*/
|
|
405
|
+
/** pagination defines the pagination in the response. */
|
|
414
406
|
pagination?: V1Beta1PageResponse;
|
|
415
407
|
}
|
|
416
408
|
|
|
417
409
|
export interface V1Beta1QueryOwnerResponse {
|
|
410
|
+
/** owner is the owner address of the nft */
|
|
418
411
|
owner?: string;
|
|
419
412
|
}
|
|
420
413
|
|
|
421
414
|
export interface V1Beta1QuerySupplyResponse {
|
|
422
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* amount is the number of all NFTs from the given class
|
|
417
|
+
* @format uint64
|
|
418
|
+
*/
|
|
423
419
|
amount?: string;
|
|
424
420
|
}
|
|
425
421
|
|
|
@@ -5,23 +5,33 @@ export const protobufPackage = "cosmos.nft.v1beta1";
|
|
|
5
5
|
|
|
6
6
|
/** EventSend is emitted on Msg/Send */
|
|
7
7
|
export interface EventSend {
|
|
8
|
+
/** class_id associated with the nft */
|
|
8
9
|
classId: string;
|
|
10
|
+
/** id is a unique identifier of the nft */
|
|
9
11
|
id: string;
|
|
12
|
+
/** sender is the address of the owner of nft */
|
|
10
13
|
sender: string;
|
|
14
|
+
/** receiver is the receiver address of nft */
|
|
11
15
|
receiver: string;
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
/** EventMint is emitted on Mint */
|
|
15
19
|
export interface EventMint {
|
|
20
|
+
/** class_id associated with the nft */
|
|
16
21
|
classId: string;
|
|
22
|
+
/** id is a unique identifier of the nft */
|
|
17
23
|
id: string;
|
|
24
|
+
/** owner is the owner address of the nft */
|
|
18
25
|
owner: string;
|
|
19
26
|
}
|
|
20
27
|
|
|
21
28
|
/** EventBurn is emitted on Burn */
|
|
22
29
|
export interface EventBurn {
|
|
30
|
+
/** class_id associated with the nft */
|
|
23
31
|
classId: string;
|
|
32
|
+
/** id is a unique identifier of the nft */
|
|
24
33
|
id: string;
|
|
34
|
+
/** owner is the owner address of the nft */
|
|
25
35
|
owner: string;
|
|
26
36
|
}
|
|
27
37
|
|