@xpla/xpla-react 1.7.0-beta.0 → 1.7.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amino/amino.d.ts +1 -0
- package/amino/amino.js +2 -0
- package/binary.d.ts +130 -0
- package/binary.js +370 -0
- package/cosmos/app/runtime/v1alpha1/module.d.ts +176 -0
- package/cosmos/app/runtime/v1alpha1/module.js +292 -0
- package/cosmos/app/runtime/v2/module.d.ts +231 -0
- package/cosmos/app/runtime/v2/module.js +421 -0
- package/cosmos/app/v1alpha1/config.d.ts +184 -0
- package/cosmos/app/v1alpha1/config.js +298 -0
- package/cosmos/app/v1alpha1/module.d.ts +237 -0
- package/cosmos/app/v1alpha1/module.js +280 -0
- package/cosmos/app/v1alpha1/query.d.ts +69 -0
- package/cosmos/app/v1alpha1/query.js +148 -0
- package/cosmos/app/v1alpha1/query.rpc.func.d.ts +3 -0
- package/cosmos/app/v1alpha1/query.rpc.func.js +14 -0
- package/cosmos/app/v1alpha1/query.rpc.react.d.ts +2 -0
- package/cosmos/app/v1alpha1/query.rpc.react.js +9 -0
- package/cosmos/auth/module/v1/module.d.ts +90 -0
- package/cosmos/auth/module/v1/module.js +202 -0
- package/cosmos/auth/v1beta1/accounts.d.ts +106 -0
- package/cosmos/auth/v1beta1/accounts.js +161 -0
- package/cosmos/auth/v1beta1/auth.d.ts +181 -0
- package/cosmos/auth/v1beta1/auth.js +448 -0
- package/cosmos/auth/v1beta1/genesis.d.ts +43 -0
- package/cosmos/auth/v1beta1/genesis.js +98 -0
- package/cosmos/auth/v1beta1/query.d.ts +830 -0
- package/cosmos/auth/v1beta1/query.js +1558 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
- package/cosmos/auth/v1beta1/query.rpc.func.js +95 -0
- package/cosmos/auth/v1beta1/query.rpc.react.d.ts +11 -0
- package/cosmos/auth/v1beta1/query.rpc.react.js +45 -0
- package/cosmos/auth/v1beta1/tx.d.ts +99 -0
- package/cosmos/auth/v1beta1/tx.js +160 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/auth/v1beta1/tx.registry.js +5 -0
- package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +3 -0
- package/cosmos/auth/v1beta1/tx.rpc.func.js +14 -0
- package/cosmos/auth/v1beta1/tx.rpc.react.d.ts +2 -0
- package/cosmos/auth/v1beta1/tx.rpc.react.js +8 -0
- package/cosmos/authz/module/v1/module.d.ts +33 -0
- package/cosmos/authz/module/v1/module.js +68 -0
- package/cosmos/authz/v1beta1/authz.d.ts +185 -0
- package/cosmos/authz/v1beta1/authz.js +390 -0
- package/cosmos/authz/v1beta1/event.d.ts +88 -0
- package/cosmos/authz/v1beta1/event.js +206 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +36 -0
- package/cosmos/authz/v1beta1/genesis.js +87 -0
- package/cosmos/authz/v1beta1/query.d.ts +238 -0
- package/cosmos/authz/v1beta1/query.js +588 -0
- package/cosmos/authz/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/authz/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/authz/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/authz/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/authz/v1beta1/tx.d.ts +246 -0
- package/cosmos/authz/v1beta1/tx.js +512 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/authz/v1beta1/tx.registry.js +5 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.js +30 -0
- package/cosmos/authz/v1beta1/tx.rpc.react.d.ts +4 -0
- package/cosmos/authz/v1beta1/tx.rpc.react.js +14 -0
- package/cosmos/autocli/v1/options.d.ts +419 -0
- package/cosmos/autocli/v1/options.js +842 -0
- package/cosmos/autocli/v1/query.d.ts +100 -0
- package/cosmos/autocli/v1/query.js +239 -0
- package/cosmos/autocli/v1/query.rpc.func.d.ts +3 -0
- package/cosmos/autocli/v1/query.rpc.func.js +14 -0
- package/cosmos/autocli/v1/query.rpc.react.d.ts +2 -0
- package/cosmos/autocli/v1/query.rpc.react.js +9 -0
- package/cosmos/bank/module/v1/module.d.ts +63 -0
- package/cosmos/bank/module/v1/module.js +111 -0
- package/cosmos/bank/v1beta1/authz.d.ts +60 -0
- package/cosmos/bank/v1beta1/authz.js +105 -0
- package/cosmos/bank/v1beta1/bank.d.ts +378 -0
- package/cosmos/bank/v1beta1/bank.js +731 -0
- package/cosmos/bank/v1beta1/genesis.d.ts +114 -0
- package/cosmos/bank/v1beta1/genesis.js +243 -0
- package/cosmos/bank/v1beta1/query.d.ts +1186 -0
- package/cosmos/bank/v1beta1/query.js +2338 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
- package/cosmos/bank/v1beta1/query.rpc.func.js +122 -0
- package/cosmos/bank/v1beta1/query.rpc.react.d.ts +14 -0
- package/cosmos/bank/v1beta1/query.rpc.react.js +57 -0
- package/cosmos/bank/v1beta1/tx.d.ts +350 -0
- package/cosmos/bank/v1beta1/tx.js +666 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/bank/v1beta1/tx.registry.js +5 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.js +38 -0
- package/cosmos/bank/v1beta1/tx.rpc.react.d.ts +5 -0
- package/cosmos/bank/v1beta1/tx.rpc.react.js +17 -0
- package/cosmos/base/abci/v1beta1/abci.d.ts +610 -0
- package/cosmos/base/abci/v1beta1/abci.js +1294 -0
- package/cosmos/base/grpc/v2/service.d.ts +168 -0
- package/cosmos/base/grpc/v2/service.js +394 -0
- package/cosmos/base/grpc/v2/service.rpc.func.d.ts +4 -0
- package/cosmos/base/grpc/v2/service.rpc.func.js +23 -0
- package/cosmos/base/grpc/v2/service.rpc.react.d.ts +3 -0
- package/cosmos/base/grpc/v2/service.rpc.react.js +13 -0
- package/cosmos/base/node/v1beta1/query.d.ts +154 -0
- package/cosmos/base/node/v1beta1/query.js +372 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +4 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.js +23 -0
- package/cosmos/base/node/v1beta1/query.rpc.react.d.ts +3 -0
- package/cosmos/base/node/v1beta1/query.rpc.react.js +13 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +178 -0
- package/cosmos/base/query/v1beta1/pagination.js +219 -0
- package/cosmos/base/reflection/v1beta1/reflection.d.ts +148 -0
- package/cosmos/base/reflection/v1beta1/reflection.js +305 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +4 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +23 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.react.d.ts +3 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +13 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +1034 -0
- package/cosmos/base/reflection/v2alpha1/reflection.js +2164 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +8 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +59 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.d.ts +7 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +29 -0
- package/cosmos/base/tendermint/v1beta1/query.d.ts +759 -0
- package/cosmos/base/tendermint/v1beta1/query.js +1894 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +9 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +68 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.react.d.ts +8 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.react.js +33 -0
- package/cosmos/base/tendermint/v1beta1/types.d.ts +139 -0
- package/cosmos/base/tendermint/v1beta1/types.js +363 -0
- package/cosmos/base/v1beta1/coin.d.ts +170 -0
- package/cosmos/base/v1beta1/coin.js +337 -0
- package/cosmos/circuit/module/v1/module.d.ts +36 -0
- package/cosmos/circuit/module/v1/module.js +83 -0
- package/cosmos/circuit/v1/query.d.ts +200 -0
- package/cosmos/circuit/v1/query.js +480 -0
- package/cosmos/circuit/v1/query.rpc.func.d.ts +8 -0
- package/cosmos/circuit/v1/query.rpc.func.js +42 -0
- package/cosmos/circuit/v1/tx.d.ts +251 -0
- package/cosmos/circuit/v1/tx.js +528 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
- package/cosmos/circuit/v1/tx.registry.js +67 -0
- package/cosmos/circuit/v1/tx.rpc.func.d.ts +8 -0
- package/cosmos/circuit/v1/tx.rpc.func.js +37 -0
- package/cosmos/circuit/v1/types.d.ts +151 -0
- package/cosmos/circuit/v1/types.js +350 -0
- package/cosmos/consensus/module/v1/module.d.ts +37 -0
- package/cosmos/consensus/module/v1/module.js +81 -0
- package/cosmos/consensus/v1/query.d.ts +77 -0
- package/cosmos/consensus/v1/query.js +148 -0
- package/cosmos/consensus/v1/query.rpc.func.d.ts +3 -0
- package/cosmos/consensus/v1/query.rpc.func.js +14 -0
- package/cosmos/consensus/v1/query.rpc.react.d.ts +2 -0
- package/cosmos/consensus/v1/query.rpc.react.js +9 -0
- package/cosmos/consensus/v1/tx.d.ts +99 -0
- package/cosmos/consensus/v1/tx.js +199 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +2 -0
- package/cosmos/consensus/v1/tx.registry.js +5 -0
- package/cosmos/consensus/v1/tx.rpc.func.d.ts +3 -0
- package/cosmos/consensus/v1/tx.rpc.func.js +14 -0
- package/cosmos/consensus/v1/tx.rpc.react.d.ts +2 -0
- package/cosmos/consensus/v1/tx.rpc.react.js +8 -0
- package/cosmos/crisis/module/v1/module.d.ts +40 -0
- package/cosmos/crisis/module/v1/module.js +95 -0
- package/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
- package/cosmos/crisis/v1beta1/genesis.js +84 -0
- package/cosmos/crisis/v1beta1/tx.d.ts +161 -0
- package/cosmos/crisis/v1beta1/tx.js +328 -0
- package/cosmos/crisis/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/crisis/v1beta1/tx.registry.js +49 -0
- package/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/crisis/v1beta1/tx.rpc.func.js +27 -0
- package/cosmos/crypto/ed25519/keys.d.ts +84 -0
- package/cosmos/crypto/ed25519/keys.js +162 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +58 -0
- package/cosmos/crypto/hd/v1/hd.js +131 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +188 -0
- package/cosmos/crypto/keyring/v1/record.js +431 -0
- package/cosmos/crypto/multisig/keys.d.ts +45 -0
- package/cosmos/crypto/multisig/keys.js +99 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +88 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +78 -0
- package/cosmos/crypto/secp256k1/keys.js +162 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +76 -0
- package/cosmos/crypto/secp256r1/keys.js +162 -0
- package/cosmos/distribution/module/v1/module.d.ts +39 -0
- package/cosmos/distribution/module/v1/module.js +93 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +553 -0
- package/cosmos/distribution/v1beta1/distribution.js +1168 -0
- package/cosmos/distribution/v1beta1/genesis.d.ts +384 -0
- package/cosmos/distribution/v1beta1/genesis.js +908 -0
- package/cosmos/distribution/v1beta1/query.d.ts +823 -0
- package/cosmos/distribution/v1beta1/query.js +1661 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +12 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.js +95 -0
- package/cosmos/distribution/v1beta1/query.rpc.react.d.ts +11 -0
- package/cosmos/distribution/v1beta1/query.rpc.react.js +45 -0
- package/cosmos/distribution/v1beta1/tx.d.ts +592 -0
- package/cosmos/distribution/v1beta1/tx.js +1142 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +5 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +62 -0
- package/cosmos/distribution/v1beta1/tx.rpc.react.d.ts +8 -0
- package/cosmos/distribution/v1beta1/tx.rpc.react.js +26 -0
- package/cosmos/evidence/module/v1/module.d.ts +33 -0
- package/cosmos/evidence/module/v1/module.js +68 -0
- package/cosmos/evidence/v1beta1/evidence.d.ts +55 -0
- package/cosmos/evidence/v1beta1/evidence.js +119 -0
- package/cosmos/evidence/v1beta1/genesis.d.ts +38 -0
- package/cosmos/evidence/v1beta1/genesis.js +85 -0
- package/cosmos/evidence/v1beta1/query.d.ts +180 -0
- package/cosmos/evidence/v1beta1/query.js +346 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +4 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.js +23 -0
- package/cosmos/evidence/v1beta1/query.rpc.react.d.ts +3 -0
- package/cosmos/evidence/v1beta1/query.rpc.react.js +13 -0
- package/cosmos/evidence/v1beta1/tx.d.ts +86 -0
- package/cosmos/evidence/v1beta1/tx.js +173 -0
- package/cosmos/evidence/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/evidence/v1beta1/tx.registry.js +5 -0
- package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +3 -0
- package/cosmos/evidence/v1beta1/tx.rpc.func.js +14 -0
- package/cosmos/evidence/v1beta1/tx.rpc.react.d.ts +2 -0
- package/cosmos/evidence/v1beta1/tx.rpc.react.js +8 -0
- package/cosmos/feegrant/module/v1/module.d.ts +33 -0
- package/cosmos/feegrant/module/v1/module.js +68 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +223 -0
- package/cosmos/feegrant/v1beta1/feegrant.js +445 -0
- package/cosmos/feegrant/v1beta1/genesis.d.ts +36 -0
- package/cosmos/feegrant/v1beta1/genesis.js +87 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +246 -0
- package/cosmos/feegrant/v1beta1/query.js +546 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/feegrant/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/feegrant/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/feegrant/v1beta1/tx.d.ts +239 -0
- package/cosmos/feegrant/v1beta1/tx.js +470 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +5 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +30 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.react.d.ts +4 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.react.js +14 -0
- package/cosmos/genutil/module/v1/module.d.ts +32 -0
- package/cosmos/genutil/module/v1/module.js +70 -0
- package/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
- package/cosmos/genutil/v1beta1/genesis.js +87 -0
- package/cosmos/gov/module/v1/module.d.ts +47 -0
- package/cosmos/gov/module/v1/module.js +93 -0
- package/cosmos/gov/v1/genesis.d.ts +116 -0
- package/cosmos/gov/v1/genesis.js +195 -0
- package/cosmos/gov/v1/gov.d.ts +705 -0
- package/cosmos/gov/v1/gov.js +1364 -0
- package/cosmos/gov/v1/query.d.ts +724 -0
- package/cosmos/gov/v1/query.js +1573 -0
- package/cosmos/gov/v1/query.rpc.func.d.ts +11 -0
- package/cosmos/gov/v1/query.rpc.func.js +86 -0
- package/cosmos/gov/v1/query.rpc.react.d.ts +10 -0
- package/cosmos/gov/v1/query.rpc.react.js +41 -0
- package/cosmos/gov/v1/tx.d.ts +640 -0
- package/cosmos/gov/v1/tx.js +1298 -0
- package/cosmos/gov/v1/tx.registry.d.ts +2 -0
- package/cosmos/gov/v1/tx.registry.js +5 -0
- package/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
- package/cosmos/gov/v1/tx.rpc.func.js +62 -0
- package/cosmos/gov/v1/tx.rpc.react.d.ts +8 -0
- package/cosmos/gov/v1/tx.rpc.react.js +26 -0
- package/cosmos/gov/v1beta1/genesis.d.ts +62 -0
- package/cosmos/gov/v1beta1/genesis.js +170 -0
- package/cosmos/gov/v1beta1/gov.d.ts +533 -0
- package/cosmos/gov/v1beta1/gov.js +1143 -0
- package/cosmos/gov/v1beta1/query.d.ts +622 -0
- package/cosmos/gov/v1beta1/query.js +1419 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
- package/cosmos/gov/v1beta1/query.rpc.func.js +77 -0
- package/cosmos/gov/v1beta1/query.rpc.react.d.ts +9 -0
- package/cosmos/gov/v1beta1/query.rpc.react.js +37 -0
- package/cosmos/gov/v1beta1/tx.d.ts +335 -0
- package/cosmos/gov/v1beta1/tx.js +722 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/gov/v1beta1/tx.registry.js +5 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.js +38 -0
- package/cosmos/gov/v1beta1/tx.rpc.react.d.ts +5 -0
- package/cosmos/gov/v1beta1/tx.rpc.react.js +17 -0
- package/cosmos/group/module/v1/module.d.ts +53 -0
- package/cosmos/group/module/v1/module.js +96 -0
- package/cosmos/group/v1/events.d.ts +363 -0
- package/cosmos/group/v1/events.js +847 -0
- package/cosmos/group/v1/genesis.d.ts +83 -0
- package/cosmos/group/v1/genesis.js +183 -0
- package/cosmos/group/v1/query.d.ts +1044 -0
- package/cosmos/group/v1/query.js +2434 -0
- package/cosmos/group/v1/query.rpc.func.d.ts +30 -0
- package/cosmos/group/v1/query.rpc.func.js +174 -0
- package/cosmos/group/v1/tx.d.ts +1140 -0
- package/cosmos/group/v1/tx.js +2567 -0
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +265 -0
- package/cosmos/group/v1/tx.rpc.func.d.ts +30 -0
- package/cosmos/group/v1/tx.rpc.func.js +147 -0
- package/cosmos/group/v1/types.d.ts +799 -0
- package/cosmos/group/v1/types.js +1542 -0
- package/cosmos/ics23/v1/proofs.d.ts +743 -0
- package/cosmos/ics23/v1/proofs.js +1619 -0
- package/cosmos/mint/module/v1/module.d.ts +39 -0
- package/cosmos/mint/module/v1/module.js +93 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +42 -0
- package/cosmos/mint/v1beta1/genesis.js +97 -0
- package/cosmos/mint/v1beta1/mint.d.ts +96 -0
- package/cosmos/mint/v1beta1/mint.js +231 -0
- package/cosmos/mint/v1beta1/query.d.ts +219 -0
- package/cosmos/mint/v1beta1/query.js +431 -0
- package/cosmos/mint/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/mint/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/mint/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/mint/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/mint/v1beta1/tx.d.ts +99 -0
- package/cosmos/mint/v1beta1/tx.js +160 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/mint/v1beta1/tx.registry.js +5 -0
- package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +3 -0
- package/cosmos/mint/v1beta1/tx.rpc.func.js +14 -0
- package/cosmos/mint/v1beta1/tx.rpc.react.d.ts +2 -0
- package/cosmos/mint/v1beta1/tx.rpc.react.js +8 -0
- package/cosmos/msg/textual/v1/textual.d.ts +1 -0
- package/cosmos/msg/textual/v1/textual.js +2 -0
- package/cosmos/msg/v1/msg.d.ts +1 -0
- package/cosmos/msg/v1/msg.js +2 -0
- package/cosmos/nft/module/v1/module.d.ts +32 -0
- package/cosmos/nft/module/v1/module.js +70 -0
- package/cosmos/nft/v1beta1/event.d.ts +132 -0
- package/cosmos/nft/v1beta1/event.js +323 -0
- package/cosmos/nft/v1beta1/genesis.d.ts +79 -0
- package/cosmos/nft/v1beta1/genesis.js +195 -0
- package/cosmos/nft/v1beta1/nft.d.ts +111 -0
- package/cosmos/nft/v1beta1/nft.js +282 -0
- package/cosmos/nft/v1beta1/query.d.ts +508 -0
- package/cosmos/nft/v1beta1/query.js +1189 -0
- package/cosmos/nft/v1beta1/query.rpc.func.d.ts +16 -0
- package/cosmos/nft/v1beta1/query.rpc.func.js +90 -0
- package/cosmos/nft/v1beta1/tx.d.ts +78 -0
- package/cosmos/nft/v1beta1/tx.js +184 -0
- package/cosmos/nft/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/nft/v1beta1/tx.registry.js +31 -0
- package/cosmos/nft/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/nft/v1beta1/tx.rpc.func.js +17 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
- package/cosmos/orm/module/v1alpha1/module.js +70 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
- package/cosmos/orm/query/v1alpha1/query.js +751 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +6 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.func.js +30 -0
- package/cosmos/orm/v1/orm.d.ts +278 -0
- package/cosmos/orm/v1/orm.js +380 -0
- package/cosmos/orm/v1alpha1/schema.d.ts +134 -0
- package/cosmos/orm/v1alpha1/schema.js +258 -0
- package/cosmos/params/module/v1/module.d.ts +33 -0
- package/cosmos/params/module/v1/module.js +68 -0
- package/cosmos/params/v1beta1/params.d.ts +82 -0
- package/cosmos/params/v1beta1/params.js +214 -0
- package/cosmos/params/v1beta1/query.d.ts +206 -0
- package/cosmos/params/v1beta1/query.js +411 -0
- package/cosmos/params/v1beta1/query.rpc.func.d.ts +4 -0
- package/cosmos/params/v1beta1/query.rpc.func.js +23 -0
- package/cosmos/params/v1beta1/query.rpc.react.d.ts +3 -0
- package/cosmos/params/v1beta1/query.rpc.react.js +13 -0
- package/cosmos/query/v1/query.d.ts +1 -0
- package/cosmos/query/v1/query.js +2 -0
- package/cosmos/reflection/v1/reflection.d.ts +67 -0
- package/cosmos/reflection/v1/reflection.js +152 -0
- package/cosmos/reflection/v1/reflection.rpc.func.d.ts +4 -0
- package/cosmos/reflection/v1/reflection.rpc.func.js +18 -0
- package/cosmos/slashing/module/v1/module.d.ts +37 -0
- package/cosmos/slashing/module/v1/module.js +81 -0
- package/cosmos/slashing/v1beta1/genesis.d.ts +181 -0
- package/cosmos/slashing/v1beta1/genesis.js +390 -0
- package/cosmos/slashing/v1beta1/query.d.ts +232 -0
- package/cosmos/slashing/v1beta1/query.js +479 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/slashing/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/slashing/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/slashing/v1beta1/slashing.d.ts +125 -0
- package/cosmos/slashing/v1beta1/slashing.js +269 -0
- package/cosmos/slashing/v1beta1/tx.d.ts +163 -0
- package/cosmos/slashing/v1beta1/tx.js +301 -0
- package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/slashing/v1beta1/tx.registry.js +5 -0
- package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -0
- package/cosmos/slashing/v1beta1/tx.rpc.react.d.ts +3 -0
- package/cosmos/slashing/v1beta1/tx.rpc.react.js +11 -0
- package/cosmos/staking/module/v1/module.d.ts +57 -0
- package/cosmos/staking/module/v1/module.js +120 -0
- package/cosmos/staking/v1beta1/authz.d.ts +124 -0
- package/cosmos/staking/v1beta1/authz.js +267 -0
- package/cosmos/staking/v1beta1/genesis.d.ts +117 -0
- package/cosmos/staking/v1beta1/genesis.js +278 -0
- package/cosmos/staking/v1beta1/query.d.ts +1152 -0
- package/cosmos/staking/v1beta1/query.js +2434 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
- package/cosmos/staking/v1beta1/query.rpc.func.js +131 -0
- package/cosmos/staking/v1beta1/query.rpc.react.d.ts +15 -0
- package/cosmos/staking/v1beta1/query.rpc.react.js +61 -0
- package/cosmos/staking/v1beta1/staking.d.ts +1045 -0
- package/cosmos/staking/v1beta1/staking.js +2377 -0
- package/cosmos/staking/v1beta1/tx.d.ts +604 -0
- package/cosmos/staking/v1beta1/tx.js +1293 -0
- package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/staking/v1beta1/tx.registry.js +5 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.js +62 -0
- package/cosmos/staking/v1beta1/tx.rpc.react.d.ts +8 -0
- package/cosmos/staking/v1beta1/tx.rpc.react.js +26 -0
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
- package/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
- package/cosmos/store/snapshots/v1/snapshot.js +687 -0
- package/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
- package/cosmos/store/snapshots/v2/snapshot.js +687 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +136 -0
- package/cosmos/store/streaming/abci/grpc.js +332 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +124 -0
- package/cosmos/store/v1beta1/commit_info.js +292 -0
- package/cosmos/store/v1beta1/listening.d.ts +101 -0
- package/cosmos/store/v1beta1/listening.js +223 -0
- package/cosmos/streaming/v1/grpc.d.ts +302 -0
- package/cosmos/streaming/v1/grpc.js +826 -0
- package/cosmos/tx/config/v1/config.d.ts +53 -0
- package/cosmos/tx/config/v1/config.js +93 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +275 -0
- package/cosmos/tx/signing/v1beta1/signing.js +574 -0
- package/cosmos/tx/v1beta1/service.d.ts +934 -0
- package/cosmos/tx/v1beta1/service.js +1737 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
- package/cosmos/tx/v1beta1/service.rpc.func.js +86 -0
- package/cosmos/tx/v1beta1/service.rpc.react.d.ts +10 -0
- package/cosmos/tx/v1beta1/service.rpc.react.js +41 -0
- package/cosmos/tx/v1beta1/tx.d.ts +869 -0
- package/cosmos/tx/v1beta1/tx.js +1407 -0
- package/cosmos/upgrade/module/v1/module.d.ts +37 -0
- package/cosmos/upgrade/module/v1/module.js +81 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +433 -0
- package/cosmos/upgrade/v1beta1/query.js +757 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +7 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.js +50 -0
- package/cosmos/upgrade/v1beta1/query.rpc.react.d.ts +6 -0
- package/cosmos/upgrade/v1beta1/query.rpc.react.js +25 -0
- package/cosmos/upgrade/v1beta1/tx.d.ts +171 -0
- package/cosmos/upgrade/v1beta1/tx.js +301 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +5 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.react.d.ts +3 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.react.js +11 -0
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +249 -0
- package/cosmos/upgrade/v1beta1/upgrade.js +419 -0
- package/cosmos/validate/module/v1/module.d.ts +32 -0
- package/cosmos/validate/module/v1/module.js +70 -0
- package/cosmos/vesting/module/v1/module.d.ts +32 -0
- package/cosmos/vesting/module/v1/module.js +70 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +256 -0
- package/cosmos/vesting/v1beta1/tx.js +553 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +8 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +37 -0
- package/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
- package/cosmos/vesting/v1beta1/vesting.js +586 -0
- package/cosmos_proto/cosmos.d.ts +155 -0
- package/cosmos_proto/cosmos.js +233 -0
- package/cosmwasm/wasm/v1/authz.d.ts +511 -0
- package/cosmwasm/wasm/v1/authz.js +951 -0
- package/cosmwasm/wasm/v1/genesis.d.ts +157 -0
- package/cosmwasm/wasm/v1/genesis.js +460 -0
- package/cosmwasm/wasm/v1/ibc.d.ts +166 -0
- package/cosmwasm/wasm/v1/ibc.js +336 -0
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +885 -0
- package/cosmwasm/wasm/v1/proposal_legacy.js +1816 -0
- package/cosmwasm/wasm/v1/query.d.ts +1045 -0
- package/cosmwasm/wasm/v1/query.js +2223 -0
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +14 -0
- package/cosmwasm/wasm/v1/query.rpc.func.js +113 -0
- package/cosmwasm/wasm/v1/query.rpc.react.d.ts +13 -0
- package/cosmwasm/wasm/v1/query.rpc.react.js +53 -0
- package/cosmwasm/wasm/v1/tx.d.ts +1568 -0
- package/cosmwasm/wasm/v1/tx.js +3218 -0
- package/cosmwasm/wasm/v1/tx.registry.d.ts +2 -0
- package/cosmwasm/wasm/v1/tx.registry.js +5 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +19 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.js +142 -0
- package/cosmwasm/wasm/v1/tx.rpc.react.d.ts +18 -0
- package/cosmwasm/wasm/v1/tx.rpc.react.js +56 -0
- package/cosmwasm/wasm/v1/types.d.ts +382 -0
- package/cosmwasm/wasm/v1/types.js +915 -0
- package/esm/amino/amino.js +1 -0
- package/esm/binary.js +365 -0
- package/esm/cosmos/app/runtime/v1alpha1/module.js +289 -0
- package/esm/cosmos/app/runtime/v2/module.js +418 -0
- package/esm/cosmos/app/v1alpha1/config.js +295 -0
- package/esm/cosmos/app/v1alpha1/module.js +277 -0
- package/esm/cosmos/app/v1alpha1/query.js +145 -0
- package/esm/cosmos/app/v1alpha1/query.rpc.func.js +10 -0
- package/esm/cosmos/app/v1alpha1/query.rpc.react.js +6 -0
- package/esm/cosmos/auth/module/v1/module.js +199 -0
- package/esm/cosmos/auth/v1beta1/accounts.js +158 -0
- package/esm/cosmos/auth/v1beta1/auth.js +445 -0
- package/esm/cosmos/auth/v1beta1/genesis.js +95 -0
- package/esm/cosmos/auth/v1beta1/query.js +1555 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +82 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.react.js +42 -0
- package/esm/cosmos/auth/v1beta1/tx.js +157 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +10 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.react.js +5 -0
- package/esm/cosmos/authz/module/v1/module.js +65 -0
- package/esm/cosmos/authz/v1beta1/authz.js +387 -0
- package/esm/cosmos/authz/v1beta1/event.js +203 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +84 -0
- package/esm/cosmos/authz/v1beta1/query.js +585 -0
- package/esm/cosmos/authz/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/authz/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/authz/v1beta1/tx.js +509 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.react.js +11 -0
- package/esm/cosmos/autocli/v1/options.js +839 -0
- package/esm/cosmos/autocli/v1/query.js +236 -0
- package/esm/cosmos/autocli/v1/query.rpc.func.js +10 -0
- package/esm/cosmos/autocli/v1/query.rpc.react.js +6 -0
- package/esm/cosmos/bank/module/v1/module.js +108 -0
- package/esm/cosmos/bank/v1beta1/authz.js +102 -0
- package/esm/cosmos/bank/v1beta1/bank.js +728 -0
- package/esm/cosmos/bank/v1beta1/genesis.js +240 -0
- package/esm/cosmos/bank/v1beta1/query.js +2335 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +106 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.react.js +54 -0
- package/esm/cosmos/bank/v1beta1/tx.js +663 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.react.js +14 -0
- package/esm/cosmos/base/abci/v1beta1/abci.js +1291 -0
- package/esm/cosmos/base/grpc/v2/service.js +391 -0
- package/esm/cosmos/base/grpc/v2/service.rpc.func.js +18 -0
- package/esm/cosmos/base/grpc/v2/service.rpc.react.js +10 -0
- package/esm/cosmos/base/node/v1beta1/query.js +369 -0
- package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +18 -0
- package/esm/cosmos/base/node/v1beta1/query.rpc.react.js +10 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +216 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.js +302 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +18 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +10 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2161 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +50 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +26 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.js +1891 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +58 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.react.js +30 -0
- package/esm/cosmos/base/tendermint/v1beta1/types.js +360 -0
- package/esm/cosmos/base/v1beta1/coin.js +334 -0
- package/esm/cosmos/circuit/module/v1/module.js +80 -0
- package/esm/cosmos/circuit/v1/query.js +477 -0
- package/esm/cosmos/circuit/v1/query.rpc.func.js +36 -0
- package/esm/cosmos/circuit/v1/tx.js +525 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +64 -0
- package/esm/cosmos/circuit/v1/tx.rpc.func.js +31 -0
- package/esm/cosmos/circuit/v1/types.js +345 -0
- package/esm/cosmos/consensus/module/v1/module.js +78 -0
- package/esm/cosmos/consensus/v1/query.js +145 -0
- package/esm/cosmos/consensus/v1/query.rpc.func.js +10 -0
- package/esm/cosmos/consensus/v1/query.rpc.react.js +6 -0
- package/esm/cosmos/consensus/v1/tx.js +196 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +2 -0
- package/esm/cosmos/consensus/v1/tx.rpc.func.js +10 -0
- package/esm/cosmos/consensus/v1/tx.rpc.react.js +5 -0
- package/esm/cosmos/crisis/module/v1/module.js +92 -0
- package/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
- package/esm/cosmos/crisis/v1beta1/tx.js +325 -0
- package/esm/cosmos/crisis/v1beta1/tx.registry.js +46 -0
- package/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +22 -0
- package/esm/cosmos/crypto/ed25519/keys.js +159 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +128 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +428 -0
- package/esm/cosmos/crypto/multisig/keys.js +96 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +171 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +159 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +159 -0
- package/esm/cosmos/distribution/module/v1/module.js +90 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +1165 -0
- package/esm/cosmos/distribution/v1beta1/genesis.js +905 -0
- package/esm/cosmos/distribution/v1beta1/query.js +1658 -0
- package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +82 -0
- package/esm/cosmos/distribution/v1beta1/query.rpc.react.js +42 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +1139 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +52 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.react.js +23 -0
- package/esm/cosmos/evidence/module/v1/module.js +65 -0
- package/esm/cosmos/evidence/v1beta1/evidence.js +116 -0
- package/esm/cosmos/evidence/v1beta1/genesis.js +82 -0
- package/esm/cosmos/evidence/v1beta1/query.js +343 -0
- package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +18 -0
- package/esm/cosmos/evidence/v1beta1/query.rpc.react.js +10 -0
- package/esm/cosmos/evidence/v1beta1/tx.js +170 -0
- package/esm/cosmos/evidence/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +10 -0
- package/esm/cosmos/evidence/v1beta1/tx.rpc.react.js +5 -0
- package/esm/cosmos/feegrant/module/v1/module.js +65 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +442 -0
- package/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +543 -0
- package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/feegrant/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/feegrant/v1beta1/tx.js +467 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +24 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.react.js +11 -0
- package/esm/cosmos/genutil/module/v1/module.js +67 -0
- package/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
- package/esm/cosmos/gov/module/v1/module.js +90 -0
- package/esm/cosmos/gov/v1/genesis.js +192 -0
- package/esm/cosmos/gov/v1/gov.js +1357 -0
- package/esm/cosmos/gov/v1/query.js +1570 -0
- package/esm/cosmos/gov/v1/query.rpc.func.js +74 -0
- package/esm/cosmos/gov/v1/query.rpc.react.js +38 -0
- package/esm/cosmos/gov/v1/tx.js +1295 -0
- package/esm/cosmos/gov/v1/tx.registry.js +2 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +52 -0
- package/esm/cosmos/gov/v1/tx.rpc.react.js +23 -0
- package/esm/cosmos/gov/v1beta1/genesis.js +167 -0
- package/esm/cosmos/gov/v1beta1/gov.js +1136 -0
- package/esm/cosmos/gov/v1beta1/query.js +1416 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +66 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.react.js +34 -0
- package/esm/cosmos/gov/v1beta1/tx.js +719 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.react.js +14 -0
- package/esm/cosmos/group/module/v1/module.js +93 -0
- package/esm/cosmos/group/v1/events.js +844 -0
- package/esm/cosmos/group/v1/genesis.js +180 -0
- package/esm/cosmos/group/v1/query.js +2431 -0
- package/esm/cosmos/group/v1/query.rpc.func.js +157 -0
- package/esm/cosmos/group/v1/tx.js +2562 -0
- package/esm/cosmos/group/v1/tx.registry.js +262 -0
- package/esm/cosmos/group/v1/tx.rpc.func.js +130 -0
- package/esm/cosmos/group/v1/types.js +1533 -0
- package/esm/cosmos/ics23/v1/proofs.js +1612 -0
- package/esm/cosmos/mint/module/v1/module.js +90 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +94 -0
- package/esm/cosmos/mint/v1beta1/mint.js +228 -0
- package/esm/cosmos/mint/v1beta1/query.js +428 -0
- package/esm/cosmos/mint/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/mint/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/mint/v1beta1/tx.js +157 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +10 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.react.js +5 -0
- package/esm/cosmos/msg/textual/v1/textual.js +1 -0
- package/esm/cosmos/msg/v1/msg.js +1 -0
- package/esm/cosmos/nft/module/v1/module.js +67 -0
- package/esm/cosmos/nft/v1beta1/event.js +320 -0
- package/esm/cosmos/nft/v1beta1/genesis.js +192 -0
- package/esm/cosmos/nft/v1beta1/nft.js +279 -0
- package/esm/cosmos/nft/v1beta1/query.js +1186 -0
- package/esm/cosmos/nft/v1beta1/query.rpc.func.js +80 -0
- package/esm/cosmos/nft/v1beta1/tx.js +181 -0
- package/esm/cosmos/nft/v1beta1/tx.registry.js +28 -0
- package/esm/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +25 -0
- package/esm/cosmos/orm/v1/orm.js +377 -0
- package/esm/cosmos/orm/v1alpha1/schema.js +253 -0
- package/esm/cosmos/params/module/v1/module.js +65 -0
- package/esm/cosmos/params/v1beta1/params.js +211 -0
- package/esm/cosmos/params/v1beta1/query.js +408 -0
- package/esm/cosmos/params/v1beta1/query.rpc.func.js +18 -0
- package/esm/cosmos/params/v1beta1/query.rpc.react.js +10 -0
- package/esm/cosmos/query/v1/query.js +1 -0
- package/esm/cosmos/reflection/v1/reflection.js +149 -0
- package/esm/cosmos/reflection/v1/reflection.rpc.func.js +14 -0
- package/esm/cosmos/slashing/module/v1/module.js +78 -0
- package/esm/cosmos/slashing/v1beta1/genesis.js +387 -0
- package/esm/cosmos/slashing/v1beta1/query.js +476 -0
- package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/slashing/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/slashing/v1beta1/slashing.js +266 -0
- package/esm/cosmos/slashing/v1beta1/tx.js +298 -0
- package/esm/cosmos/slashing/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +17 -0
- package/esm/cosmos/slashing/v1beta1/tx.rpc.react.js +8 -0
- package/esm/cosmos/staking/module/v1/module.js +117 -0
- package/esm/cosmos/staking/v1beta1/authz.js +262 -0
- package/esm/cosmos/staking/v1beta1/genesis.js +275 -0
- package/esm/cosmos/staking/v1beta1/query.js +2431 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +114 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.react.js +58 -0
- package/esm/cosmos/staking/v1beta1/staking.js +2370 -0
- package/esm/cosmos/staking/v1beta1/tx.js +1290 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +52 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.react.js +23 -0
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
- package/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +329 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +289 -0
- package/esm/cosmos/store/v1beta1/listening.js +220 -0
- package/esm/cosmos/streaming/v1/grpc.js +823 -0
- package/esm/cosmos/tx/config/v1/config.js +90 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +569 -0
- package/esm/cosmos/tx/v1beta1/service.js +1730 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +74 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.react.js +38 -0
- package/esm/cosmos/tx/v1beta1/tx.js +1404 -0
- package/esm/cosmos/upgrade/module/v1/module.js +78 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +754 -0
- package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +42 -0
- package/esm/cosmos/upgrade/v1beta1/query.rpc.react.js +22 -0
- package/esm/cosmos/upgrade/v1beta1/tx.js +298 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +17 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.react.js +8 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +416 -0
- package/esm/cosmos/validate/module/v1/module.js +67 -0
- package/esm/cosmos/vesting/module/v1/module.js +67 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +550 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
- package/esm/cosmos_proto/cosmos.js +228 -0
- package/esm/cosmwasm/wasm/v1/authz.js +948 -0
- package/esm/cosmwasm/wasm/v1/genesis.js +457 -0
- package/esm/cosmwasm/wasm/v1/ibc.js +333 -0
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1813 -0
- package/esm/cosmwasm/wasm/v1/query.js +2220 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +98 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.react.js +50 -0
- package/esm/cosmwasm/wasm/v1/tx.js +3215 -0
- package/esm/cosmwasm/wasm/v1/tx.registry.js +2 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +122 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.react.js +53 -0
- package/esm/cosmwasm/wasm/v1/types.js +908 -0
- package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +142 -0
- package/esm/ethermint/evm/v1/events.js +380 -0
- package/esm/ethermint/evm/v1/evm.js +1187 -0
- package/esm/ethermint/evm/v1/genesis.js +189 -0
- package/esm/ethermint/evm/v1/query.js +1982 -0
- package/esm/ethermint/evm/v1/query.rpc.func.js +99 -0
- package/esm/ethermint/evm/v1/query.rpc.react.js +50 -0
- package/esm/ethermint/evm/v1/tx.js +1018 -0
- package/esm/ethermint/evm/v1/tx.registry.js +2 -0
- package/esm/ethermint/evm/v1/tx.rpc.func.js +17 -0
- package/esm/ethermint/evm/v1/tx.rpc.react.js +8 -0
- package/esm/ethermint/feemarket/v1/events.js +153 -0
- package/esm/ethermint/feemarket/v1/feemarket.js +151 -0
- package/esm/ethermint/feemarket/v1/genesis.js +86 -0
- package/esm/ethermint/feemarket/v1/query.js +385 -0
- package/esm/ethermint/feemarket/v1/query.rpc.func.js +26 -0
- package/esm/ethermint/feemarket/v1/query.rpc.react.js +14 -0
- package/esm/ethermint/feemarket/v1/tx.js +150 -0
- package/esm/ethermint/feemarket/v1/tx.registry.js +2 -0
- package/esm/ethermint/feemarket/v1/tx.rpc.func.js +10 -0
- package/esm/ethermint/feemarket/v1/tx.rpc.react.js +5 -0
- package/esm/ethermint/types/v1/account.js +88 -0
- package/esm/ethermint/types/v1/dynamic_fee.js +71 -0
- package/esm/ethermint/types/v1/indexer.js +143 -0
- package/esm/ethermint/types/v1/web3.js +96 -0
- package/esm/extern.js +30 -0
- package/esm/gogoproto/gogo.js +1 -0
- package/esm/google/api/annotations.js +1 -0
- package/esm/google/api/http.js +354 -0
- package/esm/google/protobuf/any.js +79 -0
- package/esm/google/protobuf/descriptor.js +5136 -0
- package/esm/google/protobuf/duration.js +77 -0
- package/esm/google/protobuf/timestamp.js +74 -0
- package/esm/helper-func-types.js +60 -0
- package/esm/helpers.js +128 -0
- package/esm/ibc/applications/fee/v1/ack.js +103 -0
- package/esm/ibc/applications/fee/v1/fee.js +398 -0
- package/esm/ibc/applications/fee/v1/genesis.js +531 -0
- package/esm/ibc/applications/fee/v1/metadata.js +90 -0
- package/esm/ibc/applications/fee/v1/query.js +1739 -0
- package/esm/ibc/applications/fee/v1/query.rpc.func.js +82 -0
- package/esm/ibc/applications/fee/v1/query.rpc.react.js +42 -0
- package/esm/ibc/applications/fee/v1/tx.js +707 -0
- package/esm/ibc/applications/fee/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/fee/v1/tx.rpc.func.js +31 -0
- package/esm/ibc/applications/fee/v1/tx.rpc.react.js +14 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +78 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +311 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +18 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +10 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +553 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +24 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +11 -0
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +558 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +183 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +145 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +10 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +6 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +344 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +17 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +8 -0
- package/esm/ibc/applications/interchain_accounts/v1/account.js +96 -0
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +138 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +222 -0
- package/esm/ibc/applications/transfer/v1/authz.js +223 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +126 -0
- package/esm/ibc/applications/transfer/v1/query.js +953 -0
- package/esm/ibc/applications/transfer/v1/query.rpc.func.js +50 -0
- package/esm/ibc/applications/transfer/v1/query.rpc.react.js +26 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +179 -0
- package/esm/ibc/applications/transfer/v1/tx.js +399 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +17 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.react.js +8 -0
- package/esm/ibc/applications/transfer/v2/packet.js +126 -0
- package/esm/ibc/core/channel/v1/channel.js +1160 -0
- package/esm/ibc/core/channel/v1/genesis.js +302 -0
- package/esm/ibc/core/channel/v1/query.js +3415 -0
- package/esm/ibc/core/channel/v1/query.rpc.func.js +138 -0
- package/esm/ibc/core/channel/v1/query.rpc.react.js +70 -0
- package/esm/ibc/core/channel/v1/tx.js +4031 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +2 -0
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +136 -0
- package/esm/ibc/core/channel/v1/tx.rpc.react.js +59 -0
- package/esm/ibc/core/channel/v1/upgrade.js +300 -0
- package/esm/ibc/core/client/v1/client.js +673 -0
- package/esm/ibc/core/client/v1/genesis.js +337 -0
- package/esm/ibc/core/client/v1/query.js +1756 -0
- package/esm/ibc/core/client/v1/query.rpc.func.js +82 -0
- package/esm/ibc/core/client/v1/query.rpc.react.js +42 -0
- package/esm/ibc/core/client/v1/tx.js +1186 -0
- package/esm/ibc/core/client/v1/tx.registry.js +2 -0
- package/esm/ibc/core/client/v1/tx.rpc.func.js +52 -0
- package/esm/ibc/core/client/v1/tx.rpc.react.js +23 -0
- package/esm/ibc/core/commitment/v1/commitment.js +319 -0
- package/esm/ibc/core/connection/v1/connection.js +776 -0
- package/esm/ibc/core/connection/v1/genesis.js +125 -0
- package/esm/ibc/core/connection/v1/query.js +1097 -0
- package/esm/ibc/core/connection/v1/query.rpc.func.js +50 -0
- package/esm/ibc/core/connection/v1/query.rpc.react.js +26 -0
- package/esm/ibc/core/connection/v1/tx.js +1086 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +2 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +38 -0
- package/esm/ibc/core/connection/v1/tx.rpc.react.js +17 -0
- package/esm/ibc/core/types/v1/genesis.js +109 -0
- package/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +1675 -0
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +839 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +628 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +161 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +330 -0
- package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +18 -0
- package/esm/ibc/lightclients/wasm/v1/query.rpc.react.js +10 -0
- package/esm/ibc/lightclients/wasm/v1/tx.js +498 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +24 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.react.js +11 -0
- package/esm/ibc/lightclients/wasm/v1/wasm.js +340 -0
- package/esm/react-query.js +92 -0
- package/esm/registry.js +154 -0
- package/esm/tendermint/abci/types.js +5300 -0
- package/esm/tendermint/crypto/keys.js +84 -0
- package/esm/tendermint/crypto/proof.js +458 -0
- package/esm/tendermint/p2p/types.js +429 -0
- package/esm/tendermint/types/block.js +114 -0
- package/esm/tendermint/types/evidence.js +409 -0
- package/esm/tendermint/types/params.js +597 -0
- package/esm/tendermint/types/types.js +1776 -0
- package/esm/tendermint/types/validator.js +342 -0
- package/esm/tendermint/version/types.js +165 -0
- package/esm/types.js +6 -0
- package/esm/utf8.js +136 -0
- package/esm/varint.js +407 -0
- package/esm/xpla/reward/v1beta1/genesis.js +74 -0
- package/esm/xpla/reward/v1beta1/query.js +264 -0
- package/esm/xpla/reward/v1beta1/query.rpc.func.js +18 -0
- package/esm/xpla/reward/v1beta1/query.rpc.react.js +10 -0
- package/esm/xpla/reward/v1beta1/reward.js +127 -0
- package/esm/xpla/reward/v1beta1/tx.js +302 -0
- package/esm/xpla/reward/v1beta1/tx.registry.js +2 -0
- package/esm/xpla/reward/v1beta1/tx.rpc.func.js +17 -0
- package/esm/xpla/reward/v1beta1/tx.rpc.react.js +8 -0
- package/esm/xpla/volunteer/v1beta1/genesis.js +77 -0
- package/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
- package/esm/xpla/volunteer/v1beta1/query.js +131 -0
- package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +10 -0
- package/esm/xpla/volunteer/v1beta1/query.rpc.react.js +6 -0
- package/esm/xpla/volunteer/v1beta1/tx.js +348 -0
- package/esm/xpla/volunteer/v1beta1/tx.registry.js +2 -0
- package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +17 -0
- package/esm/xpla/volunteer/v1beta1/tx.rpc.react.js +8 -0
- package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +83 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +82 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.js +145 -0
- package/ethermint/evm/v1/events.d.ts +166 -0
- package/ethermint/evm/v1/events.js +383 -0
- package/ethermint/evm/v1/evm.d.ts +538 -0
- package/ethermint/evm/v1/evm.js +1190 -0
- package/ethermint/evm/v1/genesis.d.ts +89 -0
- package/ethermint/evm/v1/genesis.js +192 -0
- package/ethermint/evm/v1/query.d.ts +937 -0
- package/ethermint/evm/v1/query.js +1985 -0
- package/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
- package/ethermint/evm/v1/query.rpc.func.js +114 -0
- package/ethermint/evm/v1/query.rpc.react.d.ts +14 -0
- package/ethermint/evm/v1/query.rpc.react.js +53 -0
- package/ethermint/evm/v1/tx.d.ts +460 -0
- package/ethermint/evm/v1/tx.js +1021 -0
- package/ethermint/evm/v1/tx.registry.d.ts +2 -0
- package/ethermint/evm/v1/tx.registry.js +5 -0
- package/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
- package/ethermint/evm/v1/tx.rpc.func.js +22 -0
- package/ethermint/evm/v1/tx.rpc.react.d.ts +3 -0
- package/ethermint/evm/v1/tx.rpc.react.js +11 -0
- package/ethermint/feemarket/v1/events.d.ts +72 -0
- package/ethermint/feemarket/v1/events.js +156 -0
- package/ethermint/feemarket/v1/feemarket.d.ts +79 -0
- package/ethermint/feemarket/v1/feemarket.js +154 -0
- package/ethermint/feemarket/v1/genesis.d.ts +46 -0
- package/ethermint/feemarket/v1/genesis.js +89 -0
- package/ethermint/feemarket/v1/query.d.ts +201 -0
- package/ethermint/feemarket/v1/query.js +388 -0
- package/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
- package/ethermint/feemarket/v1/query.rpc.func.js +32 -0
- package/ethermint/feemarket/v1/query.rpc.react.d.ts +4 -0
- package/ethermint/feemarket/v1/query.rpc.react.js +17 -0
- package/ethermint/feemarket/v1/tx.d.ts +83 -0
- package/ethermint/feemarket/v1/tx.js +153 -0
- package/ethermint/feemarket/v1/tx.registry.d.ts +2 -0
- package/ethermint/feemarket/v1/tx.registry.js +5 -0
- package/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
- package/ethermint/feemarket/v1/tx.rpc.func.js +14 -0
- package/ethermint/feemarket/v1/tx.rpc.react.d.ts +2 -0
- package/ethermint/feemarket/v1/tx.rpc.react.js +8 -0
- package/ethermint/types/v1/account.d.ts +46 -0
- package/ethermint/types/v1/account.js +91 -0
- package/ethermint/types/v1/dynamic_fee.d.ts +35 -0
- package/ethermint/types/v1/dynamic_fee.js +74 -0
- package/ethermint/types/v1/indexer.d.ts +77 -0
- package/ethermint/types/v1/indexer.js +146 -0
- package/ethermint/types/v1/web3.d.ts +67 -0
- package/ethermint/types/v1/web3.js +99 -0
- package/extern.d.ts +10 -0
- package/extern.js +36 -0
- package/gogoproto/gogo.d.ts +1 -0
- package/gogoproto/gogo.js +2 -0
- package/google/api/annotations.d.ts +1 -0
- package/google/api/annotations.js +2 -0
- package/google/api/http.d.ts +767 -0
- package/google/api/http.js +357 -0
- package/google/protobuf/any.d.ts +269 -0
- package/google/protobuf/any.js +82 -0
- package/google/protobuf/descriptor.d.ts +2952 -0
- package/google/protobuf/descriptor.js +5175 -0
- package/google/protobuf/duration.d.ts +163 -0
- package/google/protobuf/duration.js +80 -0
- package/google/protobuf/timestamp.d.ts +223 -0
- package/google/protobuf/timestamp.js +77 -0
- package/helper-func-types.d.ts +120 -0
- package/helper-func-types.js +66 -0
- package/helpers.d.ts +82 -0
- package/helpers.js +143 -0
- package/ibc/applications/fee/v1/ack.d.ts +45 -0
- package/ibc/applications/fee/v1/ack.js +106 -0
- package/ibc/applications/fee/v1/fee.d.ts +164 -0
- package/ibc/applications/fee/v1/fee.js +401 -0
- package/ibc/applications/fee/v1/genesis.d.ts +225 -0
- package/ibc/applications/fee/v1/genesis.js +534 -0
- package/ibc/applications/fee/v1/metadata.d.ts +47 -0
- package/ibc/applications/fee/v1/metadata.js +93 -0
- package/ibc/applications/fee/v1/query.d.ts +757 -0
- package/ibc/applications/fee/v1/query.js +1742 -0
- package/ibc/applications/fee/v1/query.rpc.func.d.ts +12 -0
- package/ibc/applications/fee/v1/query.rpc.func.js +95 -0
- package/ibc/applications/fee/v1/query.rpc.react.d.ts +11 -0
- package/ibc/applications/fee/v1/query.rpc.react.js +45 -0
- package/ibc/applications/fee/v1/tx.d.ts +326 -0
- package/ibc/applications/fee/v1/tx.js +710 -0
- package/ibc/applications/fee/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/fee/v1/tx.registry.js +5 -0
- package/ibc/applications/fee/v1/tx.rpc.func.d.ts +6 -0
- package/ibc/applications/fee/v1/tx.rpc.func.js +38 -0
- package/ibc/applications/fee/v1/tx.rpc.react.d.ts +5 -0
- package/ibc/applications/fee/v1/tx.rpc.react.js +17 -0
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +43 -0
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +81 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +137 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +23 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.d.ts +3 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +13 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +237 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +5 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +5 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +30 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.d.ts +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +14 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +201 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +561 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +104 -0
- package/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +69 -0
- package/ibc/applications/interchain_accounts/host/v1/query.js +148 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +3 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +14 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.d.ts +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +9 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +159 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.js +347 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +22 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.d.ts +3 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +11 -0
- package/ibc/applications/interchain_accounts/v1/account.d.ts +38 -0
- package/ibc/applications/interchain_accounts/v1/account.js +99 -0
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +69 -0
- package/ibc/applications/interchain_accounts/v1/metadata.js +141 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +87 -0
- package/ibc/applications/interchain_accounts/v1/packet.js +227 -0
- package/ibc/applications/transfer/v1/authz.d.ts +101 -0
- package/ibc/applications/transfer/v1/authz.js +226 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +51 -0
- package/ibc/applications/transfer/v1/genesis.js +129 -0
- package/ibc/applications/transfer/v1/query.d.ts +461 -0
- package/ibc/applications/transfer/v1/query.js +956 -0
- package/ibc/applications/transfer/v1/query.rpc.func.d.ts +8 -0
- package/ibc/applications/transfer/v1/query.rpc.func.js +59 -0
- package/ibc/applications/transfer/v1/query.rpc.react.d.ts +7 -0
- package/ibc/applications/transfer/v1/query.rpc.react.js +29 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +114 -0
- package/ibc/applications/transfer/v1/transfer.js +182 -0
- package/ibc/applications/transfer/v1/tx.d.ts +206 -0
- package/ibc/applications/transfer/v1/tx.js +402 -0
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/transfer/v1/tx.registry.js +5 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.js +22 -0
- package/ibc/applications/transfer/v1/tx.rpc.react.d.ts +3 -0
- package/ibc/applications/transfer/v1/tx.rpc.react.js +11 -0
- package/ibc/applications/transfer/v2/packet.d.ts +61 -0
- package/ibc/applications/transfer/v2/packet.js +129 -0
- package/ibc/core/channel/v1/channel.d.ts +556 -0
- package/ibc/core/channel/v1/channel.js +1167 -0
- package/ibc/core/channel/v1/genesis.d.ts +97 -0
- package/ibc/core/channel/v1/genesis.js +305 -0
- package/ibc/core/channel/v1/query.d.ts +1559 -0
- package/ibc/core/channel/v1/query.js +3418 -0
- package/ibc/core/channel/v1/query.rpc.func.d.ts +19 -0
- package/ibc/core/channel/v1/query.rpc.func.js +158 -0
- package/ibc/core/channel/v1/query.rpc.react.d.ts +18 -0
- package/ibc/core/channel/v1/query.rpc.react.js +73 -0
- package/ibc/core/channel/v1/tx.d.ts +1528 -0
- package/ibc/core/channel/v1/tx.js +4036 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +2 -0
- package/ibc/core/channel/v1/tx.registry.js +5 -0
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
- package/ibc/core/channel/v1/tx.rpc.func.js +158 -0
- package/ibc/core/channel/v1/tx.rpc.react.d.ts +20 -0
- package/ibc/core/channel/v1/tx.rpc.react.js +62 -0
- package/ibc/core/channel/v1/upgrade.d.ts +142 -0
- package/ibc/core/channel/v1/upgrade.js +303 -0
- package/ibc/core/client/v1/client.d.ts +379 -0
- package/ibc/core/client/v1/client.js +676 -0
- package/ibc/core/client/v1/genesis.d.ts +150 -0
- package/ibc/core/client/v1/genesis.js +340 -0
- package/ibc/core/client/v1/query.d.ts +882 -0
- package/ibc/core/client/v1/query.js +1759 -0
- package/ibc/core/client/v1/query.rpc.func.d.ts +12 -0
- package/ibc/core/client/v1/query.rpc.func.js +95 -0
- package/ibc/core/client/v1/query.rpc.react.d.ts +11 -0
- package/ibc/core/client/v1/query.rpc.react.js +45 -0
- package/ibc/core/client/v1/tx.d.ts +601 -0
- package/ibc/core/client/v1/tx.js +1189 -0
- package/ibc/core/client/v1/tx.registry.d.ts +2 -0
- package/ibc/core/client/v1/tx.registry.js +5 -0
- package/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
- package/ibc/core/client/v1/tx.rpc.func.js +62 -0
- package/ibc/core/client/v1/tx.rpc.react.d.ts +8 -0
- package/ibc/core/client/v1/tx.rpc.react.js +26 -0
- package/ibc/core/commitment/v1/commitment.d.ts +169 -0
- package/ibc/core/commitment/v1/commitment.js +322 -0
- package/ibc/core/connection/v1/connection.d.ts +383 -0
- package/ibc/core/connection/v1/connection.js +781 -0
- package/ibc/core/connection/v1/genesis.d.ts +44 -0
- package/ibc/core/connection/v1/genesis.js +128 -0
- package/ibc/core/connection/v1/query.d.ts +530 -0
- package/ibc/core/connection/v1/query.js +1100 -0
- package/ibc/core/connection/v1/query.rpc.func.d.ts +8 -0
- package/ibc/core/connection/v1/query.rpc.func.js +59 -0
- package/ibc/core/connection/v1/query.rpc.react.d.ts +7 -0
- package/ibc/core/connection/v1/query.rpc.react.js +29 -0
- package/ibc/core/connection/v1/tx.d.ts +467 -0
- package/ibc/core/connection/v1/tx.js +1089 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +2 -0
- package/ibc/core/connection/v1/tx.registry.js +5 -0
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
- package/ibc/core/connection/v1/tx.rpc.func.js +46 -0
- package/ibc/core/connection/v1/tx.rpc.react.d.ts +6 -0
- package/ibc/core/connection/v1/tx.rpc.react.js +20 -0
- package/ibc/core/types/v1/genesis.d.ts +51 -0
- package/ibc/core/types/v1/genesis.js +112 -0
- package/ibc/lightclients/localhost/v2/localhost.d.ts +38 -0
- package/ibc/lightclients/localhost/v2/localhost.js +84 -0
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +727 -0
- package/ibc/lightclients/solomachine/v2/solomachine.js +1680 -0
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +365 -0
- package/ibc/lightclients/solomachine/v3/solomachine.js +842 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +311 -0
- package/ibc/lightclients/tendermint/v1/tendermint.js +631 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +72 -0
- package/ibc/lightclients/wasm/v1/genesis.js +164 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +145 -0
- package/ibc/lightclients/wasm/v1/query.js +333 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +4 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.js +23 -0
- package/ibc/lightclients/wasm/v1/query.rpc.react.d.ts +3 -0
- package/ibc/lightclients/wasm/v1/query.rpc.react.js +13 -0
- package/ibc/lightclients/wasm/v1/tx.d.ts +224 -0
- package/ibc/lightclients/wasm/v1/tx.js +501 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +5 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +5 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.func.js +30 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.react.d.ts +4 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.react.js +14 -0
- package/ibc/lightclients/wasm/v1/wasm.d.ts +167 -0
- package/ibc/lightclients/wasm/v1/wasm.js +343 -0
- package/package.json +11 -7
- package/react-query.d.ts +48 -0
- package/react-query.js +100 -0
- package/registry.d.ts +33 -0
- package/registry.js +158 -0
- package/tendermint/abci/types.d.ts +1890 -0
- package/tendermint/abci/types.js +5316 -0
- package/tendermint/crypto/keys.d.ts +35 -0
- package/tendermint/crypto/keys.js +87 -0
- package/tendermint/crypto/proof.d.ts +179 -0
- package/tendermint/crypto/proof.js +461 -0
- package/tendermint/p2p/types.d.ts +142 -0
- package/tendermint/p2p/types.js +432 -0
- package/tendermint/types/block.d.ts +39 -0
- package/tendermint/types/block.js +117 -0
- package/tendermint/types/evidence.d.ts +142 -0
- package/tendermint/types/evidence.js +412 -0
- package/tendermint/types/params.d.ts +330 -0
- package/tendermint/types/params.js +600 -0
- package/tendermint/types/types.d.ts +655 -0
- package/tendermint/types/types.js +1781 -0
- package/tendermint/types/validator.d.ts +116 -0
- package/tendermint/types/validator.js +347 -0
- package/tendermint/version/types.d.ts +84 -0
- package/tendermint/version/types.js +168 -0
- package/types.d.ts +119 -0
- package/types.js +7 -0
- package/utf8.d.ts +27 -0
- package/utf8.js +141 -0
- package/varint.d.ts +105 -0
- package/varint.js +426 -0
- package/xpla/reward/v1beta1/genesis.d.ts +36 -0
- package/xpla/reward/v1beta1/genesis.js +77 -0
- package/xpla/reward/v1beta1/query.d.ts +140 -0
- package/xpla/reward/v1beta1/query.js +267 -0
- package/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
- package/xpla/reward/v1beta1/query.rpc.func.js +23 -0
- package/xpla/reward/v1beta1/query.rpc.react.d.ts +3 -0
- package/xpla/reward/v1beta1/query.rpc.react.js +13 -0
- package/xpla/reward/v1beta1/reward.d.ts +43 -0
- package/xpla/reward/v1beta1/reward.js +130 -0
- package/xpla/reward/v1beta1/tx.d.ts +162 -0
- package/xpla/reward/v1beta1/tx.js +305 -0
- package/xpla/reward/v1beta1/tx.registry.d.ts +2 -0
- package/xpla/reward/v1beta1/tx.registry.js +5 -0
- package/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
- package/xpla/reward/v1beta1/tx.rpc.func.js +22 -0
- package/xpla/reward/v1beta1/tx.rpc.react.d.ts +3 -0
- package/xpla/reward/v1beta1/tx.rpc.react.js +11 -0
- package/xpla/volunteer/v1beta1/genesis.d.ts +34 -0
- package/xpla/volunteer/v1beta1/genesis.js +80 -0
- package/xpla/volunteer/v1beta1/proposal.d.ts +187 -0
- package/xpla/volunteer/v1beta1/proposal.js +537 -0
- package/xpla/volunteer/v1beta1/query.d.ts +62 -0
- package/xpla/volunteer/v1beta1/query.js +134 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.js +14 -0
- package/xpla/volunteer/v1beta1/query.rpc.react.d.ts +2 -0
- package/xpla/volunteer/v1beta1/query.rpc.react.js +9 -0
- package/xpla/volunteer/v1beta1/tx.d.ts +172 -0
- package/xpla/volunteer/v1beta1/tx.js +351 -0
- package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -0
- package/xpla/volunteer/v1beta1/tx.registry.js +5 -0
- package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
- package/xpla/volunteer/v1beta1/tx.rpc.func.js +22 -0
- package/xpla/volunteer/v1beta1/tx.rpc.react.d.ts +3 -0
- package/xpla/volunteer/v1beta1/tx.rpc.react.js +11 -0
- package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +39 -0
- package/xpla/volunteer/v1beta1/volunteervalidator.js +86 -0
- package/CHANGELOG.md +0 -8
- package/src/amino/amino.ts +0 -1
- package/src/binary.ts +0 -534
- package/src/cosmos/app/runtime/v1alpha1/module.ts +0 -423
- package/src/cosmos/app/runtime/v2/module.ts +0 -589
- package/src/cosmos/app/v1alpha1/config.ts +0 -422
- package/src/cosmos/app/v1alpha1/module.ts +0 -461
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -14
- package/src/cosmos/app/v1alpha1/query.ts +0 -177
- package/src/cosmos/auth/module/v1/module.ts +0 -253
- package/src/cosmos/auth/v1beta1/accounts.ts +0 -226
- package/src/cosmos/auth/v1beta1/auth.ts +0 -550
- package/src/cosmos/auth/v1beta1/genesis.ts +0 -119
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -113
- package/src/cosmos/auth/v1beta1/query.ts +0 -2034
- package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/auth/v1beta1/tx.ts +0 -219
- package/src/cosmos/authz/module/v1/module.ts +0 -80
- package/src/cosmos/authz/v1beta1/authz.ts +0 -481
- package/src/cosmos/authz/v1beta1/event.ts +0 -259
- package/src/cosmos/authz/v1beta1/genesis.ts +0 -100
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/authz/v1beta1/query.ts +0 -707
- package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -65
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -31
- package/src/cosmos/authz/v1beta1/tx.ts +0 -647
- package/src/cosmos/autocli/v1/options.ts +0 -1145
- package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -14
- package/src/cosmos/autocli/v1/query.ts +0 -288
- package/src/cosmos/bank/module/v1/module.ts +0 -153
- package/src/cosmos/bank/v1beta1/authz.ts +0 -138
- package/src/cosmos/bank/v1beta1/bank.ts +0 -974
- package/src/cosmos/bank/v1beta1/genesis.ts +0 -307
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -146
- package/src/cosmos/bank/v1beta1/query.ts +0 -3027
- package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -83
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -40
- package/src/cosmos/bank/v1beta1/tx.ts +0 -861
- package/src/cosmos/base/abci/v1beta1/abci.ts +0 -1698
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -25
- package/src/cosmos/base/grpc/v2/service.ts +0 -473
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -25
- package/src/cosmos/base/node/v1beta1/query.ts +0 -454
- package/src/cosmos/base/query/v1beta1/pagination.ts +0 -361
- package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +0 -25
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -69
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -80
- package/src/cosmos/base/tendermint/v1beta1/query.ts +0 -2302
- package/src/cosmos/base/tendermint/v1beta1/types.ts +0 -455
- package/src/cosmos/base/v1beta1/coin.ts +0 -439
- package/src/cosmos/circuit/module/v1/module.ts +0 -99
- package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -36
- package/src/cosmos/circuit/v1/query.ts +0 -574
- package/src/cosmos/circuit/v1/tx.registry.ts +0 -65
- package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -31
- package/src/cosmos/circuit/v1/tx.ts +0 -676
- package/src/cosmos/circuit/v1/types.ts +0 -413
- package/src/cosmos/consensus/module/v1/module.ts +0 -99
- package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -14
- package/src/cosmos/consensus/v1/query.ts +0 -185
- package/src/cosmos/consensus/v1/tx.registry.ts +0 -29
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -13
- package/src/cosmos/consensus/v1/tx.ts +0 -255
- package/src/cosmos/crisis/module/v1/module.ts +0 -115
- package/src/cosmos/crisis/v1beta1/genesis.ts +0 -106
- package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -47
- package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -22
- package/src/cosmos/crisis/v1beta1/tx.ts +0 -416
- package/src/cosmos/crypto/ed25519/keys.ts +0 -209
- package/src/cosmos/crypto/hd/v1/hd.ts +0 -169
- package/src/cosmos/crypto/keyring/v1/record.ts +0 -529
- package/src/cosmos/crypto/multisig/keys.ts +0 -122
- package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -225
- package/src/cosmos/crypto/secp256k1/keys.ts +0 -203
- package/src/cosmos/crypto/secp256r1/keys.ts +0 -201
- package/src/cosmos/distribution/module/v1/module.ts +0 -113
- package/src/cosmos/distribution/v1beta1/distribution.ts +0 -1494
- package/src/cosmos/distribution/v1beta1/genesis.ts +0 -1129
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -113
- package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -137
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -67
- package/src/cosmos/distribution/v1beta1/tx.ts +0 -1478
- package/src/cosmos/evidence/module/v1/module.ts +0 -80
- package/src/cosmos/evidence/v1beta1/evidence.ts +0 -154
- package/src/cosmos/evidence/v1beta1/genesis.ts +0 -102
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -25
- package/src/cosmos/evidence/v1beta1/query.ts +0 -451
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/evidence/v1beta1/tx.ts +0 -221
- package/src/cosmos/feegrant/module/v1/module.ts +0 -80
- package/src/cosmos/feegrant/v1beta1/feegrant.ts +0 -573
- package/src/cosmos/feegrant/v1beta1/genesis.ts +0 -100
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -65
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -31
- package/src/cosmos/feegrant/v1beta1/tx.ts +0 -597
- package/src/cosmos/genutil/module/v1/module.ts +0 -80
- package/src/cosmos/genutil/v1beta1/genesis.ts +0 -101
- package/src/cosmos/gov/module/v1/module.ts +0 -121
- package/src/cosmos/gov/v1/genesis.ts +0 -280
- package/src/cosmos/gov/v1/gov.ts +0 -1843
- package/src/cosmos/gov/v1/query.rpc.func.ts +0 -102
- package/src/cosmos/gov/v1/query.ts +0 -1970
- package/src/cosmos/gov/v1/tx.registry.ts +0 -137
- package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -67
- package/src/cosmos/gov/v1/tx.ts +0 -1657
- package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
- package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -91
- package/src/cosmos/gov/v1beta1/query.ts +0 -1749
- package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -83
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -40
- package/src/cosmos/gov/v1beta1/tx.ts +0 -881
- package/src/cosmos/group/module/v1/module.ts +0 -128
- package/src/cosmos/group/v1/events.ts +0 -1044
- package/src/cosmos/group/v1/genesis.ts +0 -240
- package/src/cosmos/group/v1/query.rpc.func.ts +0 -157
- package/src/cosmos/group/v1/query.ts +0 -3015
- package/src/cosmos/group/v1/tx.registry.ts +0 -263
- package/src/cosmos/group/v1/tx.rpc.func.ts +0 -130
- package/src/cosmos/group/v1/tx.ts +0 -3207
- package/src/cosmos/group/v1/types.ts +0 -2081
- package/src/cosmos/ics23/v1/proofs.ts +0 -2060
- package/src/cosmos/mint/module/v1/module.ts +0 -113
- package/src/cosmos/mint/v1beta1/genesis.ts +0 -116
- package/src/cosmos/mint/v1beta1/mint.ts +0 -291
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/mint/v1beta1/query.ts +0 -541
- package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/mint/v1beta1/tx.ts +0 -219
- package/src/cosmos/msg/textual/v1/textual.ts +0 -1
- package/src/cosmos/msg/v1/msg.ts +0 -1
- package/src/cosmos/nft/module/v1/module.ts +0 -80
- package/src/cosmos/nft/v1beta1/event.ts +0 -403
- package/src/cosmos/nft/v1beta1/genesis.ts +0 -234
- package/src/cosmos/nft/v1beta1/nft.ts +0 -356
- package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -80
- package/src/cosmos/nft/v1beta1/query.ts +0 -1465
- package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/nft/v1beta1/tx.ts +0 -224
- package/src/cosmos/orm/module/v1alpha1/module.ts +0 -88
- package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -25
- package/src/cosmos/orm/query/v1alpha1/query.ts +0 -993
- package/src/cosmos/orm/v1/orm.ts +0 -589
- package/src/cosmos/orm/v1alpha1/schema.ts +0 -325
- package/src/cosmos/params/module/v1/module.ts +0 -80
- package/src/cosmos/params/v1beta1/params.ts +0 -255
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -25
- package/src/cosmos/params/v1beta1/query.ts +0 -525
- package/src/cosmos/query/v1/query.ts +0 -1
- package/src/cosmos/reflection/v1/reflection.rpc.func.ts +0 -14
- package/src/cosmos/reflection/v1/reflection.ts +0 -179
- package/src/cosmos/slashing/module/v1/module.ts +0 -99
- package/src/cosmos/slashing/v1beta1/genesis.ts +0 -492
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/slashing/v1beta1/query.ts +0 -598
- package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -47
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -22
- package/src/cosmos/slashing/v1beta1/tx.ts +0 -390
- package/src/cosmos/staking/module/v1/module.ts +0 -157
- package/src/cosmos/staking/v1beta1/authz.ts +0 -323
- package/src/cosmos/staking/v1beta1/genesis.ts +0 -346
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -157
- package/src/cosmos/staking/v1beta1/query.ts +0 -3073
- package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
- package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -137
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -67
- package/src/cosmos/staking/v1beta1/tx.ts +0 -1638
- package/src/cosmos/store/internal/kv/v1beta1/kv.ts +0 -207
- package/src/cosmos/store/snapshots/v1/snapshot.ts +0 -863
- package/src/cosmos/store/snapshots/v2/snapshot.ts +0 -823
- package/src/cosmos/store/streaming/abci/grpc.ts +0 -393
- package/src/cosmos/store/v1beta1/commit_info.ts +0 -362
- package/src/cosmos/store/v1beta1/listening.ts +0 -286
- package/src/cosmos/streaming/v1/grpc.ts +0 -985
- package/src/cosmos/tx/config/v1/config.ts +0 -127
- package/src/cosmos/tx/signing/v1beta1/signing.ts +0 -688
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -102
- package/src/cosmos/tx/v1beta1/service.ts +0 -2294
- package/src/cosmos/tx/v1beta1/tx.ts +0 -2029
- package/src/cosmos/upgrade/module/v1/module.ts +0 -99
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -58
- package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -47
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -22
- package/src/cosmos/upgrade/v1beta1/tx.ts +0 -398
- package/src/cosmos/upgrade/v1beta1/upgrade.ts +0 -591
- package/src/cosmos/validate/module/v1/module.ts +0 -80
- package/src/cosmos/vesting/module/v1/module.ts +0 -80
- package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -65
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -31
- package/src/cosmos/vesting/v1beta1/tx.ts +0 -698
- package/src/cosmos/vesting/v1beta1/vesting.ts +0 -735
- package/src/cosmos_proto/cosmos.ts +0 -341
- package/src/cosmwasm/wasm/v1/authz.ts +0 -1231
- package/src/cosmwasm/wasm/v1/genesis.ts +0 -532
- package/src/cosmwasm/wasm/v1/ibc.ts +0 -355
- package/src/cosmwasm/wasm/v1/proposal_legacy.ts +0 -2432
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -124
- package/src/cosmwasm/wasm/v1/query.ts +0 -2560
- package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -317
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -157
- package/src/cosmwasm/wasm/v1/tx.ts +0 -4191
- package/src/cosmwasm/wasm/v1/types.ts +0 -1120
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +0 -193
- package/src/ethermint/evm/v1/events.ts +0 -485
- package/src/ethermint/evm/v1/evm.ts +0 -1590
- package/src/ethermint/evm/v1/genesis.ts +0 -240
- package/src/ethermint/evm/v1/query.rpc.func.ts +0 -136
- package/src/ethermint/evm/v1/query.ts +0 -2535
- package/src/ethermint/evm/v1/tx.registry.ts +0 -47
- package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -22
- package/src/ethermint/evm/v1/tx.ts +0 -1333
- package/src/ethermint/feemarket/v1/events.ts +0 -195
- package/src/ethermint/feemarket/v1/feemarket.ts +0 -213
- package/src/ethermint/feemarket/v1/genesis.ts +0 -114
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -36
- package/src/ethermint/feemarket/v1/query.ts +0 -487
- package/src/ethermint/feemarket/v1/tx.registry.ts +0 -29
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -13
- package/src/ethermint/feemarket/v1/tx.ts +0 -197
- package/src/ethermint/types/v1/account.ts +0 -114
- package/src/ethermint/types/v1/dynamic_fee.ts +0 -91
- package/src/ethermint/types/v1/indexer.ts +0 -205
- package/src/ethermint/types/v1/web3.ts +0 -147
- package/src/extern.ts +0 -38
- package/src/gogoproto/gogo.ts +0 -1
- package/src/google/api/annotations.ts +0 -1
- package/src/google/api/http.ts +0 -1069
- package/src/google/protobuf/any.ts +0 -331
- package/src/google/protobuf/descriptor.ts +0 -7177
- package/src/google/protobuf/duration.ts +0 -225
- package/src/google/protobuf/timestamp.ts +0 -281
- package/src/helper-func-types.ts +0 -191
- package/src/helpers.ts +0 -259
- package/src/ibc/applications/fee/v1/ack.ts +0 -131
- package/src/ibc/applications/fee/v1/fee.ts +0 -481
- package/src/ibc/applications/fee/v1/genesis.ts +0 -661
- package/src/ibc/applications/fee/v1/metadata.ts +0 -121
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -113
- package/src/ibc/applications/fee/v1/query.ts +0 -2134
- package/src/ibc/applications/fee/v1/tx.registry.ts +0 -83
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -40
- package/src/ibc/applications/fee/v1/tx.ts +0 -889
- package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -105
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -25
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -65
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -31
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -685
- package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -661
- package/src/ibc/applications/interchain_accounts/host/v1/host.ts +0 -253
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -14
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -47
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -22
- package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -429
- package/src/ibc/applications/interchain_accounts/v1/account.ts +0 -112
- package/src/ibc/applications/interchain_accounts/v1/metadata.ts +0 -191
- package/src/ibc/applications/interchain_accounts/v1/packet.ts +0 -259
- package/src/ibc/applications/transfer/v1/authz.ts +0 -280
- package/src/ibc/applications/transfer/v1/genesis.ts +0 -153
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -69
- package/src/ibc/applications/transfer/v1/query.ts +0 -1205
- package/src/ibc/applications/transfer/v1/transfer.ts +0 -261
- package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -47
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -22
- package/src/ibc/applications/transfer/v1/tx.ts +0 -532
- package/src/ibc/applications/transfer/v2/packet.ts +0 -171
- package/src/ibc/core/channel/v1/channel.ts +0 -1510
- package/src/ibc/core/channel/v1/genesis.ts +0 -354
- package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -190
- package/src/ibc/core/channel/v1/query.ts +0 -4354
- package/src/ibc/core/channel/v1/tx.registry.ts +0 -353
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -175
- package/src/ibc/core/channel/v1/tx.ts +0 -4866
- package/src/ibc/core/channel/v1/upgrade.ts +0 -388
- package/src/ibc/core/client/v1/client.ts +0 -927
- package/src/ibc/core/client/v1/genesis.ts +0 -426
- package/src/ibc/core/client/v1/query.rpc.func.ts +0 -113
- package/src/ibc/core/client/v1/query.ts +0 -2280
- package/src/ibc/core/client/v1/tx.registry.ts +0 -137
- package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -67
- package/src/ibc/core/client/v1/tx.ts +0 -1543
- package/src/ibc/core/commitment/v1/commitment.ts +0 -418
- package/src/ibc/core/connection/v1/connection.ts +0 -1010
- package/src/ibc/core/connection/v1/genesis.ts +0 -146
- package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -69
- package/src/ibc/core/connection/v1/query.ts +0 -1408
- package/src/ibc/core/connection/v1/tx.registry.ts +0 -101
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -49
- package/src/ibc/core/connection/v1/tx.ts +0 -1365
- package/src/ibc/core/types/v1/genesis.ts +0 -137
- package/src/ibc/lightclients/localhost/v2/localhost.ts +0 -100
- package/src/ibc/lightclients/solomachine/v2/solomachine.ts +0 -2103
- package/src/ibc/lightclients/solomachine/v3/solomachine.ts +0 -1070
- package/src/ibc/lightclients/tendermint/v1/tendermint.ts +0 -838
- package/src/ibc/lightclients/wasm/v1/genesis.ts +0 -197
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -25
- package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -65
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -31
- package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
- package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
- package/src/react-query.ts +0 -185
- package/src/registry.ts +0 -218
- package/src/tendermint/abci/types.ts +0 -6283
- package/src/tendermint/crypto/keys.ts +0 -103
- package/src/tendermint/crypto/proof.ts +0 -555
- package/src/tendermint/p2p/types.ts +0 -507
- package/src/tendermint/types/block.ts +0 -131
- package/src/tendermint/types/evidence.ts +0 -476
- package/src/tendermint/types/params.ts +0 -814
- package/src/tendermint/types/types.ts +0 -2157
- package/src/tendermint/types/validator.ts +0 -389
- package/src/tendermint/version/types.ts +0 -219
- package/src/types.ts +0 -155
- package/src/utf8.ts +0 -148
- package/src/varint.ts +0 -488
- package/src/xpla/reward/v1beta1/genesis.ts +0 -92
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -25
- package/src/xpla/reward/v1beta1/query.ts +0 -333
- package/src/xpla/reward/v1beta1/reward.ts +0 -153
- package/src/xpla/reward/v1beta1/tx.registry.ts +0 -47
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -22
- package/src/xpla/reward/v1beta1/tx.ts +0 -391
- package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
- package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -14
- package/src/xpla/volunteer/v1beta1/query.ts +0 -160
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -47
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -22
- package/src/xpla/volunteer/v1beta1/tx.ts +0 -448
- package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +0 -107
- package/tsconfig.esm.json +0 -10
- package/tsconfig.json +0 -10
|
@@ -1,1970 +0,0 @@
|
|
|
1
|
-
import { ProposalStatus, Proposal, ProposalAmino, Vote, VoteAmino, VotingParams, VotingParamsAmino, DepositParams, DepositParamsAmino, TallyParams, TallyParamsAmino, Params, ParamsAmino, Deposit, DepositAmino, TallyResult, TallyResultAmino } from "./gov";
|
|
2
|
-
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { DeepPartial, isSet } from "../../../helpers";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
|
-
/** QueryConstitutionRequest is the request type for the Query/Constitution RPC method */
|
|
7
|
-
export interface QueryConstitutionRequest {}
|
|
8
|
-
export interface QueryConstitutionRequestProtoMsg {
|
|
9
|
-
typeUrl: "/cosmos.gov.v1.QueryConstitutionRequest";
|
|
10
|
-
value: Uint8Array;
|
|
11
|
-
}
|
|
12
|
-
/** QueryConstitutionRequest is the request type for the Query/Constitution RPC method */
|
|
13
|
-
export interface QueryConstitutionRequestAmino {}
|
|
14
|
-
export interface QueryConstitutionRequestAminoMsg {
|
|
15
|
-
type: "cosmos-sdk/v1/QueryConstitutionRequest";
|
|
16
|
-
value: QueryConstitutionRequestAmino;
|
|
17
|
-
}
|
|
18
|
-
/** QueryConstitutionResponse is the response type for the Query/Constitution RPC method */
|
|
19
|
-
export interface QueryConstitutionResponse {
|
|
20
|
-
constitution: string;
|
|
21
|
-
}
|
|
22
|
-
export interface QueryConstitutionResponseProtoMsg {
|
|
23
|
-
typeUrl: "/cosmos.gov.v1.QueryConstitutionResponse";
|
|
24
|
-
value: Uint8Array;
|
|
25
|
-
}
|
|
26
|
-
/** QueryConstitutionResponse is the response type for the Query/Constitution RPC method */
|
|
27
|
-
export interface QueryConstitutionResponseAmino {
|
|
28
|
-
constitution: string;
|
|
29
|
-
}
|
|
30
|
-
export interface QueryConstitutionResponseAminoMsg {
|
|
31
|
-
type: "cosmos-sdk/v1/QueryConstitutionResponse";
|
|
32
|
-
value: QueryConstitutionResponseAmino;
|
|
33
|
-
}
|
|
34
|
-
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
|
35
|
-
export interface QueryProposalRequest {
|
|
36
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
37
|
-
proposalId: bigint;
|
|
38
|
-
}
|
|
39
|
-
export interface QueryProposalRequestProtoMsg {
|
|
40
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalRequest";
|
|
41
|
-
value: Uint8Array;
|
|
42
|
-
}
|
|
43
|
-
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
|
44
|
-
export interface QueryProposalRequestAmino {
|
|
45
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
46
|
-
proposal_id: string;
|
|
47
|
-
}
|
|
48
|
-
export interface QueryProposalRequestAminoMsg {
|
|
49
|
-
type: "cosmos-sdk/v1/QueryProposalRequest";
|
|
50
|
-
value: QueryProposalRequestAmino;
|
|
51
|
-
}
|
|
52
|
-
/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
|
|
53
|
-
export interface QueryProposalResponse {
|
|
54
|
-
/** proposal is the requested governance proposal. */
|
|
55
|
-
proposal?: Proposal;
|
|
56
|
-
}
|
|
57
|
-
export interface QueryProposalResponseProtoMsg {
|
|
58
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalResponse";
|
|
59
|
-
value: Uint8Array;
|
|
60
|
-
}
|
|
61
|
-
/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
|
|
62
|
-
export interface QueryProposalResponseAmino {
|
|
63
|
-
/** proposal is the requested governance proposal. */
|
|
64
|
-
proposal?: ProposalAmino;
|
|
65
|
-
}
|
|
66
|
-
export interface QueryProposalResponseAminoMsg {
|
|
67
|
-
type: "cosmos-sdk/v1/QueryProposalResponse";
|
|
68
|
-
value: QueryProposalResponseAmino;
|
|
69
|
-
}
|
|
70
|
-
/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
|
|
71
|
-
export interface QueryProposalsRequest {
|
|
72
|
-
/** proposal_status defines the status of the proposals. */
|
|
73
|
-
proposalStatus: ProposalStatus;
|
|
74
|
-
/** voter defines the voter address for the proposals. */
|
|
75
|
-
voter: string;
|
|
76
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
77
|
-
depositor: string;
|
|
78
|
-
/** pagination defines an optional pagination for the request. */
|
|
79
|
-
pagination?: PageRequest;
|
|
80
|
-
}
|
|
81
|
-
export interface QueryProposalsRequestProtoMsg {
|
|
82
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalsRequest";
|
|
83
|
-
value: Uint8Array;
|
|
84
|
-
}
|
|
85
|
-
/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
|
|
86
|
-
export interface QueryProposalsRequestAmino {
|
|
87
|
-
/** proposal_status defines the status of the proposals. */
|
|
88
|
-
proposal_status: ProposalStatus;
|
|
89
|
-
/** voter defines the voter address for the proposals. */
|
|
90
|
-
voter: string;
|
|
91
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
92
|
-
depositor: string;
|
|
93
|
-
/** pagination defines an optional pagination for the request. */
|
|
94
|
-
pagination?: PageRequestAmino;
|
|
95
|
-
}
|
|
96
|
-
export interface QueryProposalsRequestAminoMsg {
|
|
97
|
-
type: "cosmos-sdk/v1/QueryProposalsRequest";
|
|
98
|
-
value: QueryProposalsRequestAmino;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* QueryProposalsResponse is the response type for the Query/Proposals RPC
|
|
102
|
-
* method.
|
|
103
|
-
*/
|
|
104
|
-
export interface QueryProposalsResponse {
|
|
105
|
-
/** proposals defines all the requested governance proposals. */
|
|
106
|
-
proposals: Proposal[];
|
|
107
|
-
/** pagination defines the pagination in the response. */
|
|
108
|
-
pagination?: PageResponse;
|
|
109
|
-
}
|
|
110
|
-
export interface QueryProposalsResponseProtoMsg {
|
|
111
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalsResponse";
|
|
112
|
-
value: Uint8Array;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* QueryProposalsResponse is the response type for the Query/Proposals RPC
|
|
116
|
-
* method.
|
|
117
|
-
*/
|
|
118
|
-
export interface QueryProposalsResponseAmino {
|
|
119
|
-
/** proposals defines all the requested governance proposals. */
|
|
120
|
-
proposals: ProposalAmino[];
|
|
121
|
-
/** pagination defines the pagination in the response. */
|
|
122
|
-
pagination?: PageResponseAmino;
|
|
123
|
-
}
|
|
124
|
-
export interface QueryProposalsResponseAminoMsg {
|
|
125
|
-
type: "cosmos-sdk/v1/QueryProposalsResponse";
|
|
126
|
-
value: QueryProposalsResponseAmino;
|
|
127
|
-
}
|
|
128
|
-
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
|
|
129
|
-
export interface QueryVoteRequest {
|
|
130
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
131
|
-
proposalId: bigint;
|
|
132
|
-
/** voter defines the voter address for the proposals. */
|
|
133
|
-
voter: string;
|
|
134
|
-
}
|
|
135
|
-
export interface QueryVoteRequestProtoMsg {
|
|
136
|
-
typeUrl: "/cosmos.gov.v1.QueryVoteRequest";
|
|
137
|
-
value: Uint8Array;
|
|
138
|
-
}
|
|
139
|
-
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
|
|
140
|
-
export interface QueryVoteRequestAmino {
|
|
141
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
142
|
-
proposal_id: string;
|
|
143
|
-
/** voter defines the voter address for the proposals. */
|
|
144
|
-
voter: string;
|
|
145
|
-
}
|
|
146
|
-
export interface QueryVoteRequestAminoMsg {
|
|
147
|
-
type: "cosmos-sdk/v1/QueryVoteRequest";
|
|
148
|
-
value: QueryVoteRequestAmino;
|
|
149
|
-
}
|
|
150
|
-
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
|
|
151
|
-
export interface QueryVoteResponse {
|
|
152
|
-
/** vote defines the queried vote. */
|
|
153
|
-
vote?: Vote;
|
|
154
|
-
}
|
|
155
|
-
export interface QueryVoteResponseProtoMsg {
|
|
156
|
-
typeUrl: "/cosmos.gov.v1.QueryVoteResponse";
|
|
157
|
-
value: Uint8Array;
|
|
158
|
-
}
|
|
159
|
-
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
|
|
160
|
-
export interface QueryVoteResponseAmino {
|
|
161
|
-
/** vote defines the queried vote. */
|
|
162
|
-
vote?: VoteAmino;
|
|
163
|
-
}
|
|
164
|
-
export interface QueryVoteResponseAminoMsg {
|
|
165
|
-
type: "cosmos-sdk/v1/QueryVoteResponse";
|
|
166
|
-
value: QueryVoteResponseAmino;
|
|
167
|
-
}
|
|
168
|
-
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
|
|
169
|
-
export interface QueryVotesRequest {
|
|
170
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
171
|
-
proposalId: bigint;
|
|
172
|
-
/** pagination defines an optional pagination for the request. */
|
|
173
|
-
pagination?: PageRequest;
|
|
174
|
-
}
|
|
175
|
-
export interface QueryVotesRequestProtoMsg {
|
|
176
|
-
typeUrl: "/cosmos.gov.v1.QueryVotesRequest";
|
|
177
|
-
value: Uint8Array;
|
|
178
|
-
}
|
|
179
|
-
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
|
|
180
|
-
export interface QueryVotesRequestAmino {
|
|
181
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
182
|
-
proposal_id: string;
|
|
183
|
-
/** pagination defines an optional pagination for the request. */
|
|
184
|
-
pagination?: PageRequestAmino;
|
|
185
|
-
}
|
|
186
|
-
export interface QueryVotesRequestAminoMsg {
|
|
187
|
-
type: "cosmos-sdk/v1/QueryVotesRequest";
|
|
188
|
-
value: QueryVotesRequestAmino;
|
|
189
|
-
}
|
|
190
|
-
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
|
|
191
|
-
export interface QueryVotesResponse {
|
|
192
|
-
/** votes defines the queried votes. */
|
|
193
|
-
votes: Vote[];
|
|
194
|
-
/** pagination defines the pagination in the response. */
|
|
195
|
-
pagination?: PageResponse;
|
|
196
|
-
}
|
|
197
|
-
export interface QueryVotesResponseProtoMsg {
|
|
198
|
-
typeUrl: "/cosmos.gov.v1.QueryVotesResponse";
|
|
199
|
-
value: Uint8Array;
|
|
200
|
-
}
|
|
201
|
-
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
|
|
202
|
-
export interface QueryVotesResponseAmino {
|
|
203
|
-
/** votes defines the queried votes. */
|
|
204
|
-
votes: VoteAmino[];
|
|
205
|
-
/** pagination defines the pagination in the response. */
|
|
206
|
-
pagination?: PageResponseAmino;
|
|
207
|
-
}
|
|
208
|
-
export interface QueryVotesResponseAminoMsg {
|
|
209
|
-
type: "cosmos-sdk/v1/QueryVotesResponse";
|
|
210
|
-
value: QueryVotesResponseAmino;
|
|
211
|
-
}
|
|
212
|
-
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
213
|
-
export interface QueryParamsRequest {
|
|
214
|
-
/**
|
|
215
|
-
* params_type defines which parameters to query for, can be one of "voting",
|
|
216
|
-
* "tallying" or "deposit".
|
|
217
|
-
*/
|
|
218
|
-
paramsType: string;
|
|
219
|
-
}
|
|
220
|
-
export interface QueryParamsRequestProtoMsg {
|
|
221
|
-
typeUrl: "/cosmos.gov.v1.QueryParamsRequest";
|
|
222
|
-
value: Uint8Array;
|
|
223
|
-
}
|
|
224
|
-
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
225
|
-
export interface QueryParamsRequestAmino {
|
|
226
|
-
/**
|
|
227
|
-
* params_type defines which parameters to query for, can be one of "voting",
|
|
228
|
-
* "tallying" or "deposit".
|
|
229
|
-
*/
|
|
230
|
-
params_type: string;
|
|
231
|
-
}
|
|
232
|
-
export interface QueryParamsRequestAminoMsg {
|
|
233
|
-
type: "cosmos-sdk/v1/QueryParamsRequest";
|
|
234
|
-
value: QueryParamsRequestAmino;
|
|
235
|
-
}
|
|
236
|
-
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
237
|
-
export interface QueryParamsResponse {
|
|
238
|
-
/**
|
|
239
|
-
* Deprecated: Prefer to use `params` instead.
|
|
240
|
-
* voting_params defines the parameters related to voting.
|
|
241
|
-
*/
|
|
242
|
-
/** @deprecated */
|
|
243
|
-
votingParams?: VotingParams;
|
|
244
|
-
/**
|
|
245
|
-
* Deprecated: Prefer to use `params` instead.
|
|
246
|
-
* deposit_params defines the parameters related to deposit.
|
|
247
|
-
*/
|
|
248
|
-
/** @deprecated */
|
|
249
|
-
depositParams?: DepositParams;
|
|
250
|
-
/**
|
|
251
|
-
* Deprecated: Prefer to use `params` instead.
|
|
252
|
-
* tally_params defines the parameters related to tally.
|
|
253
|
-
*/
|
|
254
|
-
/** @deprecated */
|
|
255
|
-
tallyParams?: TallyParams;
|
|
256
|
-
/**
|
|
257
|
-
* params defines all the paramaters of x/gov module.
|
|
258
|
-
*
|
|
259
|
-
* Since: cosmos-sdk 0.47
|
|
260
|
-
*/
|
|
261
|
-
params?: Params;
|
|
262
|
-
}
|
|
263
|
-
export interface QueryParamsResponseProtoMsg {
|
|
264
|
-
typeUrl: "/cosmos.gov.v1.QueryParamsResponse";
|
|
265
|
-
value: Uint8Array;
|
|
266
|
-
}
|
|
267
|
-
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
268
|
-
export interface QueryParamsResponseAmino {
|
|
269
|
-
/**
|
|
270
|
-
* Deprecated: Prefer to use `params` instead.
|
|
271
|
-
* voting_params defines the parameters related to voting.
|
|
272
|
-
*/
|
|
273
|
-
/** @deprecated */
|
|
274
|
-
voting_params?: VotingParamsAmino;
|
|
275
|
-
/**
|
|
276
|
-
* Deprecated: Prefer to use `params` instead.
|
|
277
|
-
* deposit_params defines the parameters related to deposit.
|
|
278
|
-
*/
|
|
279
|
-
/** @deprecated */
|
|
280
|
-
deposit_params?: DepositParamsAmino;
|
|
281
|
-
/**
|
|
282
|
-
* Deprecated: Prefer to use `params` instead.
|
|
283
|
-
* tally_params defines the parameters related to tally.
|
|
284
|
-
*/
|
|
285
|
-
/** @deprecated */
|
|
286
|
-
tally_params?: TallyParamsAmino;
|
|
287
|
-
/**
|
|
288
|
-
* params defines all the paramaters of x/gov module.
|
|
289
|
-
*
|
|
290
|
-
* Since: cosmos-sdk 0.47
|
|
291
|
-
*/
|
|
292
|
-
params?: ParamsAmino;
|
|
293
|
-
}
|
|
294
|
-
export interface QueryParamsResponseAminoMsg {
|
|
295
|
-
type: "cosmos-sdk/v1/QueryParamsResponse";
|
|
296
|
-
value: QueryParamsResponseAmino;
|
|
297
|
-
}
|
|
298
|
-
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
|
|
299
|
-
export interface QueryDepositRequest {
|
|
300
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
301
|
-
proposalId: bigint;
|
|
302
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
303
|
-
depositor: string;
|
|
304
|
-
}
|
|
305
|
-
export interface QueryDepositRequestProtoMsg {
|
|
306
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositRequest";
|
|
307
|
-
value: Uint8Array;
|
|
308
|
-
}
|
|
309
|
-
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
|
|
310
|
-
export interface QueryDepositRequestAmino {
|
|
311
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
312
|
-
proposal_id: string;
|
|
313
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
314
|
-
depositor: string;
|
|
315
|
-
}
|
|
316
|
-
export interface QueryDepositRequestAminoMsg {
|
|
317
|
-
type: "cosmos-sdk/v1/QueryDepositRequest";
|
|
318
|
-
value: QueryDepositRequestAmino;
|
|
319
|
-
}
|
|
320
|
-
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
|
|
321
|
-
export interface QueryDepositResponse {
|
|
322
|
-
/** deposit defines the requested deposit. */
|
|
323
|
-
deposit?: Deposit;
|
|
324
|
-
}
|
|
325
|
-
export interface QueryDepositResponseProtoMsg {
|
|
326
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositResponse";
|
|
327
|
-
value: Uint8Array;
|
|
328
|
-
}
|
|
329
|
-
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
|
|
330
|
-
export interface QueryDepositResponseAmino {
|
|
331
|
-
/** deposit defines the requested deposit. */
|
|
332
|
-
deposit?: DepositAmino;
|
|
333
|
-
}
|
|
334
|
-
export interface QueryDepositResponseAminoMsg {
|
|
335
|
-
type: "cosmos-sdk/v1/QueryDepositResponse";
|
|
336
|
-
value: QueryDepositResponseAmino;
|
|
337
|
-
}
|
|
338
|
-
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
|
|
339
|
-
export interface QueryDepositsRequest {
|
|
340
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
341
|
-
proposalId: bigint;
|
|
342
|
-
/** pagination defines an optional pagination for the request. */
|
|
343
|
-
pagination?: PageRequest;
|
|
344
|
-
}
|
|
345
|
-
export interface QueryDepositsRequestProtoMsg {
|
|
346
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositsRequest";
|
|
347
|
-
value: Uint8Array;
|
|
348
|
-
}
|
|
349
|
-
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
|
|
350
|
-
export interface QueryDepositsRequestAmino {
|
|
351
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
352
|
-
proposal_id: string;
|
|
353
|
-
/** pagination defines an optional pagination for the request. */
|
|
354
|
-
pagination?: PageRequestAmino;
|
|
355
|
-
}
|
|
356
|
-
export interface QueryDepositsRequestAminoMsg {
|
|
357
|
-
type: "cosmos-sdk/v1/QueryDepositsRequest";
|
|
358
|
-
value: QueryDepositsRequestAmino;
|
|
359
|
-
}
|
|
360
|
-
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
|
|
361
|
-
export interface QueryDepositsResponse {
|
|
362
|
-
/** deposits defines the requested deposits. */
|
|
363
|
-
deposits: Deposit[];
|
|
364
|
-
/** pagination defines the pagination in the response. */
|
|
365
|
-
pagination?: PageResponse;
|
|
366
|
-
}
|
|
367
|
-
export interface QueryDepositsResponseProtoMsg {
|
|
368
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositsResponse";
|
|
369
|
-
value: Uint8Array;
|
|
370
|
-
}
|
|
371
|
-
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
|
|
372
|
-
export interface QueryDepositsResponseAmino {
|
|
373
|
-
/** deposits defines the requested deposits. */
|
|
374
|
-
deposits: DepositAmino[];
|
|
375
|
-
/** pagination defines the pagination in the response. */
|
|
376
|
-
pagination?: PageResponseAmino;
|
|
377
|
-
}
|
|
378
|
-
export interface QueryDepositsResponseAminoMsg {
|
|
379
|
-
type: "cosmos-sdk/v1/QueryDepositsResponse";
|
|
380
|
-
value: QueryDepositsResponseAmino;
|
|
381
|
-
}
|
|
382
|
-
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
|
|
383
|
-
export interface QueryTallyResultRequest {
|
|
384
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
385
|
-
proposalId: bigint;
|
|
386
|
-
}
|
|
387
|
-
export interface QueryTallyResultRequestProtoMsg {
|
|
388
|
-
typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest";
|
|
389
|
-
value: Uint8Array;
|
|
390
|
-
}
|
|
391
|
-
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
|
|
392
|
-
export interface QueryTallyResultRequestAmino {
|
|
393
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
394
|
-
proposal_id: string;
|
|
395
|
-
}
|
|
396
|
-
export interface QueryTallyResultRequestAminoMsg {
|
|
397
|
-
type: "cosmos-sdk/v1/QueryTallyResultRequest";
|
|
398
|
-
value: QueryTallyResultRequestAmino;
|
|
399
|
-
}
|
|
400
|
-
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
|
|
401
|
-
export interface QueryTallyResultResponse {
|
|
402
|
-
/** tally defines the requested tally. */
|
|
403
|
-
tally?: TallyResult;
|
|
404
|
-
}
|
|
405
|
-
export interface QueryTallyResultResponseProtoMsg {
|
|
406
|
-
typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse";
|
|
407
|
-
value: Uint8Array;
|
|
408
|
-
}
|
|
409
|
-
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
|
|
410
|
-
export interface QueryTallyResultResponseAmino {
|
|
411
|
-
/** tally defines the requested tally. */
|
|
412
|
-
tally?: TallyResultAmino;
|
|
413
|
-
}
|
|
414
|
-
export interface QueryTallyResultResponseAminoMsg {
|
|
415
|
-
type: "cosmos-sdk/v1/QueryTallyResultResponse";
|
|
416
|
-
value: QueryTallyResultResponseAmino;
|
|
417
|
-
}
|
|
418
|
-
function createBaseQueryConstitutionRequest(): QueryConstitutionRequest {
|
|
419
|
-
return {};
|
|
420
|
-
}
|
|
421
|
-
export const QueryConstitutionRequest = {
|
|
422
|
-
typeUrl: "/cosmos.gov.v1.QueryConstitutionRequest",
|
|
423
|
-
aminoType: "cosmos-sdk/v1/QueryConstitutionRequest",
|
|
424
|
-
is(o: any): o is QueryConstitutionRequest {
|
|
425
|
-
return o && o.$typeUrl === QueryConstitutionRequest.typeUrl;
|
|
426
|
-
},
|
|
427
|
-
isAmino(o: any): o is QueryConstitutionRequestAmino {
|
|
428
|
-
return o && o.$typeUrl === QueryConstitutionRequest.typeUrl;
|
|
429
|
-
},
|
|
430
|
-
encode(_: QueryConstitutionRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
431
|
-
return writer;
|
|
432
|
-
},
|
|
433
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryConstitutionRequest {
|
|
434
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
435
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
436
|
-
const message = createBaseQueryConstitutionRequest();
|
|
437
|
-
while (reader.pos < end) {
|
|
438
|
-
const tag = reader.uint32();
|
|
439
|
-
switch (tag >>> 3) {
|
|
440
|
-
default:
|
|
441
|
-
reader.skipType(tag & 7);
|
|
442
|
-
break;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
return message;
|
|
446
|
-
},
|
|
447
|
-
fromPartial(_: DeepPartial<QueryConstitutionRequest>): QueryConstitutionRequest {
|
|
448
|
-
const message = createBaseQueryConstitutionRequest();
|
|
449
|
-
return message;
|
|
450
|
-
},
|
|
451
|
-
fromAmino(_: QueryConstitutionRequestAmino): QueryConstitutionRequest {
|
|
452
|
-
const message = createBaseQueryConstitutionRequest();
|
|
453
|
-
return message;
|
|
454
|
-
},
|
|
455
|
-
toAmino(_: QueryConstitutionRequest): QueryConstitutionRequestAmino {
|
|
456
|
-
const obj: any = {};
|
|
457
|
-
return obj;
|
|
458
|
-
},
|
|
459
|
-
fromAminoMsg(object: QueryConstitutionRequestAminoMsg): QueryConstitutionRequest {
|
|
460
|
-
return QueryConstitutionRequest.fromAmino(object.value);
|
|
461
|
-
},
|
|
462
|
-
toAminoMsg(message: QueryConstitutionRequest): QueryConstitutionRequestAminoMsg {
|
|
463
|
-
return {
|
|
464
|
-
type: "cosmos-sdk/v1/QueryConstitutionRequest",
|
|
465
|
-
value: QueryConstitutionRequest.toAmino(message)
|
|
466
|
-
};
|
|
467
|
-
},
|
|
468
|
-
fromProtoMsg(message: QueryConstitutionRequestProtoMsg): QueryConstitutionRequest {
|
|
469
|
-
return QueryConstitutionRequest.decode(message.value);
|
|
470
|
-
},
|
|
471
|
-
toProto(message: QueryConstitutionRequest): Uint8Array {
|
|
472
|
-
return QueryConstitutionRequest.encode(message).finish();
|
|
473
|
-
},
|
|
474
|
-
toProtoMsg(message: QueryConstitutionRequest): QueryConstitutionRequestProtoMsg {
|
|
475
|
-
return {
|
|
476
|
-
typeUrl: "/cosmos.gov.v1.QueryConstitutionRequest",
|
|
477
|
-
value: QueryConstitutionRequest.encode(message).finish()
|
|
478
|
-
};
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
GlobalDecoderRegistry.register(QueryConstitutionRequest.typeUrl, QueryConstitutionRequest);
|
|
482
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryConstitutionRequest.aminoType, QueryConstitutionRequest.typeUrl);
|
|
483
|
-
function createBaseQueryConstitutionResponse(): QueryConstitutionResponse {
|
|
484
|
-
return {
|
|
485
|
-
constitution: ""
|
|
486
|
-
};
|
|
487
|
-
}
|
|
488
|
-
export const QueryConstitutionResponse = {
|
|
489
|
-
typeUrl: "/cosmos.gov.v1.QueryConstitutionResponse",
|
|
490
|
-
aminoType: "cosmos-sdk/v1/QueryConstitutionResponse",
|
|
491
|
-
is(o: any): o is QueryConstitutionResponse {
|
|
492
|
-
return o && (o.$typeUrl === QueryConstitutionResponse.typeUrl || typeof o.constitution === "string");
|
|
493
|
-
},
|
|
494
|
-
isAmino(o: any): o is QueryConstitutionResponseAmino {
|
|
495
|
-
return o && (o.$typeUrl === QueryConstitutionResponse.typeUrl || typeof o.constitution === "string");
|
|
496
|
-
},
|
|
497
|
-
encode(message: QueryConstitutionResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
498
|
-
if (message.constitution !== "") {
|
|
499
|
-
writer.uint32(10).string(message.constitution);
|
|
500
|
-
}
|
|
501
|
-
return writer;
|
|
502
|
-
},
|
|
503
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryConstitutionResponse {
|
|
504
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
505
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
506
|
-
const message = createBaseQueryConstitutionResponse();
|
|
507
|
-
while (reader.pos < end) {
|
|
508
|
-
const tag = reader.uint32();
|
|
509
|
-
switch (tag >>> 3) {
|
|
510
|
-
case 1:
|
|
511
|
-
message.constitution = reader.string();
|
|
512
|
-
break;
|
|
513
|
-
default:
|
|
514
|
-
reader.skipType(tag & 7);
|
|
515
|
-
break;
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
return message;
|
|
519
|
-
},
|
|
520
|
-
fromPartial(object: DeepPartial<QueryConstitutionResponse>): QueryConstitutionResponse {
|
|
521
|
-
const message = createBaseQueryConstitutionResponse();
|
|
522
|
-
message.constitution = object.constitution ?? "";
|
|
523
|
-
return message;
|
|
524
|
-
},
|
|
525
|
-
fromAmino(object: QueryConstitutionResponseAmino): QueryConstitutionResponse {
|
|
526
|
-
const message = createBaseQueryConstitutionResponse();
|
|
527
|
-
if (object.constitution !== undefined && object.constitution !== null) {
|
|
528
|
-
message.constitution = object.constitution;
|
|
529
|
-
}
|
|
530
|
-
return message;
|
|
531
|
-
},
|
|
532
|
-
toAmino(message: QueryConstitutionResponse): QueryConstitutionResponseAmino {
|
|
533
|
-
const obj: any = {};
|
|
534
|
-
obj.constitution = message.constitution === "" ? undefined : message.constitution;
|
|
535
|
-
return obj;
|
|
536
|
-
},
|
|
537
|
-
fromAminoMsg(object: QueryConstitutionResponseAminoMsg): QueryConstitutionResponse {
|
|
538
|
-
return QueryConstitutionResponse.fromAmino(object.value);
|
|
539
|
-
},
|
|
540
|
-
toAminoMsg(message: QueryConstitutionResponse): QueryConstitutionResponseAminoMsg {
|
|
541
|
-
return {
|
|
542
|
-
type: "cosmos-sdk/v1/QueryConstitutionResponse",
|
|
543
|
-
value: QueryConstitutionResponse.toAmino(message)
|
|
544
|
-
};
|
|
545
|
-
},
|
|
546
|
-
fromProtoMsg(message: QueryConstitutionResponseProtoMsg): QueryConstitutionResponse {
|
|
547
|
-
return QueryConstitutionResponse.decode(message.value);
|
|
548
|
-
},
|
|
549
|
-
toProto(message: QueryConstitutionResponse): Uint8Array {
|
|
550
|
-
return QueryConstitutionResponse.encode(message).finish();
|
|
551
|
-
},
|
|
552
|
-
toProtoMsg(message: QueryConstitutionResponse): QueryConstitutionResponseProtoMsg {
|
|
553
|
-
return {
|
|
554
|
-
typeUrl: "/cosmos.gov.v1.QueryConstitutionResponse",
|
|
555
|
-
value: QueryConstitutionResponse.encode(message).finish()
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
};
|
|
559
|
-
GlobalDecoderRegistry.register(QueryConstitutionResponse.typeUrl, QueryConstitutionResponse);
|
|
560
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryConstitutionResponse.aminoType, QueryConstitutionResponse.typeUrl);
|
|
561
|
-
function createBaseQueryProposalRequest(): QueryProposalRequest {
|
|
562
|
-
return {
|
|
563
|
-
proposalId: BigInt(0)
|
|
564
|
-
};
|
|
565
|
-
}
|
|
566
|
-
export const QueryProposalRequest = {
|
|
567
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalRequest",
|
|
568
|
-
aminoType: "cosmos-sdk/v1/QueryProposalRequest",
|
|
569
|
-
is(o: any): o is QueryProposalRequest {
|
|
570
|
-
return o && (o.$typeUrl === QueryProposalRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
571
|
-
},
|
|
572
|
-
isAmino(o: any): o is QueryProposalRequestAmino {
|
|
573
|
-
return o && (o.$typeUrl === QueryProposalRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
574
|
-
},
|
|
575
|
-
encode(message: QueryProposalRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
576
|
-
if (message.proposalId !== BigInt(0)) {
|
|
577
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
578
|
-
}
|
|
579
|
-
return writer;
|
|
580
|
-
},
|
|
581
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest {
|
|
582
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
583
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
584
|
-
const message = createBaseQueryProposalRequest();
|
|
585
|
-
while (reader.pos < end) {
|
|
586
|
-
const tag = reader.uint32();
|
|
587
|
-
switch (tag >>> 3) {
|
|
588
|
-
case 1:
|
|
589
|
-
message.proposalId = reader.uint64();
|
|
590
|
-
break;
|
|
591
|
-
default:
|
|
592
|
-
reader.skipType(tag & 7);
|
|
593
|
-
break;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
return message;
|
|
597
|
-
},
|
|
598
|
-
fromPartial(object: DeepPartial<QueryProposalRequest>): QueryProposalRequest {
|
|
599
|
-
const message = createBaseQueryProposalRequest();
|
|
600
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
601
|
-
return message;
|
|
602
|
-
},
|
|
603
|
-
fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest {
|
|
604
|
-
const message = createBaseQueryProposalRequest();
|
|
605
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
606
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
607
|
-
}
|
|
608
|
-
return message;
|
|
609
|
-
},
|
|
610
|
-
toAmino(message: QueryProposalRequest): QueryProposalRequestAmino {
|
|
611
|
-
const obj: any = {};
|
|
612
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
613
|
-
return obj;
|
|
614
|
-
},
|
|
615
|
-
fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest {
|
|
616
|
-
return QueryProposalRequest.fromAmino(object.value);
|
|
617
|
-
},
|
|
618
|
-
toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg {
|
|
619
|
-
return {
|
|
620
|
-
type: "cosmos-sdk/v1/QueryProposalRequest",
|
|
621
|
-
value: QueryProposalRequest.toAmino(message)
|
|
622
|
-
};
|
|
623
|
-
},
|
|
624
|
-
fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest {
|
|
625
|
-
return QueryProposalRequest.decode(message.value);
|
|
626
|
-
},
|
|
627
|
-
toProto(message: QueryProposalRequest): Uint8Array {
|
|
628
|
-
return QueryProposalRequest.encode(message).finish();
|
|
629
|
-
},
|
|
630
|
-
toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg {
|
|
631
|
-
return {
|
|
632
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalRequest",
|
|
633
|
-
value: QueryProposalRequest.encode(message).finish()
|
|
634
|
-
};
|
|
635
|
-
}
|
|
636
|
-
};
|
|
637
|
-
GlobalDecoderRegistry.register(QueryProposalRequest.typeUrl, QueryProposalRequest);
|
|
638
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalRequest.aminoType, QueryProposalRequest.typeUrl);
|
|
639
|
-
function createBaseQueryProposalResponse(): QueryProposalResponse {
|
|
640
|
-
return {
|
|
641
|
-
proposal: undefined
|
|
642
|
-
};
|
|
643
|
-
}
|
|
644
|
-
export const QueryProposalResponse = {
|
|
645
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalResponse",
|
|
646
|
-
aminoType: "cosmos-sdk/v1/QueryProposalResponse",
|
|
647
|
-
is(o: any): o is QueryProposalResponse {
|
|
648
|
-
return o && o.$typeUrl === QueryProposalResponse.typeUrl;
|
|
649
|
-
},
|
|
650
|
-
isAmino(o: any): o is QueryProposalResponseAmino {
|
|
651
|
-
return o && o.$typeUrl === QueryProposalResponse.typeUrl;
|
|
652
|
-
},
|
|
653
|
-
encode(message: QueryProposalResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
654
|
-
if (message.proposal !== undefined) {
|
|
655
|
-
Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim();
|
|
656
|
-
}
|
|
657
|
-
return writer;
|
|
658
|
-
},
|
|
659
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse {
|
|
660
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
661
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
662
|
-
const message = createBaseQueryProposalResponse();
|
|
663
|
-
while (reader.pos < end) {
|
|
664
|
-
const tag = reader.uint32();
|
|
665
|
-
switch (tag >>> 3) {
|
|
666
|
-
case 1:
|
|
667
|
-
message.proposal = Proposal.decode(reader, reader.uint32());
|
|
668
|
-
break;
|
|
669
|
-
default:
|
|
670
|
-
reader.skipType(tag & 7);
|
|
671
|
-
break;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
return message;
|
|
675
|
-
},
|
|
676
|
-
fromPartial(object: DeepPartial<QueryProposalResponse>): QueryProposalResponse {
|
|
677
|
-
const message = createBaseQueryProposalResponse();
|
|
678
|
-
message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined;
|
|
679
|
-
return message;
|
|
680
|
-
},
|
|
681
|
-
fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse {
|
|
682
|
-
const message = createBaseQueryProposalResponse();
|
|
683
|
-
if (object.proposal !== undefined && object.proposal !== null) {
|
|
684
|
-
message.proposal = Proposal.fromAmino(object.proposal);
|
|
685
|
-
}
|
|
686
|
-
return message;
|
|
687
|
-
},
|
|
688
|
-
toAmino(message: QueryProposalResponse): QueryProposalResponseAmino {
|
|
689
|
-
const obj: any = {};
|
|
690
|
-
obj.proposal = message.proposal ? Proposal.toAmino(message.proposal) : undefined;
|
|
691
|
-
return obj;
|
|
692
|
-
},
|
|
693
|
-
fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse {
|
|
694
|
-
return QueryProposalResponse.fromAmino(object.value);
|
|
695
|
-
},
|
|
696
|
-
toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg {
|
|
697
|
-
return {
|
|
698
|
-
type: "cosmos-sdk/v1/QueryProposalResponse",
|
|
699
|
-
value: QueryProposalResponse.toAmino(message)
|
|
700
|
-
};
|
|
701
|
-
},
|
|
702
|
-
fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse {
|
|
703
|
-
return QueryProposalResponse.decode(message.value);
|
|
704
|
-
},
|
|
705
|
-
toProto(message: QueryProposalResponse): Uint8Array {
|
|
706
|
-
return QueryProposalResponse.encode(message).finish();
|
|
707
|
-
},
|
|
708
|
-
toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg {
|
|
709
|
-
return {
|
|
710
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalResponse",
|
|
711
|
-
value: QueryProposalResponse.encode(message).finish()
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
};
|
|
715
|
-
GlobalDecoderRegistry.register(QueryProposalResponse.typeUrl, QueryProposalResponse);
|
|
716
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalResponse.aminoType, QueryProposalResponse.typeUrl);
|
|
717
|
-
function createBaseQueryProposalsRequest(): QueryProposalsRequest {
|
|
718
|
-
return {
|
|
719
|
-
proposalStatus: 0,
|
|
720
|
-
voter: "",
|
|
721
|
-
depositor: "",
|
|
722
|
-
pagination: undefined
|
|
723
|
-
};
|
|
724
|
-
}
|
|
725
|
-
export const QueryProposalsRequest = {
|
|
726
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalsRequest",
|
|
727
|
-
aminoType: "cosmos-sdk/v1/QueryProposalsRequest",
|
|
728
|
-
is(o: any): o is QueryProposalsRequest {
|
|
729
|
-
return o && (o.$typeUrl === QueryProposalsRequest.typeUrl || isSet(o.proposalStatus) && typeof o.voter === "string" && typeof o.depositor === "string");
|
|
730
|
-
},
|
|
731
|
-
isAmino(o: any): o is QueryProposalsRequestAmino {
|
|
732
|
-
return o && (o.$typeUrl === QueryProposalsRequest.typeUrl || isSet(o.proposal_status) && typeof o.voter === "string" && typeof o.depositor === "string");
|
|
733
|
-
},
|
|
734
|
-
encode(message: QueryProposalsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
735
|
-
if (message.proposalStatus !== 0) {
|
|
736
|
-
writer.uint32(8).int32(message.proposalStatus);
|
|
737
|
-
}
|
|
738
|
-
if (message.voter !== "") {
|
|
739
|
-
writer.uint32(18).string(message.voter);
|
|
740
|
-
}
|
|
741
|
-
if (message.depositor !== "") {
|
|
742
|
-
writer.uint32(26).string(message.depositor);
|
|
743
|
-
}
|
|
744
|
-
if (message.pagination !== undefined) {
|
|
745
|
-
PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
|
746
|
-
}
|
|
747
|
-
return writer;
|
|
748
|
-
},
|
|
749
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsRequest {
|
|
750
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
751
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
752
|
-
const message = createBaseQueryProposalsRequest();
|
|
753
|
-
while (reader.pos < end) {
|
|
754
|
-
const tag = reader.uint32();
|
|
755
|
-
switch (tag >>> 3) {
|
|
756
|
-
case 1:
|
|
757
|
-
message.proposalStatus = reader.int32() as any;
|
|
758
|
-
break;
|
|
759
|
-
case 2:
|
|
760
|
-
message.voter = reader.string();
|
|
761
|
-
break;
|
|
762
|
-
case 3:
|
|
763
|
-
message.depositor = reader.string();
|
|
764
|
-
break;
|
|
765
|
-
case 4:
|
|
766
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
767
|
-
break;
|
|
768
|
-
default:
|
|
769
|
-
reader.skipType(tag & 7);
|
|
770
|
-
break;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
return message;
|
|
774
|
-
},
|
|
775
|
-
fromPartial(object: DeepPartial<QueryProposalsRequest>): QueryProposalsRequest {
|
|
776
|
-
const message = createBaseQueryProposalsRequest();
|
|
777
|
-
message.proposalStatus = object.proposalStatus ?? 0;
|
|
778
|
-
message.voter = object.voter ?? "";
|
|
779
|
-
message.depositor = object.depositor ?? "";
|
|
780
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
781
|
-
return message;
|
|
782
|
-
},
|
|
783
|
-
fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest {
|
|
784
|
-
const message = createBaseQueryProposalsRequest();
|
|
785
|
-
if (object.proposal_status !== undefined && object.proposal_status !== null) {
|
|
786
|
-
message.proposalStatus = object.proposal_status;
|
|
787
|
-
}
|
|
788
|
-
if (object.voter !== undefined && object.voter !== null) {
|
|
789
|
-
message.voter = object.voter;
|
|
790
|
-
}
|
|
791
|
-
if (object.depositor !== undefined && object.depositor !== null) {
|
|
792
|
-
message.depositor = object.depositor;
|
|
793
|
-
}
|
|
794
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
795
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
796
|
-
}
|
|
797
|
-
return message;
|
|
798
|
-
},
|
|
799
|
-
toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino {
|
|
800
|
-
const obj: any = {};
|
|
801
|
-
obj.proposal_status = message.proposalStatus === 0 ? undefined : message.proposalStatus;
|
|
802
|
-
obj.voter = message.voter === "" ? undefined : message.voter;
|
|
803
|
-
obj.depositor = message.depositor === "" ? undefined : message.depositor;
|
|
804
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
805
|
-
return obj;
|
|
806
|
-
},
|
|
807
|
-
fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest {
|
|
808
|
-
return QueryProposalsRequest.fromAmino(object.value);
|
|
809
|
-
},
|
|
810
|
-
toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg {
|
|
811
|
-
return {
|
|
812
|
-
type: "cosmos-sdk/v1/QueryProposalsRequest",
|
|
813
|
-
value: QueryProposalsRequest.toAmino(message)
|
|
814
|
-
};
|
|
815
|
-
},
|
|
816
|
-
fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest {
|
|
817
|
-
return QueryProposalsRequest.decode(message.value);
|
|
818
|
-
},
|
|
819
|
-
toProto(message: QueryProposalsRequest): Uint8Array {
|
|
820
|
-
return QueryProposalsRequest.encode(message).finish();
|
|
821
|
-
},
|
|
822
|
-
toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg {
|
|
823
|
-
return {
|
|
824
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalsRequest",
|
|
825
|
-
value: QueryProposalsRequest.encode(message).finish()
|
|
826
|
-
};
|
|
827
|
-
}
|
|
828
|
-
};
|
|
829
|
-
GlobalDecoderRegistry.register(QueryProposalsRequest.typeUrl, QueryProposalsRequest);
|
|
830
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalsRequest.aminoType, QueryProposalsRequest.typeUrl);
|
|
831
|
-
function createBaseQueryProposalsResponse(): QueryProposalsResponse {
|
|
832
|
-
return {
|
|
833
|
-
proposals: [],
|
|
834
|
-
pagination: undefined
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
export const QueryProposalsResponse = {
|
|
838
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalsResponse",
|
|
839
|
-
aminoType: "cosmos-sdk/v1/QueryProposalsResponse",
|
|
840
|
-
is(o: any): o is QueryProposalsResponse {
|
|
841
|
-
return o && (o.$typeUrl === QueryProposalsResponse.typeUrl || Array.isArray(o.proposals) && (!o.proposals.length || Proposal.is(o.proposals[0])));
|
|
842
|
-
},
|
|
843
|
-
isAmino(o: any): o is QueryProposalsResponseAmino {
|
|
844
|
-
return o && (o.$typeUrl === QueryProposalsResponse.typeUrl || Array.isArray(o.proposals) && (!o.proposals.length || Proposal.isAmino(o.proposals[0])));
|
|
845
|
-
},
|
|
846
|
-
encode(message: QueryProposalsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
847
|
-
for (const v of message.proposals) {
|
|
848
|
-
Proposal.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
849
|
-
}
|
|
850
|
-
if (message.pagination !== undefined) {
|
|
851
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
852
|
-
}
|
|
853
|
-
return writer;
|
|
854
|
-
},
|
|
855
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsResponse {
|
|
856
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
857
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
858
|
-
const message = createBaseQueryProposalsResponse();
|
|
859
|
-
while (reader.pos < end) {
|
|
860
|
-
const tag = reader.uint32();
|
|
861
|
-
switch (tag >>> 3) {
|
|
862
|
-
case 1:
|
|
863
|
-
message.proposals.push(Proposal.decode(reader, reader.uint32()));
|
|
864
|
-
break;
|
|
865
|
-
case 2:
|
|
866
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
867
|
-
break;
|
|
868
|
-
default:
|
|
869
|
-
reader.skipType(tag & 7);
|
|
870
|
-
break;
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
return message;
|
|
874
|
-
},
|
|
875
|
-
fromPartial(object: DeepPartial<QueryProposalsResponse>): QueryProposalsResponse {
|
|
876
|
-
const message = createBaseQueryProposalsResponse();
|
|
877
|
-
message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || [];
|
|
878
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
879
|
-
return message;
|
|
880
|
-
},
|
|
881
|
-
fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse {
|
|
882
|
-
const message = createBaseQueryProposalsResponse();
|
|
883
|
-
message.proposals = object.proposals?.map(e => Proposal.fromAmino(e)) || [];
|
|
884
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
885
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
886
|
-
}
|
|
887
|
-
return message;
|
|
888
|
-
},
|
|
889
|
-
toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino {
|
|
890
|
-
const obj: any = {};
|
|
891
|
-
if (message.proposals) {
|
|
892
|
-
obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined);
|
|
893
|
-
} else {
|
|
894
|
-
obj.proposals = message.proposals;
|
|
895
|
-
}
|
|
896
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
897
|
-
return obj;
|
|
898
|
-
},
|
|
899
|
-
fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse {
|
|
900
|
-
return QueryProposalsResponse.fromAmino(object.value);
|
|
901
|
-
},
|
|
902
|
-
toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg {
|
|
903
|
-
return {
|
|
904
|
-
type: "cosmos-sdk/v1/QueryProposalsResponse",
|
|
905
|
-
value: QueryProposalsResponse.toAmino(message)
|
|
906
|
-
};
|
|
907
|
-
},
|
|
908
|
-
fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse {
|
|
909
|
-
return QueryProposalsResponse.decode(message.value);
|
|
910
|
-
},
|
|
911
|
-
toProto(message: QueryProposalsResponse): Uint8Array {
|
|
912
|
-
return QueryProposalsResponse.encode(message).finish();
|
|
913
|
-
},
|
|
914
|
-
toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg {
|
|
915
|
-
return {
|
|
916
|
-
typeUrl: "/cosmos.gov.v1.QueryProposalsResponse",
|
|
917
|
-
value: QueryProposalsResponse.encode(message).finish()
|
|
918
|
-
};
|
|
919
|
-
}
|
|
920
|
-
};
|
|
921
|
-
GlobalDecoderRegistry.register(QueryProposalsResponse.typeUrl, QueryProposalsResponse);
|
|
922
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalsResponse.aminoType, QueryProposalsResponse.typeUrl);
|
|
923
|
-
function createBaseQueryVoteRequest(): QueryVoteRequest {
|
|
924
|
-
return {
|
|
925
|
-
proposalId: BigInt(0),
|
|
926
|
-
voter: ""
|
|
927
|
-
};
|
|
928
|
-
}
|
|
929
|
-
export const QueryVoteRequest = {
|
|
930
|
-
typeUrl: "/cosmos.gov.v1.QueryVoteRequest",
|
|
931
|
-
aminoType: "cosmos-sdk/v1/QueryVoteRequest",
|
|
932
|
-
is(o: any): o is QueryVoteRequest {
|
|
933
|
-
return o && (o.$typeUrl === QueryVoteRequest.typeUrl || typeof o.proposalId === "bigint" && typeof o.voter === "string");
|
|
934
|
-
},
|
|
935
|
-
isAmino(o: any): o is QueryVoteRequestAmino {
|
|
936
|
-
return o && (o.$typeUrl === QueryVoteRequest.typeUrl || typeof o.proposal_id === "bigint" && typeof o.voter === "string");
|
|
937
|
-
},
|
|
938
|
-
encode(message: QueryVoteRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
939
|
-
if (message.proposalId !== BigInt(0)) {
|
|
940
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
941
|
-
}
|
|
942
|
-
if (message.voter !== "") {
|
|
943
|
-
writer.uint32(18).string(message.voter);
|
|
944
|
-
}
|
|
945
|
-
return writer;
|
|
946
|
-
},
|
|
947
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteRequest {
|
|
948
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
949
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
950
|
-
const message = createBaseQueryVoteRequest();
|
|
951
|
-
while (reader.pos < end) {
|
|
952
|
-
const tag = reader.uint32();
|
|
953
|
-
switch (tag >>> 3) {
|
|
954
|
-
case 1:
|
|
955
|
-
message.proposalId = reader.uint64();
|
|
956
|
-
break;
|
|
957
|
-
case 2:
|
|
958
|
-
message.voter = reader.string();
|
|
959
|
-
break;
|
|
960
|
-
default:
|
|
961
|
-
reader.skipType(tag & 7);
|
|
962
|
-
break;
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
return message;
|
|
966
|
-
},
|
|
967
|
-
fromPartial(object: DeepPartial<QueryVoteRequest>): QueryVoteRequest {
|
|
968
|
-
const message = createBaseQueryVoteRequest();
|
|
969
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
970
|
-
message.voter = object.voter ?? "";
|
|
971
|
-
return message;
|
|
972
|
-
},
|
|
973
|
-
fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest {
|
|
974
|
-
const message = createBaseQueryVoteRequest();
|
|
975
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
976
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
977
|
-
}
|
|
978
|
-
if (object.voter !== undefined && object.voter !== null) {
|
|
979
|
-
message.voter = object.voter;
|
|
980
|
-
}
|
|
981
|
-
return message;
|
|
982
|
-
},
|
|
983
|
-
toAmino(message: QueryVoteRequest): QueryVoteRequestAmino {
|
|
984
|
-
const obj: any = {};
|
|
985
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
986
|
-
obj.voter = message.voter === "" ? undefined : message.voter;
|
|
987
|
-
return obj;
|
|
988
|
-
},
|
|
989
|
-
fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest {
|
|
990
|
-
return QueryVoteRequest.fromAmino(object.value);
|
|
991
|
-
},
|
|
992
|
-
toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg {
|
|
993
|
-
return {
|
|
994
|
-
type: "cosmos-sdk/v1/QueryVoteRequest",
|
|
995
|
-
value: QueryVoteRequest.toAmino(message)
|
|
996
|
-
};
|
|
997
|
-
},
|
|
998
|
-
fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest {
|
|
999
|
-
return QueryVoteRequest.decode(message.value);
|
|
1000
|
-
},
|
|
1001
|
-
toProto(message: QueryVoteRequest): Uint8Array {
|
|
1002
|
-
return QueryVoteRequest.encode(message).finish();
|
|
1003
|
-
},
|
|
1004
|
-
toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg {
|
|
1005
|
-
return {
|
|
1006
|
-
typeUrl: "/cosmos.gov.v1.QueryVoteRequest",
|
|
1007
|
-
value: QueryVoteRequest.encode(message).finish()
|
|
1008
|
-
};
|
|
1009
|
-
}
|
|
1010
|
-
};
|
|
1011
|
-
GlobalDecoderRegistry.register(QueryVoteRequest.typeUrl, QueryVoteRequest);
|
|
1012
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVoteRequest.aminoType, QueryVoteRequest.typeUrl);
|
|
1013
|
-
function createBaseQueryVoteResponse(): QueryVoteResponse {
|
|
1014
|
-
return {
|
|
1015
|
-
vote: undefined
|
|
1016
|
-
};
|
|
1017
|
-
}
|
|
1018
|
-
export const QueryVoteResponse = {
|
|
1019
|
-
typeUrl: "/cosmos.gov.v1.QueryVoteResponse",
|
|
1020
|
-
aminoType: "cosmos-sdk/v1/QueryVoteResponse",
|
|
1021
|
-
is(o: any): o is QueryVoteResponse {
|
|
1022
|
-
return o && o.$typeUrl === QueryVoteResponse.typeUrl;
|
|
1023
|
-
},
|
|
1024
|
-
isAmino(o: any): o is QueryVoteResponseAmino {
|
|
1025
|
-
return o && o.$typeUrl === QueryVoteResponse.typeUrl;
|
|
1026
|
-
},
|
|
1027
|
-
encode(message: QueryVoteResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1028
|
-
if (message.vote !== undefined) {
|
|
1029
|
-
Vote.encode(message.vote, writer.uint32(10).fork()).ldelim();
|
|
1030
|
-
}
|
|
1031
|
-
return writer;
|
|
1032
|
-
},
|
|
1033
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteResponse {
|
|
1034
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1035
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1036
|
-
const message = createBaseQueryVoteResponse();
|
|
1037
|
-
while (reader.pos < end) {
|
|
1038
|
-
const tag = reader.uint32();
|
|
1039
|
-
switch (tag >>> 3) {
|
|
1040
|
-
case 1:
|
|
1041
|
-
message.vote = Vote.decode(reader, reader.uint32());
|
|
1042
|
-
break;
|
|
1043
|
-
default:
|
|
1044
|
-
reader.skipType(tag & 7);
|
|
1045
|
-
break;
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
return message;
|
|
1049
|
-
},
|
|
1050
|
-
fromPartial(object: DeepPartial<QueryVoteResponse>): QueryVoteResponse {
|
|
1051
|
-
const message = createBaseQueryVoteResponse();
|
|
1052
|
-
message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined;
|
|
1053
|
-
return message;
|
|
1054
|
-
},
|
|
1055
|
-
fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse {
|
|
1056
|
-
const message = createBaseQueryVoteResponse();
|
|
1057
|
-
if (object.vote !== undefined && object.vote !== null) {
|
|
1058
|
-
message.vote = Vote.fromAmino(object.vote);
|
|
1059
|
-
}
|
|
1060
|
-
return message;
|
|
1061
|
-
},
|
|
1062
|
-
toAmino(message: QueryVoteResponse): QueryVoteResponseAmino {
|
|
1063
|
-
const obj: any = {};
|
|
1064
|
-
obj.vote = message.vote ? Vote.toAmino(message.vote) : undefined;
|
|
1065
|
-
return obj;
|
|
1066
|
-
},
|
|
1067
|
-
fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse {
|
|
1068
|
-
return QueryVoteResponse.fromAmino(object.value);
|
|
1069
|
-
},
|
|
1070
|
-
toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg {
|
|
1071
|
-
return {
|
|
1072
|
-
type: "cosmos-sdk/v1/QueryVoteResponse",
|
|
1073
|
-
value: QueryVoteResponse.toAmino(message)
|
|
1074
|
-
};
|
|
1075
|
-
},
|
|
1076
|
-
fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse {
|
|
1077
|
-
return QueryVoteResponse.decode(message.value);
|
|
1078
|
-
},
|
|
1079
|
-
toProto(message: QueryVoteResponse): Uint8Array {
|
|
1080
|
-
return QueryVoteResponse.encode(message).finish();
|
|
1081
|
-
},
|
|
1082
|
-
toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg {
|
|
1083
|
-
return {
|
|
1084
|
-
typeUrl: "/cosmos.gov.v1.QueryVoteResponse",
|
|
1085
|
-
value: QueryVoteResponse.encode(message).finish()
|
|
1086
|
-
};
|
|
1087
|
-
}
|
|
1088
|
-
};
|
|
1089
|
-
GlobalDecoderRegistry.register(QueryVoteResponse.typeUrl, QueryVoteResponse);
|
|
1090
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVoteResponse.aminoType, QueryVoteResponse.typeUrl);
|
|
1091
|
-
function createBaseQueryVotesRequest(): QueryVotesRequest {
|
|
1092
|
-
return {
|
|
1093
|
-
proposalId: BigInt(0),
|
|
1094
|
-
pagination: undefined
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
export const QueryVotesRequest = {
|
|
1098
|
-
typeUrl: "/cosmos.gov.v1.QueryVotesRequest",
|
|
1099
|
-
aminoType: "cosmos-sdk/v1/QueryVotesRequest",
|
|
1100
|
-
is(o: any): o is QueryVotesRequest {
|
|
1101
|
-
return o && (o.$typeUrl === QueryVotesRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
1102
|
-
},
|
|
1103
|
-
isAmino(o: any): o is QueryVotesRequestAmino {
|
|
1104
|
-
return o && (o.$typeUrl === QueryVotesRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
1105
|
-
},
|
|
1106
|
-
encode(message: QueryVotesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1107
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1108
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1109
|
-
}
|
|
1110
|
-
if (message.pagination !== undefined) {
|
|
1111
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1112
|
-
}
|
|
1113
|
-
return writer;
|
|
1114
|
-
},
|
|
1115
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesRequest {
|
|
1116
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1117
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1118
|
-
const message = createBaseQueryVotesRequest();
|
|
1119
|
-
while (reader.pos < end) {
|
|
1120
|
-
const tag = reader.uint32();
|
|
1121
|
-
switch (tag >>> 3) {
|
|
1122
|
-
case 1:
|
|
1123
|
-
message.proposalId = reader.uint64();
|
|
1124
|
-
break;
|
|
1125
|
-
case 2:
|
|
1126
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1127
|
-
break;
|
|
1128
|
-
default:
|
|
1129
|
-
reader.skipType(tag & 7);
|
|
1130
|
-
break;
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
return message;
|
|
1134
|
-
},
|
|
1135
|
-
fromPartial(object: DeepPartial<QueryVotesRequest>): QueryVotesRequest {
|
|
1136
|
-
const message = createBaseQueryVotesRequest();
|
|
1137
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1138
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1139
|
-
return message;
|
|
1140
|
-
},
|
|
1141
|
-
fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest {
|
|
1142
|
-
const message = createBaseQueryVotesRequest();
|
|
1143
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1144
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1145
|
-
}
|
|
1146
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1147
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1148
|
-
}
|
|
1149
|
-
return message;
|
|
1150
|
-
},
|
|
1151
|
-
toAmino(message: QueryVotesRequest): QueryVotesRequestAmino {
|
|
1152
|
-
const obj: any = {};
|
|
1153
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1154
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1155
|
-
return obj;
|
|
1156
|
-
},
|
|
1157
|
-
fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest {
|
|
1158
|
-
return QueryVotesRequest.fromAmino(object.value);
|
|
1159
|
-
},
|
|
1160
|
-
toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg {
|
|
1161
|
-
return {
|
|
1162
|
-
type: "cosmos-sdk/v1/QueryVotesRequest",
|
|
1163
|
-
value: QueryVotesRequest.toAmino(message)
|
|
1164
|
-
};
|
|
1165
|
-
},
|
|
1166
|
-
fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest {
|
|
1167
|
-
return QueryVotesRequest.decode(message.value);
|
|
1168
|
-
},
|
|
1169
|
-
toProto(message: QueryVotesRequest): Uint8Array {
|
|
1170
|
-
return QueryVotesRequest.encode(message).finish();
|
|
1171
|
-
},
|
|
1172
|
-
toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg {
|
|
1173
|
-
return {
|
|
1174
|
-
typeUrl: "/cosmos.gov.v1.QueryVotesRequest",
|
|
1175
|
-
value: QueryVotesRequest.encode(message).finish()
|
|
1176
|
-
};
|
|
1177
|
-
}
|
|
1178
|
-
};
|
|
1179
|
-
GlobalDecoderRegistry.register(QueryVotesRequest.typeUrl, QueryVotesRequest);
|
|
1180
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVotesRequest.aminoType, QueryVotesRequest.typeUrl);
|
|
1181
|
-
function createBaseQueryVotesResponse(): QueryVotesResponse {
|
|
1182
|
-
return {
|
|
1183
|
-
votes: [],
|
|
1184
|
-
pagination: undefined
|
|
1185
|
-
};
|
|
1186
|
-
}
|
|
1187
|
-
export const QueryVotesResponse = {
|
|
1188
|
-
typeUrl: "/cosmos.gov.v1.QueryVotesResponse",
|
|
1189
|
-
aminoType: "cosmos-sdk/v1/QueryVotesResponse",
|
|
1190
|
-
is(o: any): o is QueryVotesResponse {
|
|
1191
|
-
return o && (o.$typeUrl === QueryVotesResponse.typeUrl || Array.isArray(o.votes) && (!o.votes.length || Vote.is(o.votes[0])));
|
|
1192
|
-
},
|
|
1193
|
-
isAmino(o: any): o is QueryVotesResponseAmino {
|
|
1194
|
-
return o && (o.$typeUrl === QueryVotesResponse.typeUrl || Array.isArray(o.votes) && (!o.votes.length || Vote.isAmino(o.votes[0])));
|
|
1195
|
-
},
|
|
1196
|
-
encode(message: QueryVotesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1197
|
-
for (const v of message.votes) {
|
|
1198
|
-
Vote.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1199
|
-
}
|
|
1200
|
-
if (message.pagination !== undefined) {
|
|
1201
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1202
|
-
}
|
|
1203
|
-
return writer;
|
|
1204
|
-
},
|
|
1205
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesResponse {
|
|
1206
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1207
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1208
|
-
const message = createBaseQueryVotesResponse();
|
|
1209
|
-
while (reader.pos < end) {
|
|
1210
|
-
const tag = reader.uint32();
|
|
1211
|
-
switch (tag >>> 3) {
|
|
1212
|
-
case 1:
|
|
1213
|
-
message.votes.push(Vote.decode(reader, reader.uint32()));
|
|
1214
|
-
break;
|
|
1215
|
-
case 2:
|
|
1216
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1217
|
-
break;
|
|
1218
|
-
default:
|
|
1219
|
-
reader.skipType(tag & 7);
|
|
1220
|
-
break;
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
return message;
|
|
1224
|
-
},
|
|
1225
|
-
fromPartial(object: DeepPartial<QueryVotesResponse>): QueryVotesResponse {
|
|
1226
|
-
const message = createBaseQueryVotesResponse();
|
|
1227
|
-
message.votes = object.votes?.map(e => Vote.fromPartial(e)) || [];
|
|
1228
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1229
|
-
return message;
|
|
1230
|
-
},
|
|
1231
|
-
fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse {
|
|
1232
|
-
const message = createBaseQueryVotesResponse();
|
|
1233
|
-
message.votes = object.votes?.map(e => Vote.fromAmino(e)) || [];
|
|
1234
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1235
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1236
|
-
}
|
|
1237
|
-
return message;
|
|
1238
|
-
},
|
|
1239
|
-
toAmino(message: QueryVotesResponse): QueryVotesResponseAmino {
|
|
1240
|
-
const obj: any = {};
|
|
1241
|
-
if (message.votes) {
|
|
1242
|
-
obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined);
|
|
1243
|
-
} else {
|
|
1244
|
-
obj.votes = message.votes;
|
|
1245
|
-
}
|
|
1246
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1247
|
-
return obj;
|
|
1248
|
-
},
|
|
1249
|
-
fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse {
|
|
1250
|
-
return QueryVotesResponse.fromAmino(object.value);
|
|
1251
|
-
},
|
|
1252
|
-
toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg {
|
|
1253
|
-
return {
|
|
1254
|
-
type: "cosmos-sdk/v1/QueryVotesResponse",
|
|
1255
|
-
value: QueryVotesResponse.toAmino(message)
|
|
1256
|
-
};
|
|
1257
|
-
},
|
|
1258
|
-
fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse {
|
|
1259
|
-
return QueryVotesResponse.decode(message.value);
|
|
1260
|
-
},
|
|
1261
|
-
toProto(message: QueryVotesResponse): Uint8Array {
|
|
1262
|
-
return QueryVotesResponse.encode(message).finish();
|
|
1263
|
-
},
|
|
1264
|
-
toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg {
|
|
1265
|
-
return {
|
|
1266
|
-
typeUrl: "/cosmos.gov.v1.QueryVotesResponse",
|
|
1267
|
-
value: QueryVotesResponse.encode(message).finish()
|
|
1268
|
-
};
|
|
1269
|
-
}
|
|
1270
|
-
};
|
|
1271
|
-
GlobalDecoderRegistry.register(QueryVotesResponse.typeUrl, QueryVotesResponse);
|
|
1272
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVotesResponse.aminoType, QueryVotesResponse.typeUrl);
|
|
1273
|
-
function createBaseQueryParamsRequest(): QueryParamsRequest {
|
|
1274
|
-
return {
|
|
1275
|
-
paramsType: ""
|
|
1276
|
-
};
|
|
1277
|
-
}
|
|
1278
|
-
export const QueryParamsRequest = {
|
|
1279
|
-
typeUrl: "/cosmos.gov.v1.QueryParamsRequest",
|
|
1280
|
-
aminoType: "cosmos-sdk/v1/QueryParamsRequest",
|
|
1281
|
-
is(o: any): o is QueryParamsRequest {
|
|
1282
|
-
return o && (o.$typeUrl === QueryParamsRequest.typeUrl || typeof o.paramsType === "string");
|
|
1283
|
-
},
|
|
1284
|
-
isAmino(o: any): o is QueryParamsRequestAmino {
|
|
1285
|
-
return o && (o.$typeUrl === QueryParamsRequest.typeUrl || typeof o.params_type === "string");
|
|
1286
|
-
},
|
|
1287
|
-
encode(message: QueryParamsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1288
|
-
if (message.paramsType !== "") {
|
|
1289
|
-
writer.uint32(10).string(message.paramsType);
|
|
1290
|
-
}
|
|
1291
|
-
return writer;
|
|
1292
|
-
},
|
|
1293
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest {
|
|
1294
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1295
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1296
|
-
const message = createBaseQueryParamsRequest();
|
|
1297
|
-
while (reader.pos < end) {
|
|
1298
|
-
const tag = reader.uint32();
|
|
1299
|
-
switch (tag >>> 3) {
|
|
1300
|
-
case 1:
|
|
1301
|
-
message.paramsType = reader.string();
|
|
1302
|
-
break;
|
|
1303
|
-
default:
|
|
1304
|
-
reader.skipType(tag & 7);
|
|
1305
|
-
break;
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
return message;
|
|
1309
|
-
},
|
|
1310
|
-
fromPartial(object: DeepPartial<QueryParamsRequest>): QueryParamsRequest {
|
|
1311
|
-
const message = createBaseQueryParamsRequest();
|
|
1312
|
-
message.paramsType = object.paramsType ?? "";
|
|
1313
|
-
return message;
|
|
1314
|
-
},
|
|
1315
|
-
fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest {
|
|
1316
|
-
const message = createBaseQueryParamsRequest();
|
|
1317
|
-
if (object.params_type !== undefined && object.params_type !== null) {
|
|
1318
|
-
message.paramsType = object.params_type;
|
|
1319
|
-
}
|
|
1320
|
-
return message;
|
|
1321
|
-
},
|
|
1322
|
-
toAmino(message: QueryParamsRequest): QueryParamsRequestAmino {
|
|
1323
|
-
const obj: any = {};
|
|
1324
|
-
obj.params_type = message.paramsType === "" ? undefined : message.paramsType;
|
|
1325
|
-
return obj;
|
|
1326
|
-
},
|
|
1327
|
-
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest {
|
|
1328
|
-
return QueryParamsRequest.fromAmino(object.value);
|
|
1329
|
-
},
|
|
1330
|
-
toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg {
|
|
1331
|
-
return {
|
|
1332
|
-
type: "cosmos-sdk/v1/QueryParamsRequest",
|
|
1333
|
-
value: QueryParamsRequest.toAmino(message)
|
|
1334
|
-
};
|
|
1335
|
-
},
|
|
1336
|
-
fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest {
|
|
1337
|
-
return QueryParamsRequest.decode(message.value);
|
|
1338
|
-
},
|
|
1339
|
-
toProto(message: QueryParamsRequest): Uint8Array {
|
|
1340
|
-
return QueryParamsRequest.encode(message).finish();
|
|
1341
|
-
},
|
|
1342
|
-
toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg {
|
|
1343
|
-
return {
|
|
1344
|
-
typeUrl: "/cosmos.gov.v1.QueryParamsRequest",
|
|
1345
|
-
value: QueryParamsRequest.encode(message).finish()
|
|
1346
|
-
};
|
|
1347
|
-
}
|
|
1348
|
-
};
|
|
1349
|
-
GlobalDecoderRegistry.register(QueryParamsRequest.typeUrl, QueryParamsRequest);
|
|
1350
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryParamsRequest.aminoType, QueryParamsRequest.typeUrl);
|
|
1351
|
-
function createBaseQueryParamsResponse(): QueryParamsResponse {
|
|
1352
|
-
return {
|
|
1353
|
-
votingParams: undefined,
|
|
1354
|
-
depositParams: undefined,
|
|
1355
|
-
tallyParams: undefined,
|
|
1356
|
-
params: undefined
|
|
1357
|
-
};
|
|
1358
|
-
}
|
|
1359
|
-
export const QueryParamsResponse = {
|
|
1360
|
-
typeUrl: "/cosmos.gov.v1.QueryParamsResponse",
|
|
1361
|
-
aminoType: "cosmos-sdk/v1/QueryParamsResponse",
|
|
1362
|
-
is(o: any): o is QueryParamsResponse {
|
|
1363
|
-
return o && o.$typeUrl === QueryParamsResponse.typeUrl;
|
|
1364
|
-
},
|
|
1365
|
-
isAmino(o: any): o is QueryParamsResponseAmino {
|
|
1366
|
-
return o && o.$typeUrl === QueryParamsResponse.typeUrl;
|
|
1367
|
-
},
|
|
1368
|
-
encode(message: QueryParamsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1369
|
-
if (message.votingParams !== undefined) {
|
|
1370
|
-
VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim();
|
|
1371
|
-
}
|
|
1372
|
-
if (message.depositParams !== undefined) {
|
|
1373
|
-
DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim();
|
|
1374
|
-
}
|
|
1375
|
-
if (message.tallyParams !== undefined) {
|
|
1376
|
-
TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim();
|
|
1377
|
-
}
|
|
1378
|
-
if (message.params !== undefined) {
|
|
1379
|
-
Params.encode(message.params, writer.uint32(34).fork()).ldelim();
|
|
1380
|
-
}
|
|
1381
|
-
return writer;
|
|
1382
|
-
},
|
|
1383
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse {
|
|
1384
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1385
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1386
|
-
const message = createBaseQueryParamsResponse();
|
|
1387
|
-
while (reader.pos < end) {
|
|
1388
|
-
const tag = reader.uint32();
|
|
1389
|
-
switch (tag >>> 3) {
|
|
1390
|
-
case 1:
|
|
1391
|
-
message.votingParams = VotingParams.decode(reader, reader.uint32());
|
|
1392
|
-
break;
|
|
1393
|
-
case 2:
|
|
1394
|
-
message.depositParams = DepositParams.decode(reader, reader.uint32());
|
|
1395
|
-
break;
|
|
1396
|
-
case 3:
|
|
1397
|
-
message.tallyParams = TallyParams.decode(reader, reader.uint32());
|
|
1398
|
-
break;
|
|
1399
|
-
case 4:
|
|
1400
|
-
message.params = Params.decode(reader, reader.uint32());
|
|
1401
|
-
break;
|
|
1402
|
-
default:
|
|
1403
|
-
reader.skipType(tag & 7);
|
|
1404
|
-
break;
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
return message;
|
|
1408
|
-
},
|
|
1409
|
-
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse {
|
|
1410
|
-
const message = createBaseQueryParamsResponse();
|
|
1411
|
-
message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined;
|
|
1412
|
-
message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined;
|
|
1413
|
-
message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined;
|
|
1414
|
-
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
1415
|
-
return message;
|
|
1416
|
-
},
|
|
1417
|
-
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse {
|
|
1418
|
-
const message = createBaseQueryParamsResponse();
|
|
1419
|
-
if (object.voting_params !== undefined && object.voting_params !== null) {
|
|
1420
|
-
message.votingParams = VotingParams.fromAmino(object.voting_params);
|
|
1421
|
-
}
|
|
1422
|
-
if (object.deposit_params !== undefined && object.deposit_params !== null) {
|
|
1423
|
-
message.depositParams = DepositParams.fromAmino(object.deposit_params);
|
|
1424
|
-
}
|
|
1425
|
-
if (object.tally_params !== undefined && object.tally_params !== null) {
|
|
1426
|
-
message.tallyParams = TallyParams.fromAmino(object.tally_params);
|
|
1427
|
-
}
|
|
1428
|
-
if (object.params !== undefined && object.params !== null) {
|
|
1429
|
-
message.params = Params.fromAmino(object.params);
|
|
1430
|
-
}
|
|
1431
|
-
return message;
|
|
1432
|
-
},
|
|
1433
|
-
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino {
|
|
1434
|
-
const obj: any = {};
|
|
1435
|
-
obj.voting_params = message.votingParams ? VotingParams.toAmino(message.votingParams) : undefined;
|
|
1436
|
-
obj.deposit_params = message.depositParams ? DepositParams.toAmino(message.depositParams) : undefined;
|
|
1437
|
-
obj.tally_params = message.tallyParams ? TallyParams.toAmino(message.tallyParams) : undefined;
|
|
1438
|
-
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
1439
|
-
return obj;
|
|
1440
|
-
},
|
|
1441
|
-
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse {
|
|
1442
|
-
return QueryParamsResponse.fromAmino(object.value);
|
|
1443
|
-
},
|
|
1444
|
-
toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg {
|
|
1445
|
-
return {
|
|
1446
|
-
type: "cosmos-sdk/v1/QueryParamsResponse",
|
|
1447
|
-
value: QueryParamsResponse.toAmino(message)
|
|
1448
|
-
};
|
|
1449
|
-
},
|
|
1450
|
-
fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse {
|
|
1451
|
-
return QueryParamsResponse.decode(message.value);
|
|
1452
|
-
},
|
|
1453
|
-
toProto(message: QueryParamsResponse): Uint8Array {
|
|
1454
|
-
return QueryParamsResponse.encode(message).finish();
|
|
1455
|
-
},
|
|
1456
|
-
toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg {
|
|
1457
|
-
return {
|
|
1458
|
-
typeUrl: "/cosmos.gov.v1.QueryParamsResponse",
|
|
1459
|
-
value: QueryParamsResponse.encode(message).finish()
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
};
|
|
1463
|
-
GlobalDecoderRegistry.register(QueryParamsResponse.typeUrl, QueryParamsResponse);
|
|
1464
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryParamsResponse.aminoType, QueryParamsResponse.typeUrl);
|
|
1465
|
-
function createBaseQueryDepositRequest(): QueryDepositRequest {
|
|
1466
|
-
return {
|
|
1467
|
-
proposalId: BigInt(0),
|
|
1468
|
-
depositor: ""
|
|
1469
|
-
};
|
|
1470
|
-
}
|
|
1471
|
-
export const QueryDepositRequest = {
|
|
1472
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositRequest",
|
|
1473
|
-
aminoType: "cosmos-sdk/v1/QueryDepositRequest",
|
|
1474
|
-
is(o: any): o is QueryDepositRequest {
|
|
1475
|
-
return o && (o.$typeUrl === QueryDepositRequest.typeUrl || typeof o.proposalId === "bigint" && typeof o.depositor === "string");
|
|
1476
|
-
},
|
|
1477
|
-
isAmino(o: any): o is QueryDepositRequestAmino {
|
|
1478
|
-
return o && (o.$typeUrl === QueryDepositRequest.typeUrl || typeof o.proposal_id === "bigint" && typeof o.depositor === "string");
|
|
1479
|
-
},
|
|
1480
|
-
encode(message: QueryDepositRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1481
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1482
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1483
|
-
}
|
|
1484
|
-
if (message.depositor !== "") {
|
|
1485
|
-
writer.uint32(18).string(message.depositor);
|
|
1486
|
-
}
|
|
1487
|
-
return writer;
|
|
1488
|
-
},
|
|
1489
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositRequest {
|
|
1490
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1491
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1492
|
-
const message = createBaseQueryDepositRequest();
|
|
1493
|
-
while (reader.pos < end) {
|
|
1494
|
-
const tag = reader.uint32();
|
|
1495
|
-
switch (tag >>> 3) {
|
|
1496
|
-
case 1:
|
|
1497
|
-
message.proposalId = reader.uint64();
|
|
1498
|
-
break;
|
|
1499
|
-
case 2:
|
|
1500
|
-
message.depositor = reader.string();
|
|
1501
|
-
break;
|
|
1502
|
-
default:
|
|
1503
|
-
reader.skipType(tag & 7);
|
|
1504
|
-
break;
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
return message;
|
|
1508
|
-
},
|
|
1509
|
-
fromPartial(object: DeepPartial<QueryDepositRequest>): QueryDepositRequest {
|
|
1510
|
-
const message = createBaseQueryDepositRequest();
|
|
1511
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1512
|
-
message.depositor = object.depositor ?? "";
|
|
1513
|
-
return message;
|
|
1514
|
-
},
|
|
1515
|
-
fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest {
|
|
1516
|
-
const message = createBaseQueryDepositRequest();
|
|
1517
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1518
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1519
|
-
}
|
|
1520
|
-
if (object.depositor !== undefined && object.depositor !== null) {
|
|
1521
|
-
message.depositor = object.depositor;
|
|
1522
|
-
}
|
|
1523
|
-
return message;
|
|
1524
|
-
},
|
|
1525
|
-
toAmino(message: QueryDepositRequest): QueryDepositRequestAmino {
|
|
1526
|
-
const obj: any = {};
|
|
1527
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1528
|
-
obj.depositor = message.depositor === "" ? undefined : message.depositor;
|
|
1529
|
-
return obj;
|
|
1530
|
-
},
|
|
1531
|
-
fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest {
|
|
1532
|
-
return QueryDepositRequest.fromAmino(object.value);
|
|
1533
|
-
},
|
|
1534
|
-
toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg {
|
|
1535
|
-
return {
|
|
1536
|
-
type: "cosmos-sdk/v1/QueryDepositRequest",
|
|
1537
|
-
value: QueryDepositRequest.toAmino(message)
|
|
1538
|
-
};
|
|
1539
|
-
},
|
|
1540
|
-
fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest {
|
|
1541
|
-
return QueryDepositRequest.decode(message.value);
|
|
1542
|
-
},
|
|
1543
|
-
toProto(message: QueryDepositRequest): Uint8Array {
|
|
1544
|
-
return QueryDepositRequest.encode(message).finish();
|
|
1545
|
-
},
|
|
1546
|
-
toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg {
|
|
1547
|
-
return {
|
|
1548
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositRequest",
|
|
1549
|
-
value: QueryDepositRequest.encode(message).finish()
|
|
1550
|
-
};
|
|
1551
|
-
}
|
|
1552
|
-
};
|
|
1553
|
-
GlobalDecoderRegistry.register(QueryDepositRequest.typeUrl, QueryDepositRequest);
|
|
1554
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryDepositRequest.aminoType, QueryDepositRequest.typeUrl);
|
|
1555
|
-
function createBaseQueryDepositResponse(): QueryDepositResponse {
|
|
1556
|
-
return {
|
|
1557
|
-
deposit: undefined
|
|
1558
|
-
};
|
|
1559
|
-
}
|
|
1560
|
-
export const QueryDepositResponse = {
|
|
1561
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositResponse",
|
|
1562
|
-
aminoType: "cosmos-sdk/v1/QueryDepositResponse",
|
|
1563
|
-
is(o: any): o is QueryDepositResponse {
|
|
1564
|
-
return o && o.$typeUrl === QueryDepositResponse.typeUrl;
|
|
1565
|
-
},
|
|
1566
|
-
isAmino(o: any): o is QueryDepositResponseAmino {
|
|
1567
|
-
return o && o.$typeUrl === QueryDepositResponse.typeUrl;
|
|
1568
|
-
},
|
|
1569
|
-
encode(message: QueryDepositResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1570
|
-
if (message.deposit !== undefined) {
|
|
1571
|
-
Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim();
|
|
1572
|
-
}
|
|
1573
|
-
return writer;
|
|
1574
|
-
},
|
|
1575
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositResponse {
|
|
1576
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1577
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1578
|
-
const message = createBaseQueryDepositResponse();
|
|
1579
|
-
while (reader.pos < end) {
|
|
1580
|
-
const tag = reader.uint32();
|
|
1581
|
-
switch (tag >>> 3) {
|
|
1582
|
-
case 1:
|
|
1583
|
-
message.deposit = Deposit.decode(reader, reader.uint32());
|
|
1584
|
-
break;
|
|
1585
|
-
default:
|
|
1586
|
-
reader.skipType(tag & 7);
|
|
1587
|
-
break;
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
return message;
|
|
1591
|
-
},
|
|
1592
|
-
fromPartial(object: DeepPartial<QueryDepositResponse>): QueryDepositResponse {
|
|
1593
|
-
const message = createBaseQueryDepositResponse();
|
|
1594
|
-
message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined;
|
|
1595
|
-
return message;
|
|
1596
|
-
},
|
|
1597
|
-
fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse {
|
|
1598
|
-
const message = createBaseQueryDepositResponse();
|
|
1599
|
-
if (object.deposit !== undefined && object.deposit !== null) {
|
|
1600
|
-
message.deposit = Deposit.fromAmino(object.deposit);
|
|
1601
|
-
}
|
|
1602
|
-
return message;
|
|
1603
|
-
},
|
|
1604
|
-
toAmino(message: QueryDepositResponse): QueryDepositResponseAmino {
|
|
1605
|
-
const obj: any = {};
|
|
1606
|
-
obj.deposit = message.deposit ? Deposit.toAmino(message.deposit) : undefined;
|
|
1607
|
-
return obj;
|
|
1608
|
-
},
|
|
1609
|
-
fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse {
|
|
1610
|
-
return QueryDepositResponse.fromAmino(object.value);
|
|
1611
|
-
},
|
|
1612
|
-
toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg {
|
|
1613
|
-
return {
|
|
1614
|
-
type: "cosmos-sdk/v1/QueryDepositResponse",
|
|
1615
|
-
value: QueryDepositResponse.toAmino(message)
|
|
1616
|
-
};
|
|
1617
|
-
},
|
|
1618
|
-
fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse {
|
|
1619
|
-
return QueryDepositResponse.decode(message.value);
|
|
1620
|
-
},
|
|
1621
|
-
toProto(message: QueryDepositResponse): Uint8Array {
|
|
1622
|
-
return QueryDepositResponse.encode(message).finish();
|
|
1623
|
-
},
|
|
1624
|
-
toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg {
|
|
1625
|
-
return {
|
|
1626
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositResponse",
|
|
1627
|
-
value: QueryDepositResponse.encode(message).finish()
|
|
1628
|
-
};
|
|
1629
|
-
}
|
|
1630
|
-
};
|
|
1631
|
-
GlobalDecoderRegistry.register(QueryDepositResponse.typeUrl, QueryDepositResponse);
|
|
1632
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryDepositResponse.aminoType, QueryDepositResponse.typeUrl);
|
|
1633
|
-
function createBaseQueryDepositsRequest(): QueryDepositsRequest {
|
|
1634
|
-
return {
|
|
1635
|
-
proposalId: BigInt(0),
|
|
1636
|
-
pagination: undefined
|
|
1637
|
-
};
|
|
1638
|
-
}
|
|
1639
|
-
export const QueryDepositsRequest = {
|
|
1640
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositsRequest",
|
|
1641
|
-
aminoType: "cosmos-sdk/v1/QueryDepositsRequest",
|
|
1642
|
-
is(o: any): o is QueryDepositsRequest {
|
|
1643
|
-
return o && (o.$typeUrl === QueryDepositsRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
1644
|
-
},
|
|
1645
|
-
isAmino(o: any): o is QueryDepositsRequestAmino {
|
|
1646
|
-
return o && (o.$typeUrl === QueryDepositsRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
1647
|
-
},
|
|
1648
|
-
encode(message: QueryDepositsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1649
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1650
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1651
|
-
}
|
|
1652
|
-
if (message.pagination !== undefined) {
|
|
1653
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1654
|
-
}
|
|
1655
|
-
return writer;
|
|
1656
|
-
},
|
|
1657
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsRequest {
|
|
1658
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1659
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1660
|
-
const message = createBaseQueryDepositsRequest();
|
|
1661
|
-
while (reader.pos < end) {
|
|
1662
|
-
const tag = reader.uint32();
|
|
1663
|
-
switch (tag >>> 3) {
|
|
1664
|
-
case 1:
|
|
1665
|
-
message.proposalId = reader.uint64();
|
|
1666
|
-
break;
|
|
1667
|
-
case 2:
|
|
1668
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1669
|
-
break;
|
|
1670
|
-
default:
|
|
1671
|
-
reader.skipType(tag & 7);
|
|
1672
|
-
break;
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
return message;
|
|
1676
|
-
},
|
|
1677
|
-
fromPartial(object: DeepPartial<QueryDepositsRequest>): QueryDepositsRequest {
|
|
1678
|
-
const message = createBaseQueryDepositsRequest();
|
|
1679
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1680
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1681
|
-
return message;
|
|
1682
|
-
},
|
|
1683
|
-
fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest {
|
|
1684
|
-
const message = createBaseQueryDepositsRequest();
|
|
1685
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1686
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1687
|
-
}
|
|
1688
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1689
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1690
|
-
}
|
|
1691
|
-
return message;
|
|
1692
|
-
},
|
|
1693
|
-
toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino {
|
|
1694
|
-
const obj: any = {};
|
|
1695
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1696
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1697
|
-
return obj;
|
|
1698
|
-
},
|
|
1699
|
-
fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest {
|
|
1700
|
-
return QueryDepositsRequest.fromAmino(object.value);
|
|
1701
|
-
},
|
|
1702
|
-
toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg {
|
|
1703
|
-
return {
|
|
1704
|
-
type: "cosmos-sdk/v1/QueryDepositsRequest",
|
|
1705
|
-
value: QueryDepositsRequest.toAmino(message)
|
|
1706
|
-
};
|
|
1707
|
-
},
|
|
1708
|
-
fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest {
|
|
1709
|
-
return QueryDepositsRequest.decode(message.value);
|
|
1710
|
-
},
|
|
1711
|
-
toProto(message: QueryDepositsRequest): Uint8Array {
|
|
1712
|
-
return QueryDepositsRequest.encode(message).finish();
|
|
1713
|
-
},
|
|
1714
|
-
toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg {
|
|
1715
|
-
return {
|
|
1716
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositsRequest",
|
|
1717
|
-
value: QueryDepositsRequest.encode(message).finish()
|
|
1718
|
-
};
|
|
1719
|
-
}
|
|
1720
|
-
};
|
|
1721
|
-
GlobalDecoderRegistry.register(QueryDepositsRequest.typeUrl, QueryDepositsRequest);
|
|
1722
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryDepositsRequest.aminoType, QueryDepositsRequest.typeUrl);
|
|
1723
|
-
function createBaseQueryDepositsResponse(): QueryDepositsResponse {
|
|
1724
|
-
return {
|
|
1725
|
-
deposits: [],
|
|
1726
|
-
pagination: undefined
|
|
1727
|
-
};
|
|
1728
|
-
}
|
|
1729
|
-
export const QueryDepositsResponse = {
|
|
1730
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositsResponse",
|
|
1731
|
-
aminoType: "cosmos-sdk/v1/QueryDepositsResponse",
|
|
1732
|
-
is(o: any): o is QueryDepositsResponse {
|
|
1733
|
-
return o && (o.$typeUrl === QueryDepositsResponse.typeUrl || Array.isArray(o.deposits) && (!o.deposits.length || Deposit.is(o.deposits[0])));
|
|
1734
|
-
},
|
|
1735
|
-
isAmino(o: any): o is QueryDepositsResponseAmino {
|
|
1736
|
-
return o && (o.$typeUrl === QueryDepositsResponse.typeUrl || Array.isArray(o.deposits) && (!o.deposits.length || Deposit.isAmino(o.deposits[0])));
|
|
1737
|
-
},
|
|
1738
|
-
encode(message: QueryDepositsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1739
|
-
for (const v of message.deposits) {
|
|
1740
|
-
Deposit.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1741
|
-
}
|
|
1742
|
-
if (message.pagination !== undefined) {
|
|
1743
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1744
|
-
}
|
|
1745
|
-
return writer;
|
|
1746
|
-
},
|
|
1747
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsResponse {
|
|
1748
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1749
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1750
|
-
const message = createBaseQueryDepositsResponse();
|
|
1751
|
-
while (reader.pos < end) {
|
|
1752
|
-
const tag = reader.uint32();
|
|
1753
|
-
switch (tag >>> 3) {
|
|
1754
|
-
case 1:
|
|
1755
|
-
message.deposits.push(Deposit.decode(reader, reader.uint32()));
|
|
1756
|
-
break;
|
|
1757
|
-
case 2:
|
|
1758
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1759
|
-
break;
|
|
1760
|
-
default:
|
|
1761
|
-
reader.skipType(tag & 7);
|
|
1762
|
-
break;
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
return message;
|
|
1766
|
-
},
|
|
1767
|
-
fromPartial(object: DeepPartial<QueryDepositsResponse>): QueryDepositsResponse {
|
|
1768
|
-
const message = createBaseQueryDepositsResponse();
|
|
1769
|
-
message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || [];
|
|
1770
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1771
|
-
return message;
|
|
1772
|
-
},
|
|
1773
|
-
fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse {
|
|
1774
|
-
const message = createBaseQueryDepositsResponse();
|
|
1775
|
-
message.deposits = object.deposits?.map(e => Deposit.fromAmino(e)) || [];
|
|
1776
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1777
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1778
|
-
}
|
|
1779
|
-
return message;
|
|
1780
|
-
},
|
|
1781
|
-
toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino {
|
|
1782
|
-
const obj: any = {};
|
|
1783
|
-
if (message.deposits) {
|
|
1784
|
-
obj.deposits = message.deposits.map(e => e ? Deposit.toAmino(e) : undefined);
|
|
1785
|
-
} else {
|
|
1786
|
-
obj.deposits = message.deposits;
|
|
1787
|
-
}
|
|
1788
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1789
|
-
return obj;
|
|
1790
|
-
},
|
|
1791
|
-
fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse {
|
|
1792
|
-
return QueryDepositsResponse.fromAmino(object.value);
|
|
1793
|
-
},
|
|
1794
|
-
toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg {
|
|
1795
|
-
return {
|
|
1796
|
-
type: "cosmos-sdk/v1/QueryDepositsResponse",
|
|
1797
|
-
value: QueryDepositsResponse.toAmino(message)
|
|
1798
|
-
};
|
|
1799
|
-
},
|
|
1800
|
-
fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse {
|
|
1801
|
-
return QueryDepositsResponse.decode(message.value);
|
|
1802
|
-
},
|
|
1803
|
-
toProto(message: QueryDepositsResponse): Uint8Array {
|
|
1804
|
-
return QueryDepositsResponse.encode(message).finish();
|
|
1805
|
-
},
|
|
1806
|
-
toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg {
|
|
1807
|
-
return {
|
|
1808
|
-
typeUrl: "/cosmos.gov.v1.QueryDepositsResponse",
|
|
1809
|
-
value: QueryDepositsResponse.encode(message).finish()
|
|
1810
|
-
};
|
|
1811
|
-
}
|
|
1812
|
-
};
|
|
1813
|
-
GlobalDecoderRegistry.register(QueryDepositsResponse.typeUrl, QueryDepositsResponse);
|
|
1814
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryDepositsResponse.aminoType, QueryDepositsResponse.typeUrl);
|
|
1815
|
-
function createBaseQueryTallyResultRequest(): QueryTallyResultRequest {
|
|
1816
|
-
return {
|
|
1817
|
-
proposalId: BigInt(0)
|
|
1818
|
-
};
|
|
1819
|
-
}
|
|
1820
|
-
export const QueryTallyResultRequest = {
|
|
1821
|
-
typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest",
|
|
1822
|
-
aminoType: "cosmos-sdk/v1/QueryTallyResultRequest",
|
|
1823
|
-
is(o: any): o is QueryTallyResultRequest {
|
|
1824
|
-
return o && (o.$typeUrl === QueryTallyResultRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
1825
|
-
},
|
|
1826
|
-
isAmino(o: any): o is QueryTallyResultRequestAmino {
|
|
1827
|
-
return o && (o.$typeUrl === QueryTallyResultRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
1828
|
-
},
|
|
1829
|
-
encode(message: QueryTallyResultRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1830
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1831
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1832
|
-
}
|
|
1833
|
-
return writer;
|
|
1834
|
-
},
|
|
1835
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest {
|
|
1836
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1837
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1838
|
-
const message = createBaseQueryTallyResultRequest();
|
|
1839
|
-
while (reader.pos < end) {
|
|
1840
|
-
const tag = reader.uint32();
|
|
1841
|
-
switch (tag >>> 3) {
|
|
1842
|
-
case 1:
|
|
1843
|
-
message.proposalId = reader.uint64();
|
|
1844
|
-
break;
|
|
1845
|
-
default:
|
|
1846
|
-
reader.skipType(tag & 7);
|
|
1847
|
-
break;
|
|
1848
|
-
}
|
|
1849
|
-
}
|
|
1850
|
-
return message;
|
|
1851
|
-
},
|
|
1852
|
-
fromPartial(object: DeepPartial<QueryTallyResultRequest>): QueryTallyResultRequest {
|
|
1853
|
-
const message = createBaseQueryTallyResultRequest();
|
|
1854
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1855
|
-
return message;
|
|
1856
|
-
},
|
|
1857
|
-
fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest {
|
|
1858
|
-
const message = createBaseQueryTallyResultRequest();
|
|
1859
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1860
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1861
|
-
}
|
|
1862
|
-
return message;
|
|
1863
|
-
},
|
|
1864
|
-
toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino {
|
|
1865
|
-
const obj: any = {};
|
|
1866
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1867
|
-
return obj;
|
|
1868
|
-
},
|
|
1869
|
-
fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest {
|
|
1870
|
-
return QueryTallyResultRequest.fromAmino(object.value);
|
|
1871
|
-
},
|
|
1872
|
-
toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg {
|
|
1873
|
-
return {
|
|
1874
|
-
type: "cosmos-sdk/v1/QueryTallyResultRequest",
|
|
1875
|
-
value: QueryTallyResultRequest.toAmino(message)
|
|
1876
|
-
};
|
|
1877
|
-
},
|
|
1878
|
-
fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest {
|
|
1879
|
-
return QueryTallyResultRequest.decode(message.value);
|
|
1880
|
-
},
|
|
1881
|
-
toProto(message: QueryTallyResultRequest): Uint8Array {
|
|
1882
|
-
return QueryTallyResultRequest.encode(message).finish();
|
|
1883
|
-
},
|
|
1884
|
-
toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg {
|
|
1885
|
-
return {
|
|
1886
|
-
typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest",
|
|
1887
|
-
value: QueryTallyResultRequest.encode(message).finish()
|
|
1888
|
-
};
|
|
1889
|
-
}
|
|
1890
|
-
};
|
|
1891
|
-
GlobalDecoderRegistry.register(QueryTallyResultRequest.typeUrl, QueryTallyResultRequest);
|
|
1892
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryTallyResultRequest.aminoType, QueryTallyResultRequest.typeUrl);
|
|
1893
|
-
function createBaseQueryTallyResultResponse(): QueryTallyResultResponse {
|
|
1894
|
-
return {
|
|
1895
|
-
tally: undefined
|
|
1896
|
-
};
|
|
1897
|
-
}
|
|
1898
|
-
export const QueryTallyResultResponse = {
|
|
1899
|
-
typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse",
|
|
1900
|
-
aminoType: "cosmos-sdk/v1/QueryTallyResultResponse",
|
|
1901
|
-
is(o: any): o is QueryTallyResultResponse {
|
|
1902
|
-
return o && o.$typeUrl === QueryTallyResultResponse.typeUrl;
|
|
1903
|
-
},
|
|
1904
|
-
isAmino(o: any): o is QueryTallyResultResponseAmino {
|
|
1905
|
-
return o && o.$typeUrl === QueryTallyResultResponse.typeUrl;
|
|
1906
|
-
},
|
|
1907
|
-
encode(message: QueryTallyResultResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1908
|
-
if (message.tally !== undefined) {
|
|
1909
|
-
TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim();
|
|
1910
|
-
}
|
|
1911
|
-
return writer;
|
|
1912
|
-
},
|
|
1913
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse {
|
|
1914
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1915
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1916
|
-
const message = createBaseQueryTallyResultResponse();
|
|
1917
|
-
while (reader.pos < end) {
|
|
1918
|
-
const tag = reader.uint32();
|
|
1919
|
-
switch (tag >>> 3) {
|
|
1920
|
-
case 1:
|
|
1921
|
-
message.tally = TallyResult.decode(reader, reader.uint32());
|
|
1922
|
-
break;
|
|
1923
|
-
default:
|
|
1924
|
-
reader.skipType(tag & 7);
|
|
1925
|
-
break;
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
return message;
|
|
1929
|
-
},
|
|
1930
|
-
fromPartial(object: DeepPartial<QueryTallyResultResponse>): QueryTallyResultResponse {
|
|
1931
|
-
const message = createBaseQueryTallyResultResponse();
|
|
1932
|
-
message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined;
|
|
1933
|
-
return message;
|
|
1934
|
-
},
|
|
1935
|
-
fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse {
|
|
1936
|
-
const message = createBaseQueryTallyResultResponse();
|
|
1937
|
-
if (object.tally !== undefined && object.tally !== null) {
|
|
1938
|
-
message.tally = TallyResult.fromAmino(object.tally);
|
|
1939
|
-
}
|
|
1940
|
-
return message;
|
|
1941
|
-
},
|
|
1942
|
-
toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino {
|
|
1943
|
-
const obj: any = {};
|
|
1944
|
-
obj.tally = message.tally ? TallyResult.toAmino(message.tally) : undefined;
|
|
1945
|
-
return obj;
|
|
1946
|
-
},
|
|
1947
|
-
fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse {
|
|
1948
|
-
return QueryTallyResultResponse.fromAmino(object.value);
|
|
1949
|
-
},
|
|
1950
|
-
toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg {
|
|
1951
|
-
return {
|
|
1952
|
-
type: "cosmos-sdk/v1/QueryTallyResultResponse",
|
|
1953
|
-
value: QueryTallyResultResponse.toAmino(message)
|
|
1954
|
-
};
|
|
1955
|
-
},
|
|
1956
|
-
fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse {
|
|
1957
|
-
return QueryTallyResultResponse.decode(message.value);
|
|
1958
|
-
},
|
|
1959
|
-
toProto(message: QueryTallyResultResponse): Uint8Array {
|
|
1960
|
-
return QueryTallyResultResponse.encode(message).finish();
|
|
1961
|
-
},
|
|
1962
|
-
toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg {
|
|
1963
|
-
return {
|
|
1964
|
-
typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse",
|
|
1965
|
-
value: QueryTallyResultResponse.encode(message).finish()
|
|
1966
|
-
};
|
|
1967
|
-
}
|
|
1968
|
-
};
|
|
1969
|
-
GlobalDecoderRegistry.register(QueryTallyResultResponse.typeUrl, QueryTallyResultResponse);
|
|
1970
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryTallyResultResponse.aminoType, QueryTallyResultResponse.typeUrl);
|