decentralcardgame-cardchain-client-ts 0.0.11 → 0.0.12
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 +350 -327
- package/DecentralCardGame.cardchain.cardchain/module.ts +517 -484
- package/DecentralCardGame.cardchain.cardchain/registry.js +74 -72
- package/DecentralCardGame.cardchain.cardchain/registry.ts +74 -72
- package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/rest.ts +12 -1
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/genesis.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/genesis.ts +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match.js +101 -3
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match.ts +103 -3
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/params.js +10 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/params.ts +11 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/query.js +2 -4
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/query.ts +2 -4
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/tx.js +190 -122
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/tx.ts +220 -144
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/user.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/user.ts +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voteing.js +346 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voteing.ts +417 -0
- package/DecentralCardGame.cardchain.cardchain/types.js +23 -23
- package/DecentralCardGame.cardchain.cardchain/types.ts +25 -25
- package/client.js +8 -8
- package/client.ts +11 -12
- package/cosmos.auth.v1beta1/module.js +0 -2
- package/cosmos.auth.v1beta1/module.ts +0 -2
- package/cosmos.auth.v1beta1/rest.js +3 -18
- package/cosmos.auth.v1beta1/rest.ts +3 -113
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +3 -104
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
- package/cosmos.auth.v1beta1/types.js +1 -2
- package/cosmos.auth.v1beta1/types.ts +0 -2
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.bank.v1beta1/rest.js +6 -37
- package/cosmos.bank.v1beta1/rest.ts +6 -99
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +2 -18
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +2 -18
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1 -230
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +1 -206
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
- package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
- package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
- package/cosmos.crisis.v1beta1/module.js +1 -24
- package/cosmos.crisis.v1beta1/module.ts +1 -34
- package/cosmos.crisis.v1beta1/registry.js +0 -2
- package/cosmos.crisis.v1beta1/registry.ts +0 -2
- package/cosmos.crisis.v1beta1/rest.ts +0 -19
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -95
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
- package/cosmos.distribution.v1beta1/module.js +9 -55
- package/cosmos.distribution.v1beta1/module.ts +13 -79
- package/cosmos.distribution.v1beta1/registry.js +2 -6
- package/cosmos.distribution.v1beta1/registry.ts +2 -6
- package/cosmos.distribution.v1beta1/rest.js +0 -14
- package/cosmos.distribution.v1beta1/rest.ts +7 -66
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -120
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -199
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
- package/cosmos.evidence.v1beta1/rest.js +3 -4
- package/cosmos.evidence.v1beta1/rest.ts +3 -4
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +2 -13
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
- package/cosmos.gov.v1/module.js +9 -34
- package/cosmos.gov.v1/module.ts +13 -48
- package/cosmos.gov.v1/registry.js +2 -4
- package/cosmos.gov.v1/registry.ts +2 -4
- package/cosmos.gov.v1/rest.ts +41 -155
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +1 -13
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -179
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +2 -13
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +2 -113
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
- package/cosmos.gov.v1/types.js +1 -2
- package/cosmos.gov.v1/types.ts +0 -2
- package/cosmos.gov.v1beta1/module.js +31 -31
- package/cosmos.gov.v1beta1/module.ts +47 -47
- package/cosmos.gov.v1beta1/registry.js +4 -4
- package/cosmos.gov.v1beta1/registry.ts +4 -4
- package/cosmos.gov.v1beta1/rest.ts +96 -65
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
- package/cosmos.group.v1/module.js +104 -104
- package/cosmos.group.v1/module.ts +155 -155
- package/cosmos.group.v1/registry.js +18 -18
- package/cosmos.group.v1/registry.ts +18 -18
- package/cosmos.group.v1/rest.js +3 -3
- package/cosmos.group.v1/rest.ts +9 -29
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.js +34 -52
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
- package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -20
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
- package/cosmos.mint.v1beta1/rest.ts +1 -9
- 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.nft.v1beta1/rest.ts +22 -18
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
- package/cosmos.slashing.v1beta1/rest.ts +0 -8
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -94
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
- package/cosmos.staking.v1beta1/module.js +40 -42
- package/cosmos.staking.v1beta1/module.ts +60 -62
- package/cosmos.staking.v1beta1/registry.js +8 -8
- package/cosmos.staking.v1beta1/registry.ts +8 -8
- package/cosmos.staking.v1beta1/rest.js +7 -7
- package/cosmos.staking.v1beta1/rest.ts +8 -49
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +2 -180
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +1 -94
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
- package/cosmos.staking.v1beta1/types.js +1 -2
- package/cosmos.staking.v1beta1/types.ts +0 -2
- package/cosmos.tx.v1beta1/rest.js +2 -66
- package/cosmos.tx.v1beta1/rest.ts +16 -177
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +2 -360
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +266 -592
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
- package/cosmos.tx.v1beta1/types/tendermint/types/params.js +17 -8
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
- package/cosmos.upgrade.v1beta1/rest.ts +1 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/cosmos.vesting.v1beta1/module.js +16 -16
- package/cosmos.vesting.v1beta1/module.ts +24 -24
- package/cosmos.vesting.v1beta1/registry.js +2 -2
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -13
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
- package/ibc.applications.transfer.v1/module.js +27 -5
- package/ibc.applications.transfer.v1/module.ts +34 -5
- package/ibc.applications.transfer.v1/registry.js +4 -1
- package/ibc.applications.transfer.v1/registry.ts +2 -0
- package/ibc.applications.transfer.v1/rest.js +1 -15
- package/ibc.applications.transfer.v1/rest.ts +1 -30
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +1 -16
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +2 -23
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -91
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.applications.transfer.v1/types.js +1 -3
- package/ibc.applications.transfer.v1/types.ts +0 -4
- package/ibc.core.channel.v1/rest.ts +0 -1
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +2 -13
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +2 -14
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.client.v1/rest.ts +1 -5
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +8 -9
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +1 -5
- 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 +0 -26
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
- package/ibc.core.connection.v1/types/{cosmos/ics23/v1/proofs.js → proofs.js} +1 -1
- package/ibc.core.connection.v1/types/{cosmos/ics23/v1/proofs.ts → proofs.ts} +1 -1
- package/index.js +1 -3
- package/index.ts +1 -3
- package/package.json +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/vote_right.js +0 -84
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/vote_right.ts +0 -114
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_result.js +0 -127
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_result.ts +0 -161
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_results.js +0 -148
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_results.ts +0 -182
- package/DecentralCardGame.cardchain.cardchain/types/amino/amino.js +0 -2
- package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +0 -2
- package/cosmos.auth.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.auth.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +0 -105
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +0 -172
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +0 -2
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +0 -2
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +0 -2
- package/cosmos.authz.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.authz.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.bank.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.bank.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +0 -2
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +0 -2
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.consensus.v1/index.js +0 -5
- package/cosmos.consensus.v1/index.ts +0 -6
- package/cosmos.consensus.v1/module.js +0 -81
- package/cosmos.consensus.v1/module.ts +0 -129
- package/cosmos.consensus.v1/registry.js +0 -5
- package/cosmos.consensus.v1/registry.ts +0 -9
- package/cosmos.consensus.v1/rest.js +0 -100
- package/cosmos.consensus.v1/rest.ts +0 -268
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +0 -94
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +0 -147
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +0 -129
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +0 -196
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +0 -2
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +0 -247
- package/cosmos.consensus.v1/types/gogoproto/gogo.js +0 -2
- package/cosmos.consensus.v1/types/gogoproto/gogo.ts +0 -2
- package/cosmos.consensus.v1/types/google/api/annotations.js +0 -2
- package/cosmos.consensus.v1/types/google/api/annotations.ts +0 -2
- package/cosmos.consensus.v1/types/google/api/http.js +0 -260
- package/cosmos.consensus.v1/types/google/api/http.ts +0 -589
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +0 -3753
- package/cosmos.consensus.v1/types/google/protobuf/duration.js +0 -84
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +0 -187
- package/cosmos.consensus.v1/types/tendermint/types/params.js +0 -369
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +0 -498
- package/cosmos.consensus.v1/types.js +0 -1
- package/cosmos.consensus.v1/types.ts +0 -5
- package/cosmos.crisis.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.distribution.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.evidence.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.feegrant.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.gov.v1/types/amino/amino.js +0 -2
- package/cosmos.gov.v1/types/amino/amino.ts +0 -2
- package/cosmos.gov.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.gov.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.group.v1/types/amino/amino.js +0 -2
- package/cosmos.group.v1/types/amino/amino.ts +0 -2
- package/cosmos.mint.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.mint.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +0 -105
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +0 -172
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +0 -2
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +0 -247
- package/cosmos.params.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.params.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.slashing.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.staking.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.staking.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +0 -2
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +0 -2
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.js +0 -3812
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +0 -4525
- package/cosmos.staking.v1beta1/types/tendermint/types/params.js +0 -369
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +0 -498
- package/cosmos.tx.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.tx.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.upgrade.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.vesting.v1beta1/types/amino/amino.js +0 -2
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +0 -2
- package/ibc.applications.transfer.v1/types/amino/amino.js +0 -2
- package/ibc.applications.transfer.v1/types/amino/amino.ts +0 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +0 -135
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +0 -178
- package/ibc.core.channel.v1/types/amino/amino.js +0 -2
- package/ibc.core.channel.v1/types/amino/amino.ts +0 -2
- package/ibc.core.client.v1/types/amino/amino.js +0 -2
- package/ibc.core.client.v1/types/amino/amino.ts +0 -2
- package/ibc.core.connection.v1/types/amino/amino.js +0 -2
- package/ibc.core.connection.v1/types/amino/amino.ts +0 -2
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/card.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/card.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection_proposal.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/collection_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/copyright_proposal.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/copyright_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/council.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/council.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/image.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/image.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match_reporter_proposal.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match_reporter_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/num.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/num.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/running_average.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/running_average.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/sell_offer.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/sell_offer.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/server.js +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/server.ts +0 -0
|
@@ -27,13 +27,13 @@ export interface MsgCreateClientResponse {
|
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
|
|
30
|
-
* the given
|
|
30
|
+
* the given header.
|
|
31
31
|
*/
|
|
32
32
|
export interface MsgUpdateClient {
|
|
33
33
|
/** client unique identifier */
|
|
34
34
|
clientId: string;
|
|
35
|
-
/**
|
|
36
|
-
|
|
35
|
+
/** header to update the light client */
|
|
36
|
+
header:
|
|
37
37
|
| Any
|
|
38
38
|
| undefined;
|
|
39
39
|
/** signer address */
|
|
@@ -77,28 +77,15 @@ export interface MsgUpgradeClientResponse {
|
|
|
77
77
|
/**
|
|
78
78
|
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
|
|
79
79
|
* light client misbehaviour.
|
|
80
|
-
* Warning: DEPRECATED
|
|
81
80
|
*/
|
|
82
81
|
export interface MsgSubmitMisbehaviour {
|
|
83
|
-
/**
|
|
84
|
-
* client unique identifier
|
|
85
|
-
*
|
|
86
|
-
* @deprecated
|
|
87
|
-
*/
|
|
82
|
+
/** client unique identifier */
|
|
88
83
|
clientId: string;
|
|
89
|
-
/**
|
|
90
|
-
* misbehaviour used for freezing the light client
|
|
91
|
-
*
|
|
92
|
-
* @deprecated
|
|
93
|
-
*/
|
|
84
|
+
/** misbehaviour used for freezing the light client */
|
|
94
85
|
misbehaviour:
|
|
95
86
|
| Any
|
|
96
87
|
| undefined;
|
|
97
|
-
/**
|
|
98
|
-
* signer address
|
|
99
|
-
*
|
|
100
|
-
* @deprecated
|
|
101
|
-
*/
|
|
88
|
+
/** signer address */
|
|
102
89
|
signer: string;
|
|
103
90
|
}
|
|
104
91
|
|
|
@@ -222,7 +209,7 @@ export const MsgCreateClientResponse = {
|
|
|
222
209
|
};
|
|
223
210
|
|
|
224
211
|
function createBaseMsgUpdateClient(): MsgUpdateClient {
|
|
225
|
-
return { clientId: "",
|
|
212
|
+
return { clientId: "", header: undefined, signer: "" };
|
|
226
213
|
}
|
|
227
214
|
|
|
228
215
|
export const MsgUpdateClient = {
|
|
@@ -230,8 +217,8 @@ export const MsgUpdateClient = {
|
|
|
230
217
|
if (message.clientId !== "") {
|
|
231
218
|
writer.uint32(10).string(message.clientId);
|
|
232
219
|
}
|
|
233
|
-
if (message.
|
|
234
|
-
Any.encode(message.
|
|
220
|
+
if (message.header !== undefined) {
|
|
221
|
+
Any.encode(message.header, writer.uint32(18).fork()).ldelim();
|
|
235
222
|
}
|
|
236
223
|
if (message.signer !== "") {
|
|
237
224
|
writer.uint32(26).string(message.signer);
|
|
@@ -250,7 +237,7 @@ export const MsgUpdateClient = {
|
|
|
250
237
|
message.clientId = reader.string();
|
|
251
238
|
break;
|
|
252
239
|
case 2:
|
|
253
|
-
message.
|
|
240
|
+
message.header = Any.decode(reader, reader.uint32());
|
|
254
241
|
break;
|
|
255
242
|
case 3:
|
|
256
243
|
message.signer = reader.string();
|
|
@@ -266,7 +253,7 @@ export const MsgUpdateClient = {
|
|
|
266
253
|
fromJSON(object: any): MsgUpdateClient {
|
|
267
254
|
return {
|
|
268
255
|
clientId: isSet(object.clientId) ? String(object.clientId) : "",
|
|
269
|
-
|
|
256
|
+
header: isSet(object.header) ? Any.fromJSON(object.header) : undefined,
|
|
270
257
|
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
271
258
|
};
|
|
272
259
|
},
|
|
@@ -274,8 +261,7 @@ export const MsgUpdateClient = {
|
|
|
274
261
|
toJSON(message: MsgUpdateClient): unknown {
|
|
275
262
|
const obj: any = {};
|
|
276
263
|
message.clientId !== undefined && (obj.clientId = message.clientId);
|
|
277
|
-
message.
|
|
278
|
-
&& (obj.clientMessage = message.clientMessage ? Any.toJSON(message.clientMessage) : undefined);
|
|
264
|
+
message.header !== undefined && (obj.header = message.header ? Any.toJSON(message.header) : undefined);
|
|
279
265
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
280
266
|
return obj;
|
|
281
267
|
},
|
|
@@ -283,8 +269,8 @@ export const MsgUpdateClient = {
|
|
|
283
269
|
fromPartial<I extends Exact<DeepPartial<MsgUpdateClient>, I>>(object: I): MsgUpdateClient {
|
|
284
270
|
const message = createBaseMsgUpdateClient();
|
|
285
271
|
message.clientId = object.clientId ?? "";
|
|
286
|
-
message.
|
|
287
|
-
? Any.fromPartial(object.
|
|
272
|
+
message.header = (object.header !== undefined && object.header !== null)
|
|
273
|
+
? Any.fromPartial(object.header)
|
|
288
274
|
: undefined;
|
|
289
275
|
message.signer = object.signer ?? "";
|
|
290
276
|
return message;
|
|
@@ -28,7 +28,10 @@ export interface Plan {
|
|
|
28
28
|
time:
|
|
29
29
|
| Date
|
|
30
30
|
| undefined;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The height at which the upgrade must be performed.
|
|
33
|
+
* Only used if Time is not set.
|
|
34
|
+
*/
|
|
32
35
|
height: number;
|
|
33
36
|
/**
|
|
34
37
|
* Any application specific upgrade info to be included on-chain
|
|
@@ -54,11 +57,8 @@ export interface Plan {
|
|
|
54
57
|
* @deprecated
|
|
55
58
|
*/
|
|
56
59
|
export interface SoftwareUpgradeProposal {
|
|
57
|
-
/** title of the proposal */
|
|
58
60
|
title: string;
|
|
59
|
-
/** description of the proposal */
|
|
60
61
|
description: string;
|
|
61
|
-
/** plan of the proposal */
|
|
62
62
|
plan: Plan | undefined;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -71,9 +71,7 @@ export interface SoftwareUpgradeProposal {
|
|
|
71
71
|
* @deprecated
|
|
72
72
|
*/
|
|
73
73
|
export interface CancelSoftwareUpgradeProposal {
|
|
74
|
-
/** title of the proposal */
|
|
75
74
|
title: string;
|
|
76
|
-
/** description of the proposal */
|
|
77
75
|
description: string;
|
|
78
76
|
}
|
|
79
77
|
|
|
@@ -103,11 +103,7 @@ export interface Height {
|
|
|
103
103
|
|
|
104
104
|
/** Params defines the set of IBC light client parameters. */
|
|
105
105
|
export interface Params {
|
|
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
|
-
*/
|
|
106
|
+
/** allowed_clients defines the list of allowed client state types. */
|
|
111
107
|
allowedClients: string[];
|
|
112
108
|
}
|
|
113
109
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { CommitmentProof } from "../../../../
|
|
3
|
+
import { CommitmentProof } from "../../../../proofs";
|
|
4
4
|
export const protobufPackage = "ibc.core.commitment.v1";
|
|
5
5
|
function createBaseMerkleRoot() {
|
|
6
6
|
return { hash: new Uint8Array() };
|
|
@@ -136,7 +136,6 @@ function createBaseMsgConnectionOpenTry() {
|
|
|
136
136
|
proofConsensus: new Uint8Array(),
|
|
137
137
|
consensusHeight: undefined,
|
|
138
138
|
signer: "",
|
|
139
|
-
hostConsensusStateProof: new Uint8Array(),
|
|
140
139
|
};
|
|
141
140
|
}
|
|
142
141
|
export const MsgConnectionOpenTry = {
|
|
@@ -177,9 +176,6 @@ export const MsgConnectionOpenTry = {
|
|
|
177
176
|
if (message.signer !== "") {
|
|
178
177
|
writer.uint32(98).string(message.signer);
|
|
179
178
|
}
|
|
180
|
-
if (message.hostConsensusStateProof.length !== 0) {
|
|
181
|
-
writer.uint32(106).bytes(message.hostConsensusStateProof);
|
|
182
|
-
}
|
|
183
179
|
return writer;
|
|
184
180
|
},
|
|
185
181
|
decode(input, length) {
|
|
@@ -225,9 +221,6 @@ export const MsgConnectionOpenTry = {
|
|
|
225
221
|
case 12:
|
|
226
222
|
message.signer = reader.string();
|
|
227
223
|
break;
|
|
228
|
-
case 13:
|
|
229
|
-
message.hostConsensusStateProof = reader.bytes();
|
|
230
|
-
break;
|
|
231
224
|
default:
|
|
232
225
|
reader.skipType(tag & 7);
|
|
233
226
|
break;
|
|
@@ -251,9 +244,6 @@ export const MsgConnectionOpenTry = {
|
|
|
251
244
|
proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(),
|
|
252
245
|
consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined,
|
|
253
246
|
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
254
|
-
hostConsensusStateProof: isSet(object.hostConsensusStateProof)
|
|
255
|
-
? bytesFromBase64(object.hostConsensusStateProof)
|
|
256
|
-
: new Uint8Array(),
|
|
257
247
|
};
|
|
258
248
|
},
|
|
259
249
|
toJSON(message) {
|
|
@@ -282,8 +272,6 @@ export const MsgConnectionOpenTry = {
|
|
|
282
272
|
message.consensusHeight !== undefined
|
|
283
273
|
&& (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined);
|
|
284
274
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
285
|
-
message.hostConsensusStateProof !== undefined
|
|
286
|
-
&& (obj.hostConsensusStateProof = base64FromBytes(message.hostConsensusStateProof !== undefined ? message.hostConsensusStateProof : new Uint8Array()));
|
|
287
275
|
return obj;
|
|
288
276
|
},
|
|
289
277
|
fromPartial(object) {
|
|
@@ -308,7 +296,6 @@ export const MsgConnectionOpenTry = {
|
|
|
308
296
|
? Height.fromPartial(object.consensusHeight)
|
|
309
297
|
: undefined;
|
|
310
298
|
message.signer = object.signer ?? "";
|
|
311
|
-
message.hostConsensusStateProof = object.hostConsensusStateProof ?? new Uint8Array();
|
|
312
299
|
return message;
|
|
313
300
|
},
|
|
314
301
|
};
|
|
@@ -357,7 +344,6 @@ function createBaseMsgConnectionOpenAck() {
|
|
|
357
344
|
proofConsensus: new Uint8Array(),
|
|
358
345
|
consensusHeight: undefined,
|
|
359
346
|
signer: "",
|
|
360
|
-
hostConsensusStateProof: new Uint8Array(),
|
|
361
347
|
};
|
|
362
348
|
}
|
|
363
349
|
export const MsgConnectionOpenAck = {
|
|
@@ -392,9 +378,6 @@ export const MsgConnectionOpenAck = {
|
|
|
392
378
|
if (message.signer !== "") {
|
|
393
379
|
writer.uint32(82).string(message.signer);
|
|
394
380
|
}
|
|
395
|
-
if (message.hostConsensusStateProof.length !== 0) {
|
|
396
|
-
writer.uint32(90).bytes(message.hostConsensusStateProof);
|
|
397
|
-
}
|
|
398
381
|
return writer;
|
|
399
382
|
},
|
|
400
383
|
decode(input, length) {
|
|
@@ -434,9 +417,6 @@ export const MsgConnectionOpenAck = {
|
|
|
434
417
|
case 10:
|
|
435
418
|
message.signer = reader.string();
|
|
436
419
|
break;
|
|
437
|
-
case 11:
|
|
438
|
-
message.hostConsensusStateProof = reader.bytes();
|
|
439
|
-
break;
|
|
440
420
|
default:
|
|
441
421
|
reader.skipType(tag & 7);
|
|
442
422
|
break;
|
|
@@ -456,9 +436,6 @@ export const MsgConnectionOpenAck = {
|
|
|
456
436
|
proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(),
|
|
457
437
|
consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined,
|
|
458
438
|
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
459
|
-
hostConsensusStateProof: isSet(object.hostConsensusStateProof)
|
|
460
|
-
? bytesFromBase64(object.hostConsensusStateProof)
|
|
461
|
-
: new Uint8Array(),
|
|
462
439
|
};
|
|
463
440
|
},
|
|
464
441
|
toJSON(message) {
|
|
@@ -479,8 +456,6 @@ export const MsgConnectionOpenAck = {
|
|
|
479
456
|
message.consensusHeight !== undefined
|
|
480
457
|
&& (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined);
|
|
481
458
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
482
|
-
message.hostConsensusStateProof !== undefined
|
|
483
|
-
&& (obj.hostConsensusStateProof = base64FromBytes(message.hostConsensusStateProof !== undefined ? message.hostConsensusStateProof : new Uint8Array()));
|
|
484
459
|
return obj;
|
|
485
460
|
},
|
|
486
461
|
fromPartial(object) {
|
|
@@ -503,7 +478,6 @@ export const MsgConnectionOpenAck = {
|
|
|
503
478
|
? Height.fromPartial(object.consensusHeight)
|
|
504
479
|
: undefined;
|
|
505
480
|
message.signer = object.signer ?? "";
|
|
506
|
-
message.hostConsensusStateProof = object.hostConsensusStateProof ?? new Uint8Array();
|
|
507
481
|
return message;
|
|
508
482
|
},
|
|
509
483
|
};
|
|
@@ -56,8 +56,6 @@ export interface MsgConnectionOpenTry {
|
|
|
56
56
|
proofConsensus: Uint8Array;
|
|
57
57
|
consensusHeight: Height | undefined;
|
|
58
58
|
signer: string;
|
|
59
|
-
/** optional proof data for host state machines that are unable to introspect their own consensus state */
|
|
60
|
-
hostConsensusStateProof: Uint8Array;
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
|
@@ -87,8 +85,6 @@ export interface MsgConnectionOpenAck {
|
|
|
87
85
|
proofConsensus: Uint8Array;
|
|
88
86
|
consensusHeight: Height | undefined;
|
|
89
87
|
signer: string;
|
|
90
|
-
/** optional proof data for host state machines that are unable to introspect their own consensus state */
|
|
91
|
-
hostConsensusStateProof: Uint8Array;
|
|
92
88
|
}
|
|
93
89
|
|
|
94
90
|
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
|
@@ -257,7 +253,6 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry {
|
|
|
257
253
|
proofConsensus: new Uint8Array(),
|
|
258
254
|
consensusHeight: undefined,
|
|
259
255
|
signer: "",
|
|
260
|
-
hostConsensusStateProof: new Uint8Array(),
|
|
261
256
|
};
|
|
262
257
|
}
|
|
263
258
|
|
|
@@ -299,9 +294,6 @@ export const MsgConnectionOpenTry = {
|
|
|
299
294
|
if (message.signer !== "") {
|
|
300
295
|
writer.uint32(98).string(message.signer);
|
|
301
296
|
}
|
|
302
|
-
if (message.hostConsensusStateProof.length !== 0) {
|
|
303
|
-
writer.uint32(106).bytes(message.hostConsensusStateProof);
|
|
304
|
-
}
|
|
305
297
|
return writer;
|
|
306
298
|
},
|
|
307
299
|
|
|
@@ -348,9 +340,6 @@ export const MsgConnectionOpenTry = {
|
|
|
348
340
|
case 12:
|
|
349
341
|
message.signer = reader.string();
|
|
350
342
|
break;
|
|
351
|
-
case 13:
|
|
352
|
-
message.hostConsensusStateProof = reader.bytes();
|
|
353
|
-
break;
|
|
354
343
|
default:
|
|
355
344
|
reader.skipType(tag & 7);
|
|
356
345
|
break;
|
|
@@ -375,9 +364,6 @@ export const MsgConnectionOpenTry = {
|
|
|
375
364
|
proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(),
|
|
376
365
|
consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined,
|
|
377
366
|
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
378
|
-
hostConsensusStateProof: isSet(object.hostConsensusStateProof)
|
|
379
|
-
? bytesFromBase64(object.hostConsensusStateProof)
|
|
380
|
-
: new Uint8Array(),
|
|
381
367
|
};
|
|
382
368
|
},
|
|
383
369
|
|
|
@@ -410,10 +396,6 @@ export const MsgConnectionOpenTry = {
|
|
|
410
396
|
message.consensusHeight !== undefined
|
|
411
397
|
&& (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined);
|
|
412
398
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
413
|
-
message.hostConsensusStateProof !== undefined
|
|
414
|
-
&& (obj.hostConsensusStateProof = base64FromBytes(
|
|
415
|
-
message.hostConsensusStateProof !== undefined ? message.hostConsensusStateProof : new Uint8Array(),
|
|
416
|
-
));
|
|
417
399
|
return obj;
|
|
418
400
|
},
|
|
419
401
|
|
|
@@ -439,7 +421,6 @@ export const MsgConnectionOpenTry = {
|
|
|
439
421
|
? Height.fromPartial(object.consensusHeight)
|
|
440
422
|
: undefined;
|
|
441
423
|
message.signer = object.signer ?? "";
|
|
442
|
-
message.hostConsensusStateProof = object.hostConsensusStateProof ?? new Uint8Array();
|
|
443
424
|
return message;
|
|
444
425
|
},
|
|
445
426
|
};
|
|
@@ -495,7 +476,6 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck {
|
|
|
495
476
|
proofConsensus: new Uint8Array(),
|
|
496
477
|
consensusHeight: undefined,
|
|
497
478
|
signer: "",
|
|
498
|
-
hostConsensusStateProof: new Uint8Array(),
|
|
499
479
|
};
|
|
500
480
|
}
|
|
501
481
|
|
|
@@ -531,9 +511,6 @@ export const MsgConnectionOpenAck = {
|
|
|
531
511
|
if (message.signer !== "") {
|
|
532
512
|
writer.uint32(82).string(message.signer);
|
|
533
513
|
}
|
|
534
|
-
if (message.hostConsensusStateProof.length !== 0) {
|
|
535
|
-
writer.uint32(90).bytes(message.hostConsensusStateProof);
|
|
536
|
-
}
|
|
537
514
|
return writer;
|
|
538
515
|
},
|
|
539
516
|
|
|
@@ -574,9 +551,6 @@ export const MsgConnectionOpenAck = {
|
|
|
574
551
|
case 10:
|
|
575
552
|
message.signer = reader.string();
|
|
576
553
|
break;
|
|
577
|
-
case 11:
|
|
578
|
-
message.hostConsensusStateProof = reader.bytes();
|
|
579
|
-
break;
|
|
580
554
|
default:
|
|
581
555
|
reader.skipType(tag & 7);
|
|
582
556
|
break;
|
|
@@ -597,9 +571,6 @@ export const MsgConnectionOpenAck = {
|
|
|
597
571
|
proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(),
|
|
598
572
|
consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined,
|
|
599
573
|
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
600
|
-
hostConsensusStateProof: isSet(object.hostConsensusStateProof)
|
|
601
|
-
? bytesFromBase64(object.hostConsensusStateProof)
|
|
602
|
-
: new Uint8Array(),
|
|
603
574
|
};
|
|
604
575
|
},
|
|
605
576
|
|
|
@@ -625,10 +596,6 @@ export const MsgConnectionOpenAck = {
|
|
|
625
596
|
message.consensusHeight !== undefined
|
|
626
597
|
&& (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined);
|
|
627
598
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
628
|
-
message.hostConsensusStateProof !== undefined
|
|
629
|
-
&& (obj.hostConsensusStateProof = base64FromBytes(
|
|
630
|
-
message.hostConsensusStateProof !== undefined ? message.hostConsensusStateProof : new Uint8Array(),
|
|
631
|
-
));
|
|
632
599
|
return obj;
|
|
633
600
|
},
|
|
634
601
|
|
|
@@ -652,7 +619,6 @@ export const MsgConnectionOpenAck = {
|
|
|
652
619
|
? Height.fromPartial(object.consensusHeight)
|
|
653
620
|
: undefined;
|
|
654
621
|
message.signer = object.signer ?? "";
|
|
655
|
-
message.hostConsensusStateProof = object.hostConsensusStateProof ?? new Uint8Array();
|
|
656
622
|
return message;
|
|
657
623
|
},
|
|
658
624
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export const protobufPackage = "
|
|
3
|
+
export const protobufPackage = "ics23";
|
|
4
4
|
export var HashOp;
|
|
5
5
|
(function (HashOp) {
|
|
6
6
|
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "
|
|
4
|
+
export const protobufPackage = "ics23";
|
|
5
5
|
|
|
6
6
|
export enum HashOp {
|
|
7
7
|
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
|
package/index.js
CHANGED
|
@@ -7,7 +7,6 @@ import { Module as CosmosAuthV1Beta1, msgTypes as CosmosAuthV1Beta1MsgTypes } fr
|
|
|
7
7
|
import { Module as CosmosAuthzV1Beta1, msgTypes as CosmosAuthzV1Beta1MsgTypes } from './cosmos.authz.v1beta1';
|
|
8
8
|
import { Module as CosmosBankV1Beta1, msgTypes as CosmosBankV1Beta1MsgTypes } from './cosmos.bank.v1beta1';
|
|
9
9
|
import { Module as CosmosBaseTendermintV1Beta1, msgTypes as CosmosBaseTendermintV1Beta1MsgTypes } from './cosmos.base.tendermint.v1beta1';
|
|
10
|
-
import { Module as CosmosConsensusV1, msgTypes as CosmosConsensusV1MsgTypes } from './cosmos.consensus.v1';
|
|
11
10
|
import { Module as CosmosCrisisV1Beta1, msgTypes as CosmosCrisisV1Beta1MsgTypes } from './cosmos.crisis.v1beta1';
|
|
12
11
|
import { Module as CosmosDistributionV1Beta1, msgTypes as CosmosDistributionV1Beta1MsgTypes } from './cosmos.distribution.v1beta1';
|
|
13
12
|
import { Module as CosmosEvidenceV1Beta1, msgTypes as CosmosEvidenceV1Beta1MsgTypes } from './cosmos.evidence.v1beta1';
|
|
@@ -30,7 +29,7 @@ import { Module as IbcCoreChannelV1, msgTypes as IbcCoreChannelV1MsgTypes } from
|
|
|
30
29
|
import { Module as IbcCoreClientV1, msgTypes as IbcCoreClientV1MsgTypes } from './ibc.core.client.v1';
|
|
31
30
|
import { Module as IbcCoreConnectionV1, msgTypes as IbcCoreConnectionV1MsgTypes } from './ibc.core.connection.v1';
|
|
32
31
|
const Client = IgniteClient.plugin([
|
|
33
|
-
DecentralCardGameCardchainCardchain, CosmosAuthV1Beta1, CosmosAuthzV1Beta1, CosmosBankV1Beta1, CosmosBaseTendermintV1Beta1,
|
|
32
|
+
DecentralCardGameCardchainCardchain, CosmosAuthV1Beta1, CosmosAuthzV1Beta1, CosmosBankV1Beta1, CosmosBaseTendermintV1Beta1, CosmosCrisisV1Beta1, CosmosDistributionV1Beta1, CosmosEvidenceV1Beta1, CosmosFeegrantV1Beta1, CosmosGovV1, CosmosGovV1Beta1, CosmosGroupV1, CosmosMintV1Beta1, CosmosNftV1Beta1, CosmosParamsV1Beta1, CosmosSlashingV1Beta1, CosmosStakingV1Beta1, CosmosTxV1Beta1, CosmosUpgradeV1Beta1, CosmosVestingV1Beta1, IbcApplicationsInterchainAccountsControllerV1, IbcApplicationsInterchainAccountsHostV1, IbcApplicationsTransferV1, IbcCoreChannelV1, IbcCoreClientV1, IbcCoreConnectionV1
|
|
34
33
|
]);
|
|
35
34
|
const registry = new Registry([
|
|
36
35
|
...DecentralCardGameCardchainCardchainMsgTypes,
|
|
@@ -38,7 +37,6 @@ const registry = new Registry([
|
|
|
38
37
|
...CosmosAuthzV1Beta1MsgTypes,
|
|
39
38
|
...CosmosBankV1Beta1MsgTypes,
|
|
40
39
|
...CosmosBaseTendermintV1Beta1MsgTypes,
|
|
41
|
-
...CosmosConsensusV1MsgTypes,
|
|
42
40
|
...CosmosCrisisV1Beta1MsgTypes,
|
|
43
41
|
...CosmosDistributionV1Beta1MsgTypes,
|
|
44
42
|
...CosmosEvidenceV1Beta1MsgTypes,
|
package/index.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { Module as CosmosAuthV1Beta1, msgTypes as CosmosAuthV1Beta1MsgTypes } fr
|
|
|
7
7
|
import { Module as CosmosAuthzV1Beta1, msgTypes as CosmosAuthzV1Beta1MsgTypes } from './cosmos.authz.v1beta1'
|
|
8
8
|
import { Module as CosmosBankV1Beta1, msgTypes as CosmosBankV1Beta1MsgTypes } from './cosmos.bank.v1beta1'
|
|
9
9
|
import { Module as CosmosBaseTendermintV1Beta1, msgTypes as CosmosBaseTendermintV1Beta1MsgTypes } from './cosmos.base.tendermint.v1beta1'
|
|
10
|
-
import { Module as CosmosConsensusV1, msgTypes as CosmosConsensusV1MsgTypes } from './cosmos.consensus.v1'
|
|
11
10
|
import { Module as CosmosCrisisV1Beta1, msgTypes as CosmosCrisisV1Beta1MsgTypes } from './cosmos.crisis.v1beta1'
|
|
12
11
|
import { Module as CosmosDistributionV1Beta1, msgTypes as CosmosDistributionV1Beta1MsgTypes } from './cosmos.distribution.v1beta1'
|
|
13
12
|
import { Module as CosmosEvidenceV1Beta1, msgTypes as CosmosEvidenceV1Beta1MsgTypes } from './cosmos.evidence.v1beta1'
|
|
@@ -32,7 +31,7 @@ import { Module as IbcCoreConnectionV1, msgTypes as IbcCoreConnectionV1MsgTypes
|
|
|
32
31
|
|
|
33
32
|
|
|
34
33
|
const Client = IgniteClient.plugin([
|
|
35
|
-
DecentralCardGameCardchainCardchain, CosmosAuthV1Beta1, CosmosAuthzV1Beta1, CosmosBankV1Beta1, CosmosBaseTendermintV1Beta1,
|
|
34
|
+
DecentralCardGameCardchainCardchain, CosmosAuthV1Beta1, CosmosAuthzV1Beta1, CosmosBankV1Beta1, CosmosBaseTendermintV1Beta1, CosmosCrisisV1Beta1, CosmosDistributionV1Beta1, CosmosEvidenceV1Beta1, CosmosFeegrantV1Beta1, CosmosGovV1, CosmosGovV1Beta1, CosmosGroupV1, CosmosMintV1Beta1, CosmosNftV1Beta1, CosmosParamsV1Beta1, CosmosSlashingV1Beta1, CosmosStakingV1Beta1, CosmosTxV1Beta1, CosmosUpgradeV1Beta1, CosmosVestingV1Beta1, IbcApplicationsInterchainAccountsControllerV1, IbcApplicationsInterchainAccountsHostV1, IbcApplicationsTransferV1, IbcCoreChannelV1, IbcCoreClientV1, IbcCoreConnectionV1
|
|
36
35
|
]);
|
|
37
36
|
|
|
38
37
|
const registry = new Registry([
|
|
@@ -41,7 +40,6 @@ const registry = new Registry([
|
|
|
41
40
|
...CosmosAuthzV1Beta1MsgTypes,
|
|
42
41
|
...CosmosBankV1Beta1MsgTypes,
|
|
43
42
|
...CosmosBaseTendermintV1Beta1MsgTypes,
|
|
44
|
-
...CosmosConsensusV1MsgTypes,
|
|
45
43
|
...CosmosCrisisV1Beta1MsgTypes,
|
|
46
44
|
...CosmosDistributionV1Beta1MsgTypes,
|
|
47
45
|
...CosmosEvidenceV1Beta1MsgTypes,
|
package/package.json
CHANGED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
5
|
-
function createBaseVoteRight() {
|
|
6
|
-
return { cardId: 0, expireBlock: 0 };
|
|
7
|
-
}
|
|
8
|
-
export const VoteRight = {
|
|
9
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
10
|
-
if (message.cardId !== 0) {
|
|
11
|
-
writer.uint32(8).uint64(message.cardId);
|
|
12
|
-
}
|
|
13
|
-
if (message.expireBlock !== 0) {
|
|
14
|
-
writer.uint32(16).int64(message.expireBlock);
|
|
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 = createBaseVoteRight();
|
|
22
|
-
while (reader.pos < end) {
|
|
23
|
-
const tag = reader.uint32();
|
|
24
|
-
switch (tag >>> 3) {
|
|
25
|
-
case 1:
|
|
26
|
-
message.cardId = longToNumber(reader.uint64());
|
|
27
|
-
break;
|
|
28
|
-
case 2:
|
|
29
|
-
message.expireBlock = longToNumber(reader.int64());
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
reader.skipType(tag & 7);
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return message;
|
|
37
|
-
},
|
|
38
|
-
fromJSON(object) {
|
|
39
|
-
return {
|
|
40
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
41
|
-
expireBlock: isSet(object.expireBlock) ? Number(object.expireBlock) : 0,
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
toJSON(message) {
|
|
45
|
-
const obj = {};
|
|
46
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
47
|
-
message.expireBlock !== undefined && (obj.expireBlock = Math.round(message.expireBlock));
|
|
48
|
-
return obj;
|
|
49
|
-
},
|
|
50
|
-
fromPartial(object) {
|
|
51
|
-
const message = createBaseVoteRight();
|
|
52
|
-
message.cardId = object.cardId ?? 0;
|
|
53
|
-
message.expireBlock = object.expireBlock ?? 0;
|
|
54
|
-
return message;
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
var globalThis = (() => {
|
|
58
|
-
if (typeof globalThis !== "undefined") {
|
|
59
|
-
return globalThis;
|
|
60
|
-
}
|
|
61
|
-
if (typeof self !== "undefined") {
|
|
62
|
-
return self;
|
|
63
|
-
}
|
|
64
|
-
if (typeof window !== "undefined") {
|
|
65
|
-
return window;
|
|
66
|
-
}
|
|
67
|
-
if (typeof global !== "undefined") {
|
|
68
|
-
return global;
|
|
69
|
-
}
|
|
70
|
-
throw "Unable to locate global object";
|
|
71
|
-
})();
|
|
72
|
-
function longToNumber(long) {
|
|
73
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
74
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
75
|
-
}
|
|
76
|
-
return long.toNumber();
|
|
77
|
-
}
|
|
78
|
-
if (_m0.util.Long !== Long) {
|
|
79
|
-
_m0.util.Long = Long;
|
|
80
|
-
_m0.configure();
|
|
81
|
-
}
|
|
82
|
-
function isSet(value) {
|
|
83
|
-
return value !== null && value !== undefined;
|
|
84
|
-
}
|