@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,2302 +0,0 @@
|
|
|
1
|
-
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../query/v1beta1/pagination";
|
|
2
|
-
import { Any, AnyAmino } from "../../../../google/protobuf/any";
|
|
3
|
-
import { BlockID, BlockIDAmino } from "../../../../tendermint/types/types";
|
|
4
|
-
import { Block as Block1 } from "../../../../tendermint/types/block";
|
|
5
|
-
import { BlockAmino as Block1Amino } from "../../../../tendermint/types/block";
|
|
6
|
-
import { Block as Block2 } from "./types";
|
|
7
|
-
import { BlockAmino as Block2Amino } from "./types";
|
|
8
|
-
import { DefaultNodeInfo, DefaultNodeInfoAmino } from "../../../../tendermint/p2p/types";
|
|
9
|
-
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
10
|
-
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
11
|
-
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
12
|
-
/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
|
|
13
|
-
export interface GetValidatorSetByHeightRequest {
|
|
14
|
-
height: bigint;
|
|
15
|
-
/** pagination defines an pagination for the request. */
|
|
16
|
-
pagination?: PageRequest;
|
|
17
|
-
}
|
|
18
|
-
export interface GetValidatorSetByHeightRequestProtoMsg {
|
|
19
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest";
|
|
20
|
-
value: Uint8Array;
|
|
21
|
-
}
|
|
22
|
-
/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
|
|
23
|
-
export interface GetValidatorSetByHeightRequestAmino {
|
|
24
|
-
height: string;
|
|
25
|
-
/** pagination defines an pagination for the request. */
|
|
26
|
-
pagination?: PageRequestAmino;
|
|
27
|
-
}
|
|
28
|
-
export interface GetValidatorSetByHeightRequestAminoMsg {
|
|
29
|
-
type: "cosmos-sdk/GetValidatorSetByHeightRequest";
|
|
30
|
-
value: GetValidatorSetByHeightRequestAmino;
|
|
31
|
-
}
|
|
32
|
-
/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
|
|
33
|
-
export interface GetValidatorSetByHeightResponse {
|
|
34
|
-
blockHeight: bigint;
|
|
35
|
-
validators: Validator[];
|
|
36
|
-
/** pagination defines an pagination for the response. */
|
|
37
|
-
pagination?: PageResponse;
|
|
38
|
-
}
|
|
39
|
-
export interface GetValidatorSetByHeightResponseProtoMsg {
|
|
40
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse";
|
|
41
|
-
value: Uint8Array;
|
|
42
|
-
}
|
|
43
|
-
/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
|
|
44
|
-
export interface GetValidatorSetByHeightResponseAmino {
|
|
45
|
-
block_height: string;
|
|
46
|
-
validators: ValidatorAmino[];
|
|
47
|
-
/** pagination defines an pagination for the response. */
|
|
48
|
-
pagination?: PageResponseAmino;
|
|
49
|
-
}
|
|
50
|
-
export interface GetValidatorSetByHeightResponseAminoMsg {
|
|
51
|
-
type: "cosmos-sdk/GetValidatorSetByHeightResponse";
|
|
52
|
-
value: GetValidatorSetByHeightResponseAmino;
|
|
53
|
-
}
|
|
54
|
-
/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
|
|
55
|
-
export interface GetLatestValidatorSetRequest {
|
|
56
|
-
/** pagination defines an pagination for the request. */
|
|
57
|
-
pagination?: PageRequest;
|
|
58
|
-
}
|
|
59
|
-
export interface GetLatestValidatorSetRequestProtoMsg {
|
|
60
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest";
|
|
61
|
-
value: Uint8Array;
|
|
62
|
-
}
|
|
63
|
-
/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
|
|
64
|
-
export interface GetLatestValidatorSetRequestAmino {
|
|
65
|
-
/** pagination defines an pagination for the request. */
|
|
66
|
-
pagination?: PageRequestAmino;
|
|
67
|
-
}
|
|
68
|
-
export interface GetLatestValidatorSetRequestAminoMsg {
|
|
69
|
-
type: "cosmos-sdk/GetLatestValidatorSetRequest";
|
|
70
|
-
value: GetLatestValidatorSetRequestAmino;
|
|
71
|
-
}
|
|
72
|
-
/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
|
|
73
|
-
export interface GetLatestValidatorSetResponse {
|
|
74
|
-
blockHeight: bigint;
|
|
75
|
-
validators: Validator[];
|
|
76
|
-
/** pagination defines an pagination for the response. */
|
|
77
|
-
pagination?: PageResponse;
|
|
78
|
-
}
|
|
79
|
-
export interface GetLatestValidatorSetResponseProtoMsg {
|
|
80
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse";
|
|
81
|
-
value: Uint8Array;
|
|
82
|
-
}
|
|
83
|
-
/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
|
|
84
|
-
export interface GetLatestValidatorSetResponseAmino {
|
|
85
|
-
block_height: string;
|
|
86
|
-
validators: ValidatorAmino[];
|
|
87
|
-
/** pagination defines an pagination for the response. */
|
|
88
|
-
pagination?: PageResponseAmino;
|
|
89
|
-
}
|
|
90
|
-
export interface GetLatestValidatorSetResponseAminoMsg {
|
|
91
|
-
type: "cosmos-sdk/GetLatestValidatorSetResponse";
|
|
92
|
-
value: GetLatestValidatorSetResponseAmino;
|
|
93
|
-
}
|
|
94
|
-
/** Validator is the type for the validator-set. */
|
|
95
|
-
export interface Validator {
|
|
96
|
-
address: string;
|
|
97
|
-
pubKey?: Any;
|
|
98
|
-
votingPower: bigint;
|
|
99
|
-
proposerPriority: bigint;
|
|
100
|
-
}
|
|
101
|
-
export interface ValidatorProtoMsg {
|
|
102
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.Validator";
|
|
103
|
-
value: Uint8Array;
|
|
104
|
-
}
|
|
105
|
-
/** Validator is the type for the validator-set. */
|
|
106
|
-
export interface ValidatorAmino {
|
|
107
|
-
address: string;
|
|
108
|
-
pub_key?: AnyAmino;
|
|
109
|
-
voting_power: string;
|
|
110
|
-
proposer_priority: string;
|
|
111
|
-
}
|
|
112
|
-
export interface ValidatorAminoMsg {
|
|
113
|
-
type: "cosmos-sdk/Validator";
|
|
114
|
-
value: ValidatorAmino;
|
|
115
|
-
}
|
|
116
|
-
/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
|
|
117
|
-
export interface GetBlockByHeightRequest {
|
|
118
|
-
height: bigint;
|
|
119
|
-
}
|
|
120
|
-
export interface GetBlockByHeightRequestProtoMsg {
|
|
121
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest";
|
|
122
|
-
value: Uint8Array;
|
|
123
|
-
}
|
|
124
|
-
/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
|
|
125
|
-
export interface GetBlockByHeightRequestAmino {
|
|
126
|
-
height: string;
|
|
127
|
-
}
|
|
128
|
-
export interface GetBlockByHeightRequestAminoMsg {
|
|
129
|
-
type: "cosmos-sdk/GetBlockByHeightRequest";
|
|
130
|
-
value: GetBlockByHeightRequestAmino;
|
|
131
|
-
}
|
|
132
|
-
/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
|
|
133
|
-
export interface GetBlockByHeightResponse {
|
|
134
|
-
blockId?: BlockID;
|
|
135
|
-
/** Deprecated: please use `sdk_block` instead */
|
|
136
|
-
block?: Block1;
|
|
137
|
-
/** Since: cosmos-sdk 0.47 */
|
|
138
|
-
sdkBlock?: Block2;
|
|
139
|
-
}
|
|
140
|
-
export interface GetBlockByHeightResponseProtoMsg {
|
|
141
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse";
|
|
142
|
-
value: Uint8Array;
|
|
143
|
-
}
|
|
144
|
-
/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
|
|
145
|
-
export interface GetBlockByHeightResponseAmino {
|
|
146
|
-
block_id?: BlockIDAmino;
|
|
147
|
-
/** Deprecated: please use `sdk_block` instead */
|
|
148
|
-
block?: Block1Amino;
|
|
149
|
-
/** Since: cosmos-sdk 0.47 */
|
|
150
|
-
sdk_block?: Block2Amino;
|
|
151
|
-
}
|
|
152
|
-
export interface GetBlockByHeightResponseAminoMsg {
|
|
153
|
-
type: "cosmos-sdk/GetBlockByHeightResponse";
|
|
154
|
-
value: GetBlockByHeightResponseAmino;
|
|
155
|
-
}
|
|
156
|
-
/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
|
|
157
|
-
export interface GetLatestBlockRequest {}
|
|
158
|
-
export interface GetLatestBlockRequestProtoMsg {
|
|
159
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest";
|
|
160
|
-
value: Uint8Array;
|
|
161
|
-
}
|
|
162
|
-
/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
|
|
163
|
-
export interface GetLatestBlockRequestAmino {}
|
|
164
|
-
export interface GetLatestBlockRequestAminoMsg {
|
|
165
|
-
type: "cosmos-sdk/GetLatestBlockRequest";
|
|
166
|
-
value: GetLatestBlockRequestAmino;
|
|
167
|
-
}
|
|
168
|
-
/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
|
|
169
|
-
export interface GetLatestBlockResponse {
|
|
170
|
-
blockId?: BlockID;
|
|
171
|
-
/** Deprecated: please use `sdk_block` instead */
|
|
172
|
-
block?: Block1;
|
|
173
|
-
/** Since: cosmos-sdk 0.47 */
|
|
174
|
-
sdkBlock?: Block2;
|
|
175
|
-
}
|
|
176
|
-
export interface GetLatestBlockResponseProtoMsg {
|
|
177
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse";
|
|
178
|
-
value: Uint8Array;
|
|
179
|
-
}
|
|
180
|
-
/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
|
|
181
|
-
export interface GetLatestBlockResponseAmino {
|
|
182
|
-
block_id?: BlockIDAmino;
|
|
183
|
-
/** Deprecated: please use `sdk_block` instead */
|
|
184
|
-
block?: Block1Amino;
|
|
185
|
-
/** Since: cosmos-sdk 0.47 */
|
|
186
|
-
sdk_block?: Block2Amino;
|
|
187
|
-
}
|
|
188
|
-
export interface GetLatestBlockResponseAminoMsg {
|
|
189
|
-
type: "cosmos-sdk/GetLatestBlockResponse";
|
|
190
|
-
value: GetLatestBlockResponseAmino;
|
|
191
|
-
}
|
|
192
|
-
/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */
|
|
193
|
-
export interface GetSyncingRequest {}
|
|
194
|
-
export interface GetSyncingRequestProtoMsg {
|
|
195
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest";
|
|
196
|
-
value: Uint8Array;
|
|
197
|
-
}
|
|
198
|
-
/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */
|
|
199
|
-
export interface GetSyncingRequestAmino {}
|
|
200
|
-
export interface GetSyncingRequestAminoMsg {
|
|
201
|
-
type: "cosmos-sdk/GetSyncingRequest";
|
|
202
|
-
value: GetSyncingRequestAmino;
|
|
203
|
-
}
|
|
204
|
-
/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */
|
|
205
|
-
export interface GetSyncingResponse {
|
|
206
|
-
syncing: boolean;
|
|
207
|
-
}
|
|
208
|
-
export interface GetSyncingResponseProtoMsg {
|
|
209
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse";
|
|
210
|
-
value: Uint8Array;
|
|
211
|
-
}
|
|
212
|
-
/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */
|
|
213
|
-
export interface GetSyncingResponseAmino {
|
|
214
|
-
syncing: boolean;
|
|
215
|
-
}
|
|
216
|
-
export interface GetSyncingResponseAminoMsg {
|
|
217
|
-
type: "cosmos-sdk/GetSyncingResponse";
|
|
218
|
-
value: GetSyncingResponseAmino;
|
|
219
|
-
}
|
|
220
|
-
/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */
|
|
221
|
-
export interface GetNodeInfoRequest {}
|
|
222
|
-
export interface GetNodeInfoRequestProtoMsg {
|
|
223
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest";
|
|
224
|
-
value: Uint8Array;
|
|
225
|
-
}
|
|
226
|
-
/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */
|
|
227
|
-
export interface GetNodeInfoRequestAmino {}
|
|
228
|
-
export interface GetNodeInfoRequestAminoMsg {
|
|
229
|
-
type: "cosmos-sdk/GetNodeInfoRequest";
|
|
230
|
-
value: GetNodeInfoRequestAmino;
|
|
231
|
-
}
|
|
232
|
-
/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
|
|
233
|
-
export interface GetNodeInfoResponse {
|
|
234
|
-
defaultNodeInfo?: DefaultNodeInfo;
|
|
235
|
-
applicationVersion?: VersionInfo;
|
|
236
|
-
}
|
|
237
|
-
export interface GetNodeInfoResponseProtoMsg {
|
|
238
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse";
|
|
239
|
-
value: Uint8Array;
|
|
240
|
-
}
|
|
241
|
-
/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
|
|
242
|
-
export interface GetNodeInfoResponseAmino {
|
|
243
|
-
default_node_info?: DefaultNodeInfoAmino;
|
|
244
|
-
application_version?: VersionInfoAmino;
|
|
245
|
-
}
|
|
246
|
-
export interface GetNodeInfoResponseAminoMsg {
|
|
247
|
-
type: "cosmos-sdk/GetNodeInfoResponse";
|
|
248
|
-
value: GetNodeInfoResponseAmino;
|
|
249
|
-
}
|
|
250
|
-
/** VersionInfo is the type for the GetNodeInfoResponse message. */
|
|
251
|
-
export interface VersionInfo {
|
|
252
|
-
name: string;
|
|
253
|
-
appName: string;
|
|
254
|
-
version: string;
|
|
255
|
-
gitCommit: string;
|
|
256
|
-
buildTags: string;
|
|
257
|
-
goVersion: string;
|
|
258
|
-
buildDeps: Module[];
|
|
259
|
-
/** Since: cosmos-sdk 0.43 */
|
|
260
|
-
cosmosSdkVersion: string;
|
|
261
|
-
}
|
|
262
|
-
export interface VersionInfoProtoMsg {
|
|
263
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo";
|
|
264
|
-
value: Uint8Array;
|
|
265
|
-
}
|
|
266
|
-
/** VersionInfo is the type for the GetNodeInfoResponse message. */
|
|
267
|
-
export interface VersionInfoAmino {
|
|
268
|
-
name: string;
|
|
269
|
-
app_name: string;
|
|
270
|
-
version: string;
|
|
271
|
-
git_commit: string;
|
|
272
|
-
build_tags: string;
|
|
273
|
-
go_version: string;
|
|
274
|
-
build_deps: ModuleAmino[];
|
|
275
|
-
/** Since: cosmos-sdk 0.43 */
|
|
276
|
-
cosmos_sdk_version: string;
|
|
277
|
-
}
|
|
278
|
-
export interface VersionInfoAminoMsg {
|
|
279
|
-
type: "cosmos-sdk/VersionInfo";
|
|
280
|
-
value: VersionInfoAmino;
|
|
281
|
-
}
|
|
282
|
-
/** Module is the type for VersionInfo */
|
|
283
|
-
export interface Module {
|
|
284
|
-
/** module path */
|
|
285
|
-
path: string;
|
|
286
|
-
/** module version */
|
|
287
|
-
version: string;
|
|
288
|
-
/** checksum */
|
|
289
|
-
sum: string;
|
|
290
|
-
}
|
|
291
|
-
export interface ModuleProtoMsg {
|
|
292
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.Module";
|
|
293
|
-
value: Uint8Array;
|
|
294
|
-
}
|
|
295
|
-
/** Module is the type for VersionInfo */
|
|
296
|
-
export interface ModuleAmino {
|
|
297
|
-
/** module path */
|
|
298
|
-
path: string;
|
|
299
|
-
/** module version */
|
|
300
|
-
version: string;
|
|
301
|
-
/** checksum */
|
|
302
|
-
sum: string;
|
|
303
|
-
}
|
|
304
|
-
export interface ModuleAminoMsg {
|
|
305
|
-
type: "cosmos-sdk/Module";
|
|
306
|
-
value: ModuleAmino;
|
|
307
|
-
}
|
|
308
|
-
/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */
|
|
309
|
-
export interface ABCIQueryRequest {
|
|
310
|
-
data: Uint8Array;
|
|
311
|
-
path: string;
|
|
312
|
-
height: bigint;
|
|
313
|
-
prove: boolean;
|
|
314
|
-
}
|
|
315
|
-
export interface ABCIQueryRequestProtoMsg {
|
|
316
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest";
|
|
317
|
-
value: Uint8Array;
|
|
318
|
-
}
|
|
319
|
-
/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */
|
|
320
|
-
export interface ABCIQueryRequestAmino {
|
|
321
|
-
data: string;
|
|
322
|
-
path: string;
|
|
323
|
-
height: string;
|
|
324
|
-
prove: boolean;
|
|
325
|
-
}
|
|
326
|
-
export interface ABCIQueryRequestAminoMsg {
|
|
327
|
-
type: "cosmos-sdk/ABCIQueryRequest";
|
|
328
|
-
value: ABCIQueryRequestAmino;
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
|
|
332
|
-
*
|
|
333
|
-
* Note: This type is a duplicate of the ResponseQuery proto type defined in
|
|
334
|
-
* Tendermint.
|
|
335
|
-
*/
|
|
336
|
-
export interface ABCIQueryResponse {
|
|
337
|
-
code: number;
|
|
338
|
-
/** nondeterministic */
|
|
339
|
-
log: string;
|
|
340
|
-
/** nondeterministic */
|
|
341
|
-
info: string;
|
|
342
|
-
index: bigint;
|
|
343
|
-
key: Uint8Array;
|
|
344
|
-
value: Uint8Array;
|
|
345
|
-
proofOps?: ProofOps;
|
|
346
|
-
height: bigint;
|
|
347
|
-
codespace: string;
|
|
348
|
-
}
|
|
349
|
-
export interface ABCIQueryResponseProtoMsg {
|
|
350
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse";
|
|
351
|
-
value: Uint8Array;
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
|
|
355
|
-
*
|
|
356
|
-
* Note: This type is a duplicate of the ResponseQuery proto type defined in
|
|
357
|
-
* Tendermint.
|
|
358
|
-
*/
|
|
359
|
-
export interface ABCIQueryResponseAmino {
|
|
360
|
-
code: number;
|
|
361
|
-
/** nondeterministic */
|
|
362
|
-
log: string;
|
|
363
|
-
/** nondeterministic */
|
|
364
|
-
info: string;
|
|
365
|
-
index: string;
|
|
366
|
-
key: string;
|
|
367
|
-
value: string;
|
|
368
|
-
proof_ops?: ProofOpsAmino;
|
|
369
|
-
height: string;
|
|
370
|
-
codespace: string;
|
|
371
|
-
}
|
|
372
|
-
export interface ABCIQueryResponseAminoMsg {
|
|
373
|
-
type: "cosmos-sdk/ABCIQueryResponse";
|
|
374
|
-
value: ABCIQueryResponseAmino;
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* ProofOp defines an operation used for calculating Merkle root. The data could
|
|
378
|
-
* be arbitrary format, providing necessary data for example neighbouring node
|
|
379
|
-
* hash.
|
|
380
|
-
*
|
|
381
|
-
* Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
|
|
382
|
-
*/
|
|
383
|
-
export interface ProofOp {
|
|
384
|
-
type: string;
|
|
385
|
-
key: Uint8Array;
|
|
386
|
-
data: Uint8Array;
|
|
387
|
-
}
|
|
388
|
-
export interface ProofOpProtoMsg {
|
|
389
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp";
|
|
390
|
-
value: Uint8Array;
|
|
391
|
-
}
|
|
392
|
-
/**
|
|
393
|
-
* ProofOp defines an operation used for calculating Merkle root. The data could
|
|
394
|
-
* be arbitrary format, providing necessary data for example neighbouring node
|
|
395
|
-
* hash.
|
|
396
|
-
*
|
|
397
|
-
* Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
|
|
398
|
-
*/
|
|
399
|
-
export interface ProofOpAmino {
|
|
400
|
-
type: string;
|
|
401
|
-
key: string;
|
|
402
|
-
data: string;
|
|
403
|
-
}
|
|
404
|
-
export interface ProofOpAminoMsg {
|
|
405
|
-
type: "cosmos-sdk/ProofOp";
|
|
406
|
-
value: ProofOpAmino;
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* ProofOps is Merkle proof defined by the list of ProofOps.
|
|
410
|
-
*
|
|
411
|
-
* Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
|
|
412
|
-
*/
|
|
413
|
-
export interface ProofOps {
|
|
414
|
-
ops: ProofOp[];
|
|
415
|
-
}
|
|
416
|
-
export interface ProofOpsProtoMsg {
|
|
417
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps";
|
|
418
|
-
value: Uint8Array;
|
|
419
|
-
}
|
|
420
|
-
/**
|
|
421
|
-
* ProofOps is Merkle proof defined by the list of ProofOps.
|
|
422
|
-
*
|
|
423
|
-
* Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
|
|
424
|
-
*/
|
|
425
|
-
export interface ProofOpsAmino {
|
|
426
|
-
ops: ProofOpAmino[];
|
|
427
|
-
}
|
|
428
|
-
export interface ProofOpsAminoMsg {
|
|
429
|
-
type: "cosmos-sdk/ProofOps";
|
|
430
|
-
value: ProofOpsAmino;
|
|
431
|
-
}
|
|
432
|
-
function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest {
|
|
433
|
-
return {
|
|
434
|
-
height: BigInt(0),
|
|
435
|
-
pagination: undefined
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
export const GetValidatorSetByHeightRequest = {
|
|
439
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest",
|
|
440
|
-
aminoType: "cosmos-sdk/GetValidatorSetByHeightRequest",
|
|
441
|
-
is(o: any): o is GetValidatorSetByHeightRequest {
|
|
442
|
-
return o && (o.$typeUrl === GetValidatorSetByHeightRequest.typeUrl || typeof o.height === "bigint");
|
|
443
|
-
},
|
|
444
|
-
isAmino(o: any): o is GetValidatorSetByHeightRequestAmino {
|
|
445
|
-
return o && (o.$typeUrl === GetValidatorSetByHeightRequest.typeUrl || typeof o.height === "bigint");
|
|
446
|
-
},
|
|
447
|
-
encode(message: GetValidatorSetByHeightRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
448
|
-
if (message.height !== BigInt(0)) {
|
|
449
|
-
writer.uint32(8).int64(message.height);
|
|
450
|
-
}
|
|
451
|
-
if (message.pagination !== undefined) {
|
|
452
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
453
|
-
}
|
|
454
|
-
return writer;
|
|
455
|
-
},
|
|
456
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightRequest {
|
|
457
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
458
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
459
|
-
const message = createBaseGetValidatorSetByHeightRequest();
|
|
460
|
-
while (reader.pos < end) {
|
|
461
|
-
const tag = reader.uint32();
|
|
462
|
-
switch (tag >>> 3) {
|
|
463
|
-
case 1:
|
|
464
|
-
message.height = reader.int64();
|
|
465
|
-
break;
|
|
466
|
-
case 2:
|
|
467
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
468
|
-
break;
|
|
469
|
-
default:
|
|
470
|
-
reader.skipType(tag & 7);
|
|
471
|
-
break;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
return message;
|
|
475
|
-
},
|
|
476
|
-
fromPartial(object: DeepPartial<GetValidatorSetByHeightRequest>): GetValidatorSetByHeightRequest {
|
|
477
|
-
const message = createBaseGetValidatorSetByHeightRequest();
|
|
478
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
479
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
480
|
-
return message;
|
|
481
|
-
},
|
|
482
|
-
fromAmino(object: GetValidatorSetByHeightRequestAmino): GetValidatorSetByHeightRequest {
|
|
483
|
-
const message = createBaseGetValidatorSetByHeightRequest();
|
|
484
|
-
if (object.height !== undefined && object.height !== null) {
|
|
485
|
-
message.height = BigInt(object.height);
|
|
486
|
-
}
|
|
487
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
488
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
489
|
-
}
|
|
490
|
-
return message;
|
|
491
|
-
},
|
|
492
|
-
toAmino(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAmino {
|
|
493
|
-
const obj: any = {};
|
|
494
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
495
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
496
|
-
return obj;
|
|
497
|
-
},
|
|
498
|
-
fromAminoMsg(object: GetValidatorSetByHeightRequestAminoMsg): GetValidatorSetByHeightRequest {
|
|
499
|
-
return GetValidatorSetByHeightRequest.fromAmino(object.value);
|
|
500
|
-
},
|
|
501
|
-
toAminoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAminoMsg {
|
|
502
|
-
return {
|
|
503
|
-
type: "cosmos-sdk/GetValidatorSetByHeightRequest",
|
|
504
|
-
value: GetValidatorSetByHeightRequest.toAmino(message)
|
|
505
|
-
};
|
|
506
|
-
},
|
|
507
|
-
fromProtoMsg(message: GetValidatorSetByHeightRequestProtoMsg): GetValidatorSetByHeightRequest {
|
|
508
|
-
return GetValidatorSetByHeightRequest.decode(message.value);
|
|
509
|
-
},
|
|
510
|
-
toProto(message: GetValidatorSetByHeightRequest): Uint8Array {
|
|
511
|
-
return GetValidatorSetByHeightRequest.encode(message).finish();
|
|
512
|
-
},
|
|
513
|
-
toProtoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestProtoMsg {
|
|
514
|
-
return {
|
|
515
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest",
|
|
516
|
-
value: GetValidatorSetByHeightRequest.encode(message).finish()
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
GlobalDecoderRegistry.register(GetValidatorSetByHeightRequest.typeUrl, GetValidatorSetByHeightRequest);
|
|
521
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetValidatorSetByHeightRequest.aminoType, GetValidatorSetByHeightRequest.typeUrl);
|
|
522
|
-
function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse {
|
|
523
|
-
return {
|
|
524
|
-
blockHeight: BigInt(0),
|
|
525
|
-
validators: [],
|
|
526
|
-
pagination: undefined
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
export const GetValidatorSetByHeightResponse = {
|
|
530
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse",
|
|
531
|
-
aminoType: "cosmos-sdk/GetValidatorSetByHeightResponse",
|
|
532
|
-
is(o: any): o is GetValidatorSetByHeightResponse {
|
|
533
|
-
return o && (o.$typeUrl === GetValidatorSetByHeightResponse.typeUrl || typeof o.blockHeight === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.is(o.validators[0])));
|
|
534
|
-
},
|
|
535
|
-
isAmino(o: any): o is GetValidatorSetByHeightResponseAmino {
|
|
536
|
-
return o && (o.$typeUrl === GetValidatorSetByHeightResponse.typeUrl || typeof o.block_height === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.isAmino(o.validators[0])));
|
|
537
|
-
},
|
|
538
|
-
encode(message: GetValidatorSetByHeightResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
539
|
-
if (message.blockHeight !== BigInt(0)) {
|
|
540
|
-
writer.uint32(8).int64(message.blockHeight);
|
|
541
|
-
}
|
|
542
|
-
for (const v of message.validators) {
|
|
543
|
-
Validator.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
544
|
-
}
|
|
545
|
-
if (message.pagination !== undefined) {
|
|
546
|
-
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
547
|
-
}
|
|
548
|
-
return writer;
|
|
549
|
-
},
|
|
550
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightResponse {
|
|
551
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
552
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
553
|
-
const message = createBaseGetValidatorSetByHeightResponse();
|
|
554
|
-
while (reader.pos < end) {
|
|
555
|
-
const tag = reader.uint32();
|
|
556
|
-
switch (tag >>> 3) {
|
|
557
|
-
case 1:
|
|
558
|
-
message.blockHeight = reader.int64();
|
|
559
|
-
break;
|
|
560
|
-
case 2:
|
|
561
|
-
message.validators.push(Validator.decode(reader, reader.uint32()));
|
|
562
|
-
break;
|
|
563
|
-
case 3:
|
|
564
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
565
|
-
break;
|
|
566
|
-
default:
|
|
567
|
-
reader.skipType(tag & 7);
|
|
568
|
-
break;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
return message;
|
|
572
|
-
},
|
|
573
|
-
fromPartial(object: DeepPartial<GetValidatorSetByHeightResponse>): GetValidatorSetByHeightResponse {
|
|
574
|
-
const message = createBaseGetValidatorSetByHeightResponse();
|
|
575
|
-
message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0);
|
|
576
|
-
message.validators = object.validators?.map(e => Validator.fromPartial(e)) || [];
|
|
577
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
578
|
-
return message;
|
|
579
|
-
},
|
|
580
|
-
fromAmino(object: GetValidatorSetByHeightResponseAmino): GetValidatorSetByHeightResponse {
|
|
581
|
-
const message = createBaseGetValidatorSetByHeightResponse();
|
|
582
|
-
if (object.block_height !== undefined && object.block_height !== null) {
|
|
583
|
-
message.blockHeight = BigInt(object.block_height);
|
|
584
|
-
}
|
|
585
|
-
message.validators = object.validators?.map(e => Validator.fromAmino(e)) || [];
|
|
586
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
587
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
588
|
-
}
|
|
589
|
-
return message;
|
|
590
|
-
},
|
|
591
|
-
toAmino(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAmino {
|
|
592
|
-
const obj: any = {};
|
|
593
|
-
obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight?.toString() : undefined;
|
|
594
|
-
if (message.validators) {
|
|
595
|
-
obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined);
|
|
596
|
-
} else {
|
|
597
|
-
obj.validators = message.validators;
|
|
598
|
-
}
|
|
599
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
600
|
-
return obj;
|
|
601
|
-
},
|
|
602
|
-
fromAminoMsg(object: GetValidatorSetByHeightResponseAminoMsg): GetValidatorSetByHeightResponse {
|
|
603
|
-
return GetValidatorSetByHeightResponse.fromAmino(object.value);
|
|
604
|
-
},
|
|
605
|
-
toAminoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAminoMsg {
|
|
606
|
-
return {
|
|
607
|
-
type: "cosmos-sdk/GetValidatorSetByHeightResponse",
|
|
608
|
-
value: GetValidatorSetByHeightResponse.toAmino(message)
|
|
609
|
-
};
|
|
610
|
-
},
|
|
611
|
-
fromProtoMsg(message: GetValidatorSetByHeightResponseProtoMsg): GetValidatorSetByHeightResponse {
|
|
612
|
-
return GetValidatorSetByHeightResponse.decode(message.value);
|
|
613
|
-
},
|
|
614
|
-
toProto(message: GetValidatorSetByHeightResponse): Uint8Array {
|
|
615
|
-
return GetValidatorSetByHeightResponse.encode(message).finish();
|
|
616
|
-
},
|
|
617
|
-
toProtoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseProtoMsg {
|
|
618
|
-
return {
|
|
619
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse",
|
|
620
|
-
value: GetValidatorSetByHeightResponse.encode(message).finish()
|
|
621
|
-
};
|
|
622
|
-
}
|
|
623
|
-
};
|
|
624
|
-
GlobalDecoderRegistry.register(GetValidatorSetByHeightResponse.typeUrl, GetValidatorSetByHeightResponse);
|
|
625
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetValidatorSetByHeightResponse.aminoType, GetValidatorSetByHeightResponse.typeUrl);
|
|
626
|
-
function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest {
|
|
627
|
-
return {
|
|
628
|
-
pagination: undefined
|
|
629
|
-
};
|
|
630
|
-
}
|
|
631
|
-
export const GetLatestValidatorSetRequest = {
|
|
632
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest",
|
|
633
|
-
aminoType: "cosmos-sdk/GetLatestValidatorSetRequest",
|
|
634
|
-
is(o: any): o is GetLatestValidatorSetRequest {
|
|
635
|
-
return o && o.$typeUrl === GetLatestValidatorSetRequest.typeUrl;
|
|
636
|
-
},
|
|
637
|
-
isAmino(o: any): o is GetLatestValidatorSetRequestAmino {
|
|
638
|
-
return o && o.$typeUrl === GetLatestValidatorSetRequest.typeUrl;
|
|
639
|
-
},
|
|
640
|
-
encode(message: GetLatestValidatorSetRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
641
|
-
if (message.pagination !== undefined) {
|
|
642
|
-
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
643
|
-
}
|
|
644
|
-
return writer;
|
|
645
|
-
},
|
|
646
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetRequest {
|
|
647
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
648
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
649
|
-
const message = createBaseGetLatestValidatorSetRequest();
|
|
650
|
-
while (reader.pos < end) {
|
|
651
|
-
const tag = reader.uint32();
|
|
652
|
-
switch (tag >>> 3) {
|
|
653
|
-
case 1:
|
|
654
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
655
|
-
break;
|
|
656
|
-
default:
|
|
657
|
-
reader.skipType(tag & 7);
|
|
658
|
-
break;
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
return message;
|
|
662
|
-
},
|
|
663
|
-
fromPartial(object: DeepPartial<GetLatestValidatorSetRequest>): GetLatestValidatorSetRequest {
|
|
664
|
-
const message = createBaseGetLatestValidatorSetRequest();
|
|
665
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
666
|
-
return message;
|
|
667
|
-
},
|
|
668
|
-
fromAmino(object: GetLatestValidatorSetRequestAmino): GetLatestValidatorSetRequest {
|
|
669
|
-
const message = createBaseGetLatestValidatorSetRequest();
|
|
670
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
671
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
672
|
-
}
|
|
673
|
-
return message;
|
|
674
|
-
},
|
|
675
|
-
toAmino(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAmino {
|
|
676
|
-
const obj: any = {};
|
|
677
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
678
|
-
return obj;
|
|
679
|
-
},
|
|
680
|
-
fromAminoMsg(object: GetLatestValidatorSetRequestAminoMsg): GetLatestValidatorSetRequest {
|
|
681
|
-
return GetLatestValidatorSetRequest.fromAmino(object.value);
|
|
682
|
-
},
|
|
683
|
-
toAminoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAminoMsg {
|
|
684
|
-
return {
|
|
685
|
-
type: "cosmos-sdk/GetLatestValidatorSetRequest",
|
|
686
|
-
value: GetLatestValidatorSetRequest.toAmino(message)
|
|
687
|
-
};
|
|
688
|
-
},
|
|
689
|
-
fromProtoMsg(message: GetLatestValidatorSetRequestProtoMsg): GetLatestValidatorSetRequest {
|
|
690
|
-
return GetLatestValidatorSetRequest.decode(message.value);
|
|
691
|
-
},
|
|
692
|
-
toProto(message: GetLatestValidatorSetRequest): Uint8Array {
|
|
693
|
-
return GetLatestValidatorSetRequest.encode(message).finish();
|
|
694
|
-
},
|
|
695
|
-
toProtoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestProtoMsg {
|
|
696
|
-
return {
|
|
697
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest",
|
|
698
|
-
value: GetLatestValidatorSetRequest.encode(message).finish()
|
|
699
|
-
};
|
|
700
|
-
}
|
|
701
|
-
};
|
|
702
|
-
GlobalDecoderRegistry.register(GetLatestValidatorSetRequest.typeUrl, GetLatestValidatorSetRequest);
|
|
703
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestValidatorSetRequest.aminoType, GetLatestValidatorSetRequest.typeUrl);
|
|
704
|
-
function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse {
|
|
705
|
-
return {
|
|
706
|
-
blockHeight: BigInt(0),
|
|
707
|
-
validators: [],
|
|
708
|
-
pagination: undefined
|
|
709
|
-
};
|
|
710
|
-
}
|
|
711
|
-
export const GetLatestValidatorSetResponse = {
|
|
712
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse",
|
|
713
|
-
aminoType: "cosmos-sdk/GetLatestValidatorSetResponse",
|
|
714
|
-
is(o: any): o is GetLatestValidatorSetResponse {
|
|
715
|
-
return o && (o.$typeUrl === GetLatestValidatorSetResponse.typeUrl || typeof o.blockHeight === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.is(o.validators[0])));
|
|
716
|
-
},
|
|
717
|
-
isAmino(o: any): o is GetLatestValidatorSetResponseAmino {
|
|
718
|
-
return o && (o.$typeUrl === GetLatestValidatorSetResponse.typeUrl || typeof o.block_height === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.isAmino(o.validators[0])));
|
|
719
|
-
},
|
|
720
|
-
encode(message: GetLatestValidatorSetResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
721
|
-
if (message.blockHeight !== BigInt(0)) {
|
|
722
|
-
writer.uint32(8).int64(message.blockHeight);
|
|
723
|
-
}
|
|
724
|
-
for (const v of message.validators) {
|
|
725
|
-
Validator.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
726
|
-
}
|
|
727
|
-
if (message.pagination !== undefined) {
|
|
728
|
-
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
729
|
-
}
|
|
730
|
-
return writer;
|
|
731
|
-
},
|
|
732
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetResponse {
|
|
733
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
734
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
735
|
-
const message = createBaseGetLatestValidatorSetResponse();
|
|
736
|
-
while (reader.pos < end) {
|
|
737
|
-
const tag = reader.uint32();
|
|
738
|
-
switch (tag >>> 3) {
|
|
739
|
-
case 1:
|
|
740
|
-
message.blockHeight = reader.int64();
|
|
741
|
-
break;
|
|
742
|
-
case 2:
|
|
743
|
-
message.validators.push(Validator.decode(reader, reader.uint32()));
|
|
744
|
-
break;
|
|
745
|
-
case 3:
|
|
746
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
747
|
-
break;
|
|
748
|
-
default:
|
|
749
|
-
reader.skipType(tag & 7);
|
|
750
|
-
break;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
return message;
|
|
754
|
-
},
|
|
755
|
-
fromPartial(object: DeepPartial<GetLatestValidatorSetResponse>): GetLatestValidatorSetResponse {
|
|
756
|
-
const message = createBaseGetLatestValidatorSetResponse();
|
|
757
|
-
message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0);
|
|
758
|
-
message.validators = object.validators?.map(e => Validator.fromPartial(e)) || [];
|
|
759
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
760
|
-
return message;
|
|
761
|
-
},
|
|
762
|
-
fromAmino(object: GetLatestValidatorSetResponseAmino): GetLatestValidatorSetResponse {
|
|
763
|
-
const message = createBaseGetLatestValidatorSetResponse();
|
|
764
|
-
if (object.block_height !== undefined && object.block_height !== null) {
|
|
765
|
-
message.blockHeight = BigInt(object.block_height);
|
|
766
|
-
}
|
|
767
|
-
message.validators = object.validators?.map(e => Validator.fromAmino(e)) || [];
|
|
768
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
769
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
770
|
-
}
|
|
771
|
-
return message;
|
|
772
|
-
},
|
|
773
|
-
toAmino(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAmino {
|
|
774
|
-
const obj: any = {};
|
|
775
|
-
obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight?.toString() : undefined;
|
|
776
|
-
if (message.validators) {
|
|
777
|
-
obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined);
|
|
778
|
-
} else {
|
|
779
|
-
obj.validators = message.validators;
|
|
780
|
-
}
|
|
781
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
782
|
-
return obj;
|
|
783
|
-
},
|
|
784
|
-
fromAminoMsg(object: GetLatestValidatorSetResponseAminoMsg): GetLatestValidatorSetResponse {
|
|
785
|
-
return GetLatestValidatorSetResponse.fromAmino(object.value);
|
|
786
|
-
},
|
|
787
|
-
toAminoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAminoMsg {
|
|
788
|
-
return {
|
|
789
|
-
type: "cosmos-sdk/GetLatestValidatorSetResponse",
|
|
790
|
-
value: GetLatestValidatorSetResponse.toAmino(message)
|
|
791
|
-
};
|
|
792
|
-
},
|
|
793
|
-
fromProtoMsg(message: GetLatestValidatorSetResponseProtoMsg): GetLatestValidatorSetResponse {
|
|
794
|
-
return GetLatestValidatorSetResponse.decode(message.value);
|
|
795
|
-
},
|
|
796
|
-
toProto(message: GetLatestValidatorSetResponse): Uint8Array {
|
|
797
|
-
return GetLatestValidatorSetResponse.encode(message).finish();
|
|
798
|
-
},
|
|
799
|
-
toProtoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseProtoMsg {
|
|
800
|
-
return {
|
|
801
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse",
|
|
802
|
-
value: GetLatestValidatorSetResponse.encode(message).finish()
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
|
-
GlobalDecoderRegistry.register(GetLatestValidatorSetResponse.typeUrl, GetLatestValidatorSetResponse);
|
|
807
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestValidatorSetResponse.aminoType, GetLatestValidatorSetResponse.typeUrl);
|
|
808
|
-
function createBaseValidator(): Validator {
|
|
809
|
-
return {
|
|
810
|
-
address: "",
|
|
811
|
-
pubKey: undefined,
|
|
812
|
-
votingPower: BigInt(0),
|
|
813
|
-
proposerPriority: BigInt(0)
|
|
814
|
-
};
|
|
815
|
-
}
|
|
816
|
-
export const Validator = {
|
|
817
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.Validator",
|
|
818
|
-
aminoType: "cosmos-sdk/Validator",
|
|
819
|
-
is(o: any): o is Validator {
|
|
820
|
-
return o && (o.$typeUrl === Validator.typeUrl || typeof o.address === "string" && typeof o.votingPower === "bigint" && typeof o.proposerPriority === "bigint");
|
|
821
|
-
},
|
|
822
|
-
isAmino(o: any): o is ValidatorAmino {
|
|
823
|
-
return o && (o.$typeUrl === Validator.typeUrl || typeof o.address === "string" && typeof o.voting_power === "bigint" && typeof o.proposer_priority === "bigint");
|
|
824
|
-
},
|
|
825
|
-
encode(message: Validator, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
826
|
-
if (message.address !== "") {
|
|
827
|
-
writer.uint32(10).string(message.address);
|
|
828
|
-
}
|
|
829
|
-
if (message.pubKey !== undefined) {
|
|
830
|
-
Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim();
|
|
831
|
-
}
|
|
832
|
-
if (message.votingPower !== BigInt(0)) {
|
|
833
|
-
writer.uint32(24).int64(message.votingPower);
|
|
834
|
-
}
|
|
835
|
-
if (message.proposerPriority !== BigInt(0)) {
|
|
836
|
-
writer.uint32(32).int64(message.proposerPriority);
|
|
837
|
-
}
|
|
838
|
-
return writer;
|
|
839
|
-
},
|
|
840
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Validator {
|
|
841
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
842
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
843
|
-
const message = createBaseValidator();
|
|
844
|
-
while (reader.pos < end) {
|
|
845
|
-
const tag = reader.uint32();
|
|
846
|
-
switch (tag >>> 3) {
|
|
847
|
-
case 1:
|
|
848
|
-
message.address = reader.string();
|
|
849
|
-
break;
|
|
850
|
-
case 2:
|
|
851
|
-
message.pubKey = Any.decode(reader, reader.uint32());
|
|
852
|
-
break;
|
|
853
|
-
case 3:
|
|
854
|
-
message.votingPower = reader.int64();
|
|
855
|
-
break;
|
|
856
|
-
case 4:
|
|
857
|
-
message.proposerPriority = reader.int64();
|
|
858
|
-
break;
|
|
859
|
-
default:
|
|
860
|
-
reader.skipType(tag & 7);
|
|
861
|
-
break;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
return message;
|
|
865
|
-
},
|
|
866
|
-
fromPartial(object: DeepPartial<Validator>): Validator {
|
|
867
|
-
const message = createBaseValidator();
|
|
868
|
-
message.address = object.address ?? "";
|
|
869
|
-
message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined;
|
|
870
|
-
message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? BigInt(object.votingPower.toString()) : BigInt(0);
|
|
871
|
-
message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? BigInt(object.proposerPriority.toString()) : BigInt(0);
|
|
872
|
-
return message;
|
|
873
|
-
},
|
|
874
|
-
fromAmino(object: ValidatorAmino): Validator {
|
|
875
|
-
const message = createBaseValidator();
|
|
876
|
-
if (object.address !== undefined && object.address !== null) {
|
|
877
|
-
message.address = object.address;
|
|
878
|
-
}
|
|
879
|
-
if (object.pub_key !== undefined && object.pub_key !== null) {
|
|
880
|
-
message.pubKey = Any.fromAmino(object.pub_key);
|
|
881
|
-
}
|
|
882
|
-
if (object.voting_power !== undefined && object.voting_power !== null) {
|
|
883
|
-
message.votingPower = BigInt(object.voting_power);
|
|
884
|
-
}
|
|
885
|
-
if (object.proposer_priority !== undefined && object.proposer_priority !== null) {
|
|
886
|
-
message.proposerPriority = BigInt(object.proposer_priority);
|
|
887
|
-
}
|
|
888
|
-
return message;
|
|
889
|
-
},
|
|
890
|
-
toAmino(message: Validator): ValidatorAmino {
|
|
891
|
-
const obj: any = {};
|
|
892
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
893
|
-
obj.pub_key = message.pubKey ? Any.toAmino(message.pubKey) : undefined;
|
|
894
|
-
obj.voting_power = message.votingPower !== BigInt(0) ? message.votingPower?.toString() : undefined;
|
|
895
|
-
obj.proposer_priority = message.proposerPriority !== BigInt(0) ? message.proposerPriority?.toString() : undefined;
|
|
896
|
-
return obj;
|
|
897
|
-
},
|
|
898
|
-
fromAminoMsg(object: ValidatorAminoMsg): Validator {
|
|
899
|
-
return Validator.fromAmino(object.value);
|
|
900
|
-
},
|
|
901
|
-
toAminoMsg(message: Validator): ValidatorAminoMsg {
|
|
902
|
-
return {
|
|
903
|
-
type: "cosmos-sdk/Validator",
|
|
904
|
-
value: Validator.toAmino(message)
|
|
905
|
-
};
|
|
906
|
-
},
|
|
907
|
-
fromProtoMsg(message: ValidatorProtoMsg): Validator {
|
|
908
|
-
return Validator.decode(message.value);
|
|
909
|
-
},
|
|
910
|
-
toProto(message: Validator): Uint8Array {
|
|
911
|
-
return Validator.encode(message).finish();
|
|
912
|
-
},
|
|
913
|
-
toProtoMsg(message: Validator): ValidatorProtoMsg {
|
|
914
|
-
return {
|
|
915
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.Validator",
|
|
916
|
-
value: Validator.encode(message).finish()
|
|
917
|
-
};
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
GlobalDecoderRegistry.register(Validator.typeUrl, Validator);
|
|
921
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Validator.aminoType, Validator.typeUrl);
|
|
922
|
-
function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest {
|
|
923
|
-
return {
|
|
924
|
-
height: BigInt(0)
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
export const GetBlockByHeightRequest = {
|
|
928
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest",
|
|
929
|
-
aminoType: "cosmos-sdk/GetBlockByHeightRequest",
|
|
930
|
-
is(o: any): o is GetBlockByHeightRequest {
|
|
931
|
-
return o && (o.$typeUrl === GetBlockByHeightRequest.typeUrl || typeof o.height === "bigint");
|
|
932
|
-
},
|
|
933
|
-
isAmino(o: any): o is GetBlockByHeightRequestAmino {
|
|
934
|
-
return o && (o.$typeUrl === GetBlockByHeightRequest.typeUrl || typeof o.height === "bigint");
|
|
935
|
-
},
|
|
936
|
-
encode(message: GetBlockByHeightRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
937
|
-
if (message.height !== BigInt(0)) {
|
|
938
|
-
writer.uint32(8).int64(message.height);
|
|
939
|
-
}
|
|
940
|
-
return writer;
|
|
941
|
-
},
|
|
942
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightRequest {
|
|
943
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
944
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
945
|
-
const message = createBaseGetBlockByHeightRequest();
|
|
946
|
-
while (reader.pos < end) {
|
|
947
|
-
const tag = reader.uint32();
|
|
948
|
-
switch (tag >>> 3) {
|
|
949
|
-
case 1:
|
|
950
|
-
message.height = reader.int64();
|
|
951
|
-
break;
|
|
952
|
-
default:
|
|
953
|
-
reader.skipType(tag & 7);
|
|
954
|
-
break;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
return message;
|
|
958
|
-
},
|
|
959
|
-
fromPartial(object: DeepPartial<GetBlockByHeightRequest>): GetBlockByHeightRequest {
|
|
960
|
-
const message = createBaseGetBlockByHeightRequest();
|
|
961
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
962
|
-
return message;
|
|
963
|
-
},
|
|
964
|
-
fromAmino(object: GetBlockByHeightRequestAmino): GetBlockByHeightRequest {
|
|
965
|
-
const message = createBaseGetBlockByHeightRequest();
|
|
966
|
-
if (object.height !== undefined && object.height !== null) {
|
|
967
|
-
message.height = BigInt(object.height);
|
|
968
|
-
}
|
|
969
|
-
return message;
|
|
970
|
-
},
|
|
971
|
-
toAmino(message: GetBlockByHeightRequest): GetBlockByHeightRequestAmino {
|
|
972
|
-
const obj: any = {};
|
|
973
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
974
|
-
return obj;
|
|
975
|
-
},
|
|
976
|
-
fromAminoMsg(object: GetBlockByHeightRequestAminoMsg): GetBlockByHeightRequest {
|
|
977
|
-
return GetBlockByHeightRequest.fromAmino(object.value);
|
|
978
|
-
},
|
|
979
|
-
toAminoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestAminoMsg {
|
|
980
|
-
return {
|
|
981
|
-
type: "cosmos-sdk/GetBlockByHeightRequest",
|
|
982
|
-
value: GetBlockByHeightRequest.toAmino(message)
|
|
983
|
-
};
|
|
984
|
-
},
|
|
985
|
-
fromProtoMsg(message: GetBlockByHeightRequestProtoMsg): GetBlockByHeightRequest {
|
|
986
|
-
return GetBlockByHeightRequest.decode(message.value);
|
|
987
|
-
},
|
|
988
|
-
toProto(message: GetBlockByHeightRequest): Uint8Array {
|
|
989
|
-
return GetBlockByHeightRequest.encode(message).finish();
|
|
990
|
-
},
|
|
991
|
-
toProtoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestProtoMsg {
|
|
992
|
-
return {
|
|
993
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest",
|
|
994
|
-
value: GetBlockByHeightRequest.encode(message).finish()
|
|
995
|
-
};
|
|
996
|
-
}
|
|
997
|
-
};
|
|
998
|
-
GlobalDecoderRegistry.register(GetBlockByHeightRequest.typeUrl, GetBlockByHeightRequest);
|
|
999
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetBlockByHeightRequest.aminoType, GetBlockByHeightRequest.typeUrl);
|
|
1000
|
-
function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse {
|
|
1001
|
-
return {
|
|
1002
|
-
blockId: undefined,
|
|
1003
|
-
block: undefined,
|
|
1004
|
-
sdkBlock: undefined
|
|
1005
|
-
};
|
|
1006
|
-
}
|
|
1007
|
-
export const GetBlockByHeightResponse = {
|
|
1008
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse",
|
|
1009
|
-
aminoType: "cosmos-sdk/GetBlockByHeightResponse",
|
|
1010
|
-
is(o: any): o is GetBlockByHeightResponse {
|
|
1011
|
-
return o && o.$typeUrl === GetBlockByHeightResponse.typeUrl;
|
|
1012
|
-
},
|
|
1013
|
-
isAmino(o: any): o is GetBlockByHeightResponseAmino {
|
|
1014
|
-
return o && o.$typeUrl === GetBlockByHeightResponse.typeUrl;
|
|
1015
|
-
},
|
|
1016
|
-
encode(message: GetBlockByHeightResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1017
|
-
if (message.blockId !== undefined) {
|
|
1018
|
-
BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
|
|
1019
|
-
}
|
|
1020
|
-
if (message.block !== undefined) {
|
|
1021
|
-
Block1.encode(message.block, writer.uint32(18).fork()).ldelim();
|
|
1022
|
-
}
|
|
1023
|
-
if (message.sdkBlock !== undefined) {
|
|
1024
|
-
Block2.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim();
|
|
1025
|
-
}
|
|
1026
|
-
return writer;
|
|
1027
|
-
},
|
|
1028
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightResponse {
|
|
1029
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1030
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1031
|
-
const message = createBaseGetBlockByHeightResponse();
|
|
1032
|
-
while (reader.pos < end) {
|
|
1033
|
-
const tag = reader.uint32();
|
|
1034
|
-
switch (tag >>> 3) {
|
|
1035
|
-
case 1:
|
|
1036
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1037
|
-
break;
|
|
1038
|
-
case 2:
|
|
1039
|
-
message.block = Block1.decode(reader, reader.uint32());
|
|
1040
|
-
break;
|
|
1041
|
-
case 3:
|
|
1042
|
-
message.sdkBlock = Block2.decode(reader, reader.uint32());
|
|
1043
|
-
break;
|
|
1044
|
-
default:
|
|
1045
|
-
reader.skipType(tag & 7);
|
|
1046
|
-
break;
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
return message;
|
|
1050
|
-
},
|
|
1051
|
-
fromPartial(object: DeepPartial<GetBlockByHeightResponse>): GetBlockByHeightResponse {
|
|
1052
|
-
const message = createBaseGetBlockByHeightResponse();
|
|
1053
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1054
|
-
message.block = object.block !== undefined && object.block !== null ? Block1.fromPartial(object.block) : undefined;
|
|
1055
|
-
message.sdkBlock = object.sdkBlock !== undefined && object.sdkBlock !== null ? Block2.fromPartial(object.sdkBlock) : undefined;
|
|
1056
|
-
return message;
|
|
1057
|
-
},
|
|
1058
|
-
fromAmino(object: GetBlockByHeightResponseAmino): GetBlockByHeightResponse {
|
|
1059
|
-
const message = createBaseGetBlockByHeightResponse();
|
|
1060
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1061
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1062
|
-
}
|
|
1063
|
-
if (object.block !== undefined && object.block !== null) {
|
|
1064
|
-
message.block = Block1.fromAmino(object.block);
|
|
1065
|
-
}
|
|
1066
|
-
if (object.sdk_block !== undefined && object.sdk_block !== null) {
|
|
1067
|
-
message.sdkBlock = Block2.fromAmino(object.sdk_block);
|
|
1068
|
-
}
|
|
1069
|
-
return message;
|
|
1070
|
-
},
|
|
1071
|
-
toAmino(message: GetBlockByHeightResponse): GetBlockByHeightResponseAmino {
|
|
1072
|
-
const obj: any = {};
|
|
1073
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1074
|
-
obj.block = message.block ? Block1.toAmino(message.block) : undefined;
|
|
1075
|
-
obj.sdk_block = message.sdkBlock ? Block2.toAmino(message.sdkBlock) : undefined;
|
|
1076
|
-
return obj;
|
|
1077
|
-
},
|
|
1078
|
-
fromAminoMsg(object: GetBlockByHeightResponseAminoMsg): GetBlockByHeightResponse {
|
|
1079
|
-
return GetBlockByHeightResponse.fromAmino(object.value);
|
|
1080
|
-
},
|
|
1081
|
-
toAminoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseAminoMsg {
|
|
1082
|
-
return {
|
|
1083
|
-
type: "cosmos-sdk/GetBlockByHeightResponse",
|
|
1084
|
-
value: GetBlockByHeightResponse.toAmino(message)
|
|
1085
|
-
};
|
|
1086
|
-
},
|
|
1087
|
-
fromProtoMsg(message: GetBlockByHeightResponseProtoMsg): GetBlockByHeightResponse {
|
|
1088
|
-
return GetBlockByHeightResponse.decode(message.value);
|
|
1089
|
-
},
|
|
1090
|
-
toProto(message: GetBlockByHeightResponse): Uint8Array {
|
|
1091
|
-
return GetBlockByHeightResponse.encode(message).finish();
|
|
1092
|
-
},
|
|
1093
|
-
toProtoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseProtoMsg {
|
|
1094
|
-
return {
|
|
1095
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse",
|
|
1096
|
-
value: GetBlockByHeightResponse.encode(message).finish()
|
|
1097
|
-
};
|
|
1098
|
-
}
|
|
1099
|
-
};
|
|
1100
|
-
GlobalDecoderRegistry.register(GetBlockByHeightResponse.typeUrl, GetBlockByHeightResponse);
|
|
1101
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetBlockByHeightResponse.aminoType, GetBlockByHeightResponse.typeUrl);
|
|
1102
|
-
function createBaseGetLatestBlockRequest(): GetLatestBlockRequest {
|
|
1103
|
-
return {};
|
|
1104
|
-
}
|
|
1105
|
-
export const GetLatestBlockRequest = {
|
|
1106
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest",
|
|
1107
|
-
aminoType: "cosmos-sdk/GetLatestBlockRequest",
|
|
1108
|
-
is(o: any): o is GetLatestBlockRequest {
|
|
1109
|
-
return o && o.$typeUrl === GetLatestBlockRequest.typeUrl;
|
|
1110
|
-
},
|
|
1111
|
-
isAmino(o: any): o is GetLatestBlockRequestAmino {
|
|
1112
|
-
return o && o.$typeUrl === GetLatestBlockRequest.typeUrl;
|
|
1113
|
-
},
|
|
1114
|
-
encode(_: GetLatestBlockRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1115
|
-
return writer;
|
|
1116
|
-
},
|
|
1117
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockRequest {
|
|
1118
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1119
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1120
|
-
const message = createBaseGetLatestBlockRequest();
|
|
1121
|
-
while (reader.pos < end) {
|
|
1122
|
-
const tag = reader.uint32();
|
|
1123
|
-
switch (tag >>> 3) {
|
|
1124
|
-
default:
|
|
1125
|
-
reader.skipType(tag & 7);
|
|
1126
|
-
break;
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
return message;
|
|
1130
|
-
},
|
|
1131
|
-
fromPartial(_: DeepPartial<GetLatestBlockRequest>): GetLatestBlockRequest {
|
|
1132
|
-
const message = createBaseGetLatestBlockRequest();
|
|
1133
|
-
return message;
|
|
1134
|
-
},
|
|
1135
|
-
fromAmino(_: GetLatestBlockRequestAmino): GetLatestBlockRequest {
|
|
1136
|
-
const message = createBaseGetLatestBlockRequest();
|
|
1137
|
-
return message;
|
|
1138
|
-
},
|
|
1139
|
-
toAmino(_: GetLatestBlockRequest): GetLatestBlockRequestAmino {
|
|
1140
|
-
const obj: any = {};
|
|
1141
|
-
return obj;
|
|
1142
|
-
},
|
|
1143
|
-
fromAminoMsg(object: GetLatestBlockRequestAminoMsg): GetLatestBlockRequest {
|
|
1144
|
-
return GetLatestBlockRequest.fromAmino(object.value);
|
|
1145
|
-
},
|
|
1146
|
-
toAminoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestAminoMsg {
|
|
1147
|
-
return {
|
|
1148
|
-
type: "cosmos-sdk/GetLatestBlockRequest",
|
|
1149
|
-
value: GetLatestBlockRequest.toAmino(message)
|
|
1150
|
-
};
|
|
1151
|
-
},
|
|
1152
|
-
fromProtoMsg(message: GetLatestBlockRequestProtoMsg): GetLatestBlockRequest {
|
|
1153
|
-
return GetLatestBlockRequest.decode(message.value);
|
|
1154
|
-
},
|
|
1155
|
-
toProto(message: GetLatestBlockRequest): Uint8Array {
|
|
1156
|
-
return GetLatestBlockRequest.encode(message).finish();
|
|
1157
|
-
},
|
|
1158
|
-
toProtoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestProtoMsg {
|
|
1159
|
-
return {
|
|
1160
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest",
|
|
1161
|
-
value: GetLatestBlockRequest.encode(message).finish()
|
|
1162
|
-
};
|
|
1163
|
-
}
|
|
1164
|
-
};
|
|
1165
|
-
GlobalDecoderRegistry.register(GetLatestBlockRequest.typeUrl, GetLatestBlockRequest);
|
|
1166
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestBlockRequest.aminoType, GetLatestBlockRequest.typeUrl);
|
|
1167
|
-
function createBaseGetLatestBlockResponse(): GetLatestBlockResponse {
|
|
1168
|
-
return {
|
|
1169
|
-
blockId: undefined,
|
|
1170
|
-
block: undefined,
|
|
1171
|
-
sdkBlock: undefined
|
|
1172
|
-
};
|
|
1173
|
-
}
|
|
1174
|
-
export const GetLatestBlockResponse = {
|
|
1175
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse",
|
|
1176
|
-
aminoType: "cosmos-sdk/GetLatestBlockResponse",
|
|
1177
|
-
is(o: any): o is GetLatestBlockResponse {
|
|
1178
|
-
return o && o.$typeUrl === GetLatestBlockResponse.typeUrl;
|
|
1179
|
-
},
|
|
1180
|
-
isAmino(o: any): o is GetLatestBlockResponseAmino {
|
|
1181
|
-
return o && o.$typeUrl === GetLatestBlockResponse.typeUrl;
|
|
1182
|
-
},
|
|
1183
|
-
encode(message: GetLatestBlockResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1184
|
-
if (message.blockId !== undefined) {
|
|
1185
|
-
BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
|
|
1186
|
-
}
|
|
1187
|
-
if (message.block !== undefined) {
|
|
1188
|
-
Block1.encode(message.block, writer.uint32(18).fork()).ldelim();
|
|
1189
|
-
}
|
|
1190
|
-
if (message.sdkBlock !== undefined) {
|
|
1191
|
-
Block2.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim();
|
|
1192
|
-
}
|
|
1193
|
-
return writer;
|
|
1194
|
-
},
|
|
1195
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockResponse {
|
|
1196
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1197
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1198
|
-
const message = createBaseGetLatestBlockResponse();
|
|
1199
|
-
while (reader.pos < end) {
|
|
1200
|
-
const tag = reader.uint32();
|
|
1201
|
-
switch (tag >>> 3) {
|
|
1202
|
-
case 1:
|
|
1203
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1204
|
-
break;
|
|
1205
|
-
case 2:
|
|
1206
|
-
message.block = Block1.decode(reader, reader.uint32());
|
|
1207
|
-
break;
|
|
1208
|
-
case 3:
|
|
1209
|
-
message.sdkBlock = Block2.decode(reader, reader.uint32());
|
|
1210
|
-
break;
|
|
1211
|
-
default:
|
|
1212
|
-
reader.skipType(tag & 7);
|
|
1213
|
-
break;
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
return message;
|
|
1217
|
-
},
|
|
1218
|
-
fromPartial(object: DeepPartial<GetLatestBlockResponse>): GetLatestBlockResponse {
|
|
1219
|
-
const message = createBaseGetLatestBlockResponse();
|
|
1220
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1221
|
-
message.block = object.block !== undefined && object.block !== null ? Block1.fromPartial(object.block) : undefined;
|
|
1222
|
-
message.sdkBlock = object.sdkBlock !== undefined && object.sdkBlock !== null ? Block2.fromPartial(object.sdkBlock) : undefined;
|
|
1223
|
-
return message;
|
|
1224
|
-
},
|
|
1225
|
-
fromAmino(object: GetLatestBlockResponseAmino): GetLatestBlockResponse {
|
|
1226
|
-
const message = createBaseGetLatestBlockResponse();
|
|
1227
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1228
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1229
|
-
}
|
|
1230
|
-
if (object.block !== undefined && object.block !== null) {
|
|
1231
|
-
message.block = Block1.fromAmino(object.block);
|
|
1232
|
-
}
|
|
1233
|
-
if (object.sdk_block !== undefined && object.sdk_block !== null) {
|
|
1234
|
-
message.sdkBlock = Block2.fromAmino(object.sdk_block);
|
|
1235
|
-
}
|
|
1236
|
-
return message;
|
|
1237
|
-
},
|
|
1238
|
-
toAmino(message: GetLatestBlockResponse): GetLatestBlockResponseAmino {
|
|
1239
|
-
const obj: any = {};
|
|
1240
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1241
|
-
obj.block = message.block ? Block1.toAmino(message.block) : undefined;
|
|
1242
|
-
obj.sdk_block = message.sdkBlock ? Block2.toAmino(message.sdkBlock) : undefined;
|
|
1243
|
-
return obj;
|
|
1244
|
-
},
|
|
1245
|
-
fromAminoMsg(object: GetLatestBlockResponseAminoMsg): GetLatestBlockResponse {
|
|
1246
|
-
return GetLatestBlockResponse.fromAmino(object.value);
|
|
1247
|
-
},
|
|
1248
|
-
toAminoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseAminoMsg {
|
|
1249
|
-
return {
|
|
1250
|
-
type: "cosmos-sdk/GetLatestBlockResponse",
|
|
1251
|
-
value: GetLatestBlockResponse.toAmino(message)
|
|
1252
|
-
};
|
|
1253
|
-
},
|
|
1254
|
-
fromProtoMsg(message: GetLatestBlockResponseProtoMsg): GetLatestBlockResponse {
|
|
1255
|
-
return GetLatestBlockResponse.decode(message.value);
|
|
1256
|
-
},
|
|
1257
|
-
toProto(message: GetLatestBlockResponse): Uint8Array {
|
|
1258
|
-
return GetLatestBlockResponse.encode(message).finish();
|
|
1259
|
-
},
|
|
1260
|
-
toProtoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseProtoMsg {
|
|
1261
|
-
return {
|
|
1262
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse",
|
|
1263
|
-
value: GetLatestBlockResponse.encode(message).finish()
|
|
1264
|
-
};
|
|
1265
|
-
}
|
|
1266
|
-
};
|
|
1267
|
-
GlobalDecoderRegistry.register(GetLatestBlockResponse.typeUrl, GetLatestBlockResponse);
|
|
1268
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestBlockResponse.aminoType, GetLatestBlockResponse.typeUrl);
|
|
1269
|
-
function createBaseGetSyncingRequest(): GetSyncingRequest {
|
|
1270
|
-
return {};
|
|
1271
|
-
}
|
|
1272
|
-
export const GetSyncingRequest = {
|
|
1273
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest",
|
|
1274
|
-
aminoType: "cosmos-sdk/GetSyncingRequest",
|
|
1275
|
-
is(o: any): o is GetSyncingRequest {
|
|
1276
|
-
return o && o.$typeUrl === GetSyncingRequest.typeUrl;
|
|
1277
|
-
},
|
|
1278
|
-
isAmino(o: any): o is GetSyncingRequestAmino {
|
|
1279
|
-
return o && o.$typeUrl === GetSyncingRequest.typeUrl;
|
|
1280
|
-
},
|
|
1281
|
-
encode(_: GetSyncingRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1282
|
-
return writer;
|
|
1283
|
-
},
|
|
1284
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingRequest {
|
|
1285
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1286
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1287
|
-
const message = createBaseGetSyncingRequest();
|
|
1288
|
-
while (reader.pos < end) {
|
|
1289
|
-
const tag = reader.uint32();
|
|
1290
|
-
switch (tag >>> 3) {
|
|
1291
|
-
default:
|
|
1292
|
-
reader.skipType(tag & 7);
|
|
1293
|
-
break;
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
return message;
|
|
1297
|
-
},
|
|
1298
|
-
fromPartial(_: DeepPartial<GetSyncingRequest>): GetSyncingRequest {
|
|
1299
|
-
const message = createBaseGetSyncingRequest();
|
|
1300
|
-
return message;
|
|
1301
|
-
},
|
|
1302
|
-
fromAmino(_: GetSyncingRequestAmino): GetSyncingRequest {
|
|
1303
|
-
const message = createBaseGetSyncingRequest();
|
|
1304
|
-
return message;
|
|
1305
|
-
},
|
|
1306
|
-
toAmino(_: GetSyncingRequest): GetSyncingRequestAmino {
|
|
1307
|
-
const obj: any = {};
|
|
1308
|
-
return obj;
|
|
1309
|
-
},
|
|
1310
|
-
fromAminoMsg(object: GetSyncingRequestAminoMsg): GetSyncingRequest {
|
|
1311
|
-
return GetSyncingRequest.fromAmino(object.value);
|
|
1312
|
-
},
|
|
1313
|
-
toAminoMsg(message: GetSyncingRequest): GetSyncingRequestAminoMsg {
|
|
1314
|
-
return {
|
|
1315
|
-
type: "cosmos-sdk/GetSyncingRequest",
|
|
1316
|
-
value: GetSyncingRequest.toAmino(message)
|
|
1317
|
-
};
|
|
1318
|
-
},
|
|
1319
|
-
fromProtoMsg(message: GetSyncingRequestProtoMsg): GetSyncingRequest {
|
|
1320
|
-
return GetSyncingRequest.decode(message.value);
|
|
1321
|
-
},
|
|
1322
|
-
toProto(message: GetSyncingRequest): Uint8Array {
|
|
1323
|
-
return GetSyncingRequest.encode(message).finish();
|
|
1324
|
-
},
|
|
1325
|
-
toProtoMsg(message: GetSyncingRequest): GetSyncingRequestProtoMsg {
|
|
1326
|
-
return {
|
|
1327
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest",
|
|
1328
|
-
value: GetSyncingRequest.encode(message).finish()
|
|
1329
|
-
};
|
|
1330
|
-
}
|
|
1331
|
-
};
|
|
1332
|
-
GlobalDecoderRegistry.register(GetSyncingRequest.typeUrl, GetSyncingRequest);
|
|
1333
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetSyncingRequest.aminoType, GetSyncingRequest.typeUrl);
|
|
1334
|
-
function createBaseGetSyncingResponse(): GetSyncingResponse {
|
|
1335
|
-
return {
|
|
1336
|
-
syncing: false
|
|
1337
|
-
};
|
|
1338
|
-
}
|
|
1339
|
-
export const GetSyncingResponse = {
|
|
1340
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse",
|
|
1341
|
-
aminoType: "cosmos-sdk/GetSyncingResponse",
|
|
1342
|
-
is(o: any): o is GetSyncingResponse {
|
|
1343
|
-
return o && (o.$typeUrl === GetSyncingResponse.typeUrl || typeof o.syncing === "boolean");
|
|
1344
|
-
},
|
|
1345
|
-
isAmino(o: any): o is GetSyncingResponseAmino {
|
|
1346
|
-
return o && (o.$typeUrl === GetSyncingResponse.typeUrl || typeof o.syncing === "boolean");
|
|
1347
|
-
},
|
|
1348
|
-
encode(message: GetSyncingResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1349
|
-
if (message.syncing === true) {
|
|
1350
|
-
writer.uint32(8).bool(message.syncing);
|
|
1351
|
-
}
|
|
1352
|
-
return writer;
|
|
1353
|
-
},
|
|
1354
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingResponse {
|
|
1355
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1356
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1357
|
-
const message = createBaseGetSyncingResponse();
|
|
1358
|
-
while (reader.pos < end) {
|
|
1359
|
-
const tag = reader.uint32();
|
|
1360
|
-
switch (tag >>> 3) {
|
|
1361
|
-
case 1:
|
|
1362
|
-
message.syncing = reader.bool();
|
|
1363
|
-
break;
|
|
1364
|
-
default:
|
|
1365
|
-
reader.skipType(tag & 7);
|
|
1366
|
-
break;
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
return message;
|
|
1370
|
-
},
|
|
1371
|
-
fromPartial(object: DeepPartial<GetSyncingResponse>): GetSyncingResponse {
|
|
1372
|
-
const message = createBaseGetSyncingResponse();
|
|
1373
|
-
message.syncing = object.syncing ?? false;
|
|
1374
|
-
return message;
|
|
1375
|
-
},
|
|
1376
|
-
fromAmino(object: GetSyncingResponseAmino): GetSyncingResponse {
|
|
1377
|
-
const message = createBaseGetSyncingResponse();
|
|
1378
|
-
if (object.syncing !== undefined && object.syncing !== null) {
|
|
1379
|
-
message.syncing = object.syncing;
|
|
1380
|
-
}
|
|
1381
|
-
return message;
|
|
1382
|
-
},
|
|
1383
|
-
toAmino(message: GetSyncingResponse): GetSyncingResponseAmino {
|
|
1384
|
-
const obj: any = {};
|
|
1385
|
-
obj.syncing = message.syncing === false ? undefined : message.syncing;
|
|
1386
|
-
return obj;
|
|
1387
|
-
},
|
|
1388
|
-
fromAminoMsg(object: GetSyncingResponseAminoMsg): GetSyncingResponse {
|
|
1389
|
-
return GetSyncingResponse.fromAmino(object.value);
|
|
1390
|
-
},
|
|
1391
|
-
toAminoMsg(message: GetSyncingResponse): GetSyncingResponseAminoMsg {
|
|
1392
|
-
return {
|
|
1393
|
-
type: "cosmos-sdk/GetSyncingResponse",
|
|
1394
|
-
value: GetSyncingResponse.toAmino(message)
|
|
1395
|
-
};
|
|
1396
|
-
},
|
|
1397
|
-
fromProtoMsg(message: GetSyncingResponseProtoMsg): GetSyncingResponse {
|
|
1398
|
-
return GetSyncingResponse.decode(message.value);
|
|
1399
|
-
},
|
|
1400
|
-
toProto(message: GetSyncingResponse): Uint8Array {
|
|
1401
|
-
return GetSyncingResponse.encode(message).finish();
|
|
1402
|
-
},
|
|
1403
|
-
toProtoMsg(message: GetSyncingResponse): GetSyncingResponseProtoMsg {
|
|
1404
|
-
return {
|
|
1405
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse",
|
|
1406
|
-
value: GetSyncingResponse.encode(message).finish()
|
|
1407
|
-
};
|
|
1408
|
-
}
|
|
1409
|
-
};
|
|
1410
|
-
GlobalDecoderRegistry.register(GetSyncingResponse.typeUrl, GetSyncingResponse);
|
|
1411
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetSyncingResponse.aminoType, GetSyncingResponse.typeUrl);
|
|
1412
|
-
function createBaseGetNodeInfoRequest(): GetNodeInfoRequest {
|
|
1413
|
-
return {};
|
|
1414
|
-
}
|
|
1415
|
-
export const GetNodeInfoRequest = {
|
|
1416
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest",
|
|
1417
|
-
aminoType: "cosmos-sdk/GetNodeInfoRequest",
|
|
1418
|
-
is(o: any): o is GetNodeInfoRequest {
|
|
1419
|
-
return o && o.$typeUrl === GetNodeInfoRequest.typeUrl;
|
|
1420
|
-
},
|
|
1421
|
-
isAmino(o: any): o is GetNodeInfoRequestAmino {
|
|
1422
|
-
return o && o.$typeUrl === GetNodeInfoRequest.typeUrl;
|
|
1423
|
-
},
|
|
1424
|
-
encode(_: GetNodeInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1425
|
-
return writer;
|
|
1426
|
-
},
|
|
1427
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoRequest {
|
|
1428
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1429
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1430
|
-
const message = createBaseGetNodeInfoRequest();
|
|
1431
|
-
while (reader.pos < end) {
|
|
1432
|
-
const tag = reader.uint32();
|
|
1433
|
-
switch (tag >>> 3) {
|
|
1434
|
-
default:
|
|
1435
|
-
reader.skipType(tag & 7);
|
|
1436
|
-
break;
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
return message;
|
|
1440
|
-
},
|
|
1441
|
-
fromPartial(_: DeepPartial<GetNodeInfoRequest>): GetNodeInfoRequest {
|
|
1442
|
-
const message = createBaseGetNodeInfoRequest();
|
|
1443
|
-
return message;
|
|
1444
|
-
},
|
|
1445
|
-
fromAmino(_: GetNodeInfoRequestAmino): GetNodeInfoRequest {
|
|
1446
|
-
const message = createBaseGetNodeInfoRequest();
|
|
1447
|
-
return message;
|
|
1448
|
-
},
|
|
1449
|
-
toAmino(_: GetNodeInfoRequest): GetNodeInfoRequestAmino {
|
|
1450
|
-
const obj: any = {};
|
|
1451
|
-
return obj;
|
|
1452
|
-
},
|
|
1453
|
-
fromAminoMsg(object: GetNodeInfoRequestAminoMsg): GetNodeInfoRequest {
|
|
1454
|
-
return GetNodeInfoRequest.fromAmino(object.value);
|
|
1455
|
-
},
|
|
1456
|
-
toAminoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestAminoMsg {
|
|
1457
|
-
return {
|
|
1458
|
-
type: "cosmos-sdk/GetNodeInfoRequest",
|
|
1459
|
-
value: GetNodeInfoRequest.toAmino(message)
|
|
1460
|
-
};
|
|
1461
|
-
},
|
|
1462
|
-
fromProtoMsg(message: GetNodeInfoRequestProtoMsg): GetNodeInfoRequest {
|
|
1463
|
-
return GetNodeInfoRequest.decode(message.value);
|
|
1464
|
-
},
|
|
1465
|
-
toProto(message: GetNodeInfoRequest): Uint8Array {
|
|
1466
|
-
return GetNodeInfoRequest.encode(message).finish();
|
|
1467
|
-
},
|
|
1468
|
-
toProtoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestProtoMsg {
|
|
1469
|
-
return {
|
|
1470
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest",
|
|
1471
|
-
value: GetNodeInfoRequest.encode(message).finish()
|
|
1472
|
-
};
|
|
1473
|
-
}
|
|
1474
|
-
};
|
|
1475
|
-
GlobalDecoderRegistry.register(GetNodeInfoRequest.typeUrl, GetNodeInfoRequest);
|
|
1476
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetNodeInfoRequest.aminoType, GetNodeInfoRequest.typeUrl);
|
|
1477
|
-
function createBaseGetNodeInfoResponse(): GetNodeInfoResponse {
|
|
1478
|
-
return {
|
|
1479
|
-
defaultNodeInfo: undefined,
|
|
1480
|
-
applicationVersion: undefined
|
|
1481
|
-
};
|
|
1482
|
-
}
|
|
1483
|
-
export const GetNodeInfoResponse = {
|
|
1484
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse",
|
|
1485
|
-
aminoType: "cosmos-sdk/GetNodeInfoResponse",
|
|
1486
|
-
is(o: any): o is GetNodeInfoResponse {
|
|
1487
|
-
return o && o.$typeUrl === GetNodeInfoResponse.typeUrl;
|
|
1488
|
-
},
|
|
1489
|
-
isAmino(o: any): o is GetNodeInfoResponseAmino {
|
|
1490
|
-
return o && o.$typeUrl === GetNodeInfoResponse.typeUrl;
|
|
1491
|
-
},
|
|
1492
|
-
encode(message: GetNodeInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1493
|
-
if (message.defaultNodeInfo !== undefined) {
|
|
1494
|
-
DefaultNodeInfo.encode(message.defaultNodeInfo, writer.uint32(10).fork()).ldelim();
|
|
1495
|
-
}
|
|
1496
|
-
if (message.applicationVersion !== undefined) {
|
|
1497
|
-
VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim();
|
|
1498
|
-
}
|
|
1499
|
-
return writer;
|
|
1500
|
-
},
|
|
1501
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoResponse {
|
|
1502
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1503
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1504
|
-
const message = createBaseGetNodeInfoResponse();
|
|
1505
|
-
while (reader.pos < end) {
|
|
1506
|
-
const tag = reader.uint32();
|
|
1507
|
-
switch (tag >>> 3) {
|
|
1508
|
-
case 1:
|
|
1509
|
-
message.defaultNodeInfo = DefaultNodeInfo.decode(reader, reader.uint32());
|
|
1510
|
-
break;
|
|
1511
|
-
case 2:
|
|
1512
|
-
message.applicationVersion = VersionInfo.decode(reader, reader.uint32());
|
|
1513
|
-
break;
|
|
1514
|
-
default:
|
|
1515
|
-
reader.skipType(tag & 7);
|
|
1516
|
-
break;
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
return message;
|
|
1520
|
-
},
|
|
1521
|
-
fromPartial(object: DeepPartial<GetNodeInfoResponse>): GetNodeInfoResponse {
|
|
1522
|
-
const message = createBaseGetNodeInfoResponse();
|
|
1523
|
-
message.defaultNodeInfo = object.defaultNodeInfo !== undefined && object.defaultNodeInfo !== null ? DefaultNodeInfo.fromPartial(object.defaultNodeInfo) : undefined;
|
|
1524
|
-
message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined;
|
|
1525
|
-
return message;
|
|
1526
|
-
},
|
|
1527
|
-
fromAmino(object: GetNodeInfoResponseAmino): GetNodeInfoResponse {
|
|
1528
|
-
const message = createBaseGetNodeInfoResponse();
|
|
1529
|
-
if (object.default_node_info !== undefined && object.default_node_info !== null) {
|
|
1530
|
-
message.defaultNodeInfo = DefaultNodeInfo.fromAmino(object.default_node_info);
|
|
1531
|
-
}
|
|
1532
|
-
if (object.application_version !== undefined && object.application_version !== null) {
|
|
1533
|
-
message.applicationVersion = VersionInfo.fromAmino(object.application_version);
|
|
1534
|
-
}
|
|
1535
|
-
return message;
|
|
1536
|
-
},
|
|
1537
|
-
toAmino(message: GetNodeInfoResponse): GetNodeInfoResponseAmino {
|
|
1538
|
-
const obj: any = {};
|
|
1539
|
-
obj.default_node_info = message.defaultNodeInfo ? DefaultNodeInfo.toAmino(message.defaultNodeInfo) : undefined;
|
|
1540
|
-
obj.application_version = message.applicationVersion ? VersionInfo.toAmino(message.applicationVersion) : undefined;
|
|
1541
|
-
return obj;
|
|
1542
|
-
},
|
|
1543
|
-
fromAminoMsg(object: GetNodeInfoResponseAminoMsg): GetNodeInfoResponse {
|
|
1544
|
-
return GetNodeInfoResponse.fromAmino(object.value);
|
|
1545
|
-
},
|
|
1546
|
-
toAminoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseAminoMsg {
|
|
1547
|
-
return {
|
|
1548
|
-
type: "cosmos-sdk/GetNodeInfoResponse",
|
|
1549
|
-
value: GetNodeInfoResponse.toAmino(message)
|
|
1550
|
-
};
|
|
1551
|
-
},
|
|
1552
|
-
fromProtoMsg(message: GetNodeInfoResponseProtoMsg): GetNodeInfoResponse {
|
|
1553
|
-
return GetNodeInfoResponse.decode(message.value);
|
|
1554
|
-
},
|
|
1555
|
-
toProto(message: GetNodeInfoResponse): Uint8Array {
|
|
1556
|
-
return GetNodeInfoResponse.encode(message).finish();
|
|
1557
|
-
},
|
|
1558
|
-
toProtoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseProtoMsg {
|
|
1559
|
-
return {
|
|
1560
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse",
|
|
1561
|
-
value: GetNodeInfoResponse.encode(message).finish()
|
|
1562
|
-
};
|
|
1563
|
-
}
|
|
1564
|
-
};
|
|
1565
|
-
GlobalDecoderRegistry.register(GetNodeInfoResponse.typeUrl, GetNodeInfoResponse);
|
|
1566
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetNodeInfoResponse.aminoType, GetNodeInfoResponse.typeUrl);
|
|
1567
|
-
function createBaseVersionInfo(): VersionInfo {
|
|
1568
|
-
return {
|
|
1569
|
-
name: "",
|
|
1570
|
-
appName: "",
|
|
1571
|
-
version: "",
|
|
1572
|
-
gitCommit: "",
|
|
1573
|
-
buildTags: "",
|
|
1574
|
-
goVersion: "",
|
|
1575
|
-
buildDeps: [],
|
|
1576
|
-
cosmosSdkVersion: ""
|
|
1577
|
-
};
|
|
1578
|
-
}
|
|
1579
|
-
export const VersionInfo = {
|
|
1580
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo",
|
|
1581
|
-
aminoType: "cosmos-sdk/VersionInfo",
|
|
1582
|
-
is(o: any): o is VersionInfo {
|
|
1583
|
-
return o && (o.$typeUrl === VersionInfo.typeUrl || typeof o.name === "string" && typeof o.appName === "string" && typeof o.version === "string" && typeof o.gitCommit === "string" && typeof o.buildTags === "string" && typeof o.goVersion === "string" && Array.isArray(o.buildDeps) && (!o.buildDeps.length || Module.is(o.buildDeps[0])) && typeof o.cosmosSdkVersion === "string");
|
|
1584
|
-
},
|
|
1585
|
-
isAmino(o: any): o is VersionInfoAmino {
|
|
1586
|
-
return o && (o.$typeUrl === VersionInfo.typeUrl || typeof o.name === "string" && typeof o.app_name === "string" && typeof o.version === "string" && typeof o.git_commit === "string" && typeof o.build_tags === "string" && typeof o.go_version === "string" && Array.isArray(o.build_deps) && (!o.build_deps.length || Module.isAmino(o.build_deps[0])) && typeof o.cosmos_sdk_version === "string");
|
|
1587
|
-
},
|
|
1588
|
-
encode(message: VersionInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1589
|
-
if (message.name !== "") {
|
|
1590
|
-
writer.uint32(10).string(message.name);
|
|
1591
|
-
}
|
|
1592
|
-
if (message.appName !== "") {
|
|
1593
|
-
writer.uint32(18).string(message.appName);
|
|
1594
|
-
}
|
|
1595
|
-
if (message.version !== "") {
|
|
1596
|
-
writer.uint32(26).string(message.version);
|
|
1597
|
-
}
|
|
1598
|
-
if (message.gitCommit !== "") {
|
|
1599
|
-
writer.uint32(34).string(message.gitCommit);
|
|
1600
|
-
}
|
|
1601
|
-
if (message.buildTags !== "") {
|
|
1602
|
-
writer.uint32(42).string(message.buildTags);
|
|
1603
|
-
}
|
|
1604
|
-
if (message.goVersion !== "") {
|
|
1605
|
-
writer.uint32(50).string(message.goVersion);
|
|
1606
|
-
}
|
|
1607
|
-
for (const v of message.buildDeps) {
|
|
1608
|
-
Module.encode(v!, writer.uint32(58).fork()).ldelim();
|
|
1609
|
-
}
|
|
1610
|
-
if (message.cosmosSdkVersion !== "") {
|
|
1611
|
-
writer.uint32(66).string(message.cosmosSdkVersion);
|
|
1612
|
-
}
|
|
1613
|
-
return writer;
|
|
1614
|
-
},
|
|
1615
|
-
decode(input: BinaryReader | Uint8Array, length?: number): VersionInfo {
|
|
1616
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1617
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1618
|
-
const message = createBaseVersionInfo();
|
|
1619
|
-
while (reader.pos < end) {
|
|
1620
|
-
const tag = reader.uint32();
|
|
1621
|
-
switch (tag >>> 3) {
|
|
1622
|
-
case 1:
|
|
1623
|
-
message.name = reader.string();
|
|
1624
|
-
break;
|
|
1625
|
-
case 2:
|
|
1626
|
-
message.appName = reader.string();
|
|
1627
|
-
break;
|
|
1628
|
-
case 3:
|
|
1629
|
-
message.version = reader.string();
|
|
1630
|
-
break;
|
|
1631
|
-
case 4:
|
|
1632
|
-
message.gitCommit = reader.string();
|
|
1633
|
-
break;
|
|
1634
|
-
case 5:
|
|
1635
|
-
message.buildTags = reader.string();
|
|
1636
|
-
break;
|
|
1637
|
-
case 6:
|
|
1638
|
-
message.goVersion = reader.string();
|
|
1639
|
-
break;
|
|
1640
|
-
case 7:
|
|
1641
|
-
message.buildDeps.push(Module.decode(reader, reader.uint32()));
|
|
1642
|
-
break;
|
|
1643
|
-
case 8:
|
|
1644
|
-
message.cosmosSdkVersion = reader.string();
|
|
1645
|
-
break;
|
|
1646
|
-
default:
|
|
1647
|
-
reader.skipType(tag & 7);
|
|
1648
|
-
break;
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
return message;
|
|
1652
|
-
},
|
|
1653
|
-
fromPartial(object: DeepPartial<VersionInfo>): VersionInfo {
|
|
1654
|
-
const message = createBaseVersionInfo();
|
|
1655
|
-
message.name = object.name ?? "";
|
|
1656
|
-
message.appName = object.appName ?? "";
|
|
1657
|
-
message.version = object.version ?? "";
|
|
1658
|
-
message.gitCommit = object.gitCommit ?? "";
|
|
1659
|
-
message.buildTags = object.buildTags ?? "";
|
|
1660
|
-
message.goVersion = object.goVersion ?? "";
|
|
1661
|
-
message.buildDeps = object.buildDeps?.map(e => Module.fromPartial(e)) || [];
|
|
1662
|
-
message.cosmosSdkVersion = object.cosmosSdkVersion ?? "";
|
|
1663
|
-
return message;
|
|
1664
|
-
},
|
|
1665
|
-
fromAmino(object: VersionInfoAmino): VersionInfo {
|
|
1666
|
-
const message = createBaseVersionInfo();
|
|
1667
|
-
if (object.name !== undefined && object.name !== null) {
|
|
1668
|
-
message.name = object.name;
|
|
1669
|
-
}
|
|
1670
|
-
if (object.app_name !== undefined && object.app_name !== null) {
|
|
1671
|
-
message.appName = object.app_name;
|
|
1672
|
-
}
|
|
1673
|
-
if (object.version !== undefined && object.version !== null) {
|
|
1674
|
-
message.version = object.version;
|
|
1675
|
-
}
|
|
1676
|
-
if (object.git_commit !== undefined && object.git_commit !== null) {
|
|
1677
|
-
message.gitCommit = object.git_commit;
|
|
1678
|
-
}
|
|
1679
|
-
if (object.build_tags !== undefined && object.build_tags !== null) {
|
|
1680
|
-
message.buildTags = object.build_tags;
|
|
1681
|
-
}
|
|
1682
|
-
if (object.go_version !== undefined && object.go_version !== null) {
|
|
1683
|
-
message.goVersion = object.go_version;
|
|
1684
|
-
}
|
|
1685
|
-
message.buildDeps = object.build_deps?.map(e => Module.fromAmino(e)) || [];
|
|
1686
|
-
if (object.cosmos_sdk_version !== undefined && object.cosmos_sdk_version !== null) {
|
|
1687
|
-
message.cosmosSdkVersion = object.cosmos_sdk_version;
|
|
1688
|
-
}
|
|
1689
|
-
return message;
|
|
1690
|
-
},
|
|
1691
|
-
toAmino(message: VersionInfo): VersionInfoAmino {
|
|
1692
|
-
const obj: any = {};
|
|
1693
|
-
obj.name = message.name === "" ? undefined : message.name;
|
|
1694
|
-
obj.app_name = message.appName === "" ? undefined : message.appName;
|
|
1695
|
-
obj.version = message.version === "" ? undefined : message.version;
|
|
1696
|
-
obj.git_commit = message.gitCommit === "" ? undefined : message.gitCommit;
|
|
1697
|
-
obj.build_tags = message.buildTags === "" ? undefined : message.buildTags;
|
|
1698
|
-
obj.go_version = message.goVersion === "" ? undefined : message.goVersion;
|
|
1699
|
-
if (message.buildDeps) {
|
|
1700
|
-
obj.build_deps = message.buildDeps.map(e => e ? Module.toAmino(e) : undefined);
|
|
1701
|
-
} else {
|
|
1702
|
-
obj.build_deps = message.buildDeps;
|
|
1703
|
-
}
|
|
1704
|
-
obj.cosmos_sdk_version = message.cosmosSdkVersion === "" ? undefined : message.cosmosSdkVersion;
|
|
1705
|
-
return obj;
|
|
1706
|
-
},
|
|
1707
|
-
fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo {
|
|
1708
|
-
return VersionInfo.fromAmino(object.value);
|
|
1709
|
-
},
|
|
1710
|
-
toAminoMsg(message: VersionInfo): VersionInfoAminoMsg {
|
|
1711
|
-
return {
|
|
1712
|
-
type: "cosmos-sdk/VersionInfo",
|
|
1713
|
-
value: VersionInfo.toAmino(message)
|
|
1714
|
-
};
|
|
1715
|
-
},
|
|
1716
|
-
fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo {
|
|
1717
|
-
return VersionInfo.decode(message.value);
|
|
1718
|
-
},
|
|
1719
|
-
toProto(message: VersionInfo): Uint8Array {
|
|
1720
|
-
return VersionInfo.encode(message).finish();
|
|
1721
|
-
},
|
|
1722
|
-
toProtoMsg(message: VersionInfo): VersionInfoProtoMsg {
|
|
1723
|
-
return {
|
|
1724
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo",
|
|
1725
|
-
value: VersionInfo.encode(message).finish()
|
|
1726
|
-
};
|
|
1727
|
-
}
|
|
1728
|
-
};
|
|
1729
|
-
GlobalDecoderRegistry.register(VersionInfo.typeUrl, VersionInfo);
|
|
1730
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(VersionInfo.aminoType, VersionInfo.typeUrl);
|
|
1731
|
-
function createBaseModule(): Module {
|
|
1732
|
-
return {
|
|
1733
|
-
path: "",
|
|
1734
|
-
version: "",
|
|
1735
|
-
sum: ""
|
|
1736
|
-
};
|
|
1737
|
-
}
|
|
1738
|
-
export const Module = {
|
|
1739
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.Module",
|
|
1740
|
-
aminoType: "cosmos-sdk/Module",
|
|
1741
|
-
is(o: any): o is Module {
|
|
1742
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.path === "string" && typeof o.version === "string" && typeof o.sum === "string");
|
|
1743
|
-
},
|
|
1744
|
-
isAmino(o: any): o is ModuleAmino {
|
|
1745
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.path === "string" && typeof o.version === "string" && typeof o.sum === "string");
|
|
1746
|
-
},
|
|
1747
|
-
encode(message: Module, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1748
|
-
if (message.path !== "") {
|
|
1749
|
-
writer.uint32(10).string(message.path);
|
|
1750
|
-
}
|
|
1751
|
-
if (message.version !== "") {
|
|
1752
|
-
writer.uint32(18).string(message.version);
|
|
1753
|
-
}
|
|
1754
|
-
if (message.sum !== "") {
|
|
1755
|
-
writer.uint32(26).string(message.sum);
|
|
1756
|
-
}
|
|
1757
|
-
return writer;
|
|
1758
|
-
},
|
|
1759
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Module {
|
|
1760
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1761
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1762
|
-
const message = createBaseModule();
|
|
1763
|
-
while (reader.pos < end) {
|
|
1764
|
-
const tag = reader.uint32();
|
|
1765
|
-
switch (tag >>> 3) {
|
|
1766
|
-
case 1:
|
|
1767
|
-
message.path = reader.string();
|
|
1768
|
-
break;
|
|
1769
|
-
case 2:
|
|
1770
|
-
message.version = reader.string();
|
|
1771
|
-
break;
|
|
1772
|
-
case 3:
|
|
1773
|
-
message.sum = reader.string();
|
|
1774
|
-
break;
|
|
1775
|
-
default:
|
|
1776
|
-
reader.skipType(tag & 7);
|
|
1777
|
-
break;
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
return message;
|
|
1781
|
-
},
|
|
1782
|
-
fromPartial(object: DeepPartial<Module>): Module {
|
|
1783
|
-
const message = createBaseModule();
|
|
1784
|
-
message.path = object.path ?? "";
|
|
1785
|
-
message.version = object.version ?? "";
|
|
1786
|
-
message.sum = object.sum ?? "";
|
|
1787
|
-
return message;
|
|
1788
|
-
},
|
|
1789
|
-
fromAmino(object: ModuleAmino): Module {
|
|
1790
|
-
const message = createBaseModule();
|
|
1791
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1792
|
-
message.path = object.path;
|
|
1793
|
-
}
|
|
1794
|
-
if (object.version !== undefined && object.version !== null) {
|
|
1795
|
-
message.version = object.version;
|
|
1796
|
-
}
|
|
1797
|
-
if (object.sum !== undefined && object.sum !== null) {
|
|
1798
|
-
message.sum = object.sum;
|
|
1799
|
-
}
|
|
1800
|
-
return message;
|
|
1801
|
-
},
|
|
1802
|
-
toAmino(message: Module): ModuleAmino {
|
|
1803
|
-
const obj: any = {};
|
|
1804
|
-
obj.path = message.path === "" ? undefined : message.path;
|
|
1805
|
-
obj.version = message.version === "" ? undefined : message.version;
|
|
1806
|
-
obj.sum = message.sum === "" ? undefined : message.sum;
|
|
1807
|
-
return obj;
|
|
1808
|
-
},
|
|
1809
|
-
fromAminoMsg(object: ModuleAminoMsg): Module {
|
|
1810
|
-
return Module.fromAmino(object.value);
|
|
1811
|
-
},
|
|
1812
|
-
toAminoMsg(message: Module): ModuleAminoMsg {
|
|
1813
|
-
return {
|
|
1814
|
-
type: "cosmos-sdk/Module",
|
|
1815
|
-
value: Module.toAmino(message)
|
|
1816
|
-
};
|
|
1817
|
-
},
|
|
1818
|
-
fromProtoMsg(message: ModuleProtoMsg): Module {
|
|
1819
|
-
return Module.decode(message.value);
|
|
1820
|
-
},
|
|
1821
|
-
toProto(message: Module): Uint8Array {
|
|
1822
|
-
return Module.encode(message).finish();
|
|
1823
|
-
},
|
|
1824
|
-
toProtoMsg(message: Module): ModuleProtoMsg {
|
|
1825
|
-
return {
|
|
1826
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.Module",
|
|
1827
|
-
value: Module.encode(message).finish()
|
|
1828
|
-
};
|
|
1829
|
-
}
|
|
1830
|
-
};
|
|
1831
|
-
GlobalDecoderRegistry.register(Module.typeUrl, Module);
|
|
1832
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
|
|
1833
|
-
function createBaseABCIQueryRequest(): ABCIQueryRequest {
|
|
1834
|
-
return {
|
|
1835
|
-
data: new Uint8Array(),
|
|
1836
|
-
path: "",
|
|
1837
|
-
height: BigInt(0),
|
|
1838
|
-
prove: false
|
|
1839
|
-
};
|
|
1840
|
-
}
|
|
1841
|
-
export const ABCIQueryRequest = {
|
|
1842
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest",
|
|
1843
|
-
aminoType: "cosmos-sdk/ABCIQueryRequest",
|
|
1844
|
-
is(o: any): o is ABCIQueryRequest {
|
|
1845
|
-
return o && (o.$typeUrl === ABCIQueryRequest.typeUrl || (o.data instanceof Uint8Array || typeof o.data === "string") && typeof o.path === "string" && typeof o.height === "bigint" && typeof o.prove === "boolean");
|
|
1846
|
-
},
|
|
1847
|
-
isAmino(o: any): o is ABCIQueryRequestAmino {
|
|
1848
|
-
return o && (o.$typeUrl === ABCIQueryRequest.typeUrl || (o.data instanceof Uint8Array || typeof o.data === "string") && typeof o.path === "string" && typeof o.height === "bigint" && typeof o.prove === "boolean");
|
|
1849
|
-
},
|
|
1850
|
-
encode(message: ABCIQueryRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1851
|
-
if (message.data.length !== 0) {
|
|
1852
|
-
writer.uint32(10).bytes(message.data);
|
|
1853
|
-
}
|
|
1854
|
-
if (message.path !== "") {
|
|
1855
|
-
writer.uint32(18).string(message.path);
|
|
1856
|
-
}
|
|
1857
|
-
if (message.height !== BigInt(0)) {
|
|
1858
|
-
writer.uint32(24).int64(message.height);
|
|
1859
|
-
}
|
|
1860
|
-
if (message.prove === true) {
|
|
1861
|
-
writer.uint32(32).bool(message.prove);
|
|
1862
|
-
}
|
|
1863
|
-
return writer;
|
|
1864
|
-
},
|
|
1865
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ABCIQueryRequest {
|
|
1866
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1867
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1868
|
-
const message = createBaseABCIQueryRequest();
|
|
1869
|
-
while (reader.pos < end) {
|
|
1870
|
-
const tag = reader.uint32();
|
|
1871
|
-
switch (tag >>> 3) {
|
|
1872
|
-
case 1:
|
|
1873
|
-
message.data = reader.bytes();
|
|
1874
|
-
break;
|
|
1875
|
-
case 2:
|
|
1876
|
-
message.path = reader.string();
|
|
1877
|
-
break;
|
|
1878
|
-
case 3:
|
|
1879
|
-
message.height = reader.int64();
|
|
1880
|
-
break;
|
|
1881
|
-
case 4:
|
|
1882
|
-
message.prove = reader.bool();
|
|
1883
|
-
break;
|
|
1884
|
-
default:
|
|
1885
|
-
reader.skipType(tag & 7);
|
|
1886
|
-
break;
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
return message;
|
|
1890
|
-
},
|
|
1891
|
-
fromPartial(object: DeepPartial<ABCIQueryRequest>): ABCIQueryRequest {
|
|
1892
|
-
const message = createBaseABCIQueryRequest();
|
|
1893
|
-
message.data = object.data ?? new Uint8Array();
|
|
1894
|
-
message.path = object.path ?? "";
|
|
1895
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1896
|
-
message.prove = object.prove ?? false;
|
|
1897
|
-
return message;
|
|
1898
|
-
},
|
|
1899
|
-
fromAmino(object: ABCIQueryRequestAmino): ABCIQueryRequest {
|
|
1900
|
-
const message = createBaseABCIQueryRequest();
|
|
1901
|
-
if (object.data !== undefined && object.data !== null) {
|
|
1902
|
-
message.data = bytesFromBase64(object.data);
|
|
1903
|
-
}
|
|
1904
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1905
|
-
message.path = object.path;
|
|
1906
|
-
}
|
|
1907
|
-
if (object.height !== undefined && object.height !== null) {
|
|
1908
|
-
message.height = BigInt(object.height);
|
|
1909
|
-
}
|
|
1910
|
-
if (object.prove !== undefined && object.prove !== null) {
|
|
1911
|
-
message.prove = object.prove;
|
|
1912
|
-
}
|
|
1913
|
-
return message;
|
|
1914
|
-
},
|
|
1915
|
-
toAmino(message: ABCIQueryRequest): ABCIQueryRequestAmino {
|
|
1916
|
-
const obj: any = {};
|
|
1917
|
-
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
1918
|
-
obj.path = message.path === "" ? undefined : message.path;
|
|
1919
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1920
|
-
obj.prove = message.prove === false ? undefined : message.prove;
|
|
1921
|
-
return obj;
|
|
1922
|
-
},
|
|
1923
|
-
fromAminoMsg(object: ABCIQueryRequestAminoMsg): ABCIQueryRequest {
|
|
1924
|
-
return ABCIQueryRequest.fromAmino(object.value);
|
|
1925
|
-
},
|
|
1926
|
-
toAminoMsg(message: ABCIQueryRequest): ABCIQueryRequestAminoMsg {
|
|
1927
|
-
return {
|
|
1928
|
-
type: "cosmos-sdk/ABCIQueryRequest",
|
|
1929
|
-
value: ABCIQueryRequest.toAmino(message)
|
|
1930
|
-
};
|
|
1931
|
-
},
|
|
1932
|
-
fromProtoMsg(message: ABCIQueryRequestProtoMsg): ABCIQueryRequest {
|
|
1933
|
-
return ABCIQueryRequest.decode(message.value);
|
|
1934
|
-
},
|
|
1935
|
-
toProto(message: ABCIQueryRequest): Uint8Array {
|
|
1936
|
-
return ABCIQueryRequest.encode(message).finish();
|
|
1937
|
-
},
|
|
1938
|
-
toProtoMsg(message: ABCIQueryRequest): ABCIQueryRequestProtoMsg {
|
|
1939
|
-
return {
|
|
1940
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest",
|
|
1941
|
-
value: ABCIQueryRequest.encode(message).finish()
|
|
1942
|
-
};
|
|
1943
|
-
}
|
|
1944
|
-
};
|
|
1945
|
-
GlobalDecoderRegistry.register(ABCIQueryRequest.typeUrl, ABCIQueryRequest);
|
|
1946
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ABCIQueryRequest.aminoType, ABCIQueryRequest.typeUrl);
|
|
1947
|
-
function createBaseABCIQueryResponse(): ABCIQueryResponse {
|
|
1948
|
-
return {
|
|
1949
|
-
code: 0,
|
|
1950
|
-
log: "",
|
|
1951
|
-
info: "",
|
|
1952
|
-
index: BigInt(0),
|
|
1953
|
-
key: new Uint8Array(),
|
|
1954
|
-
value: new Uint8Array(),
|
|
1955
|
-
proofOps: undefined,
|
|
1956
|
-
height: BigInt(0),
|
|
1957
|
-
codespace: ""
|
|
1958
|
-
};
|
|
1959
|
-
}
|
|
1960
|
-
export const ABCIQueryResponse = {
|
|
1961
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse",
|
|
1962
|
-
aminoType: "cosmos-sdk/ABCIQueryResponse",
|
|
1963
|
-
is(o: any): o is ABCIQueryResponse {
|
|
1964
|
-
return o && (o.$typeUrl === ABCIQueryResponse.typeUrl || typeof o.code === "number" && typeof o.log === "string" && typeof o.info === "string" && typeof o.index === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && typeof o.height === "bigint" && typeof o.codespace === "string");
|
|
1965
|
-
},
|
|
1966
|
-
isAmino(o: any): o is ABCIQueryResponseAmino {
|
|
1967
|
-
return o && (o.$typeUrl === ABCIQueryResponse.typeUrl || typeof o.code === "number" && typeof o.log === "string" && typeof o.info === "string" && typeof o.index === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && typeof o.height === "bigint" && typeof o.codespace === "string");
|
|
1968
|
-
},
|
|
1969
|
-
encode(message: ABCIQueryResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1970
|
-
if (message.code !== 0) {
|
|
1971
|
-
writer.uint32(8).uint32(message.code);
|
|
1972
|
-
}
|
|
1973
|
-
if (message.log !== "") {
|
|
1974
|
-
writer.uint32(26).string(message.log);
|
|
1975
|
-
}
|
|
1976
|
-
if (message.info !== "") {
|
|
1977
|
-
writer.uint32(34).string(message.info);
|
|
1978
|
-
}
|
|
1979
|
-
if (message.index !== BigInt(0)) {
|
|
1980
|
-
writer.uint32(40).int64(message.index);
|
|
1981
|
-
}
|
|
1982
|
-
if (message.key.length !== 0) {
|
|
1983
|
-
writer.uint32(50).bytes(message.key);
|
|
1984
|
-
}
|
|
1985
|
-
if (message.value.length !== 0) {
|
|
1986
|
-
writer.uint32(58).bytes(message.value);
|
|
1987
|
-
}
|
|
1988
|
-
if (message.proofOps !== undefined) {
|
|
1989
|
-
ProofOps.encode(message.proofOps, writer.uint32(66).fork()).ldelim();
|
|
1990
|
-
}
|
|
1991
|
-
if (message.height !== BigInt(0)) {
|
|
1992
|
-
writer.uint32(72).int64(message.height);
|
|
1993
|
-
}
|
|
1994
|
-
if (message.codespace !== "") {
|
|
1995
|
-
writer.uint32(82).string(message.codespace);
|
|
1996
|
-
}
|
|
1997
|
-
return writer;
|
|
1998
|
-
},
|
|
1999
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ABCIQueryResponse {
|
|
2000
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2001
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2002
|
-
const message = createBaseABCIQueryResponse();
|
|
2003
|
-
while (reader.pos < end) {
|
|
2004
|
-
const tag = reader.uint32();
|
|
2005
|
-
switch (tag >>> 3) {
|
|
2006
|
-
case 1:
|
|
2007
|
-
message.code = reader.uint32();
|
|
2008
|
-
break;
|
|
2009
|
-
case 3:
|
|
2010
|
-
message.log = reader.string();
|
|
2011
|
-
break;
|
|
2012
|
-
case 4:
|
|
2013
|
-
message.info = reader.string();
|
|
2014
|
-
break;
|
|
2015
|
-
case 5:
|
|
2016
|
-
message.index = reader.int64();
|
|
2017
|
-
break;
|
|
2018
|
-
case 6:
|
|
2019
|
-
message.key = reader.bytes();
|
|
2020
|
-
break;
|
|
2021
|
-
case 7:
|
|
2022
|
-
message.value = reader.bytes();
|
|
2023
|
-
break;
|
|
2024
|
-
case 8:
|
|
2025
|
-
message.proofOps = ProofOps.decode(reader, reader.uint32());
|
|
2026
|
-
break;
|
|
2027
|
-
case 9:
|
|
2028
|
-
message.height = reader.int64();
|
|
2029
|
-
break;
|
|
2030
|
-
case 10:
|
|
2031
|
-
message.codespace = reader.string();
|
|
2032
|
-
break;
|
|
2033
|
-
default:
|
|
2034
|
-
reader.skipType(tag & 7);
|
|
2035
|
-
break;
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
return message;
|
|
2039
|
-
},
|
|
2040
|
-
fromPartial(object: DeepPartial<ABCIQueryResponse>): ABCIQueryResponse {
|
|
2041
|
-
const message = createBaseABCIQueryResponse();
|
|
2042
|
-
message.code = object.code ?? 0;
|
|
2043
|
-
message.log = object.log ?? "";
|
|
2044
|
-
message.info = object.info ?? "";
|
|
2045
|
-
message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0);
|
|
2046
|
-
message.key = object.key ?? new Uint8Array();
|
|
2047
|
-
message.value = object.value ?? new Uint8Array();
|
|
2048
|
-
message.proofOps = object.proofOps !== undefined && object.proofOps !== null ? ProofOps.fromPartial(object.proofOps) : undefined;
|
|
2049
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
2050
|
-
message.codespace = object.codespace ?? "";
|
|
2051
|
-
return message;
|
|
2052
|
-
},
|
|
2053
|
-
fromAmino(object: ABCIQueryResponseAmino): ABCIQueryResponse {
|
|
2054
|
-
const message = createBaseABCIQueryResponse();
|
|
2055
|
-
if (object.code !== undefined && object.code !== null) {
|
|
2056
|
-
message.code = object.code;
|
|
2057
|
-
}
|
|
2058
|
-
if (object.log !== undefined && object.log !== null) {
|
|
2059
|
-
message.log = object.log;
|
|
2060
|
-
}
|
|
2061
|
-
if (object.info !== undefined && object.info !== null) {
|
|
2062
|
-
message.info = object.info;
|
|
2063
|
-
}
|
|
2064
|
-
if (object.index !== undefined && object.index !== null) {
|
|
2065
|
-
message.index = BigInt(object.index);
|
|
2066
|
-
}
|
|
2067
|
-
if (object.key !== undefined && object.key !== null) {
|
|
2068
|
-
message.key = bytesFromBase64(object.key);
|
|
2069
|
-
}
|
|
2070
|
-
if (object.value !== undefined && object.value !== null) {
|
|
2071
|
-
message.value = bytesFromBase64(object.value);
|
|
2072
|
-
}
|
|
2073
|
-
if (object.proof_ops !== undefined && object.proof_ops !== null) {
|
|
2074
|
-
message.proofOps = ProofOps.fromAmino(object.proof_ops);
|
|
2075
|
-
}
|
|
2076
|
-
if (object.height !== undefined && object.height !== null) {
|
|
2077
|
-
message.height = BigInt(object.height);
|
|
2078
|
-
}
|
|
2079
|
-
if (object.codespace !== undefined && object.codespace !== null) {
|
|
2080
|
-
message.codespace = object.codespace;
|
|
2081
|
-
}
|
|
2082
|
-
return message;
|
|
2083
|
-
},
|
|
2084
|
-
toAmino(message: ABCIQueryResponse): ABCIQueryResponseAmino {
|
|
2085
|
-
const obj: any = {};
|
|
2086
|
-
obj.code = message.code === 0 ? undefined : message.code;
|
|
2087
|
-
obj.log = message.log === "" ? undefined : message.log;
|
|
2088
|
-
obj.info = message.info === "" ? undefined : message.info;
|
|
2089
|
-
obj.index = message.index !== BigInt(0) ? message.index?.toString() : undefined;
|
|
2090
|
-
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
2091
|
-
obj.value = message.value ? base64FromBytes(message.value) : undefined;
|
|
2092
|
-
obj.proof_ops = message.proofOps ? ProofOps.toAmino(message.proofOps) : undefined;
|
|
2093
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
2094
|
-
obj.codespace = message.codespace === "" ? undefined : message.codespace;
|
|
2095
|
-
return obj;
|
|
2096
|
-
},
|
|
2097
|
-
fromAminoMsg(object: ABCIQueryResponseAminoMsg): ABCIQueryResponse {
|
|
2098
|
-
return ABCIQueryResponse.fromAmino(object.value);
|
|
2099
|
-
},
|
|
2100
|
-
toAminoMsg(message: ABCIQueryResponse): ABCIQueryResponseAminoMsg {
|
|
2101
|
-
return {
|
|
2102
|
-
type: "cosmos-sdk/ABCIQueryResponse",
|
|
2103
|
-
value: ABCIQueryResponse.toAmino(message)
|
|
2104
|
-
};
|
|
2105
|
-
},
|
|
2106
|
-
fromProtoMsg(message: ABCIQueryResponseProtoMsg): ABCIQueryResponse {
|
|
2107
|
-
return ABCIQueryResponse.decode(message.value);
|
|
2108
|
-
},
|
|
2109
|
-
toProto(message: ABCIQueryResponse): Uint8Array {
|
|
2110
|
-
return ABCIQueryResponse.encode(message).finish();
|
|
2111
|
-
},
|
|
2112
|
-
toProtoMsg(message: ABCIQueryResponse): ABCIQueryResponseProtoMsg {
|
|
2113
|
-
return {
|
|
2114
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse",
|
|
2115
|
-
value: ABCIQueryResponse.encode(message).finish()
|
|
2116
|
-
};
|
|
2117
|
-
}
|
|
2118
|
-
};
|
|
2119
|
-
GlobalDecoderRegistry.register(ABCIQueryResponse.typeUrl, ABCIQueryResponse);
|
|
2120
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ABCIQueryResponse.aminoType, ABCIQueryResponse.typeUrl);
|
|
2121
|
-
function createBaseProofOp(): ProofOp {
|
|
2122
|
-
return {
|
|
2123
|
-
type: "",
|
|
2124
|
-
key: new Uint8Array(),
|
|
2125
|
-
data: new Uint8Array()
|
|
2126
|
-
};
|
|
2127
|
-
}
|
|
2128
|
-
export const ProofOp = {
|
|
2129
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp",
|
|
2130
|
-
aminoType: "cosmos-sdk/ProofOp",
|
|
2131
|
-
is(o: any): o is ProofOp {
|
|
2132
|
-
return o && (o.$typeUrl === ProofOp.typeUrl || typeof o.type === "string" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.data instanceof Uint8Array || typeof o.data === "string"));
|
|
2133
|
-
},
|
|
2134
|
-
isAmino(o: any): o is ProofOpAmino {
|
|
2135
|
-
return o && (o.$typeUrl === ProofOp.typeUrl || typeof o.type === "string" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.data instanceof Uint8Array || typeof o.data === "string"));
|
|
2136
|
-
},
|
|
2137
|
-
encode(message: ProofOp, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2138
|
-
if (message.type !== "") {
|
|
2139
|
-
writer.uint32(10).string(message.type);
|
|
2140
|
-
}
|
|
2141
|
-
if (message.key.length !== 0) {
|
|
2142
|
-
writer.uint32(18).bytes(message.key);
|
|
2143
|
-
}
|
|
2144
|
-
if (message.data.length !== 0) {
|
|
2145
|
-
writer.uint32(26).bytes(message.data);
|
|
2146
|
-
}
|
|
2147
|
-
return writer;
|
|
2148
|
-
},
|
|
2149
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ProofOp {
|
|
2150
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2151
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2152
|
-
const message = createBaseProofOp();
|
|
2153
|
-
while (reader.pos < end) {
|
|
2154
|
-
const tag = reader.uint32();
|
|
2155
|
-
switch (tag >>> 3) {
|
|
2156
|
-
case 1:
|
|
2157
|
-
message.type = reader.string();
|
|
2158
|
-
break;
|
|
2159
|
-
case 2:
|
|
2160
|
-
message.key = reader.bytes();
|
|
2161
|
-
break;
|
|
2162
|
-
case 3:
|
|
2163
|
-
message.data = reader.bytes();
|
|
2164
|
-
break;
|
|
2165
|
-
default:
|
|
2166
|
-
reader.skipType(tag & 7);
|
|
2167
|
-
break;
|
|
2168
|
-
}
|
|
2169
|
-
}
|
|
2170
|
-
return message;
|
|
2171
|
-
},
|
|
2172
|
-
fromPartial(object: DeepPartial<ProofOp>): ProofOp {
|
|
2173
|
-
const message = createBaseProofOp();
|
|
2174
|
-
message.type = object.type ?? "";
|
|
2175
|
-
message.key = object.key ?? new Uint8Array();
|
|
2176
|
-
message.data = object.data ?? new Uint8Array();
|
|
2177
|
-
return message;
|
|
2178
|
-
},
|
|
2179
|
-
fromAmino(object: ProofOpAmino): ProofOp {
|
|
2180
|
-
const message = createBaseProofOp();
|
|
2181
|
-
if (object.type !== undefined && object.type !== null) {
|
|
2182
|
-
message.type = object.type;
|
|
2183
|
-
}
|
|
2184
|
-
if (object.key !== undefined && object.key !== null) {
|
|
2185
|
-
message.key = bytesFromBase64(object.key);
|
|
2186
|
-
}
|
|
2187
|
-
if (object.data !== undefined && object.data !== null) {
|
|
2188
|
-
message.data = bytesFromBase64(object.data);
|
|
2189
|
-
}
|
|
2190
|
-
return message;
|
|
2191
|
-
},
|
|
2192
|
-
toAmino(message: ProofOp): ProofOpAmino {
|
|
2193
|
-
const obj: any = {};
|
|
2194
|
-
obj.type = message.type === "" ? undefined : message.type;
|
|
2195
|
-
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
2196
|
-
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
2197
|
-
return obj;
|
|
2198
|
-
},
|
|
2199
|
-
fromAminoMsg(object: ProofOpAminoMsg): ProofOp {
|
|
2200
|
-
return ProofOp.fromAmino(object.value);
|
|
2201
|
-
},
|
|
2202
|
-
toAminoMsg(message: ProofOp): ProofOpAminoMsg {
|
|
2203
|
-
return {
|
|
2204
|
-
type: "cosmos-sdk/ProofOp",
|
|
2205
|
-
value: ProofOp.toAmino(message)
|
|
2206
|
-
};
|
|
2207
|
-
},
|
|
2208
|
-
fromProtoMsg(message: ProofOpProtoMsg): ProofOp {
|
|
2209
|
-
return ProofOp.decode(message.value);
|
|
2210
|
-
},
|
|
2211
|
-
toProto(message: ProofOp): Uint8Array {
|
|
2212
|
-
return ProofOp.encode(message).finish();
|
|
2213
|
-
},
|
|
2214
|
-
toProtoMsg(message: ProofOp): ProofOpProtoMsg {
|
|
2215
|
-
return {
|
|
2216
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp",
|
|
2217
|
-
value: ProofOp.encode(message).finish()
|
|
2218
|
-
};
|
|
2219
|
-
}
|
|
2220
|
-
};
|
|
2221
|
-
GlobalDecoderRegistry.register(ProofOp.typeUrl, ProofOp);
|
|
2222
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ProofOp.aminoType, ProofOp.typeUrl);
|
|
2223
|
-
function createBaseProofOps(): ProofOps {
|
|
2224
|
-
return {
|
|
2225
|
-
ops: []
|
|
2226
|
-
};
|
|
2227
|
-
}
|
|
2228
|
-
export const ProofOps = {
|
|
2229
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps",
|
|
2230
|
-
aminoType: "cosmos-sdk/ProofOps",
|
|
2231
|
-
is(o: any): o is ProofOps {
|
|
2232
|
-
return o && (o.$typeUrl === ProofOps.typeUrl || Array.isArray(o.ops) && (!o.ops.length || ProofOp.is(o.ops[0])));
|
|
2233
|
-
},
|
|
2234
|
-
isAmino(o: any): o is ProofOpsAmino {
|
|
2235
|
-
return o && (o.$typeUrl === ProofOps.typeUrl || Array.isArray(o.ops) && (!o.ops.length || ProofOp.isAmino(o.ops[0])));
|
|
2236
|
-
},
|
|
2237
|
-
encode(message: ProofOps, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2238
|
-
for (const v of message.ops) {
|
|
2239
|
-
ProofOp.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
2240
|
-
}
|
|
2241
|
-
return writer;
|
|
2242
|
-
},
|
|
2243
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ProofOps {
|
|
2244
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2245
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2246
|
-
const message = createBaseProofOps();
|
|
2247
|
-
while (reader.pos < end) {
|
|
2248
|
-
const tag = reader.uint32();
|
|
2249
|
-
switch (tag >>> 3) {
|
|
2250
|
-
case 1:
|
|
2251
|
-
message.ops.push(ProofOp.decode(reader, reader.uint32()));
|
|
2252
|
-
break;
|
|
2253
|
-
default:
|
|
2254
|
-
reader.skipType(tag & 7);
|
|
2255
|
-
break;
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
return message;
|
|
2259
|
-
},
|
|
2260
|
-
fromPartial(object: DeepPartial<ProofOps>): ProofOps {
|
|
2261
|
-
const message = createBaseProofOps();
|
|
2262
|
-
message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || [];
|
|
2263
|
-
return message;
|
|
2264
|
-
},
|
|
2265
|
-
fromAmino(object: ProofOpsAmino): ProofOps {
|
|
2266
|
-
const message = createBaseProofOps();
|
|
2267
|
-
message.ops = object.ops?.map(e => ProofOp.fromAmino(e)) || [];
|
|
2268
|
-
return message;
|
|
2269
|
-
},
|
|
2270
|
-
toAmino(message: ProofOps): ProofOpsAmino {
|
|
2271
|
-
const obj: any = {};
|
|
2272
|
-
if (message.ops) {
|
|
2273
|
-
obj.ops = message.ops.map(e => e ? ProofOp.toAmino(e) : undefined);
|
|
2274
|
-
} else {
|
|
2275
|
-
obj.ops = message.ops;
|
|
2276
|
-
}
|
|
2277
|
-
return obj;
|
|
2278
|
-
},
|
|
2279
|
-
fromAminoMsg(object: ProofOpsAminoMsg): ProofOps {
|
|
2280
|
-
return ProofOps.fromAmino(object.value);
|
|
2281
|
-
},
|
|
2282
|
-
toAminoMsg(message: ProofOps): ProofOpsAminoMsg {
|
|
2283
|
-
return {
|
|
2284
|
-
type: "cosmos-sdk/ProofOps",
|
|
2285
|
-
value: ProofOps.toAmino(message)
|
|
2286
|
-
};
|
|
2287
|
-
},
|
|
2288
|
-
fromProtoMsg(message: ProofOpsProtoMsg): ProofOps {
|
|
2289
|
-
return ProofOps.decode(message.value);
|
|
2290
|
-
},
|
|
2291
|
-
toProto(message: ProofOps): Uint8Array {
|
|
2292
|
-
return ProofOps.encode(message).finish();
|
|
2293
|
-
},
|
|
2294
|
-
toProtoMsg(message: ProofOps): ProofOpsProtoMsg {
|
|
2295
|
-
return {
|
|
2296
|
-
typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps",
|
|
2297
|
-
value: ProofOps.encode(message).finish()
|
|
2298
|
-
};
|
|
2299
|
-
}
|
|
2300
|
-
};
|
|
2301
|
-
GlobalDecoderRegistry.register(ProofOps.typeUrl, ProofOps);
|
|
2302
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ProofOps.aminoType, ProofOps.typeUrl);
|