decentralcardgame-cardchain-client-ts 0.0.10 → 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/{cosmos.consensus.v1/index.ts → DecentralCardGame.cardchain.cardchain/index.js} +0 -1
- package/DecentralCardGame.cardchain.cardchain/module.js +1069 -0
- package/DecentralCardGame.cardchain.cardchain/module.ts +515 -482
- package/DecentralCardGame.cardchain.cardchain/registry.js +87 -0
- package/DecentralCardGame.cardchain.cardchain/registry.ts +75 -73
- package/DecentralCardGame.cardchain.cardchain/rest.js +396 -0
- package/DecentralCardGame.cardchain.cardchain/rest.ts +12 -1
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +562 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +365 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +93 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +350 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +254 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/genesis.ts +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +308 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/match.ts +103 -3
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +285 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/params.ts +11 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +1978 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/query.ts +2 -4
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4393 -0
- package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/tx.ts +220 -144
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +496 -0
- 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/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +192 -0
- package/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +171 -0
- package/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +260 -0
- package/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +2830 -0
- package/DecentralCardGame.cardchain.cardchain/types.js +23 -0
- package/DecentralCardGame.cardchain.cardchain/types.ts +25 -25
- package/client.js +1 -1
- package/client.ts +11 -12
- package/cosmos.auth.v1beta1/index.js +5 -0
- package/cosmos.auth.v1beta1/module.js +62 -0
- package/cosmos.auth.v1beta1/module.ts +0 -2
- package/cosmos.auth.v1beta1/registry.js +2 -0
- package/cosmos.auth.v1beta1/rest.js +213 -0
- package/cosmos.auth.v1beta1/rest.ts +3 -113
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +260 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +868 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
- package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.auth.v1beta1/types.js +4 -0
- package/cosmos.auth.v1beta1/types.ts +0 -2
- package/cosmos.authz.v1beta1/index.js +5 -0
- package/cosmos.authz.v1beta1/module.js +140 -0
- package/cosmos.authz.v1beta1/registry.js +9 -0
- package/cosmos.authz.v1beta1/rest.js +131 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.authz.v1beta1/types.js +7 -0
- package/cosmos.bank.v1beta1/index.js +5 -0
- package/cosmos.bank.v1beta1/module.js +125 -0
- package/cosmos.bank.v1beta1/registry.js +7 -0
- package/cosmos.bank.v1beta1/rest.js +222 -0
- package/cosmos.bank.v1beta1/rest.ts +6 -99
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +50 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +154 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1014 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +219 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
- package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.bank.v1beta1/types.js +11 -0
- package/cosmos.base.tendermint.v1beta1/index.js +5 -0
- package/cosmos.base.tendermint.v1beta1/module.js +70 -0
- package/cosmos.base.tendermint.v1beta1/registry.js +2 -0
- package/cosmos.base.tendermint.v1beta1/rest.js +209 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
- package/cosmos.base.tendermint.v1beta1/types.js +8 -0
- package/cosmos.crisis.v1beta1/index.js +5 -0
- package/cosmos.crisis.v1beta1/module.js +81 -0
- package/cosmos.crisis.v1beta1/module.ts +1 -34
- package/cosmos.crisis.v1beta1/registry.js +5 -0
- package/cosmos.crisis.v1beta1/registry.ts +0 -2
- package/cosmos.crisis.v1beta1/rest.js +83 -0
- package/cosmos.crisis.v1beta1/rest.ts +0 -19
- package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +111 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
- package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.crisis.v1beta1/types.js +1 -0
- package/cosmos.distribution.v1beta1/index.js +5 -0
- package/cosmos.distribution.v1beta1/module.js +189 -0
- package/cosmos.distribution.v1beta1/module.ts +13 -79
- package/cosmos.distribution.v1beta1/registry.js +11 -0
- package/cosmos.distribution.v1beta1/registry.ts +2 -6
- package/cosmos.distribution.v1beta1/rest.js +214 -0
- package/cosmos.distribution.v1beta1/rest.ts +7 -66
- package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +926 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +396 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
- package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.distribution.v1beta1/types.js +20 -0
- package/cosmos.evidence.v1beta1/index.js +5 -0
- package/cosmos.evidence.v1beta1/module.js +84 -0
- package/cosmos.evidence.v1beta1/registry.js +5 -0
- package/cosmos.evidence.v1beta1/rest.js +115 -0
- package/cosmos.evidence.v1beta1/rest.ts +3 -4
- package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +254 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
- package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.evidence.v1beta1/types.js +2 -0
- package/cosmos.feegrant.v1beta1/index.js +5 -0
- package/cosmos.feegrant.v1beta1/module.js +113 -0
- package/cosmos.feegrant.v1beta1/registry.js +7 -0
- package/cosmos.feegrant.v1beta1/rest.js +130 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.feegrant.v1beta1/types.js +5 -0
- package/cosmos.gov.v1/index.js +5 -0
- package/cosmos.gov.v1/module.js +167 -0
- package/cosmos.gov.v1/module.ts +13 -48
- package/cosmos.gov.v1/registry.js +11 -0
- package/cosmos.gov.v1/registry.ts +2 -4
- package/cosmos.gov.v1/rest.js +242 -0
- package/cosmos.gov.v1/rest.ts +41 -155
- package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +162 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +766 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +917 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +590 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
- package/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
- package/cosmos.gov.v1/types/google/api/annotations.js +2 -0
- package/cosmos.gov.v1/types/google/api/http.js +260 -0
- package/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
- package/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
- package/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.gov.v1/types.js +9 -0
- package/cosmos.gov.v1/types.ts +0 -2
- package/cosmos.gov.v1beta1/index.js +5 -0
- package/cosmos.gov.v1beta1/module.js +169 -0
- package/cosmos.gov.v1beta1/module.ts +47 -47
- package/cosmos.gov.v1beta1/registry.js +11 -0
- package/cosmos.gov.v1beta1/registry.ts +4 -4
- package/cosmos.gov.v1beta1/rest.js +242 -0
- package/cosmos.gov.v1beta1/rest.ts +96 -65
- package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
- package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.gov.v1beta1/types.js +10 -0
- package/cosmos.group.v1/index.js +5 -0
- package/cosmos.group.v1/module.js +423 -0
- package/cosmos.group.v1/module.ts +155 -155
- package/cosmos.group.v1/registry.js +31 -0
- package/cosmos.group.v1/registry.ts +18 -18
- package/cosmos.group.v1/rest.js +366 -0
- package/cosmos.group.v1/rest.ts +9 -29
- package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.js +497 -0
- package/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.js +1578 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.js +1621 -0
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
- package/cosmos.group.v1/types/cosmos/group/v1/types.js +1105 -0
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
- package/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
- package/cosmos.group.v1/types/google/api/annotations.js +2 -0
- package/cosmos.group.v1/types/google/api/http.js +260 -0
- package/cosmos.group.v1/types/google/protobuf/any.js +99 -0
- package/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
- package/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.group.v1/types.js +22 -0
- package/cosmos.mint.v1beta1/index.js +5 -0
- package/cosmos.mint.v1beta1/module.js +60 -0
- package/cosmos.mint.v1beta1/registry.js +2 -0
- package/cosmos.mint.v1beta1/rest.js +128 -0
- package/cosmos.mint.v1beta1/rest.ts +1 -9
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
- package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.mint.v1beta1/types.js +3 -0
- package/cosmos.nft.v1beta1/index.js +5 -0
- package/cosmos.nft.v1beta1/module.js +68 -0
- package/cosmos.nft.v1beta1/registry.js +2 -0
- package/cosmos.nft.v1beta1/rest.js +187 -0
- package/cosmos.nft.v1beta1/rest.ts +22 -18
- package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
- package/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.nft.v1beta1/types.js +7 -0
- package/cosmos.params.v1beta1/index.js +5 -0
- package/cosmos.params.v1beta1/module.js +62 -0
- package/cosmos.params.v1beta1/registry.js +2 -0
- package/cosmos.params.v1beta1/rest.js +116 -0
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
- package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.params.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.params.v1beta1/types.js +4 -0
- package/cosmos.slashing.v1beta1/index.js +5 -0
- package/cosmos.slashing.v1beta1/module.js +92 -0
- package/cosmos.slashing.v1beta1/registry.js +5 -0
- package/cosmos.slashing.v1beta1/rest.js +129 -0
- package/cosmos.slashing.v1beta1/rest.ts +0 -8
- package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +91 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
- package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.slashing.v1beta1/types.js +6 -0
- package/cosmos.staking.v1beta1/index.js +5 -0
- package/cosmos.staking.v1beta1/module.js +243 -0
- package/cosmos.staking.v1beta1/module.ts +60 -62
- package/cosmos.staking.v1beta1/registry.js +15 -0
- package/cosmos.staking.v1beta1/registry.ts +8 -8
- package/cosmos.staking.v1beta1/rest.js +308 -0
- package/cosmos.staking.v1beta1/rest.ts +8 -49
- package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1436 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +768 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
- package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
- package/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
- package/cosmos.staking.v1beta1/types.js +24 -0
- package/cosmos.staking.v1beta1/types.ts +0 -2
- package/cosmos.tx.v1beta1/index.js +5 -0
- package/cosmos.tx.v1beta1/module.js +82 -0
- package/cosmos.tx.v1beta1/registry.js +2 -0
- package/cosmos.tx.v1beta1/rest.js +256 -0
- package/cosmos.tx.v1beta1/rest.ts +16 -177
- package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +802 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
- package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3486 -0
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/params.js +378 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
- package/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
- package/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
- package/cosmos.tx.v1beta1/types.js +14 -0
- package/cosmos.upgrade.v1beta1/index.js +5 -0
- package/cosmos.upgrade.v1beta1/module.js +113 -0
- package/cosmos.upgrade.v1beta1/registry.js +7 -0
- package/cosmos.upgrade.v1beta1/rest.js +162 -0
- package/cosmos.upgrade.v1beta1/rest.ts +1 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
- package/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/cosmos.upgrade.v1beta1/types.js +5 -0
- package/cosmos.vesting.v1beta1/index.js +5 -0
- package/cosmos.vesting.v1beta1/module.js +140 -0
- package/cosmos.vesting.v1beta1/module.ts +24 -24
- package/cosmos.vesting.v1beta1/registry.js +9 -0
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/rest.js +83 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +260 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
- package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
- package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
- package/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
- package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/cosmos.vesting.v1beta1/types.js +7 -0
- package/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
- package/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
- package/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.js +123 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
- package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +266 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
- package/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
- package/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
- package/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
- package/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
- package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
- package/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
- package/ibc.applications.transfer.v1/index.js +5 -0
- package/ibc.applications.transfer.v1/module.js +86 -0
- package/ibc.applications.transfer.v1/module.ts +34 -5
- package/ibc.applications.transfer.v1/registry.js +5 -0
- package/ibc.applications.transfer.v1/registry.ts +2 -0
- package/ibc.applications.transfer.v1/rest.js +157 -0
- package/ibc.applications.transfer.v1/rest.ts +1 -30
- package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
- package/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
- package/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
- package/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +75 -0
- 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 +483 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +204 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.applications.transfer.v1/types.js +3 -0
- package/ibc.applications.transfer.v1/types.ts +0 -4
- package/ibc.core.channel.v1/index.js +5 -0
- package/ibc.core.channel.v1/module.js +72 -0
- package/ibc.core.channel.v1/registry.js +2 -0
- package/ibc.core.channel.v1/rest.js +323 -0
- package/ibc.core.channel.v1/rest.ts +0 -1
- package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
- package/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
- package/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
- package/ibc.core.channel.v1/types/google/api/http.js +260 -0
- package/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
- package/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
- package/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1425 -0
- 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.js +448 -0
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.channel.v1/types.js +9 -0
- package/ibc.core.client.v1/index.js +5 -0
- package/ibc.core.client.v1/module.js +74 -0
- package/ibc.core.client.v1/registry.js +2 -0
- package/ibc.core.client.v1/rest.js +218 -0
- package/ibc.core.client.v1/rest.ts +1 -5
- package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
- package/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
- package/ibc.core.client.v1/types/google/api/annotations.js +2 -0
- package/ibc.core.client.v1/types/google/api/http.js +260 -0
- package/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
- package/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
- package/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +509 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
- package/ibc.core.client.v1/types.js +10 -0
- package/ibc.core.connection.v1/index.js +5 -0
- package/ibc.core.connection.v1/module.js +70 -0
- package/ibc.core.connection.v1/registry.js +2 -0
- package/ibc.core.connection.v1/rest.js +191 -0
- package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
- package/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
- package/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
- package/ibc.core.connection.v1/types/google/api/http.js +260 -0
- package/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
- package/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
- package/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
- 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 +223 -0
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +766 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +705 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
- package/ibc.core.connection.v1/types/proofs.js +1126 -0
- package/ibc.core.connection.v1/types/{cosmos/ics23/v1/proofs.ts → proofs.ts} +1 -1
- package/ibc.core.connection.v1/types.js +8 -0
- package/index.ts +1 -3
- package/package.json +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/vote_right.ts +0 -114
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_result.ts +0 -161
- package/DecentralCardGame.cardchain.cardchain/types/DecentralCardGame/cardchain/cardchain/voting_results.ts +0 -182
- package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +0 -2
- package/cosmos.auth.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +0 -172
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +0 -2
- package/cosmos.authz.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.bank.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +0 -2
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.consensus.v1/module.ts +0 -129
- package/cosmos.consensus.v1/registry.ts +0 -9
- package/cosmos.consensus.v1/rest.ts +0 -268
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +0 -147
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +0 -196
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +0 -247
- package/cosmos.consensus.v1/types/google/api/http.ts +0 -589
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +0 -3753
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +0 -187
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +0 -498
- package/cosmos.consensus.v1/types.ts +0 -5
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.gov.v1/types/amino/amino.ts +0 -2
- package/cosmos.gov.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.group.v1/types/amino/amino.ts +0 -2
- package/cosmos.mint.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +0 -172
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +0 -247
- package/cosmos.params.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.staking.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +0 -2
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +0 -4525
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +0 -498
- package/cosmos.tx.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +0 -2
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +0 -2
- package/ibc.applications.transfer.v1/types/amino/amino.ts +0 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +0 -178
- package/ibc.core.channel.v1/types/amino/amino.ts +0 -2
- package/ibc.core.client.v1/types/amino/amino.ts +0 -2
- package/ibc.core.connection.v1/types/amino/amino.ts +0 -2
- /package/DecentralCardGame.cardchain.cardchain/types/{DecentralCardGame/cardchain → cardchain}/cardchain/card.ts +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.ts +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.ts +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.ts +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.ts +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.ts +0 -0
- /package/{cosmos.consensus.v1/types/gogoproto/gogo.ts → DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js} +0 -0
- /package/{cosmos.consensus.v1/types/google/api/annotations.ts → DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js} +0 -0
- /package/{cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts → cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js} +0 -0
- /package/{cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts → cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js} +0 -0
- /package/{cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts → cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js} +0 -0
|
@@ -7,12 +7,12 @@ import { msgTypes } from './registry';
|
|
|
7
7
|
import { IgniteClient } from "../client"
|
|
8
8
|
import { MissingWalletError } from "../helpers"
|
|
9
9
|
import { Api } from "./rest";
|
|
10
|
-
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
-
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
12
|
-
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
13
|
-
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
14
10
|
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
15
12
|
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
13
|
+
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
14
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
15
|
+
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
16
16
|
|
|
17
17
|
import { StakeAuthorization as typeStakeAuthorization} from "./types"
|
|
18
18
|
import { StakeAuthorization_Validators as typeStakeAuthorization_Validators} from "./types"
|
|
@@ -37,24 +37,23 @@ import { DelegationResponse as typeDelegationResponse} from "./types"
|
|
|
37
37
|
import { RedelegationEntryResponse as typeRedelegationEntryResponse} from "./types"
|
|
38
38
|
import { RedelegationResponse as typeRedelegationResponse} from "./types"
|
|
39
39
|
import { Pool as typePool} from "./types"
|
|
40
|
-
import { ValidatorUpdates as typeValidatorUpdates} from "./types"
|
|
41
40
|
|
|
42
|
-
export {
|
|
41
|
+
export { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation };
|
|
43
42
|
|
|
44
|
-
type
|
|
45
|
-
value:
|
|
43
|
+
type sendMsgCreateValidatorParams = {
|
|
44
|
+
value: MsgCreateValidator,
|
|
46
45
|
fee?: StdFee,
|
|
47
46
|
memo?: string
|
|
48
47
|
};
|
|
49
48
|
|
|
50
|
-
type
|
|
51
|
-
value:
|
|
49
|
+
type sendMsgEditValidatorParams = {
|
|
50
|
+
value: MsgEditValidator,
|
|
52
51
|
fee?: StdFee,
|
|
53
52
|
memo?: string
|
|
54
53
|
};
|
|
55
54
|
|
|
56
|
-
type
|
|
57
|
-
value:
|
|
55
|
+
type sendMsgDelegateParams = {
|
|
56
|
+
value: MsgDelegate,
|
|
58
57
|
fee?: StdFee,
|
|
59
58
|
memo?: string
|
|
60
59
|
};
|
|
@@ -65,41 +64,41 @@ type sendMsgBeginRedelegateParams = {
|
|
|
65
64
|
memo?: string
|
|
66
65
|
};
|
|
67
66
|
|
|
68
|
-
type
|
|
69
|
-
value:
|
|
67
|
+
type sendMsgUndelegateParams = {
|
|
68
|
+
value: MsgUndelegate,
|
|
70
69
|
fee?: StdFee,
|
|
71
70
|
memo?: string
|
|
72
71
|
};
|
|
73
72
|
|
|
74
|
-
type
|
|
75
|
-
value:
|
|
73
|
+
type sendMsgCancelUnbondingDelegationParams = {
|
|
74
|
+
value: MsgCancelUnbondingDelegation,
|
|
76
75
|
fee?: StdFee,
|
|
77
76
|
memo?: string
|
|
78
77
|
};
|
|
79
78
|
|
|
80
79
|
|
|
81
|
-
type
|
|
82
|
-
value:
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
type msgCancelUnbondingDelegationParams = {
|
|
86
|
-
value: MsgCancelUnbondingDelegation,
|
|
80
|
+
type msgCreateValidatorParams = {
|
|
81
|
+
value: MsgCreateValidator,
|
|
87
82
|
};
|
|
88
83
|
|
|
89
84
|
type msgEditValidatorParams = {
|
|
90
85
|
value: MsgEditValidator,
|
|
91
86
|
};
|
|
92
87
|
|
|
88
|
+
type msgDelegateParams = {
|
|
89
|
+
value: MsgDelegate,
|
|
90
|
+
};
|
|
91
|
+
|
|
93
92
|
type msgBeginRedelegateParams = {
|
|
94
93
|
value: MsgBeginRedelegate,
|
|
95
94
|
};
|
|
96
95
|
|
|
97
|
-
type
|
|
98
|
-
value:
|
|
96
|
+
type msgUndelegateParams = {
|
|
97
|
+
value: MsgUndelegate,
|
|
99
98
|
};
|
|
100
99
|
|
|
101
|
-
type
|
|
102
|
-
value:
|
|
100
|
+
type msgCancelUnbondingDelegationParams = {
|
|
101
|
+
value: MsgCancelUnbondingDelegation,
|
|
103
102
|
};
|
|
104
103
|
|
|
105
104
|
|
|
@@ -132,45 +131,45 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
|
|
|
132
131
|
|
|
133
132
|
return {
|
|
134
133
|
|
|
135
|
-
async
|
|
134
|
+
async sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse> {
|
|
136
135
|
if (!signer) {
|
|
137
|
-
throw new Error('TxClient:
|
|
136
|
+
throw new Error('TxClient:sendMsgCreateValidator: Unable to sign Tx. Signer is not present.')
|
|
138
137
|
}
|
|
139
138
|
try {
|
|
140
139
|
const { address } = (await signer.getAccounts())[0];
|
|
141
140
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
142
|
-
let msg = this.
|
|
141
|
+
let msg = this.msgCreateValidator({ value: MsgCreateValidator.fromPartial(value) })
|
|
143
142
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
144
143
|
} catch (e: any) {
|
|
145
|
-
throw new Error('TxClient:
|
|
144
|
+
throw new Error('TxClient:sendMsgCreateValidator: Could not broadcast Tx: '+ e.message)
|
|
146
145
|
}
|
|
147
146
|
},
|
|
148
147
|
|
|
149
|
-
async
|
|
148
|
+
async sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse> {
|
|
150
149
|
if (!signer) {
|
|
151
|
-
throw new Error('TxClient:
|
|
150
|
+
throw new Error('TxClient:sendMsgEditValidator: Unable to sign Tx. Signer is not present.')
|
|
152
151
|
}
|
|
153
152
|
try {
|
|
154
153
|
const { address } = (await signer.getAccounts())[0];
|
|
155
154
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
156
|
-
let msg = this.
|
|
155
|
+
let msg = this.msgEditValidator({ value: MsgEditValidator.fromPartial(value) })
|
|
157
156
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
158
157
|
} catch (e: any) {
|
|
159
|
-
throw new Error('TxClient:
|
|
158
|
+
throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: '+ e.message)
|
|
160
159
|
}
|
|
161
160
|
},
|
|
162
161
|
|
|
163
|
-
async
|
|
162
|
+
async sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse> {
|
|
164
163
|
if (!signer) {
|
|
165
|
-
throw new Error('TxClient:
|
|
164
|
+
throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.')
|
|
166
165
|
}
|
|
167
166
|
try {
|
|
168
167
|
const { address } = (await signer.getAccounts())[0];
|
|
169
168
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
170
|
-
let msg = this.
|
|
169
|
+
let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) })
|
|
171
170
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
172
171
|
} catch (e: any) {
|
|
173
|
-
throw new Error('TxClient:
|
|
172
|
+
throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: '+ e.message)
|
|
174
173
|
}
|
|
175
174
|
},
|
|
176
175
|
|
|
@@ -188,56 +187,56 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
|
|
|
188
187
|
}
|
|
189
188
|
},
|
|
190
189
|
|
|
191
|
-
async
|
|
190
|
+
async sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse> {
|
|
192
191
|
if (!signer) {
|
|
193
|
-
throw new Error('TxClient:
|
|
192
|
+
throw new Error('TxClient:sendMsgUndelegate: Unable to sign Tx. Signer is not present.')
|
|
194
193
|
}
|
|
195
194
|
try {
|
|
196
195
|
const { address } = (await signer.getAccounts())[0];
|
|
197
196
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
198
|
-
let msg = this.
|
|
197
|
+
let msg = this.msgUndelegate({ value: MsgUndelegate.fromPartial(value) })
|
|
199
198
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
200
199
|
} catch (e: any) {
|
|
201
|
-
throw new Error('TxClient:
|
|
200
|
+
throw new Error('TxClient:sendMsgUndelegate: Could not broadcast Tx: '+ e.message)
|
|
202
201
|
}
|
|
203
202
|
},
|
|
204
203
|
|
|
205
|
-
async
|
|
204
|
+
async sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse> {
|
|
206
205
|
if (!signer) {
|
|
207
|
-
throw new Error('TxClient:
|
|
206
|
+
throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.')
|
|
208
207
|
}
|
|
209
208
|
try {
|
|
210
209
|
const { address } = (await signer.getAccounts())[0];
|
|
211
210
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
212
|
-
let msg = this.
|
|
211
|
+
let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) })
|
|
213
212
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
214
213
|
} catch (e: any) {
|
|
215
|
-
throw new Error('TxClient:
|
|
214
|
+
throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: '+ e.message)
|
|
216
215
|
}
|
|
217
216
|
},
|
|
218
217
|
|
|
219
218
|
|
|
220
|
-
|
|
219
|
+
msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject {
|
|
221
220
|
try {
|
|
222
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
221
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", value: MsgCreateValidator.fromPartial( value ) }
|
|
223
222
|
} catch (e: any) {
|
|
224
|
-
throw new Error('TxClient:
|
|
223
|
+
throw new Error('TxClient:MsgCreateValidator: Could not create message: ' + e.message)
|
|
225
224
|
}
|
|
226
225
|
},
|
|
227
226
|
|
|
228
|
-
|
|
227
|
+
msgEditValidator({ value }: msgEditValidatorParams): EncodeObject {
|
|
229
228
|
try {
|
|
230
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
229
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", value: MsgEditValidator.fromPartial( value ) }
|
|
231
230
|
} catch (e: any) {
|
|
232
|
-
throw new Error('TxClient:
|
|
231
|
+
throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message)
|
|
233
232
|
}
|
|
234
233
|
},
|
|
235
234
|
|
|
236
|
-
|
|
235
|
+
msgDelegate({ value }: msgDelegateParams): EncodeObject {
|
|
237
236
|
try {
|
|
238
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
237
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial( value ) }
|
|
239
238
|
} catch (e: any) {
|
|
240
|
-
throw new Error('TxClient:
|
|
239
|
+
throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message)
|
|
241
240
|
}
|
|
242
241
|
},
|
|
243
242
|
|
|
@@ -249,19 +248,19 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
|
|
|
249
248
|
}
|
|
250
249
|
},
|
|
251
250
|
|
|
252
|
-
|
|
251
|
+
msgUndelegate({ value }: msgUndelegateParams): EncodeObject {
|
|
253
252
|
try {
|
|
254
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
253
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", value: MsgUndelegate.fromPartial( value ) }
|
|
255
254
|
} catch (e: any) {
|
|
256
|
-
throw new Error('TxClient:
|
|
255
|
+
throw new Error('TxClient:MsgUndelegate: Could not create message: ' + e.message)
|
|
257
256
|
}
|
|
258
257
|
},
|
|
259
258
|
|
|
260
|
-
|
|
259
|
+
msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject {
|
|
261
260
|
try {
|
|
262
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
261
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial( value ) }
|
|
263
262
|
} catch (e: any) {
|
|
264
|
-
throw new Error('TxClient:
|
|
263
|
+
throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message)
|
|
265
264
|
}
|
|
266
265
|
},
|
|
267
266
|
|
|
@@ -310,7 +309,6 @@ class SDKModule {
|
|
|
310
309
|
RedelegationEntryResponse: getStructure(typeRedelegationEntryResponse.fromPartial({})),
|
|
311
310
|
RedelegationResponse: getStructure(typeRedelegationResponse.fromPartial({})),
|
|
312
311
|
Pool: getStructure(typePool.fromPartial({})),
|
|
313
|
-
ValidatorUpdates: getStructure(typeValidatorUpdates.fromPartial({})),
|
|
314
312
|
|
|
315
313
|
};
|
|
316
314
|
client.on('signer-changed',(signer) => {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
2
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
3
|
+
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
4
|
+
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
|
+
const msgTypes = [
|
|
8
|
+
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
9
|
+
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
10
|
+
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
11
|
+
["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
|
|
12
|
+
["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
|
|
13
|
+
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
14
|
+
];
|
|
15
|
+
export { msgTypes };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { GeneratedType } from "@cosmjs/proto-signing";
|
|
2
|
-
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
3
|
-
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
4
|
-
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
|
-
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
2
|
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
3
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
4
|
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
|
+
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
|
+
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
8
|
|
|
9
9
|
const msgTypes: Array<[string, GeneratedType]> = [
|
|
10
|
-
["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
|
|
11
|
-
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
12
|
-
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
13
|
-
["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
|
|
14
10
|
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
11
|
+
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
15
12
|
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
13
|
+
["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
|
|
14
|
+
["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
|
|
15
|
+
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
16
16
|
|
|
17
17
|
];
|
|
18
18
|
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/*
|
|
4
|
+
* ---------------------------------------------------------------
|
|
5
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
6
|
+
* ## ##
|
|
7
|
+
* ## AUTHOR: acacode ##
|
|
8
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
9
|
+
* ---------------------------------------------------------------
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* BondStatus is the status of a validator.
|
|
13
|
+
|
|
14
|
+
- BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status.
|
|
15
|
+
- BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded.
|
|
16
|
+
- BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding.
|
|
17
|
+
- BOND_STATUS_BONDED: BONDED defines a validator that is bonded.
|
|
18
|
+
*/
|
|
19
|
+
export var V1Beta1BondStatus;
|
|
20
|
+
(function (V1Beta1BondStatus) {
|
|
21
|
+
V1Beta1BondStatus["BOND_STATUS_UNSPECIFIED"] = "BOND_STATUS_UNSPECIFIED";
|
|
22
|
+
V1Beta1BondStatus["BOND_STATUS_UNBONDED"] = "BOND_STATUS_UNBONDED";
|
|
23
|
+
V1Beta1BondStatus["BOND_STATUS_UNBONDING"] = "BOND_STATUS_UNBONDING";
|
|
24
|
+
V1Beta1BondStatus["BOND_STATUS_BONDED"] = "BOND_STATUS_BONDED";
|
|
25
|
+
})(V1Beta1BondStatus || (V1Beta1BondStatus = {}));
|
|
26
|
+
import axios from "axios";
|
|
27
|
+
export var ContentType;
|
|
28
|
+
(function (ContentType) {
|
|
29
|
+
ContentType["Json"] = "application/json";
|
|
30
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
31
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
32
|
+
})(ContentType || (ContentType = {}));
|
|
33
|
+
export class HttpClient {
|
|
34
|
+
constructor({ securityWorker, secure, format, ...axiosConfig } = {}) {
|
|
35
|
+
this.securityData = null;
|
|
36
|
+
this.setSecurityData = (data) => {
|
|
37
|
+
this.securityData = data;
|
|
38
|
+
};
|
|
39
|
+
this.request = async ({ secure, path, type, query, format, body, ...params }) => {
|
|
40
|
+
const secureParams = ((typeof secure === "boolean" ? secure : this.secure) &&
|
|
41
|
+
this.securityWorker &&
|
|
42
|
+
(await this.securityWorker(this.securityData))) ||
|
|
43
|
+
{};
|
|
44
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
45
|
+
const responseFormat = (format && this.format) || void 0;
|
|
46
|
+
if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
|
|
47
|
+
requestParams.headers.common = { Accept: "*/*" };
|
|
48
|
+
requestParams.headers.post = {};
|
|
49
|
+
requestParams.headers.put = {};
|
|
50
|
+
body = this.createFormData(body);
|
|
51
|
+
}
|
|
52
|
+
return this.instance.request({
|
|
53
|
+
...requestParams,
|
|
54
|
+
headers: {
|
|
55
|
+
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
|
|
56
|
+
...(requestParams.headers || {}),
|
|
57
|
+
},
|
|
58
|
+
params: query,
|
|
59
|
+
responseType: responseFormat,
|
|
60
|
+
data: body,
|
|
61
|
+
url: path,
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
|
|
65
|
+
this.secure = secure;
|
|
66
|
+
this.format = format;
|
|
67
|
+
this.securityWorker = securityWorker;
|
|
68
|
+
}
|
|
69
|
+
mergeRequestParams(params1, params2) {
|
|
70
|
+
return {
|
|
71
|
+
...this.instance.defaults,
|
|
72
|
+
...params1,
|
|
73
|
+
...(params2 || {}),
|
|
74
|
+
headers: {
|
|
75
|
+
...(this.instance.defaults.headers || {}),
|
|
76
|
+
...(params1.headers || {}),
|
|
77
|
+
...((params2 && params2.headers) || {}),
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
createFormData(input) {
|
|
82
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
83
|
+
const property = input[key];
|
|
84
|
+
formData.append(key, property instanceof Blob
|
|
85
|
+
? property
|
|
86
|
+
: typeof property === "object" && property !== null
|
|
87
|
+
? JSON.stringify(property)
|
|
88
|
+
: `${property}`);
|
|
89
|
+
return formData;
|
|
90
|
+
}, new FormData());
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @title cosmos/staking/v1beta1/authz.proto
|
|
95
|
+
* @version version not set
|
|
96
|
+
*/
|
|
97
|
+
export class Api extends HttpClient {
|
|
98
|
+
constructor() {
|
|
99
|
+
super(...arguments);
|
|
100
|
+
/**
|
|
101
|
+
* No description
|
|
102
|
+
*
|
|
103
|
+
* @tags Query
|
|
104
|
+
* @name QueryDelegatorDelegations
|
|
105
|
+
* @summary DelegatorDelegations queries all delegations of a given delegator address.
|
|
106
|
+
* @request GET:/cosmos/staking/v1beta1/delegations/{delegator_addr}
|
|
107
|
+
*/
|
|
108
|
+
this.queryDelegatorDelegations = (delegatorAddr, query, params = {}) => this.request({
|
|
109
|
+
path: `/cosmos/staking/v1beta1/delegations/${delegatorAddr}`,
|
|
110
|
+
method: "GET",
|
|
111
|
+
query: query,
|
|
112
|
+
format: "json",
|
|
113
|
+
...params,
|
|
114
|
+
});
|
|
115
|
+
/**
|
|
116
|
+
* No description
|
|
117
|
+
*
|
|
118
|
+
* @tags Query
|
|
119
|
+
* @name QueryRedelegations
|
|
120
|
+
* @summary Redelegations queries redelegations of given address.
|
|
121
|
+
* @request GET:/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations
|
|
122
|
+
*/
|
|
123
|
+
this.queryRedelegations = (delegatorAddr, query, params = {}) => this.request({
|
|
124
|
+
path: `/cosmos/staking/v1beta1/delegators/${delegatorAddr}/redelegations`,
|
|
125
|
+
method: "GET",
|
|
126
|
+
query: query,
|
|
127
|
+
format: "json",
|
|
128
|
+
...params,
|
|
129
|
+
});
|
|
130
|
+
/**
|
|
131
|
+
* No description
|
|
132
|
+
*
|
|
133
|
+
* @tags Query
|
|
134
|
+
* @name QueryDelegatorUnbondingDelegations
|
|
135
|
+
* @summary DelegatorUnbondingDelegations queries all unbonding delegations of a given
|
|
136
|
+
delegator address.
|
|
137
|
+
* @request GET:/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations
|
|
138
|
+
*/
|
|
139
|
+
this.queryDelegatorUnbondingDelegations = (delegatorAddr, query, params = {}) => this.request({
|
|
140
|
+
path: `/cosmos/staking/v1beta1/delegators/${delegatorAddr}/unbonding_delegations`,
|
|
141
|
+
method: "GET",
|
|
142
|
+
query: query,
|
|
143
|
+
format: "json",
|
|
144
|
+
...params,
|
|
145
|
+
});
|
|
146
|
+
/**
|
|
147
|
+
* No description
|
|
148
|
+
*
|
|
149
|
+
* @tags Query
|
|
150
|
+
* @name QueryDelegatorValidators
|
|
151
|
+
* @summary DelegatorValidators queries all validators info for given delegator
|
|
152
|
+
address.
|
|
153
|
+
* @request GET:/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators
|
|
154
|
+
*/
|
|
155
|
+
this.queryDelegatorValidators = (delegatorAddr, query, params = {}) => this.request({
|
|
156
|
+
path: `/cosmos/staking/v1beta1/delegators/${delegatorAddr}/validators`,
|
|
157
|
+
method: "GET",
|
|
158
|
+
query: query,
|
|
159
|
+
format: "json",
|
|
160
|
+
...params,
|
|
161
|
+
});
|
|
162
|
+
/**
|
|
163
|
+
* No description
|
|
164
|
+
*
|
|
165
|
+
* @tags Query
|
|
166
|
+
* @name QueryDelegatorValidator
|
|
167
|
+
* @summary DelegatorValidator queries validator info for given delegator validator
|
|
168
|
+
pair.
|
|
169
|
+
* @request GET:/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}
|
|
170
|
+
*/
|
|
171
|
+
this.queryDelegatorValidator = (delegatorAddr, validatorAddr, params = {}) => this.request({
|
|
172
|
+
path: `/cosmos/staking/v1beta1/delegators/${delegatorAddr}/validators/${validatorAddr}`,
|
|
173
|
+
method: "GET",
|
|
174
|
+
format: "json",
|
|
175
|
+
...params,
|
|
176
|
+
});
|
|
177
|
+
/**
|
|
178
|
+
* No description
|
|
179
|
+
*
|
|
180
|
+
* @tags Query
|
|
181
|
+
* @name QueryHistoricalInfo
|
|
182
|
+
* @summary HistoricalInfo queries the historical info for given height.
|
|
183
|
+
* @request GET:/cosmos/staking/v1beta1/historical_info/{height}
|
|
184
|
+
*/
|
|
185
|
+
this.queryHistoricalInfo = (height, params = {}) => this.request({
|
|
186
|
+
path: `/cosmos/staking/v1beta1/historical_info/${height}`,
|
|
187
|
+
method: "GET",
|
|
188
|
+
format: "json",
|
|
189
|
+
...params,
|
|
190
|
+
});
|
|
191
|
+
/**
|
|
192
|
+
* No description
|
|
193
|
+
*
|
|
194
|
+
* @tags Query
|
|
195
|
+
* @name QueryParams
|
|
196
|
+
* @summary Parameters queries the staking parameters.
|
|
197
|
+
* @request GET:/cosmos/staking/v1beta1/params
|
|
198
|
+
*/
|
|
199
|
+
this.queryParams = (params = {}) => this.request({
|
|
200
|
+
path: `/cosmos/staking/v1beta1/params`,
|
|
201
|
+
method: "GET",
|
|
202
|
+
format: "json",
|
|
203
|
+
...params,
|
|
204
|
+
});
|
|
205
|
+
/**
|
|
206
|
+
* No description
|
|
207
|
+
*
|
|
208
|
+
* @tags Query
|
|
209
|
+
* @name QueryPool
|
|
210
|
+
* @summary Pool queries the pool info.
|
|
211
|
+
* @request GET:/cosmos/staking/v1beta1/pool
|
|
212
|
+
*/
|
|
213
|
+
this.queryPool = (params = {}) => this.request({
|
|
214
|
+
path: `/cosmos/staking/v1beta1/pool`,
|
|
215
|
+
method: "GET",
|
|
216
|
+
format: "json",
|
|
217
|
+
...params,
|
|
218
|
+
});
|
|
219
|
+
/**
|
|
220
|
+
* No description
|
|
221
|
+
*
|
|
222
|
+
* @tags Query
|
|
223
|
+
* @name QueryValidators
|
|
224
|
+
* @summary Validators queries all validators that match the given status.
|
|
225
|
+
* @request GET:/cosmos/staking/v1beta1/validators
|
|
226
|
+
*/
|
|
227
|
+
this.queryValidators = (query, params = {}) => this.request({
|
|
228
|
+
path: `/cosmos/staking/v1beta1/validators`,
|
|
229
|
+
method: "GET",
|
|
230
|
+
query: query,
|
|
231
|
+
format: "json",
|
|
232
|
+
...params,
|
|
233
|
+
});
|
|
234
|
+
/**
|
|
235
|
+
* No description
|
|
236
|
+
*
|
|
237
|
+
* @tags Query
|
|
238
|
+
* @name QueryValidator
|
|
239
|
+
* @summary Validator queries validator info for given validator address.
|
|
240
|
+
* @request GET:/cosmos/staking/v1beta1/validators/{validator_addr}
|
|
241
|
+
*/
|
|
242
|
+
this.queryValidator = (validatorAddr, params = {}) => this.request({
|
|
243
|
+
path: `/cosmos/staking/v1beta1/validators/${validatorAddr}`,
|
|
244
|
+
method: "GET",
|
|
245
|
+
format: "json",
|
|
246
|
+
...params,
|
|
247
|
+
});
|
|
248
|
+
/**
|
|
249
|
+
* No description
|
|
250
|
+
*
|
|
251
|
+
* @tags Query
|
|
252
|
+
* @name QueryValidatorDelegations
|
|
253
|
+
* @summary ValidatorDelegations queries delegate info for given validator.
|
|
254
|
+
* @request GET:/cosmos/staking/v1beta1/validators/{validator_addr}/delegations
|
|
255
|
+
*/
|
|
256
|
+
this.queryValidatorDelegations = (validatorAddr, query, params = {}) => this.request({
|
|
257
|
+
path: `/cosmos/staking/v1beta1/validators/${validatorAddr}/delegations`,
|
|
258
|
+
method: "GET",
|
|
259
|
+
query: query,
|
|
260
|
+
format: "json",
|
|
261
|
+
...params,
|
|
262
|
+
});
|
|
263
|
+
/**
|
|
264
|
+
* No description
|
|
265
|
+
*
|
|
266
|
+
* @tags Query
|
|
267
|
+
* @name QueryDelegation
|
|
268
|
+
* @summary Delegation queries delegate info for given validator delegator pair.
|
|
269
|
+
* @request GET:/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}
|
|
270
|
+
*/
|
|
271
|
+
this.queryDelegation = (validatorAddr, delegatorAddr, params = {}) => this.request({
|
|
272
|
+
path: `/cosmos/staking/v1beta1/validators/${validatorAddr}/delegations/${delegatorAddr}`,
|
|
273
|
+
method: "GET",
|
|
274
|
+
format: "json",
|
|
275
|
+
...params,
|
|
276
|
+
});
|
|
277
|
+
/**
|
|
278
|
+
* No description
|
|
279
|
+
*
|
|
280
|
+
* @tags Query
|
|
281
|
+
* @name QueryUnbondingDelegation
|
|
282
|
+
* @summary UnbondingDelegation queries unbonding info for given validator delegator
|
|
283
|
+
pair.
|
|
284
|
+
* @request GET:/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation
|
|
285
|
+
*/
|
|
286
|
+
this.queryUnbondingDelegation = (validatorAddr, delegatorAddr, params = {}) => this.request({
|
|
287
|
+
path: `/cosmos/staking/v1beta1/validators/${validatorAddr}/delegations/${delegatorAddr}/unbonding_delegation`,
|
|
288
|
+
method: "GET",
|
|
289
|
+
format: "json",
|
|
290
|
+
...params,
|
|
291
|
+
});
|
|
292
|
+
/**
|
|
293
|
+
* No description
|
|
294
|
+
*
|
|
295
|
+
* @tags Query
|
|
296
|
+
* @name QueryValidatorUnbondingDelegations
|
|
297
|
+
* @summary ValidatorUnbondingDelegations queries unbonding delegations of a validator.
|
|
298
|
+
* @request GET:/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations
|
|
299
|
+
*/
|
|
300
|
+
this.queryValidatorUnbondingDelegations = (validatorAddr, query, params = {}) => this.request({
|
|
301
|
+
path: `/cosmos/staking/v1beta1/validators/${validatorAddr}/unbonding_delegations`,
|
|
302
|
+
method: "GET",
|
|
303
|
+
query: query,
|
|
304
|
+
format: "json",
|
|
305
|
+
...params,
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
}
|