@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,3015 +0,0 @@
|
|
|
1
|
-
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination";
|
|
2
|
-
import { GroupInfo, GroupInfoAmino, GroupPolicyInfo, GroupPolicyInfoAmino, GroupMember, GroupMemberAmino, Proposal, ProposalAmino, Vote, VoteAmino, TallyResult, TallyResultAmino } from "./types";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { DeepPartial } from "../../../helpers";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
|
-
/** QueryGroupInfoRequest is the Query/GroupInfo request type. */
|
|
7
|
-
export interface QueryGroupInfoRequest {
|
|
8
|
-
/** group_id is the unique ID of the group. */
|
|
9
|
-
groupId: bigint;
|
|
10
|
-
}
|
|
11
|
-
export interface QueryGroupInfoRequestProtoMsg {
|
|
12
|
-
typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest";
|
|
13
|
-
value: Uint8Array;
|
|
14
|
-
}
|
|
15
|
-
/** QueryGroupInfoRequest is the Query/GroupInfo request type. */
|
|
16
|
-
export interface QueryGroupInfoRequestAmino {
|
|
17
|
-
/** group_id is the unique ID of the group. */
|
|
18
|
-
group_id: string;
|
|
19
|
-
}
|
|
20
|
-
export interface QueryGroupInfoRequestAminoMsg {
|
|
21
|
-
type: "cosmos-sdk/QueryGroupInfoRequest";
|
|
22
|
-
value: QueryGroupInfoRequestAmino;
|
|
23
|
-
}
|
|
24
|
-
/** QueryGroupInfoResponse is the Query/GroupInfo response type. */
|
|
25
|
-
export interface QueryGroupInfoResponse {
|
|
26
|
-
/** info is the GroupInfo of the group. */
|
|
27
|
-
info?: GroupInfo;
|
|
28
|
-
}
|
|
29
|
-
export interface QueryGroupInfoResponseProtoMsg {
|
|
30
|
-
typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse";
|
|
31
|
-
value: Uint8Array;
|
|
32
|
-
}
|
|
33
|
-
/** QueryGroupInfoResponse is the Query/GroupInfo response type. */
|
|
34
|
-
export interface QueryGroupInfoResponseAmino {
|
|
35
|
-
/** info is the GroupInfo of the group. */
|
|
36
|
-
info?: GroupInfoAmino;
|
|
37
|
-
}
|
|
38
|
-
export interface QueryGroupInfoResponseAminoMsg {
|
|
39
|
-
type: "cosmos-sdk/QueryGroupInfoResponse";
|
|
40
|
-
value: QueryGroupInfoResponseAmino;
|
|
41
|
-
}
|
|
42
|
-
/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */
|
|
43
|
-
export interface QueryGroupPolicyInfoRequest {
|
|
44
|
-
/** address is the account address of the group policy. */
|
|
45
|
-
address: string;
|
|
46
|
-
}
|
|
47
|
-
export interface QueryGroupPolicyInfoRequestProtoMsg {
|
|
48
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest";
|
|
49
|
-
value: Uint8Array;
|
|
50
|
-
}
|
|
51
|
-
/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */
|
|
52
|
-
export interface QueryGroupPolicyInfoRequestAmino {
|
|
53
|
-
/** address is the account address of the group policy. */
|
|
54
|
-
address: string;
|
|
55
|
-
}
|
|
56
|
-
export interface QueryGroupPolicyInfoRequestAminoMsg {
|
|
57
|
-
type: "cosmos-sdk/QueryGroupPolicyInfoRequest";
|
|
58
|
-
value: QueryGroupPolicyInfoRequestAmino;
|
|
59
|
-
}
|
|
60
|
-
/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */
|
|
61
|
-
export interface QueryGroupPolicyInfoResponse {
|
|
62
|
-
/** info is the GroupPolicyInfo of the group policy. */
|
|
63
|
-
info?: GroupPolicyInfo;
|
|
64
|
-
}
|
|
65
|
-
export interface QueryGroupPolicyInfoResponseProtoMsg {
|
|
66
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse";
|
|
67
|
-
value: Uint8Array;
|
|
68
|
-
}
|
|
69
|
-
/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */
|
|
70
|
-
export interface QueryGroupPolicyInfoResponseAmino {
|
|
71
|
-
/** info is the GroupPolicyInfo of the group policy. */
|
|
72
|
-
info?: GroupPolicyInfoAmino;
|
|
73
|
-
}
|
|
74
|
-
export interface QueryGroupPolicyInfoResponseAminoMsg {
|
|
75
|
-
type: "cosmos-sdk/QueryGroupPolicyInfoResponse";
|
|
76
|
-
value: QueryGroupPolicyInfoResponseAmino;
|
|
77
|
-
}
|
|
78
|
-
/** QueryGroupMembersRequest is the Query/GroupMembers request type. */
|
|
79
|
-
export interface QueryGroupMembersRequest {
|
|
80
|
-
/** group_id is the unique ID of the group. */
|
|
81
|
-
groupId: bigint;
|
|
82
|
-
/** pagination defines an optional pagination for the request. */
|
|
83
|
-
pagination?: PageRequest;
|
|
84
|
-
}
|
|
85
|
-
export interface QueryGroupMembersRequestProtoMsg {
|
|
86
|
-
typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest";
|
|
87
|
-
value: Uint8Array;
|
|
88
|
-
}
|
|
89
|
-
/** QueryGroupMembersRequest is the Query/GroupMembers request type. */
|
|
90
|
-
export interface QueryGroupMembersRequestAmino {
|
|
91
|
-
/** group_id is the unique ID of the group. */
|
|
92
|
-
group_id: string;
|
|
93
|
-
/** pagination defines an optional pagination for the request. */
|
|
94
|
-
pagination?: PageRequestAmino;
|
|
95
|
-
}
|
|
96
|
-
export interface QueryGroupMembersRequestAminoMsg {
|
|
97
|
-
type: "cosmos-sdk/QueryGroupMembersRequest";
|
|
98
|
-
value: QueryGroupMembersRequestAmino;
|
|
99
|
-
}
|
|
100
|
-
/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */
|
|
101
|
-
export interface QueryGroupMembersResponse {
|
|
102
|
-
/** members are the members of the group with given group_id. */
|
|
103
|
-
members: GroupMember[];
|
|
104
|
-
/** pagination defines the pagination in the response. */
|
|
105
|
-
pagination?: PageResponse;
|
|
106
|
-
}
|
|
107
|
-
export interface QueryGroupMembersResponseProtoMsg {
|
|
108
|
-
typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse";
|
|
109
|
-
value: Uint8Array;
|
|
110
|
-
}
|
|
111
|
-
/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */
|
|
112
|
-
export interface QueryGroupMembersResponseAmino {
|
|
113
|
-
/** members are the members of the group with given group_id. */
|
|
114
|
-
members: GroupMemberAmino[];
|
|
115
|
-
/** pagination defines the pagination in the response. */
|
|
116
|
-
pagination?: PageResponseAmino;
|
|
117
|
-
}
|
|
118
|
-
export interface QueryGroupMembersResponseAminoMsg {
|
|
119
|
-
type: "cosmos-sdk/QueryGroupMembersResponse";
|
|
120
|
-
value: QueryGroupMembersResponseAmino;
|
|
121
|
-
}
|
|
122
|
-
/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */
|
|
123
|
-
export interface QueryGroupsByAdminRequest {
|
|
124
|
-
/** admin is the account address of a group's admin. */
|
|
125
|
-
admin: string;
|
|
126
|
-
/** pagination defines an optional pagination for the request. */
|
|
127
|
-
pagination?: PageRequest;
|
|
128
|
-
}
|
|
129
|
-
export interface QueryGroupsByAdminRequestProtoMsg {
|
|
130
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest";
|
|
131
|
-
value: Uint8Array;
|
|
132
|
-
}
|
|
133
|
-
/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */
|
|
134
|
-
export interface QueryGroupsByAdminRequestAmino {
|
|
135
|
-
/** admin is the account address of a group's admin. */
|
|
136
|
-
admin: string;
|
|
137
|
-
/** pagination defines an optional pagination for the request. */
|
|
138
|
-
pagination?: PageRequestAmino;
|
|
139
|
-
}
|
|
140
|
-
export interface QueryGroupsByAdminRequestAminoMsg {
|
|
141
|
-
type: "cosmos-sdk/QueryGroupsByAdminRequest";
|
|
142
|
-
value: QueryGroupsByAdminRequestAmino;
|
|
143
|
-
}
|
|
144
|
-
/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */
|
|
145
|
-
export interface QueryGroupsByAdminResponse {
|
|
146
|
-
/** groups are the groups info with the provided admin. */
|
|
147
|
-
groups: GroupInfo[];
|
|
148
|
-
/** pagination defines the pagination in the response. */
|
|
149
|
-
pagination?: PageResponse;
|
|
150
|
-
}
|
|
151
|
-
export interface QueryGroupsByAdminResponseProtoMsg {
|
|
152
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse";
|
|
153
|
-
value: Uint8Array;
|
|
154
|
-
}
|
|
155
|
-
/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */
|
|
156
|
-
export interface QueryGroupsByAdminResponseAmino {
|
|
157
|
-
/** groups are the groups info with the provided admin. */
|
|
158
|
-
groups: GroupInfoAmino[];
|
|
159
|
-
/** pagination defines the pagination in the response. */
|
|
160
|
-
pagination?: PageResponseAmino;
|
|
161
|
-
}
|
|
162
|
-
export interface QueryGroupsByAdminResponseAminoMsg {
|
|
163
|
-
type: "cosmos-sdk/QueryGroupsByAdminResponse";
|
|
164
|
-
value: QueryGroupsByAdminResponseAmino;
|
|
165
|
-
}
|
|
166
|
-
/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */
|
|
167
|
-
export interface QueryGroupPoliciesByGroupRequest {
|
|
168
|
-
/** group_id is the unique ID of the group policy's group. */
|
|
169
|
-
groupId: bigint;
|
|
170
|
-
/** pagination defines an optional pagination for the request. */
|
|
171
|
-
pagination?: PageRequest;
|
|
172
|
-
}
|
|
173
|
-
export interface QueryGroupPoliciesByGroupRequestProtoMsg {
|
|
174
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest";
|
|
175
|
-
value: Uint8Array;
|
|
176
|
-
}
|
|
177
|
-
/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */
|
|
178
|
-
export interface QueryGroupPoliciesByGroupRequestAmino {
|
|
179
|
-
/** group_id is the unique ID of the group policy's group. */
|
|
180
|
-
group_id: string;
|
|
181
|
-
/** pagination defines an optional pagination for the request. */
|
|
182
|
-
pagination?: PageRequestAmino;
|
|
183
|
-
}
|
|
184
|
-
export interface QueryGroupPoliciesByGroupRequestAminoMsg {
|
|
185
|
-
type: "cosmos-sdk/QueryGroupPoliciesByGroupRequest";
|
|
186
|
-
value: QueryGroupPoliciesByGroupRequestAmino;
|
|
187
|
-
}
|
|
188
|
-
/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */
|
|
189
|
-
export interface QueryGroupPoliciesByGroupResponse {
|
|
190
|
-
/** group_policies are the group policies info associated with the provided group. */
|
|
191
|
-
groupPolicies: GroupPolicyInfo[];
|
|
192
|
-
/** pagination defines the pagination in the response. */
|
|
193
|
-
pagination?: PageResponse;
|
|
194
|
-
}
|
|
195
|
-
export interface QueryGroupPoliciesByGroupResponseProtoMsg {
|
|
196
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse";
|
|
197
|
-
value: Uint8Array;
|
|
198
|
-
}
|
|
199
|
-
/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */
|
|
200
|
-
export interface QueryGroupPoliciesByGroupResponseAmino {
|
|
201
|
-
/** group_policies are the group policies info associated with the provided group. */
|
|
202
|
-
group_policies: GroupPolicyInfoAmino[];
|
|
203
|
-
/** pagination defines the pagination in the response. */
|
|
204
|
-
pagination?: PageResponseAmino;
|
|
205
|
-
}
|
|
206
|
-
export interface QueryGroupPoliciesByGroupResponseAminoMsg {
|
|
207
|
-
type: "cosmos-sdk/QueryGroupPoliciesByGroupResponse";
|
|
208
|
-
value: QueryGroupPoliciesByGroupResponseAmino;
|
|
209
|
-
}
|
|
210
|
-
/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */
|
|
211
|
-
export interface QueryGroupPoliciesByAdminRequest {
|
|
212
|
-
/** admin is the admin address of the group policy. */
|
|
213
|
-
admin: string;
|
|
214
|
-
/** pagination defines an optional pagination for the request. */
|
|
215
|
-
pagination?: PageRequest;
|
|
216
|
-
}
|
|
217
|
-
export interface QueryGroupPoliciesByAdminRequestProtoMsg {
|
|
218
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest";
|
|
219
|
-
value: Uint8Array;
|
|
220
|
-
}
|
|
221
|
-
/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */
|
|
222
|
-
export interface QueryGroupPoliciesByAdminRequestAmino {
|
|
223
|
-
/** admin is the admin address of the group policy. */
|
|
224
|
-
admin: string;
|
|
225
|
-
/** pagination defines an optional pagination for the request. */
|
|
226
|
-
pagination?: PageRequestAmino;
|
|
227
|
-
}
|
|
228
|
-
export interface QueryGroupPoliciesByAdminRequestAminoMsg {
|
|
229
|
-
type: "cosmos-sdk/QueryGroupPoliciesByAdminRequest";
|
|
230
|
-
value: QueryGroupPoliciesByAdminRequestAmino;
|
|
231
|
-
}
|
|
232
|
-
/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */
|
|
233
|
-
export interface QueryGroupPoliciesByAdminResponse {
|
|
234
|
-
/** group_policies are the group policies info with provided admin. */
|
|
235
|
-
groupPolicies: GroupPolicyInfo[];
|
|
236
|
-
/** pagination defines the pagination in the response. */
|
|
237
|
-
pagination?: PageResponse;
|
|
238
|
-
}
|
|
239
|
-
export interface QueryGroupPoliciesByAdminResponseProtoMsg {
|
|
240
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse";
|
|
241
|
-
value: Uint8Array;
|
|
242
|
-
}
|
|
243
|
-
/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */
|
|
244
|
-
export interface QueryGroupPoliciesByAdminResponseAmino {
|
|
245
|
-
/** group_policies are the group policies info with provided admin. */
|
|
246
|
-
group_policies: GroupPolicyInfoAmino[];
|
|
247
|
-
/** pagination defines the pagination in the response. */
|
|
248
|
-
pagination?: PageResponseAmino;
|
|
249
|
-
}
|
|
250
|
-
export interface QueryGroupPoliciesByAdminResponseAminoMsg {
|
|
251
|
-
type: "cosmos-sdk/QueryGroupPoliciesByAdminResponse";
|
|
252
|
-
value: QueryGroupPoliciesByAdminResponseAmino;
|
|
253
|
-
}
|
|
254
|
-
/** QueryProposalRequest is the Query/Proposal request type. */
|
|
255
|
-
export interface QueryProposalRequest {
|
|
256
|
-
/** proposal_id is the unique ID of a proposal. */
|
|
257
|
-
proposalId: bigint;
|
|
258
|
-
}
|
|
259
|
-
export interface QueryProposalRequestProtoMsg {
|
|
260
|
-
typeUrl: "/cosmos.group.v1.QueryProposalRequest";
|
|
261
|
-
value: Uint8Array;
|
|
262
|
-
}
|
|
263
|
-
/** QueryProposalRequest is the Query/Proposal request type. */
|
|
264
|
-
export interface QueryProposalRequestAmino {
|
|
265
|
-
/** proposal_id is the unique ID of a proposal. */
|
|
266
|
-
proposal_id: string;
|
|
267
|
-
}
|
|
268
|
-
export interface QueryProposalRequestAminoMsg {
|
|
269
|
-
type: "cosmos-sdk/QueryProposalRequest";
|
|
270
|
-
value: QueryProposalRequestAmino;
|
|
271
|
-
}
|
|
272
|
-
/** QueryProposalResponse is the Query/Proposal response type. */
|
|
273
|
-
export interface QueryProposalResponse {
|
|
274
|
-
/** proposal is the proposal info. */
|
|
275
|
-
proposal?: Proposal;
|
|
276
|
-
}
|
|
277
|
-
export interface QueryProposalResponseProtoMsg {
|
|
278
|
-
typeUrl: "/cosmos.group.v1.QueryProposalResponse";
|
|
279
|
-
value: Uint8Array;
|
|
280
|
-
}
|
|
281
|
-
/** QueryProposalResponse is the Query/Proposal response type. */
|
|
282
|
-
export interface QueryProposalResponseAmino {
|
|
283
|
-
/** proposal is the proposal info. */
|
|
284
|
-
proposal?: ProposalAmino;
|
|
285
|
-
}
|
|
286
|
-
export interface QueryProposalResponseAminoMsg {
|
|
287
|
-
type: "cosmos-sdk/QueryProposalResponse";
|
|
288
|
-
value: QueryProposalResponseAmino;
|
|
289
|
-
}
|
|
290
|
-
/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */
|
|
291
|
-
export interface QueryProposalsByGroupPolicyRequest {
|
|
292
|
-
/** address is the account address of the group policy related to proposals. */
|
|
293
|
-
address: string;
|
|
294
|
-
/** pagination defines an optional pagination for the request. */
|
|
295
|
-
pagination?: PageRequest;
|
|
296
|
-
}
|
|
297
|
-
export interface QueryProposalsByGroupPolicyRequestProtoMsg {
|
|
298
|
-
typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest";
|
|
299
|
-
value: Uint8Array;
|
|
300
|
-
}
|
|
301
|
-
/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */
|
|
302
|
-
export interface QueryProposalsByGroupPolicyRequestAmino {
|
|
303
|
-
/** address is the account address of the group policy related to proposals. */
|
|
304
|
-
address: string;
|
|
305
|
-
/** pagination defines an optional pagination for the request. */
|
|
306
|
-
pagination?: PageRequestAmino;
|
|
307
|
-
}
|
|
308
|
-
export interface QueryProposalsByGroupPolicyRequestAminoMsg {
|
|
309
|
-
type: "cosmos-sdk/QueryProposalsByGroupPolicyRequest";
|
|
310
|
-
value: QueryProposalsByGroupPolicyRequestAmino;
|
|
311
|
-
}
|
|
312
|
-
/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */
|
|
313
|
-
export interface QueryProposalsByGroupPolicyResponse {
|
|
314
|
-
/** proposals are the proposals with given group policy. */
|
|
315
|
-
proposals: Proposal[];
|
|
316
|
-
/** pagination defines the pagination in the response. */
|
|
317
|
-
pagination?: PageResponse;
|
|
318
|
-
}
|
|
319
|
-
export interface QueryProposalsByGroupPolicyResponseProtoMsg {
|
|
320
|
-
typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse";
|
|
321
|
-
value: Uint8Array;
|
|
322
|
-
}
|
|
323
|
-
/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */
|
|
324
|
-
export interface QueryProposalsByGroupPolicyResponseAmino {
|
|
325
|
-
/** proposals are the proposals with given group policy. */
|
|
326
|
-
proposals: ProposalAmino[];
|
|
327
|
-
/** pagination defines the pagination in the response. */
|
|
328
|
-
pagination?: PageResponseAmino;
|
|
329
|
-
}
|
|
330
|
-
export interface QueryProposalsByGroupPolicyResponseAminoMsg {
|
|
331
|
-
type: "cosmos-sdk/QueryProposalsByGroupPolicyResponse";
|
|
332
|
-
value: QueryProposalsByGroupPolicyResponseAmino;
|
|
333
|
-
}
|
|
334
|
-
/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */
|
|
335
|
-
export interface QueryVoteByProposalVoterRequest {
|
|
336
|
-
/** proposal_id is the unique ID of a proposal. */
|
|
337
|
-
proposalId: bigint;
|
|
338
|
-
/** voter is a proposal voter account address. */
|
|
339
|
-
voter: string;
|
|
340
|
-
}
|
|
341
|
-
export interface QueryVoteByProposalVoterRequestProtoMsg {
|
|
342
|
-
typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest";
|
|
343
|
-
value: Uint8Array;
|
|
344
|
-
}
|
|
345
|
-
/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */
|
|
346
|
-
export interface QueryVoteByProposalVoterRequestAmino {
|
|
347
|
-
/** proposal_id is the unique ID of a proposal. */
|
|
348
|
-
proposal_id: string;
|
|
349
|
-
/** voter is a proposal voter account address. */
|
|
350
|
-
voter: string;
|
|
351
|
-
}
|
|
352
|
-
export interface QueryVoteByProposalVoterRequestAminoMsg {
|
|
353
|
-
type: "cosmos-sdk/QueryVoteByProposalVoterRequest";
|
|
354
|
-
value: QueryVoteByProposalVoterRequestAmino;
|
|
355
|
-
}
|
|
356
|
-
/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */
|
|
357
|
-
export interface QueryVoteByProposalVoterResponse {
|
|
358
|
-
/** vote is the vote with given proposal_id and voter. */
|
|
359
|
-
vote?: Vote;
|
|
360
|
-
}
|
|
361
|
-
export interface QueryVoteByProposalVoterResponseProtoMsg {
|
|
362
|
-
typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse";
|
|
363
|
-
value: Uint8Array;
|
|
364
|
-
}
|
|
365
|
-
/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */
|
|
366
|
-
export interface QueryVoteByProposalVoterResponseAmino {
|
|
367
|
-
/** vote is the vote with given proposal_id and voter. */
|
|
368
|
-
vote?: VoteAmino;
|
|
369
|
-
}
|
|
370
|
-
export interface QueryVoteByProposalVoterResponseAminoMsg {
|
|
371
|
-
type: "cosmos-sdk/QueryVoteByProposalVoterResponse";
|
|
372
|
-
value: QueryVoteByProposalVoterResponseAmino;
|
|
373
|
-
}
|
|
374
|
-
/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */
|
|
375
|
-
export interface QueryVotesByProposalRequest {
|
|
376
|
-
/** proposal_id is the unique ID of a proposal. */
|
|
377
|
-
proposalId: bigint;
|
|
378
|
-
/** pagination defines an optional pagination for the request. */
|
|
379
|
-
pagination?: PageRequest;
|
|
380
|
-
}
|
|
381
|
-
export interface QueryVotesByProposalRequestProtoMsg {
|
|
382
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest";
|
|
383
|
-
value: Uint8Array;
|
|
384
|
-
}
|
|
385
|
-
/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */
|
|
386
|
-
export interface QueryVotesByProposalRequestAmino {
|
|
387
|
-
/** proposal_id is the unique ID of a proposal. */
|
|
388
|
-
proposal_id: string;
|
|
389
|
-
/** pagination defines an optional pagination for the request. */
|
|
390
|
-
pagination?: PageRequestAmino;
|
|
391
|
-
}
|
|
392
|
-
export interface QueryVotesByProposalRequestAminoMsg {
|
|
393
|
-
type: "cosmos-sdk/QueryVotesByProposalRequest";
|
|
394
|
-
value: QueryVotesByProposalRequestAmino;
|
|
395
|
-
}
|
|
396
|
-
/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */
|
|
397
|
-
export interface QueryVotesByProposalResponse {
|
|
398
|
-
/** votes are the list of votes for given proposal_id. */
|
|
399
|
-
votes: Vote[];
|
|
400
|
-
/** pagination defines the pagination in the response. */
|
|
401
|
-
pagination?: PageResponse;
|
|
402
|
-
}
|
|
403
|
-
export interface QueryVotesByProposalResponseProtoMsg {
|
|
404
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse";
|
|
405
|
-
value: Uint8Array;
|
|
406
|
-
}
|
|
407
|
-
/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */
|
|
408
|
-
export interface QueryVotesByProposalResponseAmino {
|
|
409
|
-
/** votes are the list of votes for given proposal_id. */
|
|
410
|
-
votes: VoteAmino[];
|
|
411
|
-
/** pagination defines the pagination in the response. */
|
|
412
|
-
pagination?: PageResponseAmino;
|
|
413
|
-
}
|
|
414
|
-
export interface QueryVotesByProposalResponseAminoMsg {
|
|
415
|
-
type: "cosmos-sdk/QueryVotesByProposalResponse";
|
|
416
|
-
value: QueryVotesByProposalResponseAmino;
|
|
417
|
-
}
|
|
418
|
-
/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */
|
|
419
|
-
export interface QueryVotesByVoterRequest {
|
|
420
|
-
/** voter is a proposal voter account address. */
|
|
421
|
-
voter: string;
|
|
422
|
-
/** pagination defines an optional pagination for the request. */
|
|
423
|
-
pagination?: PageRequest;
|
|
424
|
-
}
|
|
425
|
-
export interface QueryVotesByVoterRequestProtoMsg {
|
|
426
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest";
|
|
427
|
-
value: Uint8Array;
|
|
428
|
-
}
|
|
429
|
-
/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */
|
|
430
|
-
export interface QueryVotesByVoterRequestAmino {
|
|
431
|
-
/** voter is a proposal voter account address. */
|
|
432
|
-
voter: string;
|
|
433
|
-
/** pagination defines an optional pagination for the request. */
|
|
434
|
-
pagination?: PageRequestAmino;
|
|
435
|
-
}
|
|
436
|
-
export interface QueryVotesByVoterRequestAminoMsg {
|
|
437
|
-
type: "cosmos-sdk/QueryVotesByVoterRequest";
|
|
438
|
-
value: QueryVotesByVoterRequestAmino;
|
|
439
|
-
}
|
|
440
|
-
/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */
|
|
441
|
-
export interface QueryVotesByVoterResponse {
|
|
442
|
-
/** votes are the list of votes by given voter. */
|
|
443
|
-
votes: Vote[];
|
|
444
|
-
/** pagination defines the pagination in the response. */
|
|
445
|
-
pagination?: PageResponse;
|
|
446
|
-
}
|
|
447
|
-
export interface QueryVotesByVoterResponseProtoMsg {
|
|
448
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse";
|
|
449
|
-
value: Uint8Array;
|
|
450
|
-
}
|
|
451
|
-
/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */
|
|
452
|
-
export interface QueryVotesByVoterResponseAmino {
|
|
453
|
-
/** votes are the list of votes by given voter. */
|
|
454
|
-
votes: VoteAmino[];
|
|
455
|
-
/** pagination defines the pagination in the response. */
|
|
456
|
-
pagination?: PageResponseAmino;
|
|
457
|
-
}
|
|
458
|
-
export interface QueryVotesByVoterResponseAminoMsg {
|
|
459
|
-
type: "cosmos-sdk/QueryVotesByVoterResponse";
|
|
460
|
-
value: QueryVotesByVoterResponseAmino;
|
|
461
|
-
}
|
|
462
|
-
/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */
|
|
463
|
-
export interface QueryGroupsByMemberRequest {
|
|
464
|
-
/** address is the group member address. */
|
|
465
|
-
address: string;
|
|
466
|
-
/** pagination defines an optional pagination for the request. */
|
|
467
|
-
pagination?: PageRequest;
|
|
468
|
-
}
|
|
469
|
-
export interface QueryGroupsByMemberRequestProtoMsg {
|
|
470
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest";
|
|
471
|
-
value: Uint8Array;
|
|
472
|
-
}
|
|
473
|
-
/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */
|
|
474
|
-
export interface QueryGroupsByMemberRequestAmino {
|
|
475
|
-
/** address is the group member address. */
|
|
476
|
-
address: string;
|
|
477
|
-
/** pagination defines an optional pagination for the request. */
|
|
478
|
-
pagination?: PageRequestAmino;
|
|
479
|
-
}
|
|
480
|
-
export interface QueryGroupsByMemberRequestAminoMsg {
|
|
481
|
-
type: "cosmos-sdk/QueryGroupsByMemberRequest";
|
|
482
|
-
value: QueryGroupsByMemberRequestAmino;
|
|
483
|
-
}
|
|
484
|
-
/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */
|
|
485
|
-
export interface QueryGroupsByMemberResponse {
|
|
486
|
-
/** groups are the groups info with the provided group member. */
|
|
487
|
-
groups: GroupInfo[];
|
|
488
|
-
/** pagination defines the pagination in the response. */
|
|
489
|
-
pagination?: PageResponse;
|
|
490
|
-
}
|
|
491
|
-
export interface QueryGroupsByMemberResponseProtoMsg {
|
|
492
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse";
|
|
493
|
-
value: Uint8Array;
|
|
494
|
-
}
|
|
495
|
-
/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */
|
|
496
|
-
export interface QueryGroupsByMemberResponseAmino {
|
|
497
|
-
/** groups are the groups info with the provided group member. */
|
|
498
|
-
groups: GroupInfoAmino[];
|
|
499
|
-
/** pagination defines the pagination in the response. */
|
|
500
|
-
pagination?: PageResponseAmino;
|
|
501
|
-
}
|
|
502
|
-
export interface QueryGroupsByMemberResponseAminoMsg {
|
|
503
|
-
type: "cosmos-sdk/QueryGroupsByMemberResponse";
|
|
504
|
-
value: QueryGroupsByMemberResponseAmino;
|
|
505
|
-
}
|
|
506
|
-
/** QueryTallyResultRequest is the Query/TallyResult request type. */
|
|
507
|
-
export interface QueryTallyResultRequest {
|
|
508
|
-
/** proposal_id is the unique id of a proposal. */
|
|
509
|
-
proposalId: bigint;
|
|
510
|
-
}
|
|
511
|
-
export interface QueryTallyResultRequestProtoMsg {
|
|
512
|
-
typeUrl: "/cosmos.group.v1.QueryTallyResultRequest";
|
|
513
|
-
value: Uint8Array;
|
|
514
|
-
}
|
|
515
|
-
/** QueryTallyResultRequest is the Query/TallyResult request type. */
|
|
516
|
-
export interface QueryTallyResultRequestAmino {
|
|
517
|
-
/** proposal_id is the unique id of a proposal. */
|
|
518
|
-
proposal_id: string;
|
|
519
|
-
}
|
|
520
|
-
export interface QueryTallyResultRequestAminoMsg {
|
|
521
|
-
type: "cosmos-sdk/QueryTallyResultRequest";
|
|
522
|
-
value: QueryTallyResultRequestAmino;
|
|
523
|
-
}
|
|
524
|
-
/** QueryTallyResultResponse is the Query/TallyResult response type. */
|
|
525
|
-
export interface QueryTallyResultResponse {
|
|
526
|
-
/** tally defines the requested tally. */
|
|
527
|
-
tally: TallyResult;
|
|
528
|
-
}
|
|
529
|
-
export interface QueryTallyResultResponseProtoMsg {
|
|
530
|
-
typeUrl: "/cosmos.group.v1.QueryTallyResultResponse";
|
|
531
|
-
value: Uint8Array;
|
|
532
|
-
}
|
|
533
|
-
/** QueryTallyResultResponse is the Query/TallyResult response type. */
|
|
534
|
-
export interface QueryTallyResultResponseAmino {
|
|
535
|
-
/** tally defines the requested tally. */
|
|
536
|
-
tally: TallyResultAmino;
|
|
537
|
-
}
|
|
538
|
-
export interface QueryTallyResultResponseAminoMsg {
|
|
539
|
-
type: "cosmos-sdk/QueryTallyResultResponse";
|
|
540
|
-
value: QueryTallyResultResponseAmino;
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* QueryGroupsRequest is the Query/Groups request type.
|
|
544
|
-
*
|
|
545
|
-
* Since: cosmos-sdk 0.47.1
|
|
546
|
-
*/
|
|
547
|
-
export interface QueryGroupsRequest {
|
|
548
|
-
/** pagination defines an optional pagination for the request. */
|
|
549
|
-
pagination?: PageRequest;
|
|
550
|
-
}
|
|
551
|
-
export interface QueryGroupsRequestProtoMsg {
|
|
552
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsRequest";
|
|
553
|
-
value: Uint8Array;
|
|
554
|
-
}
|
|
555
|
-
/**
|
|
556
|
-
* QueryGroupsRequest is the Query/Groups request type.
|
|
557
|
-
*
|
|
558
|
-
* Since: cosmos-sdk 0.47.1
|
|
559
|
-
*/
|
|
560
|
-
export interface QueryGroupsRequestAmino {
|
|
561
|
-
/** pagination defines an optional pagination for the request. */
|
|
562
|
-
pagination?: PageRequestAmino;
|
|
563
|
-
}
|
|
564
|
-
export interface QueryGroupsRequestAminoMsg {
|
|
565
|
-
type: "cosmos-sdk/QueryGroupsRequest";
|
|
566
|
-
value: QueryGroupsRequestAmino;
|
|
567
|
-
}
|
|
568
|
-
/**
|
|
569
|
-
* QueryGroupsResponse is the Query/Groups response type.
|
|
570
|
-
*
|
|
571
|
-
* Since: cosmos-sdk 0.47.1
|
|
572
|
-
*/
|
|
573
|
-
export interface QueryGroupsResponse {
|
|
574
|
-
/** `groups` is all the groups present in state. */
|
|
575
|
-
groups: GroupInfo[];
|
|
576
|
-
/** pagination defines the pagination in the response. */
|
|
577
|
-
pagination?: PageResponse;
|
|
578
|
-
}
|
|
579
|
-
export interface QueryGroupsResponseProtoMsg {
|
|
580
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsResponse";
|
|
581
|
-
value: Uint8Array;
|
|
582
|
-
}
|
|
583
|
-
/**
|
|
584
|
-
* QueryGroupsResponse is the Query/Groups response type.
|
|
585
|
-
*
|
|
586
|
-
* Since: cosmos-sdk 0.47.1
|
|
587
|
-
*/
|
|
588
|
-
export interface QueryGroupsResponseAmino {
|
|
589
|
-
/** `groups` is all the groups present in state. */
|
|
590
|
-
groups: GroupInfoAmino[];
|
|
591
|
-
/** pagination defines the pagination in the response. */
|
|
592
|
-
pagination?: PageResponseAmino;
|
|
593
|
-
}
|
|
594
|
-
export interface QueryGroupsResponseAminoMsg {
|
|
595
|
-
type: "cosmos-sdk/QueryGroupsResponse";
|
|
596
|
-
value: QueryGroupsResponseAmino;
|
|
597
|
-
}
|
|
598
|
-
function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest {
|
|
599
|
-
return {
|
|
600
|
-
groupId: BigInt(0)
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
export const QueryGroupInfoRequest = {
|
|
604
|
-
typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest",
|
|
605
|
-
aminoType: "cosmos-sdk/QueryGroupInfoRequest",
|
|
606
|
-
is(o: any): o is QueryGroupInfoRequest {
|
|
607
|
-
return o && (o.$typeUrl === QueryGroupInfoRequest.typeUrl || typeof o.groupId === "bigint");
|
|
608
|
-
},
|
|
609
|
-
isAmino(o: any): o is QueryGroupInfoRequestAmino {
|
|
610
|
-
return o && (o.$typeUrl === QueryGroupInfoRequest.typeUrl || typeof o.group_id === "bigint");
|
|
611
|
-
},
|
|
612
|
-
encode(message: QueryGroupInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
613
|
-
if (message.groupId !== BigInt(0)) {
|
|
614
|
-
writer.uint32(8).uint64(message.groupId);
|
|
615
|
-
}
|
|
616
|
-
return writer;
|
|
617
|
-
},
|
|
618
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupInfoRequest {
|
|
619
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
620
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
621
|
-
const message = createBaseQueryGroupInfoRequest();
|
|
622
|
-
while (reader.pos < end) {
|
|
623
|
-
const tag = reader.uint32();
|
|
624
|
-
switch (tag >>> 3) {
|
|
625
|
-
case 1:
|
|
626
|
-
message.groupId = reader.uint64();
|
|
627
|
-
break;
|
|
628
|
-
default:
|
|
629
|
-
reader.skipType(tag & 7);
|
|
630
|
-
break;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
return message;
|
|
634
|
-
},
|
|
635
|
-
fromPartial(object: DeepPartial<QueryGroupInfoRequest>): QueryGroupInfoRequest {
|
|
636
|
-
const message = createBaseQueryGroupInfoRequest();
|
|
637
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
638
|
-
return message;
|
|
639
|
-
},
|
|
640
|
-
fromAmino(object: QueryGroupInfoRequestAmino): QueryGroupInfoRequest {
|
|
641
|
-
const message = createBaseQueryGroupInfoRequest();
|
|
642
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
643
|
-
message.groupId = BigInt(object.group_id);
|
|
644
|
-
}
|
|
645
|
-
return message;
|
|
646
|
-
},
|
|
647
|
-
toAmino(message: QueryGroupInfoRequest): QueryGroupInfoRequestAmino {
|
|
648
|
-
const obj: any = {};
|
|
649
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
650
|
-
return obj;
|
|
651
|
-
},
|
|
652
|
-
fromAminoMsg(object: QueryGroupInfoRequestAminoMsg): QueryGroupInfoRequest {
|
|
653
|
-
return QueryGroupInfoRequest.fromAmino(object.value);
|
|
654
|
-
},
|
|
655
|
-
toAminoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestAminoMsg {
|
|
656
|
-
return {
|
|
657
|
-
type: "cosmos-sdk/QueryGroupInfoRequest",
|
|
658
|
-
value: QueryGroupInfoRequest.toAmino(message)
|
|
659
|
-
};
|
|
660
|
-
},
|
|
661
|
-
fromProtoMsg(message: QueryGroupInfoRequestProtoMsg): QueryGroupInfoRequest {
|
|
662
|
-
return QueryGroupInfoRequest.decode(message.value);
|
|
663
|
-
},
|
|
664
|
-
toProto(message: QueryGroupInfoRequest): Uint8Array {
|
|
665
|
-
return QueryGroupInfoRequest.encode(message).finish();
|
|
666
|
-
},
|
|
667
|
-
toProtoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestProtoMsg {
|
|
668
|
-
return {
|
|
669
|
-
typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest",
|
|
670
|
-
value: QueryGroupInfoRequest.encode(message).finish()
|
|
671
|
-
};
|
|
672
|
-
}
|
|
673
|
-
};
|
|
674
|
-
GlobalDecoderRegistry.register(QueryGroupInfoRequest.typeUrl, QueryGroupInfoRequest);
|
|
675
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupInfoRequest.aminoType, QueryGroupInfoRequest.typeUrl);
|
|
676
|
-
function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse {
|
|
677
|
-
return {
|
|
678
|
-
info: undefined
|
|
679
|
-
};
|
|
680
|
-
}
|
|
681
|
-
export const QueryGroupInfoResponse = {
|
|
682
|
-
typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse",
|
|
683
|
-
aminoType: "cosmos-sdk/QueryGroupInfoResponse",
|
|
684
|
-
is(o: any): o is QueryGroupInfoResponse {
|
|
685
|
-
return o && o.$typeUrl === QueryGroupInfoResponse.typeUrl;
|
|
686
|
-
},
|
|
687
|
-
isAmino(o: any): o is QueryGroupInfoResponseAmino {
|
|
688
|
-
return o && o.$typeUrl === QueryGroupInfoResponse.typeUrl;
|
|
689
|
-
},
|
|
690
|
-
encode(message: QueryGroupInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
691
|
-
if (message.info !== undefined) {
|
|
692
|
-
GroupInfo.encode(message.info, writer.uint32(10).fork()).ldelim();
|
|
693
|
-
}
|
|
694
|
-
return writer;
|
|
695
|
-
},
|
|
696
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupInfoResponse {
|
|
697
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
698
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
699
|
-
const message = createBaseQueryGroupInfoResponse();
|
|
700
|
-
while (reader.pos < end) {
|
|
701
|
-
const tag = reader.uint32();
|
|
702
|
-
switch (tag >>> 3) {
|
|
703
|
-
case 1:
|
|
704
|
-
message.info = GroupInfo.decode(reader, reader.uint32());
|
|
705
|
-
break;
|
|
706
|
-
default:
|
|
707
|
-
reader.skipType(tag & 7);
|
|
708
|
-
break;
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
return message;
|
|
712
|
-
},
|
|
713
|
-
fromPartial(object: DeepPartial<QueryGroupInfoResponse>): QueryGroupInfoResponse {
|
|
714
|
-
const message = createBaseQueryGroupInfoResponse();
|
|
715
|
-
message.info = object.info !== undefined && object.info !== null ? GroupInfo.fromPartial(object.info) : undefined;
|
|
716
|
-
return message;
|
|
717
|
-
},
|
|
718
|
-
fromAmino(object: QueryGroupInfoResponseAmino): QueryGroupInfoResponse {
|
|
719
|
-
const message = createBaseQueryGroupInfoResponse();
|
|
720
|
-
if (object.info !== undefined && object.info !== null) {
|
|
721
|
-
message.info = GroupInfo.fromAmino(object.info);
|
|
722
|
-
}
|
|
723
|
-
return message;
|
|
724
|
-
},
|
|
725
|
-
toAmino(message: QueryGroupInfoResponse): QueryGroupInfoResponseAmino {
|
|
726
|
-
const obj: any = {};
|
|
727
|
-
obj.info = message.info ? GroupInfo.toAmino(message.info) : undefined;
|
|
728
|
-
return obj;
|
|
729
|
-
},
|
|
730
|
-
fromAminoMsg(object: QueryGroupInfoResponseAminoMsg): QueryGroupInfoResponse {
|
|
731
|
-
return QueryGroupInfoResponse.fromAmino(object.value);
|
|
732
|
-
},
|
|
733
|
-
toAminoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseAminoMsg {
|
|
734
|
-
return {
|
|
735
|
-
type: "cosmos-sdk/QueryGroupInfoResponse",
|
|
736
|
-
value: QueryGroupInfoResponse.toAmino(message)
|
|
737
|
-
};
|
|
738
|
-
},
|
|
739
|
-
fromProtoMsg(message: QueryGroupInfoResponseProtoMsg): QueryGroupInfoResponse {
|
|
740
|
-
return QueryGroupInfoResponse.decode(message.value);
|
|
741
|
-
},
|
|
742
|
-
toProto(message: QueryGroupInfoResponse): Uint8Array {
|
|
743
|
-
return QueryGroupInfoResponse.encode(message).finish();
|
|
744
|
-
},
|
|
745
|
-
toProtoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseProtoMsg {
|
|
746
|
-
return {
|
|
747
|
-
typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse",
|
|
748
|
-
value: QueryGroupInfoResponse.encode(message).finish()
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
};
|
|
752
|
-
GlobalDecoderRegistry.register(QueryGroupInfoResponse.typeUrl, QueryGroupInfoResponse);
|
|
753
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupInfoResponse.aminoType, QueryGroupInfoResponse.typeUrl);
|
|
754
|
-
function createBaseQueryGroupPolicyInfoRequest(): QueryGroupPolicyInfoRequest {
|
|
755
|
-
return {
|
|
756
|
-
address: ""
|
|
757
|
-
};
|
|
758
|
-
}
|
|
759
|
-
export const QueryGroupPolicyInfoRequest = {
|
|
760
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest",
|
|
761
|
-
aminoType: "cosmos-sdk/QueryGroupPolicyInfoRequest",
|
|
762
|
-
is(o: any): o is QueryGroupPolicyInfoRequest {
|
|
763
|
-
return o && (o.$typeUrl === QueryGroupPolicyInfoRequest.typeUrl || typeof o.address === "string");
|
|
764
|
-
},
|
|
765
|
-
isAmino(o: any): o is QueryGroupPolicyInfoRequestAmino {
|
|
766
|
-
return o && (o.$typeUrl === QueryGroupPolicyInfoRequest.typeUrl || typeof o.address === "string");
|
|
767
|
-
},
|
|
768
|
-
encode(message: QueryGroupPolicyInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
769
|
-
if (message.address !== "") {
|
|
770
|
-
writer.uint32(10).string(message.address);
|
|
771
|
-
}
|
|
772
|
-
return writer;
|
|
773
|
-
},
|
|
774
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest {
|
|
775
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
776
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
777
|
-
const message = createBaseQueryGroupPolicyInfoRequest();
|
|
778
|
-
while (reader.pos < end) {
|
|
779
|
-
const tag = reader.uint32();
|
|
780
|
-
switch (tag >>> 3) {
|
|
781
|
-
case 1:
|
|
782
|
-
message.address = reader.string();
|
|
783
|
-
break;
|
|
784
|
-
default:
|
|
785
|
-
reader.skipType(tag & 7);
|
|
786
|
-
break;
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
return message;
|
|
790
|
-
},
|
|
791
|
-
fromPartial(object: DeepPartial<QueryGroupPolicyInfoRequest>): QueryGroupPolicyInfoRequest {
|
|
792
|
-
const message = createBaseQueryGroupPolicyInfoRequest();
|
|
793
|
-
message.address = object.address ?? "";
|
|
794
|
-
return message;
|
|
795
|
-
},
|
|
796
|
-
fromAmino(object: QueryGroupPolicyInfoRequestAmino): QueryGroupPolicyInfoRequest {
|
|
797
|
-
const message = createBaseQueryGroupPolicyInfoRequest();
|
|
798
|
-
if (object.address !== undefined && object.address !== null) {
|
|
799
|
-
message.address = object.address;
|
|
800
|
-
}
|
|
801
|
-
return message;
|
|
802
|
-
},
|
|
803
|
-
toAmino(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAmino {
|
|
804
|
-
const obj: any = {};
|
|
805
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
806
|
-
return obj;
|
|
807
|
-
},
|
|
808
|
-
fromAminoMsg(object: QueryGroupPolicyInfoRequestAminoMsg): QueryGroupPolicyInfoRequest {
|
|
809
|
-
return QueryGroupPolicyInfoRequest.fromAmino(object.value);
|
|
810
|
-
},
|
|
811
|
-
toAminoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAminoMsg {
|
|
812
|
-
return {
|
|
813
|
-
type: "cosmos-sdk/QueryGroupPolicyInfoRequest",
|
|
814
|
-
value: QueryGroupPolicyInfoRequest.toAmino(message)
|
|
815
|
-
};
|
|
816
|
-
},
|
|
817
|
-
fromProtoMsg(message: QueryGroupPolicyInfoRequestProtoMsg): QueryGroupPolicyInfoRequest {
|
|
818
|
-
return QueryGroupPolicyInfoRequest.decode(message.value);
|
|
819
|
-
},
|
|
820
|
-
toProto(message: QueryGroupPolicyInfoRequest): Uint8Array {
|
|
821
|
-
return QueryGroupPolicyInfoRequest.encode(message).finish();
|
|
822
|
-
},
|
|
823
|
-
toProtoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestProtoMsg {
|
|
824
|
-
return {
|
|
825
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest",
|
|
826
|
-
value: QueryGroupPolicyInfoRequest.encode(message).finish()
|
|
827
|
-
};
|
|
828
|
-
}
|
|
829
|
-
};
|
|
830
|
-
GlobalDecoderRegistry.register(QueryGroupPolicyInfoRequest.typeUrl, QueryGroupPolicyInfoRequest);
|
|
831
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupPolicyInfoRequest.aminoType, QueryGroupPolicyInfoRequest.typeUrl);
|
|
832
|
-
function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse {
|
|
833
|
-
return {
|
|
834
|
-
info: undefined
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
export const QueryGroupPolicyInfoResponse = {
|
|
838
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse",
|
|
839
|
-
aminoType: "cosmos-sdk/QueryGroupPolicyInfoResponse",
|
|
840
|
-
is(o: any): o is QueryGroupPolicyInfoResponse {
|
|
841
|
-
return o && o.$typeUrl === QueryGroupPolicyInfoResponse.typeUrl;
|
|
842
|
-
},
|
|
843
|
-
isAmino(o: any): o is QueryGroupPolicyInfoResponseAmino {
|
|
844
|
-
return o && o.$typeUrl === QueryGroupPolicyInfoResponse.typeUrl;
|
|
845
|
-
},
|
|
846
|
-
encode(message: QueryGroupPolicyInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
847
|
-
if (message.info !== undefined) {
|
|
848
|
-
GroupPolicyInfo.encode(message.info, writer.uint32(10).fork()).ldelim();
|
|
849
|
-
}
|
|
850
|
-
return writer;
|
|
851
|
-
},
|
|
852
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse {
|
|
853
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
854
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
855
|
-
const message = createBaseQueryGroupPolicyInfoResponse();
|
|
856
|
-
while (reader.pos < end) {
|
|
857
|
-
const tag = reader.uint32();
|
|
858
|
-
switch (tag >>> 3) {
|
|
859
|
-
case 1:
|
|
860
|
-
message.info = GroupPolicyInfo.decode(reader, reader.uint32());
|
|
861
|
-
break;
|
|
862
|
-
default:
|
|
863
|
-
reader.skipType(tag & 7);
|
|
864
|
-
break;
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
return message;
|
|
868
|
-
},
|
|
869
|
-
fromPartial(object: DeepPartial<QueryGroupPolicyInfoResponse>): QueryGroupPolicyInfoResponse {
|
|
870
|
-
const message = createBaseQueryGroupPolicyInfoResponse();
|
|
871
|
-
message.info = object.info !== undefined && object.info !== null ? GroupPolicyInfo.fromPartial(object.info) : undefined;
|
|
872
|
-
return message;
|
|
873
|
-
},
|
|
874
|
-
fromAmino(object: QueryGroupPolicyInfoResponseAmino): QueryGroupPolicyInfoResponse {
|
|
875
|
-
const message = createBaseQueryGroupPolicyInfoResponse();
|
|
876
|
-
if (object.info !== undefined && object.info !== null) {
|
|
877
|
-
message.info = GroupPolicyInfo.fromAmino(object.info);
|
|
878
|
-
}
|
|
879
|
-
return message;
|
|
880
|
-
},
|
|
881
|
-
toAmino(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAmino {
|
|
882
|
-
const obj: any = {};
|
|
883
|
-
obj.info = message.info ? GroupPolicyInfo.toAmino(message.info) : undefined;
|
|
884
|
-
return obj;
|
|
885
|
-
},
|
|
886
|
-
fromAminoMsg(object: QueryGroupPolicyInfoResponseAminoMsg): QueryGroupPolicyInfoResponse {
|
|
887
|
-
return QueryGroupPolicyInfoResponse.fromAmino(object.value);
|
|
888
|
-
},
|
|
889
|
-
toAminoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAminoMsg {
|
|
890
|
-
return {
|
|
891
|
-
type: "cosmos-sdk/QueryGroupPolicyInfoResponse",
|
|
892
|
-
value: QueryGroupPolicyInfoResponse.toAmino(message)
|
|
893
|
-
};
|
|
894
|
-
},
|
|
895
|
-
fromProtoMsg(message: QueryGroupPolicyInfoResponseProtoMsg): QueryGroupPolicyInfoResponse {
|
|
896
|
-
return QueryGroupPolicyInfoResponse.decode(message.value);
|
|
897
|
-
},
|
|
898
|
-
toProto(message: QueryGroupPolicyInfoResponse): Uint8Array {
|
|
899
|
-
return QueryGroupPolicyInfoResponse.encode(message).finish();
|
|
900
|
-
},
|
|
901
|
-
toProtoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseProtoMsg {
|
|
902
|
-
return {
|
|
903
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse",
|
|
904
|
-
value: QueryGroupPolicyInfoResponse.encode(message).finish()
|
|
905
|
-
};
|
|
906
|
-
}
|
|
907
|
-
};
|
|
908
|
-
GlobalDecoderRegistry.register(QueryGroupPolicyInfoResponse.typeUrl, QueryGroupPolicyInfoResponse);
|
|
909
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupPolicyInfoResponse.aminoType, QueryGroupPolicyInfoResponse.typeUrl);
|
|
910
|
-
function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest {
|
|
911
|
-
return {
|
|
912
|
-
groupId: BigInt(0),
|
|
913
|
-
pagination: undefined
|
|
914
|
-
};
|
|
915
|
-
}
|
|
916
|
-
export const QueryGroupMembersRequest = {
|
|
917
|
-
typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest",
|
|
918
|
-
aminoType: "cosmos-sdk/QueryGroupMembersRequest",
|
|
919
|
-
is(o: any): o is QueryGroupMembersRequest {
|
|
920
|
-
return o && (o.$typeUrl === QueryGroupMembersRequest.typeUrl || typeof o.groupId === "bigint");
|
|
921
|
-
},
|
|
922
|
-
isAmino(o: any): o is QueryGroupMembersRequestAmino {
|
|
923
|
-
return o && (o.$typeUrl === QueryGroupMembersRequest.typeUrl || typeof o.group_id === "bigint");
|
|
924
|
-
},
|
|
925
|
-
encode(message: QueryGroupMembersRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
926
|
-
if (message.groupId !== BigInt(0)) {
|
|
927
|
-
writer.uint32(8).uint64(message.groupId);
|
|
928
|
-
}
|
|
929
|
-
if (message.pagination !== undefined) {
|
|
930
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
931
|
-
}
|
|
932
|
-
return writer;
|
|
933
|
-
},
|
|
934
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupMembersRequest {
|
|
935
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
936
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
937
|
-
const message = createBaseQueryGroupMembersRequest();
|
|
938
|
-
while (reader.pos < end) {
|
|
939
|
-
const tag = reader.uint32();
|
|
940
|
-
switch (tag >>> 3) {
|
|
941
|
-
case 1:
|
|
942
|
-
message.groupId = reader.uint64();
|
|
943
|
-
break;
|
|
944
|
-
case 2:
|
|
945
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
946
|
-
break;
|
|
947
|
-
default:
|
|
948
|
-
reader.skipType(tag & 7);
|
|
949
|
-
break;
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
return message;
|
|
953
|
-
},
|
|
954
|
-
fromPartial(object: DeepPartial<QueryGroupMembersRequest>): QueryGroupMembersRequest {
|
|
955
|
-
const message = createBaseQueryGroupMembersRequest();
|
|
956
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
957
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
958
|
-
return message;
|
|
959
|
-
},
|
|
960
|
-
fromAmino(object: QueryGroupMembersRequestAmino): QueryGroupMembersRequest {
|
|
961
|
-
const message = createBaseQueryGroupMembersRequest();
|
|
962
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
963
|
-
message.groupId = BigInt(object.group_id);
|
|
964
|
-
}
|
|
965
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
966
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
967
|
-
}
|
|
968
|
-
return message;
|
|
969
|
-
},
|
|
970
|
-
toAmino(message: QueryGroupMembersRequest): QueryGroupMembersRequestAmino {
|
|
971
|
-
const obj: any = {};
|
|
972
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
973
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
974
|
-
return obj;
|
|
975
|
-
},
|
|
976
|
-
fromAminoMsg(object: QueryGroupMembersRequestAminoMsg): QueryGroupMembersRequest {
|
|
977
|
-
return QueryGroupMembersRequest.fromAmino(object.value);
|
|
978
|
-
},
|
|
979
|
-
toAminoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestAminoMsg {
|
|
980
|
-
return {
|
|
981
|
-
type: "cosmos-sdk/QueryGroupMembersRequest",
|
|
982
|
-
value: QueryGroupMembersRequest.toAmino(message)
|
|
983
|
-
};
|
|
984
|
-
},
|
|
985
|
-
fromProtoMsg(message: QueryGroupMembersRequestProtoMsg): QueryGroupMembersRequest {
|
|
986
|
-
return QueryGroupMembersRequest.decode(message.value);
|
|
987
|
-
},
|
|
988
|
-
toProto(message: QueryGroupMembersRequest): Uint8Array {
|
|
989
|
-
return QueryGroupMembersRequest.encode(message).finish();
|
|
990
|
-
},
|
|
991
|
-
toProtoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestProtoMsg {
|
|
992
|
-
return {
|
|
993
|
-
typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest",
|
|
994
|
-
value: QueryGroupMembersRequest.encode(message).finish()
|
|
995
|
-
};
|
|
996
|
-
}
|
|
997
|
-
};
|
|
998
|
-
GlobalDecoderRegistry.register(QueryGroupMembersRequest.typeUrl, QueryGroupMembersRequest);
|
|
999
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupMembersRequest.aminoType, QueryGroupMembersRequest.typeUrl);
|
|
1000
|
-
function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse {
|
|
1001
|
-
return {
|
|
1002
|
-
members: [],
|
|
1003
|
-
pagination: undefined
|
|
1004
|
-
};
|
|
1005
|
-
}
|
|
1006
|
-
export const QueryGroupMembersResponse = {
|
|
1007
|
-
typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse",
|
|
1008
|
-
aminoType: "cosmos-sdk/QueryGroupMembersResponse",
|
|
1009
|
-
is(o: any): o is QueryGroupMembersResponse {
|
|
1010
|
-
return o && (o.$typeUrl === QueryGroupMembersResponse.typeUrl || Array.isArray(o.members) && (!o.members.length || GroupMember.is(o.members[0])));
|
|
1011
|
-
},
|
|
1012
|
-
isAmino(o: any): o is QueryGroupMembersResponseAmino {
|
|
1013
|
-
return o && (o.$typeUrl === QueryGroupMembersResponse.typeUrl || Array.isArray(o.members) && (!o.members.length || GroupMember.isAmino(o.members[0])));
|
|
1014
|
-
},
|
|
1015
|
-
encode(message: QueryGroupMembersResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1016
|
-
for (const v of message.members) {
|
|
1017
|
-
GroupMember.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1018
|
-
}
|
|
1019
|
-
if (message.pagination !== undefined) {
|
|
1020
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1021
|
-
}
|
|
1022
|
-
return writer;
|
|
1023
|
-
},
|
|
1024
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupMembersResponse {
|
|
1025
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1026
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1027
|
-
const message = createBaseQueryGroupMembersResponse();
|
|
1028
|
-
while (reader.pos < end) {
|
|
1029
|
-
const tag = reader.uint32();
|
|
1030
|
-
switch (tag >>> 3) {
|
|
1031
|
-
case 1:
|
|
1032
|
-
message.members.push(GroupMember.decode(reader, reader.uint32()));
|
|
1033
|
-
break;
|
|
1034
|
-
case 2:
|
|
1035
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1036
|
-
break;
|
|
1037
|
-
default:
|
|
1038
|
-
reader.skipType(tag & 7);
|
|
1039
|
-
break;
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
return message;
|
|
1043
|
-
},
|
|
1044
|
-
fromPartial(object: DeepPartial<QueryGroupMembersResponse>): QueryGroupMembersResponse {
|
|
1045
|
-
const message = createBaseQueryGroupMembersResponse();
|
|
1046
|
-
message.members = object.members?.map(e => GroupMember.fromPartial(e)) || [];
|
|
1047
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1048
|
-
return message;
|
|
1049
|
-
},
|
|
1050
|
-
fromAmino(object: QueryGroupMembersResponseAmino): QueryGroupMembersResponse {
|
|
1051
|
-
const message = createBaseQueryGroupMembersResponse();
|
|
1052
|
-
message.members = object.members?.map(e => GroupMember.fromAmino(e)) || [];
|
|
1053
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1054
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1055
|
-
}
|
|
1056
|
-
return message;
|
|
1057
|
-
},
|
|
1058
|
-
toAmino(message: QueryGroupMembersResponse): QueryGroupMembersResponseAmino {
|
|
1059
|
-
const obj: any = {};
|
|
1060
|
-
if (message.members) {
|
|
1061
|
-
obj.members = message.members.map(e => e ? GroupMember.toAmino(e) : undefined);
|
|
1062
|
-
} else {
|
|
1063
|
-
obj.members = message.members;
|
|
1064
|
-
}
|
|
1065
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1066
|
-
return obj;
|
|
1067
|
-
},
|
|
1068
|
-
fromAminoMsg(object: QueryGroupMembersResponseAminoMsg): QueryGroupMembersResponse {
|
|
1069
|
-
return QueryGroupMembersResponse.fromAmino(object.value);
|
|
1070
|
-
},
|
|
1071
|
-
toAminoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseAminoMsg {
|
|
1072
|
-
return {
|
|
1073
|
-
type: "cosmos-sdk/QueryGroupMembersResponse",
|
|
1074
|
-
value: QueryGroupMembersResponse.toAmino(message)
|
|
1075
|
-
};
|
|
1076
|
-
},
|
|
1077
|
-
fromProtoMsg(message: QueryGroupMembersResponseProtoMsg): QueryGroupMembersResponse {
|
|
1078
|
-
return QueryGroupMembersResponse.decode(message.value);
|
|
1079
|
-
},
|
|
1080
|
-
toProto(message: QueryGroupMembersResponse): Uint8Array {
|
|
1081
|
-
return QueryGroupMembersResponse.encode(message).finish();
|
|
1082
|
-
},
|
|
1083
|
-
toProtoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseProtoMsg {
|
|
1084
|
-
return {
|
|
1085
|
-
typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse",
|
|
1086
|
-
value: QueryGroupMembersResponse.encode(message).finish()
|
|
1087
|
-
};
|
|
1088
|
-
}
|
|
1089
|
-
};
|
|
1090
|
-
GlobalDecoderRegistry.register(QueryGroupMembersResponse.typeUrl, QueryGroupMembersResponse);
|
|
1091
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupMembersResponse.aminoType, QueryGroupMembersResponse.typeUrl);
|
|
1092
|
-
function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest {
|
|
1093
|
-
return {
|
|
1094
|
-
admin: "",
|
|
1095
|
-
pagination: undefined
|
|
1096
|
-
};
|
|
1097
|
-
}
|
|
1098
|
-
export const QueryGroupsByAdminRequest = {
|
|
1099
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest",
|
|
1100
|
-
aminoType: "cosmos-sdk/QueryGroupsByAdminRequest",
|
|
1101
|
-
is(o: any): o is QueryGroupsByAdminRequest {
|
|
1102
|
-
return o && (o.$typeUrl === QueryGroupsByAdminRequest.typeUrl || typeof o.admin === "string");
|
|
1103
|
-
},
|
|
1104
|
-
isAmino(o: any): o is QueryGroupsByAdminRequestAmino {
|
|
1105
|
-
return o && (o.$typeUrl === QueryGroupsByAdminRequest.typeUrl || typeof o.admin === "string");
|
|
1106
|
-
},
|
|
1107
|
-
encode(message: QueryGroupsByAdminRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1108
|
-
if (message.admin !== "") {
|
|
1109
|
-
writer.uint32(10).string(message.admin);
|
|
1110
|
-
}
|
|
1111
|
-
if (message.pagination !== undefined) {
|
|
1112
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1113
|
-
}
|
|
1114
|
-
return writer;
|
|
1115
|
-
},
|
|
1116
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByAdminRequest {
|
|
1117
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1118
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1119
|
-
const message = createBaseQueryGroupsByAdminRequest();
|
|
1120
|
-
while (reader.pos < end) {
|
|
1121
|
-
const tag = reader.uint32();
|
|
1122
|
-
switch (tag >>> 3) {
|
|
1123
|
-
case 1:
|
|
1124
|
-
message.admin = reader.string();
|
|
1125
|
-
break;
|
|
1126
|
-
case 2:
|
|
1127
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1128
|
-
break;
|
|
1129
|
-
default:
|
|
1130
|
-
reader.skipType(tag & 7);
|
|
1131
|
-
break;
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
return message;
|
|
1135
|
-
},
|
|
1136
|
-
fromPartial(object: DeepPartial<QueryGroupsByAdminRequest>): QueryGroupsByAdminRequest {
|
|
1137
|
-
const message = createBaseQueryGroupsByAdminRequest();
|
|
1138
|
-
message.admin = object.admin ?? "";
|
|
1139
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1140
|
-
return message;
|
|
1141
|
-
},
|
|
1142
|
-
fromAmino(object: QueryGroupsByAdminRequestAmino): QueryGroupsByAdminRequest {
|
|
1143
|
-
const message = createBaseQueryGroupsByAdminRequest();
|
|
1144
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1145
|
-
message.admin = object.admin;
|
|
1146
|
-
}
|
|
1147
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1148
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1149
|
-
}
|
|
1150
|
-
return message;
|
|
1151
|
-
},
|
|
1152
|
-
toAmino(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAmino {
|
|
1153
|
-
const obj: any = {};
|
|
1154
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1155
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1156
|
-
return obj;
|
|
1157
|
-
},
|
|
1158
|
-
fromAminoMsg(object: QueryGroupsByAdminRequestAminoMsg): QueryGroupsByAdminRequest {
|
|
1159
|
-
return QueryGroupsByAdminRequest.fromAmino(object.value);
|
|
1160
|
-
},
|
|
1161
|
-
toAminoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAminoMsg {
|
|
1162
|
-
return {
|
|
1163
|
-
type: "cosmos-sdk/QueryGroupsByAdminRequest",
|
|
1164
|
-
value: QueryGroupsByAdminRequest.toAmino(message)
|
|
1165
|
-
};
|
|
1166
|
-
},
|
|
1167
|
-
fromProtoMsg(message: QueryGroupsByAdminRequestProtoMsg): QueryGroupsByAdminRequest {
|
|
1168
|
-
return QueryGroupsByAdminRequest.decode(message.value);
|
|
1169
|
-
},
|
|
1170
|
-
toProto(message: QueryGroupsByAdminRequest): Uint8Array {
|
|
1171
|
-
return QueryGroupsByAdminRequest.encode(message).finish();
|
|
1172
|
-
},
|
|
1173
|
-
toProtoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestProtoMsg {
|
|
1174
|
-
return {
|
|
1175
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest",
|
|
1176
|
-
value: QueryGroupsByAdminRequest.encode(message).finish()
|
|
1177
|
-
};
|
|
1178
|
-
}
|
|
1179
|
-
};
|
|
1180
|
-
GlobalDecoderRegistry.register(QueryGroupsByAdminRequest.typeUrl, QueryGroupsByAdminRequest);
|
|
1181
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupsByAdminRequest.aminoType, QueryGroupsByAdminRequest.typeUrl);
|
|
1182
|
-
function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse {
|
|
1183
|
-
return {
|
|
1184
|
-
groups: [],
|
|
1185
|
-
pagination: undefined
|
|
1186
|
-
};
|
|
1187
|
-
}
|
|
1188
|
-
export const QueryGroupsByAdminResponse = {
|
|
1189
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse",
|
|
1190
|
-
aminoType: "cosmos-sdk/QueryGroupsByAdminResponse",
|
|
1191
|
-
is(o: any): o is QueryGroupsByAdminResponse {
|
|
1192
|
-
return o && (o.$typeUrl === QueryGroupsByAdminResponse.typeUrl || Array.isArray(o.groups) && (!o.groups.length || GroupInfo.is(o.groups[0])));
|
|
1193
|
-
},
|
|
1194
|
-
isAmino(o: any): o is QueryGroupsByAdminResponseAmino {
|
|
1195
|
-
return o && (o.$typeUrl === QueryGroupsByAdminResponse.typeUrl || Array.isArray(o.groups) && (!o.groups.length || GroupInfo.isAmino(o.groups[0])));
|
|
1196
|
-
},
|
|
1197
|
-
encode(message: QueryGroupsByAdminResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1198
|
-
for (const v of message.groups) {
|
|
1199
|
-
GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1200
|
-
}
|
|
1201
|
-
if (message.pagination !== undefined) {
|
|
1202
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1203
|
-
}
|
|
1204
|
-
return writer;
|
|
1205
|
-
},
|
|
1206
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByAdminResponse {
|
|
1207
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1208
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1209
|
-
const message = createBaseQueryGroupsByAdminResponse();
|
|
1210
|
-
while (reader.pos < end) {
|
|
1211
|
-
const tag = reader.uint32();
|
|
1212
|
-
switch (tag >>> 3) {
|
|
1213
|
-
case 1:
|
|
1214
|
-
message.groups.push(GroupInfo.decode(reader, reader.uint32()));
|
|
1215
|
-
break;
|
|
1216
|
-
case 2:
|
|
1217
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1218
|
-
break;
|
|
1219
|
-
default:
|
|
1220
|
-
reader.skipType(tag & 7);
|
|
1221
|
-
break;
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
return message;
|
|
1225
|
-
},
|
|
1226
|
-
fromPartial(object: DeepPartial<QueryGroupsByAdminResponse>): QueryGroupsByAdminResponse {
|
|
1227
|
-
const message = createBaseQueryGroupsByAdminResponse();
|
|
1228
|
-
message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || [];
|
|
1229
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1230
|
-
return message;
|
|
1231
|
-
},
|
|
1232
|
-
fromAmino(object: QueryGroupsByAdminResponseAmino): QueryGroupsByAdminResponse {
|
|
1233
|
-
const message = createBaseQueryGroupsByAdminResponse();
|
|
1234
|
-
message.groups = object.groups?.map(e => GroupInfo.fromAmino(e)) || [];
|
|
1235
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1236
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1237
|
-
}
|
|
1238
|
-
return message;
|
|
1239
|
-
},
|
|
1240
|
-
toAmino(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAmino {
|
|
1241
|
-
const obj: any = {};
|
|
1242
|
-
if (message.groups) {
|
|
1243
|
-
obj.groups = message.groups.map(e => e ? GroupInfo.toAmino(e) : undefined);
|
|
1244
|
-
} else {
|
|
1245
|
-
obj.groups = message.groups;
|
|
1246
|
-
}
|
|
1247
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1248
|
-
return obj;
|
|
1249
|
-
},
|
|
1250
|
-
fromAminoMsg(object: QueryGroupsByAdminResponseAminoMsg): QueryGroupsByAdminResponse {
|
|
1251
|
-
return QueryGroupsByAdminResponse.fromAmino(object.value);
|
|
1252
|
-
},
|
|
1253
|
-
toAminoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAminoMsg {
|
|
1254
|
-
return {
|
|
1255
|
-
type: "cosmos-sdk/QueryGroupsByAdminResponse",
|
|
1256
|
-
value: QueryGroupsByAdminResponse.toAmino(message)
|
|
1257
|
-
};
|
|
1258
|
-
},
|
|
1259
|
-
fromProtoMsg(message: QueryGroupsByAdminResponseProtoMsg): QueryGroupsByAdminResponse {
|
|
1260
|
-
return QueryGroupsByAdminResponse.decode(message.value);
|
|
1261
|
-
},
|
|
1262
|
-
toProto(message: QueryGroupsByAdminResponse): Uint8Array {
|
|
1263
|
-
return QueryGroupsByAdminResponse.encode(message).finish();
|
|
1264
|
-
},
|
|
1265
|
-
toProtoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseProtoMsg {
|
|
1266
|
-
return {
|
|
1267
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse",
|
|
1268
|
-
value: QueryGroupsByAdminResponse.encode(message).finish()
|
|
1269
|
-
};
|
|
1270
|
-
}
|
|
1271
|
-
};
|
|
1272
|
-
GlobalDecoderRegistry.register(QueryGroupsByAdminResponse.typeUrl, QueryGroupsByAdminResponse);
|
|
1273
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupsByAdminResponse.aminoType, QueryGroupsByAdminResponse.typeUrl);
|
|
1274
|
-
function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest {
|
|
1275
|
-
return {
|
|
1276
|
-
groupId: BigInt(0),
|
|
1277
|
-
pagination: undefined
|
|
1278
|
-
};
|
|
1279
|
-
}
|
|
1280
|
-
export const QueryGroupPoliciesByGroupRequest = {
|
|
1281
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest",
|
|
1282
|
-
aminoType: "cosmos-sdk/QueryGroupPoliciesByGroupRequest",
|
|
1283
|
-
is(o: any): o is QueryGroupPoliciesByGroupRequest {
|
|
1284
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByGroupRequest.typeUrl || typeof o.groupId === "bigint");
|
|
1285
|
-
},
|
|
1286
|
-
isAmino(o: any): o is QueryGroupPoliciesByGroupRequestAmino {
|
|
1287
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByGroupRequest.typeUrl || typeof o.group_id === "bigint");
|
|
1288
|
-
},
|
|
1289
|
-
encode(message: QueryGroupPoliciesByGroupRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1290
|
-
if (message.groupId !== BigInt(0)) {
|
|
1291
|
-
writer.uint32(8).uint64(message.groupId);
|
|
1292
|
-
}
|
|
1293
|
-
if (message.pagination !== undefined) {
|
|
1294
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1295
|
-
}
|
|
1296
|
-
return writer;
|
|
1297
|
-
},
|
|
1298
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest {
|
|
1299
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1300
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1301
|
-
const message = createBaseQueryGroupPoliciesByGroupRequest();
|
|
1302
|
-
while (reader.pos < end) {
|
|
1303
|
-
const tag = reader.uint32();
|
|
1304
|
-
switch (tag >>> 3) {
|
|
1305
|
-
case 1:
|
|
1306
|
-
message.groupId = reader.uint64();
|
|
1307
|
-
break;
|
|
1308
|
-
case 2:
|
|
1309
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1310
|
-
break;
|
|
1311
|
-
default:
|
|
1312
|
-
reader.skipType(tag & 7);
|
|
1313
|
-
break;
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
return message;
|
|
1317
|
-
},
|
|
1318
|
-
fromPartial(object: DeepPartial<QueryGroupPoliciesByGroupRequest>): QueryGroupPoliciesByGroupRequest {
|
|
1319
|
-
const message = createBaseQueryGroupPoliciesByGroupRequest();
|
|
1320
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
1321
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1322
|
-
return message;
|
|
1323
|
-
},
|
|
1324
|
-
fromAmino(object: QueryGroupPoliciesByGroupRequestAmino): QueryGroupPoliciesByGroupRequest {
|
|
1325
|
-
const message = createBaseQueryGroupPoliciesByGroupRequest();
|
|
1326
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
1327
|
-
message.groupId = BigInt(object.group_id);
|
|
1328
|
-
}
|
|
1329
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1330
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1331
|
-
}
|
|
1332
|
-
return message;
|
|
1333
|
-
},
|
|
1334
|
-
toAmino(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAmino {
|
|
1335
|
-
const obj: any = {};
|
|
1336
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
1337
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1338
|
-
return obj;
|
|
1339
|
-
},
|
|
1340
|
-
fromAminoMsg(object: QueryGroupPoliciesByGroupRequestAminoMsg): QueryGroupPoliciesByGroupRequest {
|
|
1341
|
-
return QueryGroupPoliciesByGroupRequest.fromAmino(object.value);
|
|
1342
|
-
},
|
|
1343
|
-
toAminoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAminoMsg {
|
|
1344
|
-
return {
|
|
1345
|
-
type: "cosmos-sdk/QueryGroupPoliciesByGroupRequest",
|
|
1346
|
-
value: QueryGroupPoliciesByGroupRequest.toAmino(message)
|
|
1347
|
-
};
|
|
1348
|
-
},
|
|
1349
|
-
fromProtoMsg(message: QueryGroupPoliciesByGroupRequestProtoMsg): QueryGroupPoliciesByGroupRequest {
|
|
1350
|
-
return QueryGroupPoliciesByGroupRequest.decode(message.value);
|
|
1351
|
-
},
|
|
1352
|
-
toProto(message: QueryGroupPoliciesByGroupRequest): Uint8Array {
|
|
1353
|
-
return QueryGroupPoliciesByGroupRequest.encode(message).finish();
|
|
1354
|
-
},
|
|
1355
|
-
toProtoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestProtoMsg {
|
|
1356
|
-
return {
|
|
1357
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest",
|
|
1358
|
-
value: QueryGroupPoliciesByGroupRequest.encode(message).finish()
|
|
1359
|
-
};
|
|
1360
|
-
}
|
|
1361
|
-
};
|
|
1362
|
-
GlobalDecoderRegistry.register(QueryGroupPoliciesByGroupRequest.typeUrl, QueryGroupPoliciesByGroupRequest);
|
|
1363
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupPoliciesByGroupRequest.aminoType, QueryGroupPoliciesByGroupRequest.typeUrl);
|
|
1364
|
-
function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse {
|
|
1365
|
-
return {
|
|
1366
|
-
groupPolicies: [],
|
|
1367
|
-
pagination: undefined
|
|
1368
|
-
};
|
|
1369
|
-
}
|
|
1370
|
-
export const QueryGroupPoliciesByGroupResponse = {
|
|
1371
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse",
|
|
1372
|
-
aminoType: "cosmos-sdk/QueryGroupPoliciesByGroupResponse",
|
|
1373
|
-
is(o: any): o is QueryGroupPoliciesByGroupResponse {
|
|
1374
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByGroupResponse.typeUrl || Array.isArray(o.groupPolicies) && (!o.groupPolicies.length || GroupPolicyInfo.is(o.groupPolicies[0])));
|
|
1375
|
-
},
|
|
1376
|
-
isAmino(o: any): o is QueryGroupPoliciesByGroupResponseAmino {
|
|
1377
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByGroupResponse.typeUrl || Array.isArray(o.group_policies) && (!o.group_policies.length || GroupPolicyInfo.isAmino(o.group_policies[0])));
|
|
1378
|
-
},
|
|
1379
|
-
encode(message: QueryGroupPoliciesByGroupResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1380
|
-
for (const v of message.groupPolicies) {
|
|
1381
|
-
GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1382
|
-
}
|
|
1383
|
-
if (message.pagination !== undefined) {
|
|
1384
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1385
|
-
}
|
|
1386
|
-
return writer;
|
|
1387
|
-
},
|
|
1388
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse {
|
|
1389
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1390
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1391
|
-
const message = createBaseQueryGroupPoliciesByGroupResponse();
|
|
1392
|
-
while (reader.pos < end) {
|
|
1393
|
-
const tag = reader.uint32();
|
|
1394
|
-
switch (tag >>> 3) {
|
|
1395
|
-
case 1:
|
|
1396
|
-
message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32()));
|
|
1397
|
-
break;
|
|
1398
|
-
case 2:
|
|
1399
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1400
|
-
break;
|
|
1401
|
-
default:
|
|
1402
|
-
reader.skipType(tag & 7);
|
|
1403
|
-
break;
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
return message;
|
|
1407
|
-
},
|
|
1408
|
-
fromPartial(object: DeepPartial<QueryGroupPoliciesByGroupResponse>): QueryGroupPoliciesByGroupResponse {
|
|
1409
|
-
const message = createBaseQueryGroupPoliciesByGroupResponse();
|
|
1410
|
-
message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || [];
|
|
1411
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1412
|
-
return message;
|
|
1413
|
-
},
|
|
1414
|
-
fromAmino(object: QueryGroupPoliciesByGroupResponseAmino): QueryGroupPoliciesByGroupResponse {
|
|
1415
|
-
const message = createBaseQueryGroupPoliciesByGroupResponse();
|
|
1416
|
-
message.groupPolicies = object.group_policies?.map(e => GroupPolicyInfo.fromAmino(e)) || [];
|
|
1417
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1418
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1419
|
-
}
|
|
1420
|
-
return message;
|
|
1421
|
-
},
|
|
1422
|
-
toAmino(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAmino {
|
|
1423
|
-
const obj: any = {};
|
|
1424
|
-
if (message.groupPolicies) {
|
|
1425
|
-
obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toAmino(e) : undefined);
|
|
1426
|
-
} else {
|
|
1427
|
-
obj.group_policies = message.groupPolicies;
|
|
1428
|
-
}
|
|
1429
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1430
|
-
return obj;
|
|
1431
|
-
},
|
|
1432
|
-
fromAminoMsg(object: QueryGroupPoliciesByGroupResponseAminoMsg): QueryGroupPoliciesByGroupResponse {
|
|
1433
|
-
return QueryGroupPoliciesByGroupResponse.fromAmino(object.value);
|
|
1434
|
-
},
|
|
1435
|
-
toAminoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAminoMsg {
|
|
1436
|
-
return {
|
|
1437
|
-
type: "cosmos-sdk/QueryGroupPoliciesByGroupResponse",
|
|
1438
|
-
value: QueryGroupPoliciesByGroupResponse.toAmino(message)
|
|
1439
|
-
};
|
|
1440
|
-
},
|
|
1441
|
-
fromProtoMsg(message: QueryGroupPoliciesByGroupResponseProtoMsg): QueryGroupPoliciesByGroupResponse {
|
|
1442
|
-
return QueryGroupPoliciesByGroupResponse.decode(message.value);
|
|
1443
|
-
},
|
|
1444
|
-
toProto(message: QueryGroupPoliciesByGroupResponse): Uint8Array {
|
|
1445
|
-
return QueryGroupPoliciesByGroupResponse.encode(message).finish();
|
|
1446
|
-
},
|
|
1447
|
-
toProtoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseProtoMsg {
|
|
1448
|
-
return {
|
|
1449
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse",
|
|
1450
|
-
value: QueryGroupPoliciesByGroupResponse.encode(message).finish()
|
|
1451
|
-
};
|
|
1452
|
-
}
|
|
1453
|
-
};
|
|
1454
|
-
GlobalDecoderRegistry.register(QueryGroupPoliciesByGroupResponse.typeUrl, QueryGroupPoliciesByGroupResponse);
|
|
1455
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupPoliciesByGroupResponse.aminoType, QueryGroupPoliciesByGroupResponse.typeUrl);
|
|
1456
|
-
function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest {
|
|
1457
|
-
return {
|
|
1458
|
-
admin: "",
|
|
1459
|
-
pagination: undefined
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
export const QueryGroupPoliciesByAdminRequest = {
|
|
1463
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest",
|
|
1464
|
-
aminoType: "cosmos-sdk/QueryGroupPoliciesByAdminRequest",
|
|
1465
|
-
is(o: any): o is QueryGroupPoliciesByAdminRequest {
|
|
1466
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByAdminRequest.typeUrl || typeof o.admin === "string");
|
|
1467
|
-
},
|
|
1468
|
-
isAmino(o: any): o is QueryGroupPoliciesByAdminRequestAmino {
|
|
1469
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByAdminRequest.typeUrl || typeof o.admin === "string");
|
|
1470
|
-
},
|
|
1471
|
-
encode(message: QueryGroupPoliciesByAdminRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1472
|
-
if (message.admin !== "") {
|
|
1473
|
-
writer.uint32(10).string(message.admin);
|
|
1474
|
-
}
|
|
1475
|
-
if (message.pagination !== undefined) {
|
|
1476
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1477
|
-
}
|
|
1478
|
-
return writer;
|
|
1479
|
-
},
|
|
1480
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest {
|
|
1481
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1482
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1483
|
-
const message = createBaseQueryGroupPoliciesByAdminRequest();
|
|
1484
|
-
while (reader.pos < end) {
|
|
1485
|
-
const tag = reader.uint32();
|
|
1486
|
-
switch (tag >>> 3) {
|
|
1487
|
-
case 1:
|
|
1488
|
-
message.admin = reader.string();
|
|
1489
|
-
break;
|
|
1490
|
-
case 2:
|
|
1491
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1492
|
-
break;
|
|
1493
|
-
default:
|
|
1494
|
-
reader.skipType(tag & 7);
|
|
1495
|
-
break;
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
return message;
|
|
1499
|
-
},
|
|
1500
|
-
fromPartial(object: DeepPartial<QueryGroupPoliciesByAdminRequest>): QueryGroupPoliciesByAdminRequest {
|
|
1501
|
-
const message = createBaseQueryGroupPoliciesByAdminRequest();
|
|
1502
|
-
message.admin = object.admin ?? "";
|
|
1503
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1504
|
-
return message;
|
|
1505
|
-
},
|
|
1506
|
-
fromAmino(object: QueryGroupPoliciesByAdminRequestAmino): QueryGroupPoliciesByAdminRequest {
|
|
1507
|
-
const message = createBaseQueryGroupPoliciesByAdminRequest();
|
|
1508
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1509
|
-
message.admin = object.admin;
|
|
1510
|
-
}
|
|
1511
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1512
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1513
|
-
}
|
|
1514
|
-
return message;
|
|
1515
|
-
},
|
|
1516
|
-
toAmino(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAmino {
|
|
1517
|
-
const obj: any = {};
|
|
1518
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1519
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1520
|
-
return obj;
|
|
1521
|
-
},
|
|
1522
|
-
fromAminoMsg(object: QueryGroupPoliciesByAdminRequestAminoMsg): QueryGroupPoliciesByAdminRequest {
|
|
1523
|
-
return QueryGroupPoliciesByAdminRequest.fromAmino(object.value);
|
|
1524
|
-
},
|
|
1525
|
-
toAminoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAminoMsg {
|
|
1526
|
-
return {
|
|
1527
|
-
type: "cosmos-sdk/QueryGroupPoliciesByAdminRequest",
|
|
1528
|
-
value: QueryGroupPoliciesByAdminRequest.toAmino(message)
|
|
1529
|
-
};
|
|
1530
|
-
},
|
|
1531
|
-
fromProtoMsg(message: QueryGroupPoliciesByAdminRequestProtoMsg): QueryGroupPoliciesByAdminRequest {
|
|
1532
|
-
return QueryGroupPoliciesByAdminRequest.decode(message.value);
|
|
1533
|
-
},
|
|
1534
|
-
toProto(message: QueryGroupPoliciesByAdminRequest): Uint8Array {
|
|
1535
|
-
return QueryGroupPoliciesByAdminRequest.encode(message).finish();
|
|
1536
|
-
},
|
|
1537
|
-
toProtoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestProtoMsg {
|
|
1538
|
-
return {
|
|
1539
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest",
|
|
1540
|
-
value: QueryGroupPoliciesByAdminRequest.encode(message).finish()
|
|
1541
|
-
};
|
|
1542
|
-
}
|
|
1543
|
-
};
|
|
1544
|
-
GlobalDecoderRegistry.register(QueryGroupPoliciesByAdminRequest.typeUrl, QueryGroupPoliciesByAdminRequest);
|
|
1545
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupPoliciesByAdminRequest.aminoType, QueryGroupPoliciesByAdminRequest.typeUrl);
|
|
1546
|
-
function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse {
|
|
1547
|
-
return {
|
|
1548
|
-
groupPolicies: [],
|
|
1549
|
-
pagination: undefined
|
|
1550
|
-
};
|
|
1551
|
-
}
|
|
1552
|
-
export const QueryGroupPoliciesByAdminResponse = {
|
|
1553
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse",
|
|
1554
|
-
aminoType: "cosmos-sdk/QueryGroupPoliciesByAdminResponse",
|
|
1555
|
-
is(o: any): o is QueryGroupPoliciesByAdminResponse {
|
|
1556
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByAdminResponse.typeUrl || Array.isArray(o.groupPolicies) && (!o.groupPolicies.length || GroupPolicyInfo.is(o.groupPolicies[0])));
|
|
1557
|
-
},
|
|
1558
|
-
isAmino(o: any): o is QueryGroupPoliciesByAdminResponseAmino {
|
|
1559
|
-
return o && (o.$typeUrl === QueryGroupPoliciesByAdminResponse.typeUrl || Array.isArray(o.group_policies) && (!o.group_policies.length || GroupPolicyInfo.isAmino(o.group_policies[0])));
|
|
1560
|
-
},
|
|
1561
|
-
encode(message: QueryGroupPoliciesByAdminResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1562
|
-
for (const v of message.groupPolicies) {
|
|
1563
|
-
GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1564
|
-
}
|
|
1565
|
-
if (message.pagination !== undefined) {
|
|
1566
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1567
|
-
}
|
|
1568
|
-
return writer;
|
|
1569
|
-
},
|
|
1570
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse {
|
|
1571
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1572
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1573
|
-
const message = createBaseQueryGroupPoliciesByAdminResponse();
|
|
1574
|
-
while (reader.pos < end) {
|
|
1575
|
-
const tag = reader.uint32();
|
|
1576
|
-
switch (tag >>> 3) {
|
|
1577
|
-
case 1:
|
|
1578
|
-
message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32()));
|
|
1579
|
-
break;
|
|
1580
|
-
case 2:
|
|
1581
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1582
|
-
break;
|
|
1583
|
-
default:
|
|
1584
|
-
reader.skipType(tag & 7);
|
|
1585
|
-
break;
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
return message;
|
|
1589
|
-
},
|
|
1590
|
-
fromPartial(object: DeepPartial<QueryGroupPoliciesByAdminResponse>): QueryGroupPoliciesByAdminResponse {
|
|
1591
|
-
const message = createBaseQueryGroupPoliciesByAdminResponse();
|
|
1592
|
-
message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || [];
|
|
1593
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1594
|
-
return message;
|
|
1595
|
-
},
|
|
1596
|
-
fromAmino(object: QueryGroupPoliciesByAdminResponseAmino): QueryGroupPoliciesByAdminResponse {
|
|
1597
|
-
const message = createBaseQueryGroupPoliciesByAdminResponse();
|
|
1598
|
-
message.groupPolicies = object.group_policies?.map(e => GroupPolicyInfo.fromAmino(e)) || [];
|
|
1599
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1600
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1601
|
-
}
|
|
1602
|
-
return message;
|
|
1603
|
-
},
|
|
1604
|
-
toAmino(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAmino {
|
|
1605
|
-
const obj: any = {};
|
|
1606
|
-
if (message.groupPolicies) {
|
|
1607
|
-
obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toAmino(e) : undefined);
|
|
1608
|
-
} else {
|
|
1609
|
-
obj.group_policies = message.groupPolicies;
|
|
1610
|
-
}
|
|
1611
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1612
|
-
return obj;
|
|
1613
|
-
},
|
|
1614
|
-
fromAminoMsg(object: QueryGroupPoliciesByAdminResponseAminoMsg): QueryGroupPoliciesByAdminResponse {
|
|
1615
|
-
return QueryGroupPoliciesByAdminResponse.fromAmino(object.value);
|
|
1616
|
-
},
|
|
1617
|
-
toAminoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAminoMsg {
|
|
1618
|
-
return {
|
|
1619
|
-
type: "cosmos-sdk/QueryGroupPoliciesByAdminResponse",
|
|
1620
|
-
value: QueryGroupPoliciesByAdminResponse.toAmino(message)
|
|
1621
|
-
};
|
|
1622
|
-
},
|
|
1623
|
-
fromProtoMsg(message: QueryGroupPoliciesByAdminResponseProtoMsg): QueryGroupPoliciesByAdminResponse {
|
|
1624
|
-
return QueryGroupPoliciesByAdminResponse.decode(message.value);
|
|
1625
|
-
},
|
|
1626
|
-
toProto(message: QueryGroupPoliciesByAdminResponse): Uint8Array {
|
|
1627
|
-
return QueryGroupPoliciesByAdminResponse.encode(message).finish();
|
|
1628
|
-
},
|
|
1629
|
-
toProtoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseProtoMsg {
|
|
1630
|
-
return {
|
|
1631
|
-
typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse",
|
|
1632
|
-
value: QueryGroupPoliciesByAdminResponse.encode(message).finish()
|
|
1633
|
-
};
|
|
1634
|
-
}
|
|
1635
|
-
};
|
|
1636
|
-
GlobalDecoderRegistry.register(QueryGroupPoliciesByAdminResponse.typeUrl, QueryGroupPoliciesByAdminResponse);
|
|
1637
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupPoliciesByAdminResponse.aminoType, QueryGroupPoliciesByAdminResponse.typeUrl);
|
|
1638
|
-
function createBaseQueryProposalRequest(): QueryProposalRequest {
|
|
1639
|
-
return {
|
|
1640
|
-
proposalId: BigInt(0)
|
|
1641
|
-
};
|
|
1642
|
-
}
|
|
1643
|
-
export const QueryProposalRequest = {
|
|
1644
|
-
typeUrl: "/cosmos.group.v1.QueryProposalRequest",
|
|
1645
|
-
aminoType: "cosmos-sdk/QueryProposalRequest",
|
|
1646
|
-
is(o: any): o is QueryProposalRequest {
|
|
1647
|
-
return o && (o.$typeUrl === QueryProposalRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
1648
|
-
},
|
|
1649
|
-
isAmino(o: any): o is QueryProposalRequestAmino {
|
|
1650
|
-
return o && (o.$typeUrl === QueryProposalRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
1651
|
-
},
|
|
1652
|
-
encode(message: QueryProposalRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1653
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1654
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1655
|
-
}
|
|
1656
|
-
return writer;
|
|
1657
|
-
},
|
|
1658
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest {
|
|
1659
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1660
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1661
|
-
const message = createBaseQueryProposalRequest();
|
|
1662
|
-
while (reader.pos < end) {
|
|
1663
|
-
const tag = reader.uint32();
|
|
1664
|
-
switch (tag >>> 3) {
|
|
1665
|
-
case 1:
|
|
1666
|
-
message.proposalId = reader.uint64();
|
|
1667
|
-
break;
|
|
1668
|
-
default:
|
|
1669
|
-
reader.skipType(tag & 7);
|
|
1670
|
-
break;
|
|
1671
|
-
}
|
|
1672
|
-
}
|
|
1673
|
-
return message;
|
|
1674
|
-
},
|
|
1675
|
-
fromPartial(object: DeepPartial<QueryProposalRequest>): QueryProposalRequest {
|
|
1676
|
-
const message = createBaseQueryProposalRequest();
|
|
1677
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1678
|
-
return message;
|
|
1679
|
-
},
|
|
1680
|
-
fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest {
|
|
1681
|
-
const message = createBaseQueryProposalRequest();
|
|
1682
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1683
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1684
|
-
}
|
|
1685
|
-
return message;
|
|
1686
|
-
},
|
|
1687
|
-
toAmino(message: QueryProposalRequest): QueryProposalRequestAmino {
|
|
1688
|
-
const obj: any = {};
|
|
1689
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1690
|
-
return obj;
|
|
1691
|
-
},
|
|
1692
|
-
fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest {
|
|
1693
|
-
return QueryProposalRequest.fromAmino(object.value);
|
|
1694
|
-
},
|
|
1695
|
-
toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg {
|
|
1696
|
-
return {
|
|
1697
|
-
type: "cosmos-sdk/QueryProposalRequest",
|
|
1698
|
-
value: QueryProposalRequest.toAmino(message)
|
|
1699
|
-
};
|
|
1700
|
-
},
|
|
1701
|
-
fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest {
|
|
1702
|
-
return QueryProposalRequest.decode(message.value);
|
|
1703
|
-
},
|
|
1704
|
-
toProto(message: QueryProposalRequest): Uint8Array {
|
|
1705
|
-
return QueryProposalRequest.encode(message).finish();
|
|
1706
|
-
},
|
|
1707
|
-
toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg {
|
|
1708
|
-
return {
|
|
1709
|
-
typeUrl: "/cosmos.group.v1.QueryProposalRequest",
|
|
1710
|
-
value: QueryProposalRequest.encode(message).finish()
|
|
1711
|
-
};
|
|
1712
|
-
}
|
|
1713
|
-
};
|
|
1714
|
-
GlobalDecoderRegistry.register(QueryProposalRequest.typeUrl, QueryProposalRequest);
|
|
1715
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalRequest.aminoType, QueryProposalRequest.typeUrl);
|
|
1716
|
-
function createBaseQueryProposalResponse(): QueryProposalResponse {
|
|
1717
|
-
return {
|
|
1718
|
-
proposal: undefined
|
|
1719
|
-
};
|
|
1720
|
-
}
|
|
1721
|
-
export const QueryProposalResponse = {
|
|
1722
|
-
typeUrl: "/cosmos.group.v1.QueryProposalResponse",
|
|
1723
|
-
aminoType: "cosmos-sdk/QueryProposalResponse",
|
|
1724
|
-
is(o: any): o is QueryProposalResponse {
|
|
1725
|
-
return o && o.$typeUrl === QueryProposalResponse.typeUrl;
|
|
1726
|
-
},
|
|
1727
|
-
isAmino(o: any): o is QueryProposalResponseAmino {
|
|
1728
|
-
return o && o.$typeUrl === QueryProposalResponse.typeUrl;
|
|
1729
|
-
},
|
|
1730
|
-
encode(message: QueryProposalResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1731
|
-
if (message.proposal !== undefined) {
|
|
1732
|
-
Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim();
|
|
1733
|
-
}
|
|
1734
|
-
return writer;
|
|
1735
|
-
},
|
|
1736
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse {
|
|
1737
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1738
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1739
|
-
const message = createBaseQueryProposalResponse();
|
|
1740
|
-
while (reader.pos < end) {
|
|
1741
|
-
const tag = reader.uint32();
|
|
1742
|
-
switch (tag >>> 3) {
|
|
1743
|
-
case 1:
|
|
1744
|
-
message.proposal = Proposal.decode(reader, reader.uint32());
|
|
1745
|
-
break;
|
|
1746
|
-
default:
|
|
1747
|
-
reader.skipType(tag & 7);
|
|
1748
|
-
break;
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
return message;
|
|
1752
|
-
},
|
|
1753
|
-
fromPartial(object: DeepPartial<QueryProposalResponse>): QueryProposalResponse {
|
|
1754
|
-
const message = createBaseQueryProposalResponse();
|
|
1755
|
-
message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined;
|
|
1756
|
-
return message;
|
|
1757
|
-
},
|
|
1758
|
-
fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse {
|
|
1759
|
-
const message = createBaseQueryProposalResponse();
|
|
1760
|
-
if (object.proposal !== undefined && object.proposal !== null) {
|
|
1761
|
-
message.proposal = Proposal.fromAmino(object.proposal);
|
|
1762
|
-
}
|
|
1763
|
-
return message;
|
|
1764
|
-
},
|
|
1765
|
-
toAmino(message: QueryProposalResponse): QueryProposalResponseAmino {
|
|
1766
|
-
const obj: any = {};
|
|
1767
|
-
obj.proposal = message.proposal ? Proposal.toAmino(message.proposal) : undefined;
|
|
1768
|
-
return obj;
|
|
1769
|
-
},
|
|
1770
|
-
fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse {
|
|
1771
|
-
return QueryProposalResponse.fromAmino(object.value);
|
|
1772
|
-
},
|
|
1773
|
-
toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg {
|
|
1774
|
-
return {
|
|
1775
|
-
type: "cosmos-sdk/QueryProposalResponse",
|
|
1776
|
-
value: QueryProposalResponse.toAmino(message)
|
|
1777
|
-
};
|
|
1778
|
-
},
|
|
1779
|
-
fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse {
|
|
1780
|
-
return QueryProposalResponse.decode(message.value);
|
|
1781
|
-
},
|
|
1782
|
-
toProto(message: QueryProposalResponse): Uint8Array {
|
|
1783
|
-
return QueryProposalResponse.encode(message).finish();
|
|
1784
|
-
},
|
|
1785
|
-
toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg {
|
|
1786
|
-
return {
|
|
1787
|
-
typeUrl: "/cosmos.group.v1.QueryProposalResponse",
|
|
1788
|
-
value: QueryProposalResponse.encode(message).finish()
|
|
1789
|
-
};
|
|
1790
|
-
}
|
|
1791
|
-
};
|
|
1792
|
-
GlobalDecoderRegistry.register(QueryProposalResponse.typeUrl, QueryProposalResponse);
|
|
1793
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalResponse.aminoType, QueryProposalResponse.typeUrl);
|
|
1794
|
-
function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest {
|
|
1795
|
-
return {
|
|
1796
|
-
address: "",
|
|
1797
|
-
pagination: undefined
|
|
1798
|
-
};
|
|
1799
|
-
}
|
|
1800
|
-
export const QueryProposalsByGroupPolicyRequest = {
|
|
1801
|
-
typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest",
|
|
1802
|
-
aminoType: "cosmos-sdk/QueryProposalsByGroupPolicyRequest",
|
|
1803
|
-
is(o: any): o is QueryProposalsByGroupPolicyRequest {
|
|
1804
|
-
return o && (o.$typeUrl === QueryProposalsByGroupPolicyRequest.typeUrl || typeof o.address === "string");
|
|
1805
|
-
},
|
|
1806
|
-
isAmino(o: any): o is QueryProposalsByGroupPolicyRequestAmino {
|
|
1807
|
-
return o && (o.$typeUrl === QueryProposalsByGroupPolicyRequest.typeUrl || typeof o.address === "string");
|
|
1808
|
-
},
|
|
1809
|
-
encode(message: QueryProposalsByGroupPolicyRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1810
|
-
if (message.address !== "") {
|
|
1811
|
-
writer.uint32(10).string(message.address);
|
|
1812
|
-
}
|
|
1813
|
-
if (message.pagination !== undefined) {
|
|
1814
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1815
|
-
}
|
|
1816
|
-
return writer;
|
|
1817
|
-
},
|
|
1818
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest {
|
|
1819
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1820
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1821
|
-
const message = createBaseQueryProposalsByGroupPolicyRequest();
|
|
1822
|
-
while (reader.pos < end) {
|
|
1823
|
-
const tag = reader.uint32();
|
|
1824
|
-
switch (tag >>> 3) {
|
|
1825
|
-
case 1:
|
|
1826
|
-
message.address = reader.string();
|
|
1827
|
-
break;
|
|
1828
|
-
case 2:
|
|
1829
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1830
|
-
break;
|
|
1831
|
-
default:
|
|
1832
|
-
reader.skipType(tag & 7);
|
|
1833
|
-
break;
|
|
1834
|
-
}
|
|
1835
|
-
}
|
|
1836
|
-
return message;
|
|
1837
|
-
},
|
|
1838
|
-
fromPartial(object: DeepPartial<QueryProposalsByGroupPolicyRequest>): QueryProposalsByGroupPolicyRequest {
|
|
1839
|
-
const message = createBaseQueryProposalsByGroupPolicyRequest();
|
|
1840
|
-
message.address = object.address ?? "";
|
|
1841
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1842
|
-
return message;
|
|
1843
|
-
},
|
|
1844
|
-
fromAmino(object: QueryProposalsByGroupPolicyRequestAmino): QueryProposalsByGroupPolicyRequest {
|
|
1845
|
-
const message = createBaseQueryProposalsByGroupPolicyRequest();
|
|
1846
|
-
if (object.address !== undefined && object.address !== null) {
|
|
1847
|
-
message.address = object.address;
|
|
1848
|
-
}
|
|
1849
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1850
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1851
|
-
}
|
|
1852
|
-
return message;
|
|
1853
|
-
},
|
|
1854
|
-
toAmino(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAmino {
|
|
1855
|
-
const obj: any = {};
|
|
1856
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
1857
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1858
|
-
return obj;
|
|
1859
|
-
},
|
|
1860
|
-
fromAminoMsg(object: QueryProposalsByGroupPolicyRequestAminoMsg): QueryProposalsByGroupPolicyRequest {
|
|
1861
|
-
return QueryProposalsByGroupPolicyRequest.fromAmino(object.value);
|
|
1862
|
-
},
|
|
1863
|
-
toAminoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAminoMsg {
|
|
1864
|
-
return {
|
|
1865
|
-
type: "cosmos-sdk/QueryProposalsByGroupPolicyRequest",
|
|
1866
|
-
value: QueryProposalsByGroupPolicyRequest.toAmino(message)
|
|
1867
|
-
};
|
|
1868
|
-
},
|
|
1869
|
-
fromProtoMsg(message: QueryProposalsByGroupPolicyRequestProtoMsg): QueryProposalsByGroupPolicyRequest {
|
|
1870
|
-
return QueryProposalsByGroupPolicyRequest.decode(message.value);
|
|
1871
|
-
},
|
|
1872
|
-
toProto(message: QueryProposalsByGroupPolicyRequest): Uint8Array {
|
|
1873
|
-
return QueryProposalsByGroupPolicyRequest.encode(message).finish();
|
|
1874
|
-
},
|
|
1875
|
-
toProtoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestProtoMsg {
|
|
1876
|
-
return {
|
|
1877
|
-
typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest",
|
|
1878
|
-
value: QueryProposalsByGroupPolicyRequest.encode(message).finish()
|
|
1879
|
-
};
|
|
1880
|
-
}
|
|
1881
|
-
};
|
|
1882
|
-
GlobalDecoderRegistry.register(QueryProposalsByGroupPolicyRequest.typeUrl, QueryProposalsByGroupPolicyRequest);
|
|
1883
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalsByGroupPolicyRequest.aminoType, QueryProposalsByGroupPolicyRequest.typeUrl);
|
|
1884
|
-
function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse {
|
|
1885
|
-
return {
|
|
1886
|
-
proposals: [],
|
|
1887
|
-
pagination: undefined
|
|
1888
|
-
};
|
|
1889
|
-
}
|
|
1890
|
-
export const QueryProposalsByGroupPolicyResponse = {
|
|
1891
|
-
typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse",
|
|
1892
|
-
aminoType: "cosmos-sdk/QueryProposalsByGroupPolicyResponse",
|
|
1893
|
-
is(o: any): o is QueryProposalsByGroupPolicyResponse {
|
|
1894
|
-
return o && (o.$typeUrl === QueryProposalsByGroupPolicyResponse.typeUrl || Array.isArray(o.proposals) && (!o.proposals.length || Proposal.is(o.proposals[0])));
|
|
1895
|
-
},
|
|
1896
|
-
isAmino(o: any): o is QueryProposalsByGroupPolicyResponseAmino {
|
|
1897
|
-
return o && (o.$typeUrl === QueryProposalsByGroupPolicyResponse.typeUrl || Array.isArray(o.proposals) && (!o.proposals.length || Proposal.isAmino(o.proposals[0])));
|
|
1898
|
-
},
|
|
1899
|
-
encode(message: QueryProposalsByGroupPolicyResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1900
|
-
for (const v of message.proposals) {
|
|
1901
|
-
Proposal.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1902
|
-
}
|
|
1903
|
-
if (message.pagination !== undefined) {
|
|
1904
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1905
|
-
}
|
|
1906
|
-
return writer;
|
|
1907
|
-
},
|
|
1908
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse {
|
|
1909
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1910
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1911
|
-
const message = createBaseQueryProposalsByGroupPolicyResponse();
|
|
1912
|
-
while (reader.pos < end) {
|
|
1913
|
-
const tag = reader.uint32();
|
|
1914
|
-
switch (tag >>> 3) {
|
|
1915
|
-
case 1:
|
|
1916
|
-
message.proposals.push(Proposal.decode(reader, reader.uint32()));
|
|
1917
|
-
break;
|
|
1918
|
-
case 2:
|
|
1919
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1920
|
-
break;
|
|
1921
|
-
default:
|
|
1922
|
-
reader.skipType(tag & 7);
|
|
1923
|
-
break;
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
return message;
|
|
1927
|
-
},
|
|
1928
|
-
fromPartial(object: DeepPartial<QueryProposalsByGroupPolicyResponse>): QueryProposalsByGroupPolicyResponse {
|
|
1929
|
-
const message = createBaseQueryProposalsByGroupPolicyResponse();
|
|
1930
|
-
message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || [];
|
|
1931
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1932
|
-
return message;
|
|
1933
|
-
},
|
|
1934
|
-
fromAmino(object: QueryProposalsByGroupPolicyResponseAmino): QueryProposalsByGroupPolicyResponse {
|
|
1935
|
-
const message = createBaseQueryProposalsByGroupPolicyResponse();
|
|
1936
|
-
message.proposals = object.proposals?.map(e => Proposal.fromAmino(e)) || [];
|
|
1937
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1938
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1939
|
-
}
|
|
1940
|
-
return message;
|
|
1941
|
-
},
|
|
1942
|
-
toAmino(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAmino {
|
|
1943
|
-
const obj: any = {};
|
|
1944
|
-
if (message.proposals) {
|
|
1945
|
-
obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined);
|
|
1946
|
-
} else {
|
|
1947
|
-
obj.proposals = message.proposals;
|
|
1948
|
-
}
|
|
1949
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1950
|
-
return obj;
|
|
1951
|
-
},
|
|
1952
|
-
fromAminoMsg(object: QueryProposalsByGroupPolicyResponseAminoMsg): QueryProposalsByGroupPolicyResponse {
|
|
1953
|
-
return QueryProposalsByGroupPolicyResponse.fromAmino(object.value);
|
|
1954
|
-
},
|
|
1955
|
-
toAminoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAminoMsg {
|
|
1956
|
-
return {
|
|
1957
|
-
type: "cosmos-sdk/QueryProposalsByGroupPolicyResponse",
|
|
1958
|
-
value: QueryProposalsByGroupPolicyResponse.toAmino(message)
|
|
1959
|
-
};
|
|
1960
|
-
},
|
|
1961
|
-
fromProtoMsg(message: QueryProposalsByGroupPolicyResponseProtoMsg): QueryProposalsByGroupPolicyResponse {
|
|
1962
|
-
return QueryProposalsByGroupPolicyResponse.decode(message.value);
|
|
1963
|
-
},
|
|
1964
|
-
toProto(message: QueryProposalsByGroupPolicyResponse): Uint8Array {
|
|
1965
|
-
return QueryProposalsByGroupPolicyResponse.encode(message).finish();
|
|
1966
|
-
},
|
|
1967
|
-
toProtoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseProtoMsg {
|
|
1968
|
-
return {
|
|
1969
|
-
typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse",
|
|
1970
|
-
value: QueryProposalsByGroupPolicyResponse.encode(message).finish()
|
|
1971
|
-
};
|
|
1972
|
-
}
|
|
1973
|
-
};
|
|
1974
|
-
GlobalDecoderRegistry.register(QueryProposalsByGroupPolicyResponse.typeUrl, QueryProposalsByGroupPolicyResponse);
|
|
1975
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryProposalsByGroupPolicyResponse.aminoType, QueryProposalsByGroupPolicyResponse.typeUrl);
|
|
1976
|
-
function createBaseQueryVoteByProposalVoterRequest(): QueryVoteByProposalVoterRequest {
|
|
1977
|
-
return {
|
|
1978
|
-
proposalId: BigInt(0),
|
|
1979
|
-
voter: ""
|
|
1980
|
-
};
|
|
1981
|
-
}
|
|
1982
|
-
export const QueryVoteByProposalVoterRequest = {
|
|
1983
|
-
typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest",
|
|
1984
|
-
aminoType: "cosmos-sdk/QueryVoteByProposalVoterRequest",
|
|
1985
|
-
is(o: any): o is QueryVoteByProposalVoterRequest {
|
|
1986
|
-
return o && (o.$typeUrl === QueryVoteByProposalVoterRequest.typeUrl || typeof o.proposalId === "bigint" && typeof o.voter === "string");
|
|
1987
|
-
},
|
|
1988
|
-
isAmino(o: any): o is QueryVoteByProposalVoterRequestAmino {
|
|
1989
|
-
return o && (o.$typeUrl === QueryVoteByProposalVoterRequest.typeUrl || typeof o.proposal_id === "bigint" && typeof o.voter === "string");
|
|
1990
|
-
},
|
|
1991
|
-
encode(message: QueryVoteByProposalVoterRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1992
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1993
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1994
|
-
}
|
|
1995
|
-
if (message.voter !== "") {
|
|
1996
|
-
writer.uint32(18).string(message.voter);
|
|
1997
|
-
}
|
|
1998
|
-
return writer;
|
|
1999
|
-
},
|
|
2000
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest {
|
|
2001
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2002
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2003
|
-
const message = createBaseQueryVoteByProposalVoterRequest();
|
|
2004
|
-
while (reader.pos < end) {
|
|
2005
|
-
const tag = reader.uint32();
|
|
2006
|
-
switch (tag >>> 3) {
|
|
2007
|
-
case 1:
|
|
2008
|
-
message.proposalId = reader.uint64();
|
|
2009
|
-
break;
|
|
2010
|
-
case 2:
|
|
2011
|
-
message.voter = reader.string();
|
|
2012
|
-
break;
|
|
2013
|
-
default:
|
|
2014
|
-
reader.skipType(tag & 7);
|
|
2015
|
-
break;
|
|
2016
|
-
}
|
|
2017
|
-
}
|
|
2018
|
-
return message;
|
|
2019
|
-
},
|
|
2020
|
-
fromPartial(object: DeepPartial<QueryVoteByProposalVoterRequest>): QueryVoteByProposalVoterRequest {
|
|
2021
|
-
const message = createBaseQueryVoteByProposalVoterRequest();
|
|
2022
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2023
|
-
message.voter = object.voter ?? "";
|
|
2024
|
-
return message;
|
|
2025
|
-
},
|
|
2026
|
-
fromAmino(object: QueryVoteByProposalVoterRequestAmino): QueryVoteByProposalVoterRequest {
|
|
2027
|
-
const message = createBaseQueryVoteByProposalVoterRequest();
|
|
2028
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2029
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2030
|
-
}
|
|
2031
|
-
if (object.voter !== undefined && object.voter !== null) {
|
|
2032
|
-
message.voter = object.voter;
|
|
2033
|
-
}
|
|
2034
|
-
return message;
|
|
2035
|
-
},
|
|
2036
|
-
toAmino(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAmino {
|
|
2037
|
-
const obj: any = {};
|
|
2038
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2039
|
-
obj.voter = message.voter === "" ? undefined : message.voter;
|
|
2040
|
-
return obj;
|
|
2041
|
-
},
|
|
2042
|
-
fromAminoMsg(object: QueryVoteByProposalVoterRequestAminoMsg): QueryVoteByProposalVoterRequest {
|
|
2043
|
-
return QueryVoteByProposalVoterRequest.fromAmino(object.value);
|
|
2044
|
-
},
|
|
2045
|
-
toAminoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAminoMsg {
|
|
2046
|
-
return {
|
|
2047
|
-
type: "cosmos-sdk/QueryVoteByProposalVoterRequest",
|
|
2048
|
-
value: QueryVoteByProposalVoterRequest.toAmino(message)
|
|
2049
|
-
};
|
|
2050
|
-
},
|
|
2051
|
-
fromProtoMsg(message: QueryVoteByProposalVoterRequestProtoMsg): QueryVoteByProposalVoterRequest {
|
|
2052
|
-
return QueryVoteByProposalVoterRequest.decode(message.value);
|
|
2053
|
-
},
|
|
2054
|
-
toProto(message: QueryVoteByProposalVoterRequest): Uint8Array {
|
|
2055
|
-
return QueryVoteByProposalVoterRequest.encode(message).finish();
|
|
2056
|
-
},
|
|
2057
|
-
toProtoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestProtoMsg {
|
|
2058
|
-
return {
|
|
2059
|
-
typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest",
|
|
2060
|
-
value: QueryVoteByProposalVoterRequest.encode(message).finish()
|
|
2061
|
-
};
|
|
2062
|
-
}
|
|
2063
|
-
};
|
|
2064
|
-
GlobalDecoderRegistry.register(QueryVoteByProposalVoterRequest.typeUrl, QueryVoteByProposalVoterRequest);
|
|
2065
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVoteByProposalVoterRequest.aminoType, QueryVoteByProposalVoterRequest.typeUrl);
|
|
2066
|
-
function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse {
|
|
2067
|
-
return {
|
|
2068
|
-
vote: undefined
|
|
2069
|
-
};
|
|
2070
|
-
}
|
|
2071
|
-
export const QueryVoteByProposalVoterResponse = {
|
|
2072
|
-
typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse",
|
|
2073
|
-
aminoType: "cosmos-sdk/QueryVoteByProposalVoterResponse",
|
|
2074
|
-
is(o: any): o is QueryVoteByProposalVoterResponse {
|
|
2075
|
-
return o && o.$typeUrl === QueryVoteByProposalVoterResponse.typeUrl;
|
|
2076
|
-
},
|
|
2077
|
-
isAmino(o: any): o is QueryVoteByProposalVoterResponseAmino {
|
|
2078
|
-
return o && o.$typeUrl === QueryVoteByProposalVoterResponse.typeUrl;
|
|
2079
|
-
},
|
|
2080
|
-
encode(message: QueryVoteByProposalVoterResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2081
|
-
if (message.vote !== undefined) {
|
|
2082
|
-
Vote.encode(message.vote, writer.uint32(10).fork()).ldelim();
|
|
2083
|
-
}
|
|
2084
|
-
return writer;
|
|
2085
|
-
},
|
|
2086
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse {
|
|
2087
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2088
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2089
|
-
const message = createBaseQueryVoteByProposalVoterResponse();
|
|
2090
|
-
while (reader.pos < end) {
|
|
2091
|
-
const tag = reader.uint32();
|
|
2092
|
-
switch (tag >>> 3) {
|
|
2093
|
-
case 1:
|
|
2094
|
-
message.vote = Vote.decode(reader, reader.uint32());
|
|
2095
|
-
break;
|
|
2096
|
-
default:
|
|
2097
|
-
reader.skipType(tag & 7);
|
|
2098
|
-
break;
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
return message;
|
|
2102
|
-
},
|
|
2103
|
-
fromPartial(object: DeepPartial<QueryVoteByProposalVoterResponse>): QueryVoteByProposalVoterResponse {
|
|
2104
|
-
const message = createBaseQueryVoteByProposalVoterResponse();
|
|
2105
|
-
message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined;
|
|
2106
|
-
return message;
|
|
2107
|
-
},
|
|
2108
|
-
fromAmino(object: QueryVoteByProposalVoterResponseAmino): QueryVoteByProposalVoterResponse {
|
|
2109
|
-
const message = createBaseQueryVoteByProposalVoterResponse();
|
|
2110
|
-
if (object.vote !== undefined && object.vote !== null) {
|
|
2111
|
-
message.vote = Vote.fromAmino(object.vote);
|
|
2112
|
-
}
|
|
2113
|
-
return message;
|
|
2114
|
-
},
|
|
2115
|
-
toAmino(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAmino {
|
|
2116
|
-
const obj: any = {};
|
|
2117
|
-
obj.vote = message.vote ? Vote.toAmino(message.vote) : undefined;
|
|
2118
|
-
return obj;
|
|
2119
|
-
},
|
|
2120
|
-
fromAminoMsg(object: QueryVoteByProposalVoterResponseAminoMsg): QueryVoteByProposalVoterResponse {
|
|
2121
|
-
return QueryVoteByProposalVoterResponse.fromAmino(object.value);
|
|
2122
|
-
},
|
|
2123
|
-
toAminoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAminoMsg {
|
|
2124
|
-
return {
|
|
2125
|
-
type: "cosmos-sdk/QueryVoteByProposalVoterResponse",
|
|
2126
|
-
value: QueryVoteByProposalVoterResponse.toAmino(message)
|
|
2127
|
-
};
|
|
2128
|
-
},
|
|
2129
|
-
fromProtoMsg(message: QueryVoteByProposalVoterResponseProtoMsg): QueryVoteByProposalVoterResponse {
|
|
2130
|
-
return QueryVoteByProposalVoterResponse.decode(message.value);
|
|
2131
|
-
},
|
|
2132
|
-
toProto(message: QueryVoteByProposalVoterResponse): Uint8Array {
|
|
2133
|
-
return QueryVoteByProposalVoterResponse.encode(message).finish();
|
|
2134
|
-
},
|
|
2135
|
-
toProtoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseProtoMsg {
|
|
2136
|
-
return {
|
|
2137
|
-
typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse",
|
|
2138
|
-
value: QueryVoteByProposalVoterResponse.encode(message).finish()
|
|
2139
|
-
};
|
|
2140
|
-
}
|
|
2141
|
-
};
|
|
2142
|
-
GlobalDecoderRegistry.register(QueryVoteByProposalVoterResponse.typeUrl, QueryVoteByProposalVoterResponse);
|
|
2143
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVoteByProposalVoterResponse.aminoType, QueryVoteByProposalVoterResponse.typeUrl);
|
|
2144
|
-
function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest {
|
|
2145
|
-
return {
|
|
2146
|
-
proposalId: BigInt(0),
|
|
2147
|
-
pagination: undefined
|
|
2148
|
-
};
|
|
2149
|
-
}
|
|
2150
|
-
export const QueryVotesByProposalRequest = {
|
|
2151
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest",
|
|
2152
|
-
aminoType: "cosmos-sdk/QueryVotesByProposalRequest",
|
|
2153
|
-
is(o: any): o is QueryVotesByProposalRequest {
|
|
2154
|
-
return o && (o.$typeUrl === QueryVotesByProposalRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
2155
|
-
},
|
|
2156
|
-
isAmino(o: any): o is QueryVotesByProposalRequestAmino {
|
|
2157
|
-
return o && (o.$typeUrl === QueryVotesByProposalRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
2158
|
-
},
|
|
2159
|
-
encode(message: QueryVotesByProposalRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2160
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2161
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2162
|
-
}
|
|
2163
|
-
if (message.pagination !== undefined) {
|
|
2164
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2165
|
-
}
|
|
2166
|
-
return writer;
|
|
2167
|
-
},
|
|
2168
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByProposalRequest {
|
|
2169
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2170
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2171
|
-
const message = createBaseQueryVotesByProposalRequest();
|
|
2172
|
-
while (reader.pos < end) {
|
|
2173
|
-
const tag = reader.uint32();
|
|
2174
|
-
switch (tag >>> 3) {
|
|
2175
|
-
case 1:
|
|
2176
|
-
message.proposalId = reader.uint64();
|
|
2177
|
-
break;
|
|
2178
|
-
case 2:
|
|
2179
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
2180
|
-
break;
|
|
2181
|
-
default:
|
|
2182
|
-
reader.skipType(tag & 7);
|
|
2183
|
-
break;
|
|
2184
|
-
}
|
|
2185
|
-
}
|
|
2186
|
-
return message;
|
|
2187
|
-
},
|
|
2188
|
-
fromPartial(object: DeepPartial<QueryVotesByProposalRequest>): QueryVotesByProposalRequest {
|
|
2189
|
-
const message = createBaseQueryVotesByProposalRequest();
|
|
2190
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2191
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
2192
|
-
return message;
|
|
2193
|
-
},
|
|
2194
|
-
fromAmino(object: QueryVotesByProposalRequestAmino): QueryVotesByProposalRequest {
|
|
2195
|
-
const message = createBaseQueryVotesByProposalRequest();
|
|
2196
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2197
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2198
|
-
}
|
|
2199
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2200
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
2201
|
-
}
|
|
2202
|
-
return message;
|
|
2203
|
-
},
|
|
2204
|
-
toAmino(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAmino {
|
|
2205
|
-
const obj: any = {};
|
|
2206
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2207
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
2208
|
-
return obj;
|
|
2209
|
-
},
|
|
2210
|
-
fromAminoMsg(object: QueryVotesByProposalRequestAminoMsg): QueryVotesByProposalRequest {
|
|
2211
|
-
return QueryVotesByProposalRequest.fromAmino(object.value);
|
|
2212
|
-
},
|
|
2213
|
-
toAminoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAminoMsg {
|
|
2214
|
-
return {
|
|
2215
|
-
type: "cosmos-sdk/QueryVotesByProposalRequest",
|
|
2216
|
-
value: QueryVotesByProposalRequest.toAmino(message)
|
|
2217
|
-
};
|
|
2218
|
-
},
|
|
2219
|
-
fromProtoMsg(message: QueryVotesByProposalRequestProtoMsg): QueryVotesByProposalRequest {
|
|
2220
|
-
return QueryVotesByProposalRequest.decode(message.value);
|
|
2221
|
-
},
|
|
2222
|
-
toProto(message: QueryVotesByProposalRequest): Uint8Array {
|
|
2223
|
-
return QueryVotesByProposalRequest.encode(message).finish();
|
|
2224
|
-
},
|
|
2225
|
-
toProtoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestProtoMsg {
|
|
2226
|
-
return {
|
|
2227
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest",
|
|
2228
|
-
value: QueryVotesByProposalRequest.encode(message).finish()
|
|
2229
|
-
};
|
|
2230
|
-
}
|
|
2231
|
-
};
|
|
2232
|
-
GlobalDecoderRegistry.register(QueryVotesByProposalRequest.typeUrl, QueryVotesByProposalRequest);
|
|
2233
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVotesByProposalRequest.aminoType, QueryVotesByProposalRequest.typeUrl);
|
|
2234
|
-
function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse {
|
|
2235
|
-
return {
|
|
2236
|
-
votes: [],
|
|
2237
|
-
pagination: undefined
|
|
2238
|
-
};
|
|
2239
|
-
}
|
|
2240
|
-
export const QueryVotesByProposalResponse = {
|
|
2241
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse",
|
|
2242
|
-
aminoType: "cosmos-sdk/QueryVotesByProposalResponse",
|
|
2243
|
-
is(o: any): o is QueryVotesByProposalResponse {
|
|
2244
|
-
return o && (o.$typeUrl === QueryVotesByProposalResponse.typeUrl || Array.isArray(o.votes) && (!o.votes.length || Vote.is(o.votes[0])));
|
|
2245
|
-
},
|
|
2246
|
-
isAmino(o: any): o is QueryVotesByProposalResponseAmino {
|
|
2247
|
-
return o && (o.$typeUrl === QueryVotesByProposalResponse.typeUrl || Array.isArray(o.votes) && (!o.votes.length || Vote.isAmino(o.votes[0])));
|
|
2248
|
-
},
|
|
2249
|
-
encode(message: QueryVotesByProposalResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2250
|
-
for (const v of message.votes) {
|
|
2251
|
-
Vote.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
2252
|
-
}
|
|
2253
|
-
if (message.pagination !== undefined) {
|
|
2254
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2255
|
-
}
|
|
2256
|
-
return writer;
|
|
2257
|
-
},
|
|
2258
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByProposalResponse {
|
|
2259
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2260
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2261
|
-
const message = createBaseQueryVotesByProposalResponse();
|
|
2262
|
-
while (reader.pos < end) {
|
|
2263
|
-
const tag = reader.uint32();
|
|
2264
|
-
switch (tag >>> 3) {
|
|
2265
|
-
case 1:
|
|
2266
|
-
message.votes.push(Vote.decode(reader, reader.uint32()));
|
|
2267
|
-
break;
|
|
2268
|
-
case 2:
|
|
2269
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
2270
|
-
break;
|
|
2271
|
-
default:
|
|
2272
|
-
reader.skipType(tag & 7);
|
|
2273
|
-
break;
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
return message;
|
|
2277
|
-
},
|
|
2278
|
-
fromPartial(object: DeepPartial<QueryVotesByProposalResponse>): QueryVotesByProposalResponse {
|
|
2279
|
-
const message = createBaseQueryVotesByProposalResponse();
|
|
2280
|
-
message.votes = object.votes?.map(e => Vote.fromPartial(e)) || [];
|
|
2281
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
2282
|
-
return message;
|
|
2283
|
-
},
|
|
2284
|
-
fromAmino(object: QueryVotesByProposalResponseAmino): QueryVotesByProposalResponse {
|
|
2285
|
-
const message = createBaseQueryVotesByProposalResponse();
|
|
2286
|
-
message.votes = object.votes?.map(e => Vote.fromAmino(e)) || [];
|
|
2287
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2288
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
2289
|
-
}
|
|
2290
|
-
return message;
|
|
2291
|
-
},
|
|
2292
|
-
toAmino(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAmino {
|
|
2293
|
-
const obj: any = {};
|
|
2294
|
-
if (message.votes) {
|
|
2295
|
-
obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined);
|
|
2296
|
-
} else {
|
|
2297
|
-
obj.votes = message.votes;
|
|
2298
|
-
}
|
|
2299
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
2300
|
-
return obj;
|
|
2301
|
-
},
|
|
2302
|
-
fromAminoMsg(object: QueryVotesByProposalResponseAminoMsg): QueryVotesByProposalResponse {
|
|
2303
|
-
return QueryVotesByProposalResponse.fromAmino(object.value);
|
|
2304
|
-
},
|
|
2305
|
-
toAminoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAminoMsg {
|
|
2306
|
-
return {
|
|
2307
|
-
type: "cosmos-sdk/QueryVotesByProposalResponse",
|
|
2308
|
-
value: QueryVotesByProposalResponse.toAmino(message)
|
|
2309
|
-
};
|
|
2310
|
-
},
|
|
2311
|
-
fromProtoMsg(message: QueryVotesByProposalResponseProtoMsg): QueryVotesByProposalResponse {
|
|
2312
|
-
return QueryVotesByProposalResponse.decode(message.value);
|
|
2313
|
-
},
|
|
2314
|
-
toProto(message: QueryVotesByProposalResponse): Uint8Array {
|
|
2315
|
-
return QueryVotesByProposalResponse.encode(message).finish();
|
|
2316
|
-
},
|
|
2317
|
-
toProtoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseProtoMsg {
|
|
2318
|
-
return {
|
|
2319
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse",
|
|
2320
|
-
value: QueryVotesByProposalResponse.encode(message).finish()
|
|
2321
|
-
};
|
|
2322
|
-
}
|
|
2323
|
-
};
|
|
2324
|
-
GlobalDecoderRegistry.register(QueryVotesByProposalResponse.typeUrl, QueryVotesByProposalResponse);
|
|
2325
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVotesByProposalResponse.aminoType, QueryVotesByProposalResponse.typeUrl);
|
|
2326
|
-
function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest {
|
|
2327
|
-
return {
|
|
2328
|
-
voter: "",
|
|
2329
|
-
pagination: undefined
|
|
2330
|
-
};
|
|
2331
|
-
}
|
|
2332
|
-
export const QueryVotesByVoterRequest = {
|
|
2333
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest",
|
|
2334
|
-
aminoType: "cosmos-sdk/QueryVotesByVoterRequest",
|
|
2335
|
-
is(o: any): o is QueryVotesByVoterRequest {
|
|
2336
|
-
return o && (o.$typeUrl === QueryVotesByVoterRequest.typeUrl || typeof o.voter === "string");
|
|
2337
|
-
},
|
|
2338
|
-
isAmino(o: any): o is QueryVotesByVoterRequestAmino {
|
|
2339
|
-
return o && (o.$typeUrl === QueryVotesByVoterRequest.typeUrl || typeof o.voter === "string");
|
|
2340
|
-
},
|
|
2341
|
-
encode(message: QueryVotesByVoterRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2342
|
-
if (message.voter !== "") {
|
|
2343
|
-
writer.uint32(10).string(message.voter);
|
|
2344
|
-
}
|
|
2345
|
-
if (message.pagination !== undefined) {
|
|
2346
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2347
|
-
}
|
|
2348
|
-
return writer;
|
|
2349
|
-
},
|
|
2350
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByVoterRequest {
|
|
2351
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2352
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2353
|
-
const message = createBaseQueryVotesByVoterRequest();
|
|
2354
|
-
while (reader.pos < end) {
|
|
2355
|
-
const tag = reader.uint32();
|
|
2356
|
-
switch (tag >>> 3) {
|
|
2357
|
-
case 1:
|
|
2358
|
-
message.voter = reader.string();
|
|
2359
|
-
break;
|
|
2360
|
-
case 2:
|
|
2361
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
2362
|
-
break;
|
|
2363
|
-
default:
|
|
2364
|
-
reader.skipType(tag & 7);
|
|
2365
|
-
break;
|
|
2366
|
-
}
|
|
2367
|
-
}
|
|
2368
|
-
return message;
|
|
2369
|
-
},
|
|
2370
|
-
fromPartial(object: DeepPartial<QueryVotesByVoterRequest>): QueryVotesByVoterRequest {
|
|
2371
|
-
const message = createBaseQueryVotesByVoterRequest();
|
|
2372
|
-
message.voter = object.voter ?? "";
|
|
2373
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
2374
|
-
return message;
|
|
2375
|
-
},
|
|
2376
|
-
fromAmino(object: QueryVotesByVoterRequestAmino): QueryVotesByVoterRequest {
|
|
2377
|
-
const message = createBaseQueryVotesByVoterRequest();
|
|
2378
|
-
if (object.voter !== undefined && object.voter !== null) {
|
|
2379
|
-
message.voter = object.voter;
|
|
2380
|
-
}
|
|
2381
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2382
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
2383
|
-
}
|
|
2384
|
-
return message;
|
|
2385
|
-
},
|
|
2386
|
-
toAmino(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAmino {
|
|
2387
|
-
const obj: any = {};
|
|
2388
|
-
obj.voter = message.voter === "" ? undefined : message.voter;
|
|
2389
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
2390
|
-
return obj;
|
|
2391
|
-
},
|
|
2392
|
-
fromAminoMsg(object: QueryVotesByVoterRequestAminoMsg): QueryVotesByVoterRequest {
|
|
2393
|
-
return QueryVotesByVoterRequest.fromAmino(object.value);
|
|
2394
|
-
},
|
|
2395
|
-
toAminoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAminoMsg {
|
|
2396
|
-
return {
|
|
2397
|
-
type: "cosmos-sdk/QueryVotesByVoterRequest",
|
|
2398
|
-
value: QueryVotesByVoterRequest.toAmino(message)
|
|
2399
|
-
};
|
|
2400
|
-
},
|
|
2401
|
-
fromProtoMsg(message: QueryVotesByVoterRequestProtoMsg): QueryVotesByVoterRequest {
|
|
2402
|
-
return QueryVotesByVoterRequest.decode(message.value);
|
|
2403
|
-
},
|
|
2404
|
-
toProto(message: QueryVotesByVoterRequest): Uint8Array {
|
|
2405
|
-
return QueryVotesByVoterRequest.encode(message).finish();
|
|
2406
|
-
},
|
|
2407
|
-
toProtoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestProtoMsg {
|
|
2408
|
-
return {
|
|
2409
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest",
|
|
2410
|
-
value: QueryVotesByVoterRequest.encode(message).finish()
|
|
2411
|
-
};
|
|
2412
|
-
}
|
|
2413
|
-
};
|
|
2414
|
-
GlobalDecoderRegistry.register(QueryVotesByVoterRequest.typeUrl, QueryVotesByVoterRequest);
|
|
2415
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVotesByVoterRequest.aminoType, QueryVotesByVoterRequest.typeUrl);
|
|
2416
|
-
function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse {
|
|
2417
|
-
return {
|
|
2418
|
-
votes: [],
|
|
2419
|
-
pagination: undefined
|
|
2420
|
-
};
|
|
2421
|
-
}
|
|
2422
|
-
export const QueryVotesByVoterResponse = {
|
|
2423
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse",
|
|
2424
|
-
aminoType: "cosmos-sdk/QueryVotesByVoterResponse",
|
|
2425
|
-
is(o: any): o is QueryVotesByVoterResponse {
|
|
2426
|
-
return o && (o.$typeUrl === QueryVotesByVoterResponse.typeUrl || Array.isArray(o.votes) && (!o.votes.length || Vote.is(o.votes[0])));
|
|
2427
|
-
},
|
|
2428
|
-
isAmino(o: any): o is QueryVotesByVoterResponseAmino {
|
|
2429
|
-
return o && (o.$typeUrl === QueryVotesByVoterResponse.typeUrl || Array.isArray(o.votes) && (!o.votes.length || Vote.isAmino(o.votes[0])));
|
|
2430
|
-
},
|
|
2431
|
-
encode(message: QueryVotesByVoterResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2432
|
-
for (const v of message.votes) {
|
|
2433
|
-
Vote.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
2434
|
-
}
|
|
2435
|
-
if (message.pagination !== undefined) {
|
|
2436
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2437
|
-
}
|
|
2438
|
-
return writer;
|
|
2439
|
-
},
|
|
2440
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByVoterResponse {
|
|
2441
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2442
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2443
|
-
const message = createBaseQueryVotesByVoterResponse();
|
|
2444
|
-
while (reader.pos < end) {
|
|
2445
|
-
const tag = reader.uint32();
|
|
2446
|
-
switch (tag >>> 3) {
|
|
2447
|
-
case 1:
|
|
2448
|
-
message.votes.push(Vote.decode(reader, reader.uint32()));
|
|
2449
|
-
break;
|
|
2450
|
-
case 2:
|
|
2451
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
2452
|
-
break;
|
|
2453
|
-
default:
|
|
2454
|
-
reader.skipType(tag & 7);
|
|
2455
|
-
break;
|
|
2456
|
-
}
|
|
2457
|
-
}
|
|
2458
|
-
return message;
|
|
2459
|
-
},
|
|
2460
|
-
fromPartial(object: DeepPartial<QueryVotesByVoterResponse>): QueryVotesByVoterResponse {
|
|
2461
|
-
const message = createBaseQueryVotesByVoterResponse();
|
|
2462
|
-
message.votes = object.votes?.map(e => Vote.fromPartial(e)) || [];
|
|
2463
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
2464
|
-
return message;
|
|
2465
|
-
},
|
|
2466
|
-
fromAmino(object: QueryVotesByVoterResponseAmino): QueryVotesByVoterResponse {
|
|
2467
|
-
const message = createBaseQueryVotesByVoterResponse();
|
|
2468
|
-
message.votes = object.votes?.map(e => Vote.fromAmino(e)) || [];
|
|
2469
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2470
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
2471
|
-
}
|
|
2472
|
-
return message;
|
|
2473
|
-
},
|
|
2474
|
-
toAmino(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAmino {
|
|
2475
|
-
const obj: any = {};
|
|
2476
|
-
if (message.votes) {
|
|
2477
|
-
obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined);
|
|
2478
|
-
} else {
|
|
2479
|
-
obj.votes = message.votes;
|
|
2480
|
-
}
|
|
2481
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
2482
|
-
return obj;
|
|
2483
|
-
},
|
|
2484
|
-
fromAminoMsg(object: QueryVotesByVoterResponseAminoMsg): QueryVotesByVoterResponse {
|
|
2485
|
-
return QueryVotesByVoterResponse.fromAmino(object.value);
|
|
2486
|
-
},
|
|
2487
|
-
toAminoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAminoMsg {
|
|
2488
|
-
return {
|
|
2489
|
-
type: "cosmos-sdk/QueryVotesByVoterResponse",
|
|
2490
|
-
value: QueryVotesByVoterResponse.toAmino(message)
|
|
2491
|
-
};
|
|
2492
|
-
},
|
|
2493
|
-
fromProtoMsg(message: QueryVotesByVoterResponseProtoMsg): QueryVotesByVoterResponse {
|
|
2494
|
-
return QueryVotesByVoterResponse.decode(message.value);
|
|
2495
|
-
},
|
|
2496
|
-
toProto(message: QueryVotesByVoterResponse): Uint8Array {
|
|
2497
|
-
return QueryVotesByVoterResponse.encode(message).finish();
|
|
2498
|
-
},
|
|
2499
|
-
toProtoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseProtoMsg {
|
|
2500
|
-
return {
|
|
2501
|
-
typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse",
|
|
2502
|
-
value: QueryVotesByVoterResponse.encode(message).finish()
|
|
2503
|
-
};
|
|
2504
|
-
}
|
|
2505
|
-
};
|
|
2506
|
-
GlobalDecoderRegistry.register(QueryVotesByVoterResponse.typeUrl, QueryVotesByVoterResponse);
|
|
2507
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryVotesByVoterResponse.aminoType, QueryVotesByVoterResponse.typeUrl);
|
|
2508
|
-
function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest {
|
|
2509
|
-
return {
|
|
2510
|
-
address: "",
|
|
2511
|
-
pagination: undefined
|
|
2512
|
-
};
|
|
2513
|
-
}
|
|
2514
|
-
export const QueryGroupsByMemberRequest = {
|
|
2515
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest",
|
|
2516
|
-
aminoType: "cosmos-sdk/QueryGroupsByMemberRequest",
|
|
2517
|
-
is(o: any): o is QueryGroupsByMemberRequest {
|
|
2518
|
-
return o && (o.$typeUrl === QueryGroupsByMemberRequest.typeUrl || typeof o.address === "string");
|
|
2519
|
-
},
|
|
2520
|
-
isAmino(o: any): o is QueryGroupsByMemberRequestAmino {
|
|
2521
|
-
return o && (o.$typeUrl === QueryGroupsByMemberRequest.typeUrl || typeof o.address === "string");
|
|
2522
|
-
},
|
|
2523
|
-
encode(message: QueryGroupsByMemberRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2524
|
-
if (message.address !== "") {
|
|
2525
|
-
writer.uint32(10).string(message.address);
|
|
2526
|
-
}
|
|
2527
|
-
if (message.pagination !== undefined) {
|
|
2528
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2529
|
-
}
|
|
2530
|
-
return writer;
|
|
2531
|
-
},
|
|
2532
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByMemberRequest {
|
|
2533
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2534
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2535
|
-
const message = createBaseQueryGroupsByMemberRequest();
|
|
2536
|
-
while (reader.pos < end) {
|
|
2537
|
-
const tag = reader.uint32();
|
|
2538
|
-
switch (tag >>> 3) {
|
|
2539
|
-
case 1:
|
|
2540
|
-
message.address = reader.string();
|
|
2541
|
-
break;
|
|
2542
|
-
case 2:
|
|
2543
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
2544
|
-
break;
|
|
2545
|
-
default:
|
|
2546
|
-
reader.skipType(tag & 7);
|
|
2547
|
-
break;
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
return message;
|
|
2551
|
-
},
|
|
2552
|
-
fromPartial(object: DeepPartial<QueryGroupsByMemberRequest>): QueryGroupsByMemberRequest {
|
|
2553
|
-
const message = createBaseQueryGroupsByMemberRequest();
|
|
2554
|
-
message.address = object.address ?? "";
|
|
2555
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
2556
|
-
return message;
|
|
2557
|
-
},
|
|
2558
|
-
fromAmino(object: QueryGroupsByMemberRequestAmino): QueryGroupsByMemberRequest {
|
|
2559
|
-
const message = createBaseQueryGroupsByMemberRequest();
|
|
2560
|
-
if (object.address !== undefined && object.address !== null) {
|
|
2561
|
-
message.address = object.address;
|
|
2562
|
-
}
|
|
2563
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2564
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
2565
|
-
}
|
|
2566
|
-
return message;
|
|
2567
|
-
},
|
|
2568
|
-
toAmino(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAmino {
|
|
2569
|
-
const obj: any = {};
|
|
2570
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
2571
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
2572
|
-
return obj;
|
|
2573
|
-
},
|
|
2574
|
-
fromAminoMsg(object: QueryGroupsByMemberRequestAminoMsg): QueryGroupsByMemberRequest {
|
|
2575
|
-
return QueryGroupsByMemberRequest.fromAmino(object.value);
|
|
2576
|
-
},
|
|
2577
|
-
toAminoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAminoMsg {
|
|
2578
|
-
return {
|
|
2579
|
-
type: "cosmos-sdk/QueryGroupsByMemberRequest",
|
|
2580
|
-
value: QueryGroupsByMemberRequest.toAmino(message)
|
|
2581
|
-
};
|
|
2582
|
-
},
|
|
2583
|
-
fromProtoMsg(message: QueryGroupsByMemberRequestProtoMsg): QueryGroupsByMemberRequest {
|
|
2584
|
-
return QueryGroupsByMemberRequest.decode(message.value);
|
|
2585
|
-
},
|
|
2586
|
-
toProto(message: QueryGroupsByMemberRequest): Uint8Array {
|
|
2587
|
-
return QueryGroupsByMemberRequest.encode(message).finish();
|
|
2588
|
-
},
|
|
2589
|
-
toProtoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestProtoMsg {
|
|
2590
|
-
return {
|
|
2591
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest",
|
|
2592
|
-
value: QueryGroupsByMemberRequest.encode(message).finish()
|
|
2593
|
-
};
|
|
2594
|
-
}
|
|
2595
|
-
};
|
|
2596
|
-
GlobalDecoderRegistry.register(QueryGroupsByMemberRequest.typeUrl, QueryGroupsByMemberRequest);
|
|
2597
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupsByMemberRequest.aminoType, QueryGroupsByMemberRequest.typeUrl);
|
|
2598
|
-
function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse {
|
|
2599
|
-
return {
|
|
2600
|
-
groups: [],
|
|
2601
|
-
pagination: undefined
|
|
2602
|
-
};
|
|
2603
|
-
}
|
|
2604
|
-
export const QueryGroupsByMemberResponse = {
|
|
2605
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse",
|
|
2606
|
-
aminoType: "cosmos-sdk/QueryGroupsByMemberResponse",
|
|
2607
|
-
is(o: any): o is QueryGroupsByMemberResponse {
|
|
2608
|
-
return o && (o.$typeUrl === QueryGroupsByMemberResponse.typeUrl || Array.isArray(o.groups) && (!o.groups.length || GroupInfo.is(o.groups[0])));
|
|
2609
|
-
},
|
|
2610
|
-
isAmino(o: any): o is QueryGroupsByMemberResponseAmino {
|
|
2611
|
-
return o && (o.$typeUrl === QueryGroupsByMemberResponse.typeUrl || Array.isArray(o.groups) && (!o.groups.length || GroupInfo.isAmino(o.groups[0])));
|
|
2612
|
-
},
|
|
2613
|
-
encode(message: QueryGroupsByMemberResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2614
|
-
for (const v of message.groups) {
|
|
2615
|
-
GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
2616
|
-
}
|
|
2617
|
-
if (message.pagination !== undefined) {
|
|
2618
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2619
|
-
}
|
|
2620
|
-
return writer;
|
|
2621
|
-
},
|
|
2622
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByMemberResponse {
|
|
2623
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2624
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2625
|
-
const message = createBaseQueryGroupsByMemberResponse();
|
|
2626
|
-
while (reader.pos < end) {
|
|
2627
|
-
const tag = reader.uint32();
|
|
2628
|
-
switch (tag >>> 3) {
|
|
2629
|
-
case 1:
|
|
2630
|
-
message.groups.push(GroupInfo.decode(reader, reader.uint32()));
|
|
2631
|
-
break;
|
|
2632
|
-
case 2:
|
|
2633
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
2634
|
-
break;
|
|
2635
|
-
default:
|
|
2636
|
-
reader.skipType(tag & 7);
|
|
2637
|
-
break;
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2640
|
-
return message;
|
|
2641
|
-
},
|
|
2642
|
-
fromPartial(object: DeepPartial<QueryGroupsByMemberResponse>): QueryGroupsByMemberResponse {
|
|
2643
|
-
const message = createBaseQueryGroupsByMemberResponse();
|
|
2644
|
-
message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || [];
|
|
2645
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
2646
|
-
return message;
|
|
2647
|
-
},
|
|
2648
|
-
fromAmino(object: QueryGroupsByMemberResponseAmino): QueryGroupsByMemberResponse {
|
|
2649
|
-
const message = createBaseQueryGroupsByMemberResponse();
|
|
2650
|
-
message.groups = object.groups?.map(e => GroupInfo.fromAmino(e)) || [];
|
|
2651
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2652
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
2653
|
-
}
|
|
2654
|
-
return message;
|
|
2655
|
-
},
|
|
2656
|
-
toAmino(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAmino {
|
|
2657
|
-
const obj: any = {};
|
|
2658
|
-
if (message.groups) {
|
|
2659
|
-
obj.groups = message.groups.map(e => e ? GroupInfo.toAmino(e) : undefined);
|
|
2660
|
-
} else {
|
|
2661
|
-
obj.groups = message.groups;
|
|
2662
|
-
}
|
|
2663
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
2664
|
-
return obj;
|
|
2665
|
-
},
|
|
2666
|
-
fromAminoMsg(object: QueryGroupsByMemberResponseAminoMsg): QueryGroupsByMemberResponse {
|
|
2667
|
-
return QueryGroupsByMemberResponse.fromAmino(object.value);
|
|
2668
|
-
},
|
|
2669
|
-
toAminoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAminoMsg {
|
|
2670
|
-
return {
|
|
2671
|
-
type: "cosmos-sdk/QueryGroupsByMemberResponse",
|
|
2672
|
-
value: QueryGroupsByMemberResponse.toAmino(message)
|
|
2673
|
-
};
|
|
2674
|
-
},
|
|
2675
|
-
fromProtoMsg(message: QueryGroupsByMemberResponseProtoMsg): QueryGroupsByMemberResponse {
|
|
2676
|
-
return QueryGroupsByMemberResponse.decode(message.value);
|
|
2677
|
-
},
|
|
2678
|
-
toProto(message: QueryGroupsByMemberResponse): Uint8Array {
|
|
2679
|
-
return QueryGroupsByMemberResponse.encode(message).finish();
|
|
2680
|
-
},
|
|
2681
|
-
toProtoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseProtoMsg {
|
|
2682
|
-
return {
|
|
2683
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse",
|
|
2684
|
-
value: QueryGroupsByMemberResponse.encode(message).finish()
|
|
2685
|
-
};
|
|
2686
|
-
}
|
|
2687
|
-
};
|
|
2688
|
-
GlobalDecoderRegistry.register(QueryGroupsByMemberResponse.typeUrl, QueryGroupsByMemberResponse);
|
|
2689
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupsByMemberResponse.aminoType, QueryGroupsByMemberResponse.typeUrl);
|
|
2690
|
-
function createBaseQueryTallyResultRequest(): QueryTallyResultRequest {
|
|
2691
|
-
return {
|
|
2692
|
-
proposalId: BigInt(0)
|
|
2693
|
-
};
|
|
2694
|
-
}
|
|
2695
|
-
export const QueryTallyResultRequest = {
|
|
2696
|
-
typeUrl: "/cosmos.group.v1.QueryTallyResultRequest",
|
|
2697
|
-
aminoType: "cosmos-sdk/QueryTallyResultRequest",
|
|
2698
|
-
is(o: any): o is QueryTallyResultRequest {
|
|
2699
|
-
return o && (o.$typeUrl === QueryTallyResultRequest.typeUrl || typeof o.proposalId === "bigint");
|
|
2700
|
-
},
|
|
2701
|
-
isAmino(o: any): o is QueryTallyResultRequestAmino {
|
|
2702
|
-
return o && (o.$typeUrl === QueryTallyResultRequest.typeUrl || typeof o.proposal_id === "bigint");
|
|
2703
|
-
},
|
|
2704
|
-
encode(message: QueryTallyResultRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2705
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2706
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2707
|
-
}
|
|
2708
|
-
return writer;
|
|
2709
|
-
},
|
|
2710
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest {
|
|
2711
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2712
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2713
|
-
const message = createBaseQueryTallyResultRequest();
|
|
2714
|
-
while (reader.pos < end) {
|
|
2715
|
-
const tag = reader.uint32();
|
|
2716
|
-
switch (tag >>> 3) {
|
|
2717
|
-
case 1:
|
|
2718
|
-
message.proposalId = reader.uint64();
|
|
2719
|
-
break;
|
|
2720
|
-
default:
|
|
2721
|
-
reader.skipType(tag & 7);
|
|
2722
|
-
break;
|
|
2723
|
-
}
|
|
2724
|
-
}
|
|
2725
|
-
return message;
|
|
2726
|
-
},
|
|
2727
|
-
fromPartial(object: DeepPartial<QueryTallyResultRequest>): QueryTallyResultRequest {
|
|
2728
|
-
const message = createBaseQueryTallyResultRequest();
|
|
2729
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2730
|
-
return message;
|
|
2731
|
-
},
|
|
2732
|
-
fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest {
|
|
2733
|
-
const message = createBaseQueryTallyResultRequest();
|
|
2734
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2735
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2736
|
-
}
|
|
2737
|
-
return message;
|
|
2738
|
-
},
|
|
2739
|
-
toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino {
|
|
2740
|
-
const obj: any = {};
|
|
2741
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2742
|
-
return obj;
|
|
2743
|
-
},
|
|
2744
|
-
fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest {
|
|
2745
|
-
return QueryTallyResultRequest.fromAmino(object.value);
|
|
2746
|
-
},
|
|
2747
|
-
toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg {
|
|
2748
|
-
return {
|
|
2749
|
-
type: "cosmos-sdk/QueryTallyResultRequest",
|
|
2750
|
-
value: QueryTallyResultRequest.toAmino(message)
|
|
2751
|
-
};
|
|
2752
|
-
},
|
|
2753
|
-
fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest {
|
|
2754
|
-
return QueryTallyResultRequest.decode(message.value);
|
|
2755
|
-
},
|
|
2756
|
-
toProto(message: QueryTallyResultRequest): Uint8Array {
|
|
2757
|
-
return QueryTallyResultRequest.encode(message).finish();
|
|
2758
|
-
},
|
|
2759
|
-
toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg {
|
|
2760
|
-
return {
|
|
2761
|
-
typeUrl: "/cosmos.group.v1.QueryTallyResultRequest",
|
|
2762
|
-
value: QueryTallyResultRequest.encode(message).finish()
|
|
2763
|
-
};
|
|
2764
|
-
}
|
|
2765
|
-
};
|
|
2766
|
-
GlobalDecoderRegistry.register(QueryTallyResultRequest.typeUrl, QueryTallyResultRequest);
|
|
2767
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryTallyResultRequest.aminoType, QueryTallyResultRequest.typeUrl);
|
|
2768
|
-
function createBaseQueryTallyResultResponse(): QueryTallyResultResponse {
|
|
2769
|
-
return {
|
|
2770
|
-
tally: TallyResult.fromPartial({})
|
|
2771
|
-
};
|
|
2772
|
-
}
|
|
2773
|
-
export const QueryTallyResultResponse = {
|
|
2774
|
-
typeUrl: "/cosmos.group.v1.QueryTallyResultResponse",
|
|
2775
|
-
aminoType: "cosmos-sdk/QueryTallyResultResponse",
|
|
2776
|
-
is(o: any): o is QueryTallyResultResponse {
|
|
2777
|
-
return o && (o.$typeUrl === QueryTallyResultResponse.typeUrl || TallyResult.is(o.tally));
|
|
2778
|
-
},
|
|
2779
|
-
isAmino(o: any): o is QueryTallyResultResponseAmino {
|
|
2780
|
-
return o && (o.$typeUrl === QueryTallyResultResponse.typeUrl || TallyResult.isAmino(o.tally));
|
|
2781
|
-
},
|
|
2782
|
-
encode(message: QueryTallyResultResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2783
|
-
if (message.tally !== undefined) {
|
|
2784
|
-
TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim();
|
|
2785
|
-
}
|
|
2786
|
-
return writer;
|
|
2787
|
-
},
|
|
2788
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse {
|
|
2789
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2790
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2791
|
-
const message = createBaseQueryTallyResultResponse();
|
|
2792
|
-
while (reader.pos < end) {
|
|
2793
|
-
const tag = reader.uint32();
|
|
2794
|
-
switch (tag >>> 3) {
|
|
2795
|
-
case 1:
|
|
2796
|
-
message.tally = TallyResult.decode(reader, reader.uint32());
|
|
2797
|
-
break;
|
|
2798
|
-
default:
|
|
2799
|
-
reader.skipType(tag & 7);
|
|
2800
|
-
break;
|
|
2801
|
-
}
|
|
2802
|
-
}
|
|
2803
|
-
return message;
|
|
2804
|
-
},
|
|
2805
|
-
fromPartial(object: DeepPartial<QueryTallyResultResponse>): QueryTallyResultResponse {
|
|
2806
|
-
const message = createBaseQueryTallyResultResponse();
|
|
2807
|
-
message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined;
|
|
2808
|
-
return message;
|
|
2809
|
-
},
|
|
2810
|
-
fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse {
|
|
2811
|
-
const message = createBaseQueryTallyResultResponse();
|
|
2812
|
-
if (object.tally !== undefined && object.tally !== null) {
|
|
2813
|
-
message.tally = TallyResult.fromAmino(object.tally);
|
|
2814
|
-
}
|
|
2815
|
-
return message;
|
|
2816
|
-
},
|
|
2817
|
-
toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino {
|
|
2818
|
-
const obj: any = {};
|
|
2819
|
-
obj.tally = message.tally ? TallyResult.toAmino(message.tally) : TallyResult.toAmino(TallyResult.fromPartial({}));
|
|
2820
|
-
return obj;
|
|
2821
|
-
},
|
|
2822
|
-
fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse {
|
|
2823
|
-
return QueryTallyResultResponse.fromAmino(object.value);
|
|
2824
|
-
},
|
|
2825
|
-
toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg {
|
|
2826
|
-
return {
|
|
2827
|
-
type: "cosmos-sdk/QueryTallyResultResponse",
|
|
2828
|
-
value: QueryTallyResultResponse.toAmino(message)
|
|
2829
|
-
};
|
|
2830
|
-
},
|
|
2831
|
-
fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse {
|
|
2832
|
-
return QueryTallyResultResponse.decode(message.value);
|
|
2833
|
-
},
|
|
2834
|
-
toProto(message: QueryTallyResultResponse): Uint8Array {
|
|
2835
|
-
return QueryTallyResultResponse.encode(message).finish();
|
|
2836
|
-
},
|
|
2837
|
-
toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg {
|
|
2838
|
-
return {
|
|
2839
|
-
typeUrl: "/cosmos.group.v1.QueryTallyResultResponse",
|
|
2840
|
-
value: QueryTallyResultResponse.encode(message).finish()
|
|
2841
|
-
};
|
|
2842
|
-
}
|
|
2843
|
-
};
|
|
2844
|
-
GlobalDecoderRegistry.register(QueryTallyResultResponse.typeUrl, QueryTallyResultResponse);
|
|
2845
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryTallyResultResponse.aminoType, QueryTallyResultResponse.typeUrl);
|
|
2846
|
-
function createBaseQueryGroupsRequest(): QueryGroupsRequest {
|
|
2847
|
-
return {
|
|
2848
|
-
pagination: undefined
|
|
2849
|
-
};
|
|
2850
|
-
}
|
|
2851
|
-
export const QueryGroupsRequest = {
|
|
2852
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsRequest",
|
|
2853
|
-
aminoType: "cosmos-sdk/QueryGroupsRequest",
|
|
2854
|
-
is(o: any): o is QueryGroupsRequest {
|
|
2855
|
-
return o && o.$typeUrl === QueryGroupsRequest.typeUrl;
|
|
2856
|
-
},
|
|
2857
|
-
isAmino(o: any): o is QueryGroupsRequestAmino {
|
|
2858
|
-
return o && o.$typeUrl === QueryGroupsRequest.typeUrl;
|
|
2859
|
-
},
|
|
2860
|
-
encode(message: QueryGroupsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2861
|
-
if (message.pagination !== undefined) {
|
|
2862
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2863
|
-
}
|
|
2864
|
-
return writer;
|
|
2865
|
-
},
|
|
2866
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsRequest {
|
|
2867
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2868
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2869
|
-
const message = createBaseQueryGroupsRequest();
|
|
2870
|
-
while (reader.pos < end) {
|
|
2871
|
-
const tag = reader.uint32();
|
|
2872
|
-
switch (tag >>> 3) {
|
|
2873
|
-
case 2:
|
|
2874
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
2875
|
-
break;
|
|
2876
|
-
default:
|
|
2877
|
-
reader.skipType(tag & 7);
|
|
2878
|
-
break;
|
|
2879
|
-
}
|
|
2880
|
-
}
|
|
2881
|
-
return message;
|
|
2882
|
-
},
|
|
2883
|
-
fromPartial(object: DeepPartial<QueryGroupsRequest>): QueryGroupsRequest {
|
|
2884
|
-
const message = createBaseQueryGroupsRequest();
|
|
2885
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
2886
|
-
return message;
|
|
2887
|
-
},
|
|
2888
|
-
fromAmino(object: QueryGroupsRequestAmino): QueryGroupsRequest {
|
|
2889
|
-
const message = createBaseQueryGroupsRequest();
|
|
2890
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2891
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
2892
|
-
}
|
|
2893
|
-
return message;
|
|
2894
|
-
},
|
|
2895
|
-
toAmino(message: QueryGroupsRequest): QueryGroupsRequestAmino {
|
|
2896
|
-
const obj: any = {};
|
|
2897
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
2898
|
-
return obj;
|
|
2899
|
-
},
|
|
2900
|
-
fromAminoMsg(object: QueryGroupsRequestAminoMsg): QueryGroupsRequest {
|
|
2901
|
-
return QueryGroupsRequest.fromAmino(object.value);
|
|
2902
|
-
},
|
|
2903
|
-
toAminoMsg(message: QueryGroupsRequest): QueryGroupsRequestAminoMsg {
|
|
2904
|
-
return {
|
|
2905
|
-
type: "cosmos-sdk/QueryGroupsRequest",
|
|
2906
|
-
value: QueryGroupsRequest.toAmino(message)
|
|
2907
|
-
};
|
|
2908
|
-
},
|
|
2909
|
-
fromProtoMsg(message: QueryGroupsRequestProtoMsg): QueryGroupsRequest {
|
|
2910
|
-
return QueryGroupsRequest.decode(message.value);
|
|
2911
|
-
},
|
|
2912
|
-
toProto(message: QueryGroupsRequest): Uint8Array {
|
|
2913
|
-
return QueryGroupsRequest.encode(message).finish();
|
|
2914
|
-
},
|
|
2915
|
-
toProtoMsg(message: QueryGroupsRequest): QueryGroupsRequestProtoMsg {
|
|
2916
|
-
return {
|
|
2917
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsRequest",
|
|
2918
|
-
value: QueryGroupsRequest.encode(message).finish()
|
|
2919
|
-
};
|
|
2920
|
-
}
|
|
2921
|
-
};
|
|
2922
|
-
GlobalDecoderRegistry.register(QueryGroupsRequest.typeUrl, QueryGroupsRequest);
|
|
2923
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupsRequest.aminoType, QueryGroupsRequest.typeUrl);
|
|
2924
|
-
function createBaseQueryGroupsResponse(): QueryGroupsResponse {
|
|
2925
|
-
return {
|
|
2926
|
-
groups: [],
|
|
2927
|
-
pagination: undefined
|
|
2928
|
-
};
|
|
2929
|
-
}
|
|
2930
|
-
export const QueryGroupsResponse = {
|
|
2931
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsResponse",
|
|
2932
|
-
aminoType: "cosmos-sdk/QueryGroupsResponse",
|
|
2933
|
-
is(o: any): o is QueryGroupsResponse {
|
|
2934
|
-
return o && (o.$typeUrl === QueryGroupsResponse.typeUrl || Array.isArray(o.groups) && (!o.groups.length || GroupInfo.is(o.groups[0])));
|
|
2935
|
-
},
|
|
2936
|
-
isAmino(o: any): o is QueryGroupsResponseAmino {
|
|
2937
|
-
return o && (o.$typeUrl === QueryGroupsResponse.typeUrl || Array.isArray(o.groups) && (!o.groups.length || GroupInfo.isAmino(o.groups[0])));
|
|
2938
|
-
},
|
|
2939
|
-
encode(message: QueryGroupsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2940
|
-
for (const v of message.groups) {
|
|
2941
|
-
GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
2942
|
-
}
|
|
2943
|
-
if (message.pagination !== undefined) {
|
|
2944
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
2945
|
-
}
|
|
2946
|
-
return writer;
|
|
2947
|
-
},
|
|
2948
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsResponse {
|
|
2949
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2950
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2951
|
-
const message = createBaseQueryGroupsResponse();
|
|
2952
|
-
while (reader.pos < end) {
|
|
2953
|
-
const tag = reader.uint32();
|
|
2954
|
-
switch (tag >>> 3) {
|
|
2955
|
-
case 1:
|
|
2956
|
-
message.groups.push(GroupInfo.decode(reader, reader.uint32()));
|
|
2957
|
-
break;
|
|
2958
|
-
case 2:
|
|
2959
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
2960
|
-
break;
|
|
2961
|
-
default:
|
|
2962
|
-
reader.skipType(tag & 7);
|
|
2963
|
-
break;
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
return message;
|
|
2967
|
-
},
|
|
2968
|
-
fromPartial(object: DeepPartial<QueryGroupsResponse>): QueryGroupsResponse {
|
|
2969
|
-
const message = createBaseQueryGroupsResponse();
|
|
2970
|
-
message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || [];
|
|
2971
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
2972
|
-
return message;
|
|
2973
|
-
},
|
|
2974
|
-
fromAmino(object: QueryGroupsResponseAmino): QueryGroupsResponse {
|
|
2975
|
-
const message = createBaseQueryGroupsResponse();
|
|
2976
|
-
message.groups = object.groups?.map(e => GroupInfo.fromAmino(e)) || [];
|
|
2977
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
2978
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
2979
|
-
}
|
|
2980
|
-
return message;
|
|
2981
|
-
},
|
|
2982
|
-
toAmino(message: QueryGroupsResponse): QueryGroupsResponseAmino {
|
|
2983
|
-
const obj: any = {};
|
|
2984
|
-
if (message.groups) {
|
|
2985
|
-
obj.groups = message.groups.map(e => e ? GroupInfo.toAmino(e) : undefined);
|
|
2986
|
-
} else {
|
|
2987
|
-
obj.groups = message.groups;
|
|
2988
|
-
}
|
|
2989
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
2990
|
-
return obj;
|
|
2991
|
-
},
|
|
2992
|
-
fromAminoMsg(object: QueryGroupsResponseAminoMsg): QueryGroupsResponse {
|
|
2993
|
-
return QueryGroupsResponse.fromAmino(object.value);
|
|
2994
|
-
},
|
|
2995
|
-
toAminoMsg(message: QueryGroupsResponse): QueryGroupsResponseAminoMsg {
|
|
2996
|
-
return {
|
|
2997
|
-
type: "cosmos-sdk/QueryGroupsResponse",
|
|
2998
|
-
value: QueryGroupsResponse.toAmino(message)
|
|
2999
|
-
};
|
|
3000
|
-
},
|
|
3001
|
-
fromProtoMsg(message: QueryGroupsResponseProtoMsg): QueryGroupsResponse {
|
|
3002
|
-
return QueryGroupsResponse.decode(message.value);
|
|
3003
|
-
},
|
|
3004
|
-
toProto(message: QueryGroupsResponse): Uint8Array {
|
|
3005
|
-
return QueryGroupsResponse.encode(message).finish();
|
|
3006
|
-
},
|
|
3007
|
-
toProtoMsg(message: QueryGroupsResponse): QueryGroupsResponseProtoMsg {
|
|
3008
|
-
return {
|
|
3009
|
-
typeUrl: "/cosmos.group.v1.QueryGroupsResponse",
|
|
3010
|
-
value: QueryGroupsResponse.encode(message).finish()
|
|
3011
|
-
};
|
|
3012
|
-
}
|
|
3013
|
-
};
|
|
3014
|
-
GlobalDecoderRegistry.register(QueryGroupsResponse.typeUrl, QueryGroupsResponse);
|
|
3015
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryGroupsResponse.aminoType, QueryGroupsResponse.typeUrl);
|