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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Coin } from "../../../../cosmos/base/v1beta1/coin";
|
|
3
4
|
import { DenomTrace, Params } from "./transfer";
|
|
4
5
|
|
|
5
6
|
export const protobufPackage = "ibc.applications.transfer.v1";
|
|
@@ -8,11 +9,18 @@ export const protobufPackage = "ibc.applications.transfer.v1";
|
|
|
8
9
|
export interface GenesisState {
|
|
9
10
|
portId: string;
|
|
10
11
|
denomTraces: DenomTrace[];
|
|
11
|
-
params:
|
|
12
|
+
params:
|
|
13
|
+
| Params
|
|
14
|
+
| undefined;
|
|
15
|
+
/**
|
|
16
|
+
* total_escrowed contains the total amount of tokens escrowed
|
|
17
|
+
* by the transfer module
|
|
18
|
+
*/
|
|
19
|
+
totalEscrowed: Coin[];
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
function createBaseGenesisState(): GenesisState {
|
|
15
|
-
return { portId: "", denomTraces: [], params: undefined };
|
|
23
|
+
return { portId: "", denomTraces: [], params: undefined, totalEscrowed: [] };
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
export const GenesisState = {
|
|
@@ -26,6 +34,9 @@ export const GenesisState = {
|
|
|
26
34
|
if (message.params !== undefined) {
|
|
27
35
|
Params.encode(message.params, writer.uint32(26).fork()).ldelim();
|
|
28
36
|
}
|
|
37
|
+
for (const v of message.totalEscrowed) {
|
|
38
|
+
Coin.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
39
|
+
}
|
|
29
40
|
return writer;
|
|
30
41
|
},
|
|
31
42
|
|
|
@@ -45,6 +56,9 @@ export const GenesisState = {
|
|
|
45
56
|
case 3:
|
|
46
57
|
message.params = Params.decode(reader, reader.uint32());
|
|
47
58
|
break;
|
|
59
|
+
case 4:
|
|
60
|
+
message.totalEscrowed.push(Coin.decode(reader, reader.uint32()));
|
|
61
|
+
break;
|
|
48
62
|
default:
|
|
49
63
|
reader.skipType(tag & 7);
|
|
50
64
|
break;
|
|
@@ -58,6 +72,7 @@ export const GenesisState = {
|
|
|
58
72
|
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
59
73
|
denomTraces: Array.isArray(object?.denomTraces) ? object.denomTraces.map((e: any) => DenomTrace.fromJSON(e)) : [],
|
|
60
74
|
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
75
|
+
totalEscrowed: Array.isArray(object?.totalEscrowed) ? object.totalEscrowed.map((e: any) => Coin.fromJSON(e)) : [],
|
|
61
76
|
};
|
|
62
77
|
},
|
|
63
78
|
|
|
@@ -70,6 +85,11 @@ export const GenesisState = {
|
|
|
70
85
|
obj.denomTraces = [];
|
|
71
86
|
}
|
|
72
87
|
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
88
|
+
if (message.totalEscrowed) {
|
|
89
|
+
obj.totalEscrowed = message.totalEscrowed.map((e) => e ? Coin.toJSON(e) : undefined);
|
|
90
|
+
} else {
|
|
91
|
+
obj.totalEscrowed = [];
|
|
92
|
+
}
|
|
73
93
|
return obj;
|
|
74
94
|
},
|
|
75
95
|
|
|
@@ -80,6 +100,7 @@ export const GenesisState = {
|
|
|
80
100
|
message.params = (object.params !== undefined && object.params !== null)
|
|
81
101
|
? Params.fromPartial(object.params)
|
|
82
102
|
: undefined;
|
|
103
|
+
message.totalEscrowed = object.totalEscrowed?.map((e) => Coin.fromPartial(e)) || [];
|
|
83
104
|
return message;
|
|
84
105
|
},
|
|
85
106
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
4
|
+
import { Coin } from "../../../../cosmos/base/v1beta1/coin";
|
|
4
5
|
import { DenomTrace, Params } from "./transfer";
|
|
5
6
|
export const protobufPackage = "ibc.applications.transfer.v1";
|
|
6
7
|
function createBaseQueryDenomTraceRequest() {
|
|
@@ -443,6 +444,90 @@ export const QueryEscrowAddressResponse = {
|
|
|
443
444
|
return message;
|
|
444
445
|
},
|
|
445
446
|
};
|
|
447
|
+
function createBaseQueryTotalEscrowForDenomRequest() {
|
|
448
|
+
return { denom: "" };
|
|
449
|
+
}
|
|
450
|
+
export const QueryTotalEscrowForDenomRequest = {
|
|
451
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
452
|
+
if (message.denom !== "") {
|
|
453
|
+
writer.uint32(10).string(message.denom);
|
|
454
|
+
}
|
|
455
|
+
return writer;
|
|
456
|
+
},
|
|
457
|
+
decode(input, length) {
|
|
458
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
459
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
460
|
+
const message = createBaseQueryTotalEscrowForDenomRequest();
|
|
461
|
+
while (reader.pos < end) {
|
|
462
|
+
const tag = reader.uint32();
|
|
463
|
+
switch (tag >>> 3) {
|
|
464
|
+
case 1:
|
|
465
|
+
message.denom = reader.string();
|
|
466
|
+
break;
|
|
467
|
+
default:
|
|
468
|
+
reader.skipType(tag & 7);
|
|
469
|
+
break;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
return message;
|
|
473
|
+
},
|
|
474
|
+
fromJSON(object) {
|
|
475
|
+
return { denom: isSet(object.denom) ? String(object.denom) : "" };
|
|
476
|
+
},
|
|
477
|
+
toJSON(message) {
|
|
478
|
+
const obj = {};
|
|
479
|
+
message.denom !== undefined && (obj.denom = message.denom);
|
|
480
|
+
return obj;
|
|
481
|
+
},
|
|
482
|
+
fromPartial(object) {
|
|
483
|
+
const message = createBaseQueryTotalEscrowForDenomRequest();
|
|
484
|
+
message.denom = object.denom ?? "";
|
|
485
|
+
return message;
|
|
486
|
+
},
|
|
487
|
+
};
|
|
488
|
+
function createBaseQueryTotalEscrowForDenomResponse() {
|
|
489
|
+
return { amount: undefined };
|
|
490
|
+
}
|
|
491
|
+
export const QueryTotalEscrowForDenomResponse = {
|
|
492
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
493
|
+
if (message.amount !== undefined) {
|
|
494
|
+
Coin.encode(message.amount, writer.uint32(10).fork()).ldelim();
|
|
495
|
+
}
|
|
496
|
+
return writer;
|
|
497
|
+
},
|
|
498
|
+
decode(input, length) {
|
|
499
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
500
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
501
|
+
const message = createBaseQueryTotalEscrowForDenomResponse();
|
|
502
|
+
while (reader.pos < end) {
|
|
503
|
+
const tag = reader.uint32();
|
|
504
|
+
switch (tag >>> 3) {
|
|
505
|
+
case 1:
|
|
506
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
507
|
+
break;
|
|
508
|
+
default:
|
|
509
|
+
reader.skipType(tag & 7);
|
|
510
|
+
break;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
return message;
|
|
514
|
+
},
|
|
515
|
+
fromJSON(object) {
|
|
516
|
+
return { amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined };
|
|
517
|
+
},
|
|
518
|
+
toJSON(message) {
|
|
519
|
+
const obj = {};
|
|
520
|
+
message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined);
|
|
521
|
+
return obj;
|
|
522
|
+
},
|
|
523
|
+
fromPartial(object) {
|
|
524
|
+
const message = createBaseQueryTotalEscrowForDenomResponse();
|
|
525
|
+
message.amount = (object.amount !== undefined && object.amount !== null)
|
|
526
|
+
? Coin.fromPartial(object.amount)
|
|
527
|
+
: undefined;
|
|
528
|
+
return message;
|
|
529
|
+
},
|
|
530
|
+
};
|
|
446
531
|
export class QueryClientImpl {
|
|
447
532
|
constructor(rpc) {
|
|
448
533
|
this.rpc = rpc;
|
|
@@ -451,6 +536,7 @@ export class QueryClientImpl {
|
|
|
451
536
|
this.Params = this.Params.bind(this);
|
|
452
537
|
this.DenomHash = this.DenomHash.bind(this);
|
|
453
538
|
this.EscrowAddress = this.EscrowAddress.bind(this);
|
|
539
|
+
this.TotalEscrowForDenom = this.TotalEscrowForDenom.bind(this);
|
|
454
540
|
}
|
|
455
541
|
DenomTrace(request) {
|
|
456
542
|
const data = QueryDenomTraceRequest.encode(request).finish();
|
|
@@ -477,6 +563,11 @@ export class QueryClientImpl {
|
|
|
477
563
|
const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "EscrowAddress", data);
|
|
478
564
|
return promise.then((data) => QueryEscrowAddressResponse.decode(new _m0.Reader(data)));
|
|
479
565
|
}
|
|
566
|
+
TotalEscrowForDenom(request) {
|
|
567
|
+
const data = QueryTotalEscrowForDenomRequest.encode(request).finish();
|
|
568
|
+
const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "TotalEscrowForDenom", data);
|
|
569
|
+
return promise.then((data) => QueryTotalEscrowForDenomResponse.decode(new _m0.Reader(data)));
|
|
570
|
+
}
|
|
480
571
|
}
|
|
481
572
|
function isSet(value) {
|
|
482
573
|
return value !== null && value !== undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
4
|
+
import { Coin } from "../../../../cosmos/base/v1beta1/coin";
|
|
4
5
|
import { DenomTrace, Params } from "./transfer";
|
|
5
6
|
|
|
6
7
|
export const protobufPackage = "ibc.applications.transfer.v1";
|
|
@@ -85,6 +86,16 @@ export interface QueryEscrowAddressResponse {
|
|
|
85
86
|
escrowAddress: string;
|
|
86
87
|
}
|
|
87
88
|
|
|
89
|
+
/** QueryTotalEscrowForDenomRequest is the request type for TotalEscrowForDenom RPC method. */
|
|
90
|
+
export interface QueryTotalEscrowForDenomRequest {
|
|
91
|
+
denom: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. */
|
|
95
|
+
export interface QueryTotalEscrowForDenomResponse {
|
|
96
|
+
amount: Coin | undefined;
|
|
97
|
+
}
|
|
98
|
+
|
|
88
99
|
function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest {
|
|
89
100
|
return { hash: "" };
|
|
90
101
|
}
|
|
@@ -584,6 +595,106 @@ export const QueryEscrowAddressResponse = {
|
|
|
584
595
|
},
|
|
585
596
|
};
|
|
586
597
|
|
|
598
|
+
function createBaseQueryTotalEscrowForDenomRequest(): QueryTotalEscrowForDenomRequest {
|
|
599
|
+
return { denom: "" };
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export const QueryTotalEscrowForDenomRequest = {
|
|
603
|
+
encode(message: QueryTotalEscrowForDenomRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
604
|
+
if (message.denom !== "") {
|
|
605
|
+
writer.uint32(10).string(message.denom);
|
|
606
|
+
}
|
|
607
|
+
return writer;
|
|
608
|
+
},
|
|
609
|
+
|
|
610
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalEscrowForDenomRequest {
|
|
611
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
612
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
613
|
+
const message = createBaseQueryTotalEscrowForDenomRequest();
|
|
614
|
+
while (reader.pos < end) {
|
|
615
|
+
const tag = reader.uint32();
|
|
616
|
+
switch (tag >>> 3) {
|
|
617
|
+
case 1:
|
|
618
|
+
message.denom = reader.string();
|
|
619
|
+
break;
|
|
620
|
+
default:
|
|
621
|
+
reader.skipType(tag & 7);
|
|
622
|
+
break;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
return message;
|
|
626
|
+
},
|
|
627
|
+
|
|
628
|
+
fromJSON(object: any): QueryTotalEscrowForDenomRequest {
|
|
629
|
+
return { denom: isSet(object.denom) ? String(object.denom) : "" };
|
|
630
|
+
},
|
|
631
|
+
|
|
632
|
+
toJSON(message: QueryTotalEscrowForDenomRequest): unknown {
|
|
633
|
+
const obj: any = {};
|
|
634
|
+
message.denom !== undefined && (obj.denom = message.denom);
|
|
635
|
+
return obj;
|
|
636
|
+
},
|
|
637
|
+
|
|
638
|
+
fromPartial<I extends Exact<DeepPartial<QueryTotalEscrowForDenomRequest>, I>>(
|
|
639
|
+
object: I,
|
|
640
|
+
): QueryTotalEscrowForDenomRequest {
|
|
641
|
+
const message = createBaseQueryTotalEscrowForDenomRequest();
|
|
642
|
+
message.denom = object.denom ?? "";
|
|
643
|
+
return message;
|
|
644
|
+
},
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
function createBaseQueryTotalEscrowForDenomResponse(): QueryTotalEscrowForDenomResponse {
|
|
648
|
+
return { amount: undefined };
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export const QueryTotalEscrowForDenomResponse = {
|
|
652
|
+
encode(message: QueryTotalEscrowForDenomResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
653
|
+
if (message.amount !== undefined) {
|
|
654
|
+
Coin.encode(message.amount, writer.uint32(10).fork()).ldelim();
|
|
655
|
+
}
|
|
656
|
+
return writer;
|
|
657
|
+
},
|
|
658
|
+
|
|
659
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalEscrowForDenomResponse {
|
|
660
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
661
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
662
|
+
const message = createBaseQueryTotalEscrowForDenomResponse();
|
|
663
|
+
while (reader.pos < end) {
|
|
664
|
+
const tag = reader.uint32();
|
|
665
|
+
switch (tag >>> 3) {
|
|
666
|
+
case 1:
|
|
667
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
668
|
+
break;
|
|
669
|
+
default:
|
|
670
|
+
reader.skipType(tag & 7);
|
|
671
|
+
break;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
return message;
|
|
675
|
+
},
|
|
676
|
+
|
|
677
|
+
fromJSON(object: any): QueryTotalEscrowForDenomResponse {
|
|
678
|
+
return { amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined };
|
|
679
|
+
},
|
|
680
|
+
|
|
681
|
+
toJSON(message: QueryTotalEscrowForDenomResponse): unknown {
|
|
682
|
+
const obj: any = {};
|
|
683
|
+
message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined);
|
|
684
|
+
return obj;
|
|
685
|
+
},
|
|
686
|
+
|
|
687
|
+
fromPartial<I extends Exact<DeepPartial<QueryTotalEscrowForDenomResponse>, I>>(
|
|
688
|
+
object: I,
|
|
689
|
+
): QueryTotalEscrowForDenomResponse {
|
|
690
|
+
const message = createBaseQueryTotalEscrowForDenomResponse();
|
|
691
|
+
message.amount = (object.amount !== undefined && object.amount !== null)
|
|
692
|
+
? Coin.fromPartial(object.amount)
|
|
693
|
+
: undefined;
|
|
694
|
+
return message;
|
|
695
|
+
},
|
|
696
|
+
};
|
|
697
|
+
|
|
587
698
|
/** Query provides defines the gRPC querier service. */
|
|
588
699
|
export interface Query {
|
|
589
700
|
/** DenomTrace queries a denomination trace information. */
|
|
@@ -596,6 +707,8 @@ export interface Query {
|
|
|
596
707
|
DenomHash(request: QueryDenomHashRequest): Promise<QueryDenomHashResponse>;
|
|
597
708
|
/** EscrowAddress returns the escrow address for a particular port and channel id. */
|
|
598
709
|
EscrowAddress(request: QueryEscrowAddressRequest): Promise<QueryEscrowAddressResponse>;
|
|
710
|
+
/** TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. */
|
|
711
|
+
TotalEscrowForDenom(request: QueryTotalEscrowForDenomRequest): Promise<QueryTotalEscrowForDenomResponse>;
|
|
599
712
|
}
|
|
600
713
|
|
|
601
714
|
export class QueryClientImpl implements Query {
|
|
@@ -607,6 +720,7 @@ export class QueryClientImpl implements Query {
|
|
|
607
720
|
this.Params = this.Params.bind(this);
|
|
608
721
|
this.DenomHash = this.DenomHash.bind(this);
|
|
609
722
|
this.EscrowAddress = this.EscrowAddress.bind(this);
|
|
723
|
+
this.TotalEscrowForDenom = this.TotalEscrowForDenom.bind(this);
|
|
610
724
|
}
|
|
611
725
|
DenomTrace(request: QueryDenomTraceRequest): Promise<QueryDenomTraceResponse> {
|
|
612
726
|
const data = QueryDenomTraceRequest.encode(request).finish();
|
|
@@ -637,6 +751,12 @@ export class QueryClientImpl implements Query {
|
|
|
637
751
|
const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "EscrowAddress", data);
|
|
638
752
|
return promise.then((data) => QueryEscrowAddressResponse.decode(new _m0.Reader(data)));
|
|
639
753
|
}
|
|
754
|
+
|
|
755
|
+
TotalEscrowForDenom(request: QueryTotalEscrowForDenomRequest): Promise<QueryTotalEscrowForDenomResponse> {
|
|
756
|
+
const data = QueryTotalEscrowForDenomRequest.encode(request).finish();
|
|
757
|
+
const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "TotalEscrowForDenom", data);
|
|
758
|
+
return promise.then((data) => QueryTotalEscrowForDenomResponse.decode(new _m0.Reader(data)));
|
|
759
|
+
}
|
|
640
760
|
}
|
|
641
761
|
|
|
642
762
|
interface Rpc {
|
|
@@ -103,7 +103,11 @@ export interface Height {
|
|
|
103
103
|
|
|
104
104
|
/** Params defines the set of IBC light client parameters. */
|
|
105
105
|
export interface Params {
|
|
106
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* allowed_clients defines the list of allowed client state types which can be created
|
|
108
|
+
* and interacted with. If a client type is removed from the allowed clients list, usage
|
|
109
|
+
* of this client will be disabled until it is added again to the list.
|
|
110
|
+
*/
|
|
107
111
|
allowedClients: string[];
|
|
108
112
|
}
|
|
109
113
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Allocation } from "./types/ibc/applications/transfer/v1/authz";
|
|
2
|
+
import { TransferAuthorization } from "./types/ibc/applications/transfer/v1/authz";
|
|
1
3
|
import { DenomTrace } from "./types/ibc/applications/transfer/v1/transfer";
|
|
2
4
|
import { Params } from "./types/ibc/applications/transfer/v1/transfer";
|
|
3
|
-
export { DenomTrace, Params, };
|
|
5
|
+
export { Allocation, TransferAuthorization, DenomTrace, Params, };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { Allocation } from "./types/ibc/applications/transfer/v1/authz"
|
|
2
|
+
import { TransferAuthorization } from "./types/ibc/applications/transfer/v1/authz"
|
|
1
3
|
import { DenomTrace } from "./types/ibc/applications/transfer/v1/transfer"
|
|
2
4
|
import { Params } from "./types/ibc/applications/transfer/v1/transfer"
|
|
3
5
|
|
|
4
6
|
|
|
5
7
|
export {
|
|
8
|
+
Allocation,
|
|
9
|
+
TransferAuthorization,
|
|
6
10
|
DenomTrace,
|
|
7
11
|
Params,
|
|
8
12
|
|
|
@@ -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';
|
|
@@ -28,10 +28,7 @@ export interface Plan {
|
|
|
28
28
|
time:
|
|
29
29
|
| Date
|
|
30
30
|
| undefined;
|
|
31
|
-
/**
|
|
32
|
-
* The height at which the upgrade must be performed.
|
|
33
|
-
* Only used if Time is not set.
|
|
34
|
-
*/
|
|
31
|
+
/** The height at which the upgrade must be performed. */
|
|
35
32
|
height: number;
|
|
36
33
|
/**
|
|
37
34
|
* Any application specific upgrade info to be included on-chain
|
|
@@ -57,8 +54,11 @@ export interface Plan {
|
|
|
57
54
|
* @deprecated
|
|
58
55
|
*/
|
|
59
56
|
export interface SoftwareUpgradeProposal {
|
|
57
|
+
/** title of the proposal */
|
|
60
58
|
title: string;
|
|
59
|
+
/** description of the proposal */
|
|
61
60
|
description: string;
|
|
61
|
+
/** plan of the proposal */
|
|
62
62
|
plan: Plan | undefined;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -71,7 +71,9 @@ export interface SoftwareUpgradeProposal {
|
|
|
71
71
|
* @deprecated
|
|
72
72
|
*/
|
|
73
73
|
export interface CancelSoftwareUpgradeProposal {
|
|
74
|
+
/** title of the proposal */
|
|
74
75
|
title: string;
|
|
76
|
+
/** description of the proposal */
|
|
75
77
|
description: string;
|
|
76
78
|
}
|
|
77
79
|
|
|
@@ -272,13 +272,16 @@ export const MsgChannelOpenTry = {
|
|
|
272
272
|
},
|
|
273
273
|
};
|
|
274
274
|
function createBaseMsgChannelOpenTryResponse() {
|
|
275
|
-
return { version: "" };
|
|
275
|
+
return { version: "", channelId: "" };
|
|
276
276
|
}
|
|
277
277
|
export const MsgChannelOpenTryResponse = {
|
|
278
278
|
encode(message, writer = _m0.Writer.create()) {
|
|
279
279
|
if (message.version !== "") {
|
|
280
280
|
writer.uint32(10).string(message.version);
|
|
281
281
|
}
|
|
282
|
+
if (message.channelId !== "") {
|
|
283
|
+
writer.uint32(18).string(message.channelId);
|
|
284
|
+
}
|
|
282
285
|
return writer;
|
|
283
286
|
},
|
|
284
287
|
decode(input, length) {
|
|
@@ -291,6 +294,9 @@ export const MsgChannelOpenTryResponse = {
|
|
|
291
294
|
case 1:
|
|
292
295
|
message.version = reader.string();
|
|
293
296
|
break;
|
|
297
|
+
case 2:
|
|
298
|
+
message.channelId = reader.string();
|
|
299
|
+
break;
|
|
294
300
|
default:
|
|
295
301
|
reader.skipType(tag & 7);
|
|
296
302
|
break;
|
|
@@ -299,16 +305,21 @@ export const MsgChannelOpenTryResponse = {
|
|
|
299
305
|
return message;
|
|
300
306
|
},
|
|
301
307
|
fromJSON(object) {
|
|
302
|
-
return {
|
|
308
|
+
return {
|
|
309
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
310
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
311
|
+
};
|
|
303
312
|
},
|
|
304
313
|
toJSON(message) {
|
|
305
314
|
const obj = {};
|
|
306
315
|
message.version !== undefined && (obj.version = message.version);
|
|
316
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
307
317
|
return obj;
|
|
308
318
|
},
|
|
309
319
|
fromPartial(object) {
|
|
310
320
|
const message = createBaseMsgChannelOpenTryResponse();
|
|
311
321
|
message.version = object.version ?? "";
|
|
322
|
+
message.channelId = object.channelId ?? "";
|
|
312
323
|
return message;
|
|
313
324
|
},
|
|
314
325
|
};
|
|
@@ -89,6 +89,7 @@ export interface MsgChannelOpenTry {
|
|
|
89
89
|
/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */
|
|
90
90
|
export interface MsgChannelOpenTryResponse {
|
|
91
91
|
version: string;
|
|
92
|
+
channelId: string;
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
/**
|
|
@@ -462,7 +463,7 @@ export const MsgChannelOpenTry = {
|
|
|
462
463
|
};
|
|
463
464
|
|
|
464
465
|
function createBaseMsgChannelOpenTryResponse(): MsgChannelOpenTryResponse {
|
|
465
|
-
return { version: "" };
|
|
466
|
+
return { version: "", channelId: "" };
|
|
466
467
|
}
|
|
467
468
|
|
|
468
469
|
export const MsgChannelOpenTryResponse = {
|
|
@@ -470,6 +471,9 @@ export const MsgChannelOpenTryResponse = {
|
|
|
470
471
|
if (message.version !== "") {
|
|
471
472
|
writer.uint32(10).string(message.version);
|
|
472
473
|
}
|
|
474
|
+
if (message.channelId !== "") {
|
|
475
|
+
writer.uint32(18).string(message.channelId);
|
|
476
|
+
}
|
|
473
477
|
return writer;
|
|
474
478
|
},
|
|
475
479
|
|
|
@@ -483,6 +487,9 @@ export const MsgChannelOpenTryResponse = {
|
|
|
483
487
|
case 1:
|
|
484
488
|
message.version = reader.string();
|
|
485
489
|
break;
|
|
490
|
+
case 2:
|
|
491
|
+
message.channelId = reader.string();
|
|
492
|
+
break;
|
|
486
493
|
default:
|
|
487
494
|
reader.skipType(tag & 7);
|
|
488
495
|
break;
|
|
@@ -492,18 +499,23 @@ export const MsgChannelOpenTryResponse = {
|
|
|
492
499
|
},
|
|
493
500
|
|
|
494
501
|
fromJSON(object: any): MsgChannelOpenTryResponse {
|
|
495
|
-
return {
|
|
502
|
+
return {
|
|
503
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
504
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
505
|
+
};
|
|
496
506
|
},
|
|
497
507
|
|
|
498
508
|
toJSON(message: MsgChannelOpenTryResponse): unknown {
|
|
499
509
|
const obj: any = {};
|
|
500
510
|
message.version !== undefined && (obj.version = message.version);
|
|
511
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
501
512
|
return obj;
|
|
502
513
|
},
|
|
503
514
|
|
|
504
515
|
fromPartial<I extends Exact<DeepPartial<MsgChannelOpenTryResponse>, I>>(object: I): MsgChannelOpenTryResponse {
|
|
505
516
|
const message = createBaseMsgChannelOpenTryResponse();
|
|
506
517
|
message.version = object.version ?? "";
|
|
518
|
+
message.channelId = object.channelId ?? "";
|
|
507
519
|
return message;
|
|
508
520
|
},
|
|
509
521
|
};
|
|
@@ -103,7 +103,11 @@ export interface Height {
|
|
|
103
103
|
|
|
104
104
|
/** Params defines the set of IBC light client parameters. */
|
|
105
105
|
export interface Params {
|
|
106
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* allowed_clients defines the list of allowed client state types which can be created
|
|
108
|
+
* and interacted with. If a client type is removed from the allowed clients list, usage
|
|
109
|
+
* of this client will be disabled until it is added again to the list.
|
|
110
|
+
*/
|
|
107
111
|
allowedClients: string[];
|
|
108
112
|
}
|
|
109
113
|
|
|
@@ -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';
|
|
@@ -325,7 +325,11 @@ export type V1MsgUpgradeClientResponse = object;
|
|
|
325
325
|
* Params defines the set of IBC light client parameters.
|
|
326
326
|
*/
|
|
327
327
|
export interface V1Params {
|
|
328
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* allowed_clients defines the list of allowed client state types which can be created
|
|
330
|
+
* and interacted with. If a client type is removed from the allowed clients list, usage
|
|
331
|
+
* of this client will be disabled until it is added again to the list.
|
|
332
|
+
*/
|
|
329
333
|
allowed_clients?: string[];
|
|
330
334
|
}
|
|
331
335
|
|
|
@@ -28,10 +28,7 @@ export interface Plan {
|
|
|
28
28
|
time:
|
|
29
29
|
| Date
|
|
30
30
|
| undefined;
|
|
31
|
-
/**
|
|
32
|
-
* The height at which the upgrade must be performed.
|
|
33
|
-
* Only used if Time is not set.
|
|
34
|
-
*/
|
|
31
|
+
/** The height at which the upgrade must be performed. */
|
|
35
32
|
height: number;
|
|
36
33
|
/**
|
|
37
34
|
* Any application specific upgrade info to be included on-chain
|
|
@@ -57,8 +54,11 @@ export interface Plan {
|
|
|
57
54
|
* @deprecated
|
|
58
55
|
*/
|
|
59
56
|
export interface SoftwareUpgradeProposal {
|
|
57
|
+
/** title of the proposal */
|
|
60
58
|
title: string;
|
|
59
|
+
/** description of the proposal */
|
|
61
60
|
description: string;
|
|
61
|
+
/** plan of the proposal */
|
|
62
62
|
plan: Plan | undefined;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -71,7 +71,9 @@ export interface SoftwareUpgradeProposal {
|
|
|
71
71
|
* @deprecated
|
|
72
72
|
*/
|
|
73
73
|
export interface CancelSoftwareUpgradeProposal {
|
|
74
|
+
/** title of the proposal */
|
|
74
75
|
title: string;
|
|
76
|
+
/** description of the proposal */
|
|
75
77
|
description: string;
|
|
76
78
|
}
|
|
77
79
|
|
|
@@ -103,7 +103,11 @@ export interface Height {
|
|
|
103
103
|
|
|
104
104
|
/** Params defines the set of IBC light client parameters. */
|
|
105
105
|
export interface Params {
|
|
106
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* allowed_clients defines the list of allowed client state types which can be created
|
|
108
|
+
* and interacted with. If a client type is removed from the allowed clients list, usage
|
|
109
|
+
* of this client will be disabled until it is added again to the list.
|
|
110
|
+
*/
|
|
107
111
|
allowedClients: string[];
|
|
108
112
|
}
|
|
109
113
|
|