@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,2157 +0,0 @@
|
|
|
1
|
-
import { Proof, ProofAmino } from "../crypto/proof";
|
|
2
|
-
import { Consensus, ConsensusAmino } from "../version/types";
|
|
3
|
-
import { Timestamp } from "../../google/protobuf/timestamp";
|
|
4
|
-
import { BlockIDFlag, ValidatorSet, ValidatorSetAmino } from "./validator";
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
6
|
-
import { DeepPartial, bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, isSet } from "../../helpers";
|
|
7
|
-
import { GlobalDecoderRegistry } from "../../registry";
|
|
8
|
-
/** SignedMsgType is a type of signed message in the consensus. */
|
|
9
|
-
export enum SignedMsgType {
|
|
10
|
-
SIGNED_MSG_TYPE_UNKNOWN = 0,
|
|
11
|
-
/** SIGNED_MSG_TYPE_PREVOTE - Votes */
|
|
12
|
-
SIGNED_MSG_TYPE_PREVOTE = 1,
|
|
13
|
-
SIGNED_MSG_TYPE_PRECOMMIT = 2,
|
|
14
|
-
/** SIGNED_MSG_TYPE_PROPOSAL - Proposals */
|
|
15
|
-
SIGNED_MSG_TYPE_PROPOSAL = 32,
|
|
16
|
-
UNRECOGNIZED = -1,
|
|
17
|
-
}
|
|
18
|
-
export const SignedMsgTypeAmino = SignedMsgType;
|
|
19
|
-
export function signedMsgTypeFromJSON(object: any): SignedMsgType {
|
|
20
|
-
switch (object) {
|
|
21
|
-
case 0:
|
|
22
|
-
case "SIGNED_MSG_TYPE_UNKNOWN":
|
|
23
|
-
return SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN;
|
|
24
|
-
case 1:
|
|
25
|
-
case "SIGNED_MSG_TYPE_PREVOTE":
|
|
26
|
-
return SignedMsgType.SIGNED_MSG_TYPE_PREVOTE;
|
|
27
|
-
case 2:
|
|
28
|
-
case "SIGNED_MSG_TYPE_PRECOMMIT":
|
|
29
|
-
return SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT;
|
|
30
|
-
case 32:
|
|
31
|
-
case "SIGNED_MSG_TYPE_PROPOSAL":
|
|
32
|
-
return SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL;
|
|
33
|
-
case -1:
|
|
34
|
-
case "UNRECOGNIZED":
|
|
35
|
-
default:
|
|
36
|
-
return SignedMsgType.UNRECOGNIZED;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export function signedMsgTypeToJSON(object: SignedMsgType): string {
|
|
40
|
-
switch (object) {
|
|
41
|
-
case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN:
|
|
42
|
-
return "SIGNED_MSG_TYPE_UNKNOWN";
|
|
43
|
-
case SignedMsgType.SIGNED_MSG_TYPE_PREVOTE:
|
|
44
|
-
return "SIGNED_MSG_TYPE_PREVOTE";
|
|
45
|
-
case SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT:
|
|
46
|
-
return "SIGNED_MSG_TYPE_PRECOMMIT";
|
|
47
|
-
case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL:
|
|
48
|
-
return "SIGNED_MSG_TYPE_PROPOSAL";
|
|
49
|
-
case SignedMsgType.UNRECOGNIZED:
|
|
50
|
-
default:
|
|
51
|
-
return "UNRECOGNIZED";
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
/** PartsetHeader */
|
|
55
|
-
export interface PartSetHeader {
|
|
56
|
-
total: number;
|
|
57
|
-
hash: Uint8Array;
|
|
58
|
-
}
|
|
59
|
-
export interface PartSetHeaderProtoMsg {
|
|
60
|
-
typeUrl: "/tendermint.types.PartSetHeader";
|
|
61
|
-
value: Uint8Array;
|
|
62
|
-
}
|
|
63
|
-
/** PartsetHeader */
|
|
64
|
-
export interface PartSetHeaderAmino {
|
|
65
|
-
total: number;
|
|
66
|
-
hash: string;
|
|
67
|
-
}
|
|
68
|
-
export interface PartSetHeaderAminoMsg {
|
|
69
|
-
type: "/tendermint.types.PartSetHeader";
|
|
70
|
-
value: PartSetHeaderAmino;
|
|
71
|
-
}
|
|
72
|
-
export interface Part {
|
|
73
|
-
index: number;
|
|
74
|
-
bytes: Uint8Array;
|
|
75
|
-
proof: Proof;
|
|
76
|
-
}
|
|
77
|
-
export interface PartProtoMsg {
|
|
78
|
-
typeUrl: "/tendermint.types.Part";
|
|
79
|
-
value: Uint8Array;
|
|
80
|
-
}
|
|
81
|
-
export interface PartAmino {
|
|
82
|
-
index: number;
|
|
83
|
-
bytes: string;
|
|
84
|
-
proof: ProofAmino;
|
|
85
|
-
}
|
|
86
|
-
export interface PartAminoMsg {
|
|
87
|
-
type: "/tendermint.types.Part";
|
|
88
|
-
value: PartAmino;
|
|
89
|
-
}
|
|
90
|
-
/** BlockID */
|
|
91
|
-
export interface BlockID {
|
|
92
|
-
hash: Uint8Array;
|
|
93
|
-
partSetHeader: PartSetHeader;
|
|
94
|
-
}
|
|
95
|
-
export interface BlockIDProtoMsg {
|
|
96
|
-
typeUrl: "/tendermint.types.BlockID";
|
|
97
|
-
value: Uint8Array;
|
|
98
|
-
}
|
|
99
|
-
/** BlockID */
|
|
100
|
-
export interface BlockIDAmino {
|
|
101
|
-
hash: string;
|
|
102
|
-
part_set_header: PartSetHeaderAmino;
|
|
103
|
-
}
|
|
104
|
-
export interface BlockIDAminoMsg {
|
|
105
|
-
type: "/tendermint.types.BlockID";
|
|
106
|
-
value: BlockIDAmino;
|
|
107
|
-
}
|
|
108
|
-
/** Header defines the structure of a block header. */
|
|
109
|
-
export interface Header {
|
|
110
|
-
/** basic block info */
|
|
111
|
-
version: Consensus;
|
|
112
|
-
chainId: string;
|
|
113
|
-
height: bigint;
|
|
114
|
-
time: Date;
|
|
115
|
-
/** prev block info */
|
|
116
|
-
lastBlockId: BlockID;
|
|
117
|
-
/** hashes of block data */
|
|
118
|
-
lastCommitHash: Uint8Array;
|
|
119
|
-
/** transactions */
|
|
120
|
-
dataHash: Uint8Array;
|
|
121
|
-
/** hashes from the app output from the prev block */
|
|
122
|
-
validatorsHash: Uint8Array;
|
|
123
|
-
/** validators for the next block */
|
|
124
|
-
nextValidatorsHash: Uint8Array;
|
|
125
|
-
/** consensus params for current block */
|
|
126
|
-
consensusHash: Uint8Array;
|
|
127
|
-
/** state after txs from the previous block */
|
|
128
|
-
appHash: Uint8Array;
|
|
129
|
-
/** root hash of all results from the txs from the previous block */
|
|
130
|
-
lastResultsHash: Uint8Array;
|
|
131
|
-
/** consensus info */
|
|
132
|
-
evidenceHash: Uint8Array;
|
|
133
|
-
/** original proposer of the block */
|
|
134
|
-
proposerAddress: Uint8Array;
|
|
135
|
-
}
|
|
136
|
-
export interface HeaderProtoMsg {
|
|
137
|
-
typeUrl: "/tendermint.types.Header";
|
|
138
|
-
value: Uint8Array;
|
|
139
|
-
}
|
|
140
|
-
/** Header defines the structure of a block header. */
|
|
141
|
-
export interface HeaderAmino {
|
|
142
|
-
/** basic block info */
|
|
143
|
-
version: ConsensusAmino;
|
|
144
|
-
chain_id: string;
|
|
145
|
-
height: string;
|
|
146
|
-
time: string;
|
|
147
|
-
/** prev block info */
|
|
148
|
-
last_block_id: BlockIDAmino;
|
|
149
|
-
/** hashes of block data */
|
|
150
|
-
last_commit_hash: string;
|
|
151
|
-
/** transactions */
|
|
152
|
-
data_hash: string;
|
|
153
|
-
/** hashes from the app output from the prev block */
|
|
154
|
-
validators_hash: string;
|
|
155
|
-
/** validators for the next block */
|
|
156
|
-
next_validators_hash: string;
|
|
157
|
-
/** consensus params for current block */
|
|
158
|
-
consensus_hash: string;
|
|
159
|
-
/** state after txs from the previous block */
|
|
160
|
-
app_hash: string;
|
|
161
|
-
/** root hash of all results from the txs from the previous block */
|
|
162
|
-
last_results_hash: string;
|
|
163
|
-
/** consensus info */
|
|
164
|
-
evidence_hash: string;
|
|
165
|
-
/** original proposer of the block */
|
|
166
|
-
proposer_address: string;
|
|
167
|
-
}
|
|
168
|
-
export interface HeaderAminoMsg {
|
|
169
|
-
type: "/tendermint.types.Header";
|
|
170
|
-
value: HeaderAmino;
|
|
171
|
-
}
|
|
172
|
-
/** Data contains the set of transactions included in the block */
|
|
173
|
-
export interface Data {
|
|
174
|
-
/**
|
|
175
|
-
* Txs that will be applied by state @ block.Height+1.
|
|
176
|
-
* NOTE: not all txs here are valid. We're just agreeing on the order first.
|
|
177
|
-
* This means that block.AppHash does not include these txs.
|
|
178
|
-
*/
|
|
179
|
-
txs: Uint8Array[];
|
|
180
|
-
}
|
|
181
|
-
export interface DataProtoMsg {
|
|
182
|
-
typeUrl: "/tendermint.types.Data";
|
|
183
|
-
value: Uint8Array;
|
|
184
|
-
}
|
|
185
|
-
/** Data contains the set of transactions included in the block */
|
|
186
|
-
export interface DataAmino {
|
|
187
|
-
/**
|
|
188
|
-
* Txs that will be applied by state @ block.Height+1.
|
|
189
|
-
* NOTE: not all txs here are valid. We're just agreeing on the order first.
|
|
190
|
-
* This means that block.AppHash does not include these txs.
|
|
191
|
-
*/
|
|
192
|
-
txs: string[];
|
|
193
|
-
}
|
|
194
|
-
export interface DataAminoMsg {
|
|
195
|
-
type: "/tendermint.types.Data";
|
|
196
|
-
value: DataAmino;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Vote represents a prevote or precommit vote from validators for
|
|
200
|
-
* consensus.
|
|
201
|
-
*/
|
|
202
|
-
export interface Vote {
|
|
203
|
-
type: SignedMsgType;
|
|
204
|
-
height: bigint;
|
|
205
|
-
round: number;
|
|
206
|
-
/** zero if vote is nil. */
|
|
207
|
-
blockId: BlockID;
|
|
208
|
-
timestamp: Date;
|
|
209
|
-
validatorAddress: Uint8Array;
|
|
210
|
-
validatorIndex: number;
|
|
211
|
-
/**
|
|
212
|
-
* Vote signature by the validator if they participated in consensus for the
|
|
213
|
-
* associated block.
|
|
214
|
-
*/
|
|
215
|
-
signature: Uint8Array;
|
|
216
|
-
/**
|
|
217
|
-
* Vote extension provided by the application. Only valid for precommit
|
|
218
|
-
* messages.
|
|
219
|
-
*/
|
|
220
|
-
extension: Uint8Array;
|
|
221
|
-
/**
|
|
222
|
-
* Vote extension signature by the validator if they participated in
|
|
223
|
-
* consensus for the associated block.
|
|
224
|
-
* Only valid for precommit messages.
|
|
225
|
-
*/
|
|
226
|
-
extensionSignature: Uint8Array;
|
|
227
|
-
}
|
|
228
|
-
export interface VoteProtoMsg {
|
|
229
|
-
typeUrl: "/tendermint.types.Vote";
|
|
230
|
-
value: Uint8Array;
|
|
231
|
-
}
|
|
232
|
-
/**
|
|
233
|
-
* Vote represents a prevote or precommit vote from validators for
|
|
234
|
-
* consensus.
|
|
235
|
-
*/
|
|
236
|
-
export interface VoteAmino {
|
|
237
|
-
type: SignedMsgType;
|
|
238
|
-
height: string;
|
|
239
|
-
round: number;
|
|
240
|
-
/** zero if vote is nil. */
|
|
241
|
-
block_id: BlockIDAmino;
|
|
242
|
-
timestamp: string;
|
|
243
|
-
validator_address: string;
|
|
244
|
-
validator_index: number;
|
|
245
|
-
/**
|
|
246
|
-
* Vote signature by the validator if they participated in consensus for the
|
|
247
|
-
* associated block.
|
|
248
|
-
*/
|
|
249
|
-
signature: string;
|
|
250
|
-
/**
|
|
251
|
-
* Vote extension provided by the application. Only valid for precommit
|
|
252
|
-
* messages.
|
|
253
|
-
*/
|
|
254
|
-
extension: string;
|
|
255
|
-
/**
|
|
256
|
-
* Vote extension signature by the validator if they participated in
|
|
257
|
-
* consensus for the associated block.
|
|
258
|
-
* Only valid for precommit messages.
|
|
259
|
-
*/
|
|
260
|
-
extension_signature: string;
|
|
261
|
-
}
|
|
262
|
-
export interface VoteAminoMsg {
|
|
263
|
-
type: "/tendermint.types.Vote";
|
|
264
|
-
value: VoteAmino;
|
|
265
|
-
}
|
|
266
|
-
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
267
|
-
export interface Commit {
|
|
268
|
-
height: bigint;
|
|
269
|
-
round: number;
|
|
270
|
-
blockId: BlockID;
|
|
271
|
-
signatures: CommitSig[];
|
|
272
|
-
}
|
|
273
|
-
export interface CommitProtoMsg {
|
|
274
|
-
typeUrl: "/tendermint.types.Commit";
|
|
275
|
-
value: Uint8Array;
|
|
276
|
-
}
|
|
277
|
-
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
278
|
-
export interface CommitAmino {
|
|
279
|
-
height: string;
|
|
280
|
-
round: number;
|
|
281
|
-
block_id: BlockIDAmino;
|
|
282
|
-
signatures: CommitSigAmino[];
|
|
283
|
-
}
|
|
284
|
-
export interface CommitAminoMsg {
|
|
285
|
-
type: "/tendermint.types.Commit";
|
|
286
|
-
value: CommitAmino;
|
|
287
|
-
}
|
|
288
|
-
/** CommitSig is a part of the Vote included in a Commit. */
|
|
289
|
-
export interface CommitSig {
|
|
290
|
-
blockIdFlag: BlockIDFlag;
|
|
291
|
-
validatorAddress: Uint8Array;
|
|
292
|
-
timestamp: Date;
|
|
293
|
-
signature: Uint8Array;
|
|
294
|
-
}
|
|
295
|
-
export interface CommitSigProtoMsg {
|
|
296
|
-
typeUrl: "/tendermint.types.CommitSig";
|
|
297
|
-
value: Uint8Array;
|
|
298
|
-
}
|
|
299
|
-
/** CommitSig is a part of the Vote included in a Commit. */
|
|
300
|
-
export interface CommitSigAmino {
|
|
301
|
-
block_id_flag: BlockIDFlag;
|
|
302
|
-
validator_address: string;
|
|
303
|
-
timestamp: string;
|
|
304
|
-
signature: string;
|
|
305
|
-
}
|
|
306
|
-
export interface CommitSigAminoMsg {
|
|
307
|
-
type: "/tendermint.types.CommitSig";
|
|
308
|
-
value: CommitSigAmino;
|
|
309
|
-
}
|
|
310
|
-
export interface ExtendedCommit {
|
|
311
|
-
height: bigint;
|
|
312
|
-
round: number;
|
|
313
|
-
blockId: BlockID;
|
|
314
|
-
extendedSignatures: ExtendedCommitSig[];
|
|
315
|
-
}
|
|
316
|
-
export interface ExtendedCommitProtoMsg {
|
|
317
|
-
typeUrl: "/tendermint.types.ExtendedCommit";
|
|
318
|
-
value: Uint8Array;
|
|
319
|
-
}
|
|
320
|
-
export interface ExtendedCommitAmino {
|
|
321
|
-
height: string;
|
|
322
|
-
round: number;
|
|
323
|
-
block_id: BlockIDAmino;
|
|
324
|
-
extended_signatures: ExtendedCommitSigAmino[];
|
|
325
|
-
}
|
|
326
|
-
export interface ExtendedCommitAminoMsg {
|
|
327
|
-
type: "/tendermint.types.ExtendedCommit";
|
|
328
|
-
value: ExtendedCommitAmino;
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* ExtendedCommitSig retains all the same fields as CommitSig but adds vote
|
|
332
|
-
* extension-related fields. We use two signatures to ensure backwards compatibility.
|
|
333
|
-
* That is the digest of the original signature is still the same in prior versions
|
|
334
|
-
*/
|
|
335
|
-
export interface ExtendedCommitSig {
|
|
336
|
-
blockIdFlag: BlockIDFlag;
|
|
337
|
-
validatorAddress: Uint8Array;
|
|
338
|
-
timestamp: Date;
|
|
339
|
-
signature: Uint8Array;
|
|
340
|
-
/** Vote extension data */
|
|
341
|
-
extension: Uint8Array;
|
|
342
|
-
/** Vote extension signature */
|
|
343
|
-
extensionSignature: Uint8Array;
|
|
344
|
-
}
|
|
345
|
-
export interface ExtendedCommitSigProtoMsg {
|
|
346
|
-
typeUrl: "/tendermint.types.ExtendedCommitSig";
|
|
347
|
-
value: Uint8Array;
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* ExtendedCommitSig retains all the same fields as CommitSig but adds vote
|
|
351
|
-
* extension-related fields. We use two signatures to ensure backwards compatibility.
|
|
352
|
-
* That is the digest of the original signature is still the same in prior versions
|
|
353
|
-
*/
|
|
354
|
-
export interface ExtendedCommitSigAmino {
|
|
355
|
-
block_id_flag: BlockIDFlag;
|
|
356
|
-
validator_address: string;
|
|
357
|
-
timestamp: string;
|
|
358
|
-
signature: string;
|
|
359
|
-
/** Vote extension data */
|
|
360
|
-
extension: string;
|
|
361
|
-
/** Vote extension signature */
|
|
362
|
-
extension_signature: string;
|
|
363
|
-
}
|
|
364
|
-
export interface ExtendedCommitSigAminoMsg {
|
|
365
|
-
type: "/tendermint.types.ExtendedCommitSig";
|
|
366
|
-
value: ExtendedCommitSigAmino;
|
|
367
|
-
}
|
|
368
|
-
export interface Proposal {
|
|
369
|
-
type: SignedMsgType;
|
|
370
|
-
height: bigint;
|
|
371
|
-
round: number;
|
|
372
|
-
polRound: number;
|
|
373
|
-
blockId: BlockID;
|
|
374
|
-
timestamp: Date;
|
|
375
|
-
signature: Uint8Array;
|
|
376
|
-
}
|
|
377
|
-
export interface ProposalProtoMsg {
|
|
378
|
-
typeUrl: "/tendermint.types.Proposal";
|
|
379
|
-
value: Uint8Array;
|
|
380
|
-
}
|
|
381
|
-
export interface ProposalAmino {
|
|
382
|
-
type: SignedMsgType;
|
|
383
|
-
height: string;
|
|
384
|
-
round: number;
|
|
385
|
-
pol_round: number;
|
|
386
|
-
block_id: BlockIDAmino;
|
|
387
|
-
timestamp: string;
|
|
388
|
-
signature: string;
|
|
389
|
-
}
|
|
390
|
-
export interface ProposalAminoMsg {
|
|
391
|
-
type: "/tendermint.types.Proposal";
|
|
392
|
-
value: ProposalAmino;
|
|
393
|
-
}
|
|
394
|
-
export interface SignedHeader {
|
|
395
|
-
header?: Header;
|
|
396
|
-
commit?: Commit;
|
|
397
|
-
}
|
|
398
|
-
export interface SignedHeaderProtoMsg {
|
|
399
|
-
typeUrl: "/tendermint.types.SignedHeader";
|
|
400
|
-
value: Uint8Array;
|
|
401
|
-
}
|
|
402
|
-
export interface SignedHeaderAmino {
|
|
403
|
-
header?: HeaderAmino;
|
|
404
|
-
commit?: CommitAmino;
|
|
405
|
-
}
|
|
406
|
-
export interface SignedHeaderAminoMsg {
|
|
407
|
-
type: "/tendermint.types.SignedHeader";
|
|
408
|
-
value: SignedHeaderAmino;
|
|
409
|
-
}
|
|
410
|
-
export interface LightBlock {
|
|
411
|
-
signedHeader?: SignedHeader;
|
|
412
|
-
validatorSet?: ValidatorSet;
|
|
413
|
-
}
|
|
414
|
-
export interface LightBlockProtoMsg {
|
|
415
|
-
typeUrl: "/tendermint.types.LightBlock";
|
|
416
|
-
value: Uint8Array;
|
|
417
|
-
}
|
|
418
|
-
export interface LightBlockAmino {
|
|
419
|
-
signed_header?: SignedHeaderAmino;
|
|
420
|
-
validator_set?: ValidatorSetAmino;
|
|
421
|
-
}
|
|
422
|
-
export interface LightBlockAminoMsg {
|
|
423
|
-
type: "/tendermint.types.LightBlock";
|
|
424
|
-
value: LightBlockAmino;
|
|
425
|
-
}
|
|
426
|
-
export interface BlockMeta {
|
|
427
|
-
blockId: BlockID;
|
|
428
|
-
blockSize: bigint;
|
|
429
|
-
header: Header;
|
|
430
|
-
numTxs: bigint;
|
|
431
|
-
}
|
|
432
|
-
export interface BlockMetaProtoMsg {
|
|
433
|
-
typeUrl: "/tendermint.types.BlockMeta";
|
|
434
|
-
value: Uint8Array;
|
|
435
|
-
}
|
|
436
|
-
export interface BlockMetaAmino {
|
|
437
|
-
block_id: BlockIDAmino;
|
|
438
|
-
block_size: string;
|
|
439
|
-
header: HeaderAmino;
|
|
440
|
-
num_txs: string;
|
|
441
|
-
}
|
|
442
|
-
export interface BlockMetaAminoMsg {
|
|
443
|
-
type: "/tendermint.types.BlockMeta";
|
|
444
|
-
value: BlockMetaAmino;
|
|
445
|
-
}
|
|
446
|
-
/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */
|
|
447
|
-
export interface TxProof {
|
|
448
|
-
rootHash: Uint8Array;
|
|
449
|
-
data: Uint8Array;
|
|
450
|
-
proof?: Proof;
|
|
451
|
-
}
|
|
452
|
-
export interface TxProofProtoMsg {
|
|
453
|
-
typeUrl: "/tendermint.types.TxProof";
|
|
454
|
-
value: Uint8Array;
|
|
455
|
-
}
|
|
456
|
-
/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */
|
|
457
|
-
export interface TxProofAmino {
|
|
458
|
-
root_hash: string;
|
|
459
|
-
data: string;
|
|
460
|
-
proof?: ProofAmino;
|
|
461
|
-
}
|
|
462
|
-
export interface TxProofAminoMsg {
|
|
463
|
-
type: "/tendermint.types.TxProof";
|
|
464
|
-
value: TxProofAmino;
|
|
465
|
-
}
|
|
466
|
-
function createBasePartSetHeader(): PartSetHeader {
|
|
467
|
-
return {
|
|
468
|
-
total: 0,
|
|
469
|
-
hash: new Uint8Array()
|
|
470
|
-
};
|
|
471
|
-
}
|
|
472
|
-
export const PartSetHeader = {
|
|
473
|
-
typeUrl: "/tendermint.types.PartSetHeader",
|
|
474
|
-
is(o: any): o is PartSetHeader {
|
|
475
|
-
return o && (o.$typeUrl === PartSetHeader.typeUrl || typeof o.total === "number" && (o.hash instanceof Uint8Array || typeof o.hash === "string"));
|
|
476
|
-
},
|
|
477
|
-
isAmino(o: any): o is PartSetHeaderAmino {
|
|
478
|
-
return o && (o.$typeUrl === PartSetHeader.typeUrl || typeof o.total === "number" && (o.hash instanceof Uint8Array || typeof o.hash === "string"));
|
|
479
|
-
},
|
|
480
|
-
encode(message: PartSetHeader, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
481
|
-
if (message.total !== 0) {
|
|
482
|
-
writer.uint32(8).uint32(message.total);
|
|
483
|
-
}
|
|
484
|
-
if (message.hash.length !== 0) {
|
|
485
|
-
writer.uint32(18).bytes(message.hash);
|
|
486
|
-
}
|
|
487
|
-
return writer;
|
|
488
|
-
},
|
|
489
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PartSetHeader {
|
|
490
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
491
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
492
|
-
const message = createBasePartSetHeader();
|
|
493
|
-
while (reader.pos < end) {
|
|
494
|
-
const tag = reader.uint32();
|
|
495
|
-
switch (tag >>> 3) {
|
|
496
|
-
case 1:
|
|
497
|
-
message.total = reader.uint32();
|
|
498
|
-
break;
|
|
499
|
-
case 2:
|
|
500
|
-
message.hash = reader.bytes();
|
|
501
|
-
break;
|
|
502
|
-
default:
|
|
503
|
-
reader.skipType(tag & 7);
|
|
504
|
-
break;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
return message;
|
|
508
|
-
},
|
|
509
|
-
fromPartial(object: DeepPartial<PartSetHeader>): PartSetHeader {
|
|
510
|
-
const message = createBasePartSetHeader();
|
|
511
|
-
message.total = object.total ?? 0;
|
|
512
|
-
message.hash = object.hash ?? new Uint8Array();
|
|
513
|
-
return message;
|
|
514
|
-
},
|
|
515
|
-
fromAmino(object: PartSetHeaderAmino): PartSetHeader {
|
|
516
|
-
const message = createBasePartSetHeader();
|
|
517
|
-
if (object.total !== undefined && object.total !== null) {
|
|
518
|
-
message.total = object.total;
|
|
519
|
-
}
|
|
520
|
-
if (object.hash !== undefined && object.hash !== null) {
|
|
521
|
-
message.hash = bytesFromBase64(object.hash);
|
|
522
|
-
}
|
|
523
|
-
return message;
|
|
524
|
-
},
|
|
525
|
-
toAmino(message: PartSetHeader): PartSetHeaderAmino {
|
|
526
|
-
const obj: any = {};
|
|
527
|
-
obj.total = message.total === 0 ? undefined : message.total;
|
|
528
|
-
obj.hash = message.hash ? base64FromBytes(message.hash) : undefined;
|
|
529
|
-
return obj;
|
|
530
|
-
},
|
|
531
|
-
fromAminoMsg(object: PartSetHeaderAminoMsg): PartSetHeader {
|
|
532
|
-
return PartSetHeader.fromAmino(object.value);
|
|
533
|
-
},
|
|
534
|
-
fromProtoMsg(message: PartSetHeaderProtoMsg): PartSetHeader {
|
|
535
|
-
return PartSetHeader.decode(message.value);
|
|
536
|
-
},
|
|
537
|
-
toProto(message: PartSetHeader): Uint8Array {
|
|
538
|
-
return PartSetHeader.encode(message).finish();
|
|
539
|
-
},
|
|
540
|
-
toProtoMsg(message: PartSetHeader): PartSetHeaderProtoMsg {
|
|
541
|
-
return {
|
|
542
|
-
typeUrl: "/tendermint.types.PartSetHeader",
|
|
543
|
-
value: PartSetHeader.encode(message).finish()
|
|
544
|
-
};
|
|
545
|
-
}
|
|
546
|
-
};
|
|
547
|
-
GlobalDecoderRegistry.register(PartSetHeader.typeUrl, PartSetHeader);
|
|
548
|
-
function createBasePart(): Part {
|
|
549
|
-
return {
|
|
550
|
-
index: 0,
|
|
551
|
-
bytes: new Uint8Array(),
|
|
552
|
-
proof: Proof.fromPartial({})
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
export const Part = {
|
|
556
|
-
typeUrl: "/tendermint.types.Part",
|
|
557
|
-
is(o: any): o is Part {
|
|
558
|
-
return o && (o.$typeUrl === Part.typeUrl || typeof o.index === "number" && (o.bytes instanceof Uint8Array || typeof o.bytes === "string") && Proof.is(o.proof));
|
|
559
|
-
},
|
|
560
|
-
isAmino(o: any): o is PartAmino {
|
|
561
|
-
return o && (o.$typeUrl === Part.typeUrl || typeof o.index === "number" && (o.bytes instanceof Uint8Array || typeof o.bytes === "string") && Proof.isAmino(o.proof));
|
|
562
|
-
},
|
|
563
|
-
encode(message: Part, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
564
|
-
if (message.index !== 0) {
|
|
565
|
-
writer.uint32(8).uint32(message.index);
|
|
566
|
-
}
|
|
567
|
-
if (message.bytes.length !== 0) {
|
|
568
|
-
writer.uint32(18).bytes(message.bytes);
|
|
569
|
-
}
|
|
570
|
-
if (message.proof !== undefined) {
|
|
571
|
-
Proof.encode(message.proof, writer.uint32(26).fork()).ldelim();
|
|
572
|
-
}
|
|
573
|
-
return writer;
|
|
574
|
-
},
|
|
575
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Part {
|
|
576
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
577
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
578
|
-
const message = createBasePart();
|
|
579
|
-
while (reader.pos < end) {
|
|
580
|
-
const tag = reader.uint32();
|
|
581
|
-
switch (tag >>> 3) {
|
|
582
|
-
case 1:
|
|
583
|
-
message.index = reader.uint32();
|
|
584
|
-
break;
|
|
585
|
-
case 2:
|
|
586
|
-
message.bytes = reader.bytes();
|
|
587
|
-
break;
|
|
588
|
-
case 3:
|
|
589
|
-
message.proof = Proof.decode(reader, reader.uint32());
|
|
590
|
-
break;
|
|
591
|
-
default:
|
|
592
|
-
reader.skipType(tag & 7);
|
|
593
|
-
break;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
return message;
|
|
597
|
-
},
|
|
598
|
-
fromPartial(object: DeepPartial<Part>): Part {
|
|
599
|
-
const message = createBasePart();
|
|
600
|
-
message.index = object.index ?? 0;
|
|
601
|
-
message.bytes = object.bytes ?? new Uint8Array();
|
|
602
|
-
message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined;
|
|
603
|
-
return message;
|
|
604
|
-
},
|
|
605
|
-
fromAmino(object: PartAmino): Part {
|
|
606
|
-
const message = createBasePart();
|
|
607
|
-
if (object.index !== undefined && object.index !== null) {
|
|
608
|
-
message.index = object.index;
|
|
609
|
-
}
|
|
610
|
-
if (object.bytes !== undefined && object.bytes !== null) {
|
|
611
|
-
message.bytes = bytesFromBase64(object.bytes);
|
|
612
|
-
}
|
|
613
|
-
if (object.proof !== undefined && object.proof !== null) {
|
|
614
|
-
message.proof = Proof.fromAmino(object.proof);
|
|
615
|
-
}
|
|
616
|
-
return message;
|
|
617
|
-
},
|
|
618
|
-
toAmino(message: Part): PartAmino {
|
|
619
|
-
const obj: any = {};
|
|
620
|
-
obj.index = message.index === 0 ? undefined : message.index;
|
|
621
|
-
obj.bytes = message.bytes ? base64FromBytes(message.bytes) : undefined;
|
|
622
|
-
obj.proof = message.proof ? Proof.toAmino(message.proof) : undefined;
|
|
623
|
-
return obj;
|
|
624
|
-
},
|
|
625
|
-
fromAminoMsg(object: PartAminoMsg): Part {
|
|
626
|
-
return Part.fromAmino(object.value);
|
|
627
|
-
},
|
|
628
|
-
fromProtoMsg(message: PartProtoMsg): Part {
|
|
629
|
-
return Part.decode(message.value);
|
|
630
|
-
},
|
|
631
|
-
toProto(message: Part): Uint8Array {
|
|
632
|
-
return Part.encode(message).finish();
|
|
633
|
-
},
|
|
634
|
-
toProtoMsg(message: Part): PartProtoMsg {
|
|
635
|
-
return {
|
|
636
|
-
typeUrl: "/tendermint.types.Part",
|
|
637
|
-
value: Part.encode(message).finish()
|
|
638
|
-
};
|
|
639
|
-
}
|
|
640
|
-
};
|
|
641
|
-
GlobalDecoderRegistry.register(Part.typeUrl, Part);
|
|
642
|
-
function createBaseBlockID(): BlockID {
|
|
643
|
-
return {
|
|
644
|
-
hash: new Uint8Array(),
|
|
645
|
-
partSetHeader: PartSetHeader.fromPartial({})
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
export const BlockID = {
|
|
649
|
-
typeUrl: "/tendermint.types.BlockID",
|
|
650
|
-
is(o: any): o is BlockID {
|
|
651
|
-
return o && (o.$typeUrl === BlockID.typeUrl || (o.hash instanceof Uint8Array || typeof o.hash === "string") && PartSetHeader.is(o.partSetHeader));
|
|
652
|
-
},
|
|
653
|
-
isAmino(o: any): o is BlockIDAmino {
|
|
654
|
-
return o && (o.$typeUrl === BlockID.typeUrl || (o.hash instanceof Uint8Array || typeof o.hash === "string") && PartSetHeader.isAmino(o.part_set_header));
|
|
655
|
-
},
|
|
656
|
-
encode(message: BlockID, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
657
|
-
if (message.hash.length !== 0) {
|
|
658
|
-
writer.uint32(10).bytes(message.hash);
|
|
659
|
-
}
|
|
660
|
-
if (message.partSetHeader !== undefined) {
|
|
661
|
-
PartSetHeader.encode(message.partSetHeader, writer.uint32(18).fork()).ldelim();
|
|
662
|
-
}
|
|
663
|
-
return writer;
|
|
664
|
-
},
|
|
665
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BlockID {
|
|
666
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
667
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
668
|
-
const message = createBaseBlockID();
|
|
669
|
-
while (reader.pos < end) {
|
|
670
|
-
const tag = reader.uint32();
|
|
671
|
-
switch (tag >>> 3) {
|
|
672
|
-
case 1:
|
|
673
|
-
message.hash = reader.bytes();
|
|
674
|
-
break;
|
|
675
|
-
case 2:
|
|
676
|
-
message.partSetHeader = PartSetHeader.decode(reader, reader.uint32());
|
|
677
|
-
break;
|
|
678
|
-
default:
|
|
679
|
-
reader.skipType(tag & 7);
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
return message;
|
|
684
|
-
},
|
|
685
|
-
fromPartial(object: DeepPartial<BlockID>): BlockID {
|
|
686
|
-
const message = createBaseBlockID();
|
|
687
|
-
message.hash = object.hash ?? new Uint8Array();
|
|
688
|
-
message.partSetHeader = object.partSetHeader !== undefined && object.partSetHeader !== null ? PartSetHeader.fromPartial(object.partSetHeader) : undefined;
|
|
689
|
-
return message;
|
|
690
|
-
},
|
|
691
|
-
fromAmino(object: BlockIDAmino): BlockID {
|
|
692
|
-
const message = createBaseBlockID();
|
|
693
|
-
if (object.hash !== undefined && object.hash !== null) {
|
|
694
|
-
message.hash = bytesFromBase64(object.hash);
|
|
695
|
-
}
|
|
696
|
-
if (object.part_set_header !== undefined && object.part_set_header !== null) {
|
|
697
|
-
message.partSetHeader = PartSetHeader.fromAmino(object.part_set_header);
|
|
698
|
-
}
|
|
699
|
-
return message;
|
|
700
|
-
},
|
|
701
|
-
toAmino(message: BlockID): BlockIDAmino {
|
|
702
|
-
const obj: any = {};
|
|
703
|
-
obj.hash = message.hash ? base64FromBytes(message.hash) : undefined;
|
|
704
|
-
obj.part_set_header = message.partSetHeader ? PartSetHeader.toAmino(message.partSetHeader) : undefined;
|
|
705
|
-
return obj;
|
|
706
|
-
},
|
|
707
|
-
fromAminoMsg(object: BlockIDAminoMsg): BlockID {
|
|
708
|
-
return BlockID.fromAmino(object.value);
|
|
709
|
-
},
|
|
710
|
-
fromProtoMsg(message: BlockIDProtoMsg): BlockID {
|
|
711
|
-
return BlockID.decode(message.value);
|
|
712
|
-
},
|
|
713
|
-
toProto(message: BlockID): Uint8Array {
|
|
714
|
-
return BlockID.encode(message).finish();
|
|
715
|
-
},
|
|
716
|
-
toProtoMsg(message: BlockID): BlockIDProtoMsg {
|
|
717
|
-
return {
|
|
718
|
-
typeUrl: "/tendermint.types.BlockID",
|
|
719
|
-
value: BlockID.encode(message).finish()
|
|
720
|
-
};
|
|
721
|
-
}
|
|
722
|
-
};
|
|
723
|
-
GlobalDecoderRegistry.register(BlockID.typeUrl, BlockID);
|
|
724
|
-
function createBaseHeader(): Header {
|
|
725
|
-
return {
|
|
726
|
-
version: Consensus.fromPartial({}),
|
|
727
|
-
chainId: "",
|
|
728
|
-
height: BigInt(0),
|
|
729
|
-
time: new Date(),
|
|
730
|
-
lastBlockId: BlockID.fromPartial({}),
|
|
731
|
-
lastCommitHash: new Uint8Array(),
|
|
732
|
-
dataHash: new Uint8Array(),
|
|
733
|
-
validatorsHash: new Uint8Array(),
|
|
734
|
-
nextValidatorsHash: new Uint8Array(),
|
|
735
|
-
consensusHash: new Uint8Array(),
|
|
736
|
-
appHash: new Uint8Array(),
|
|
737
|
-
lastResultsHash: new Uint8Array(),
|
|
738
|
-
evidenceHash: new Uint8Array(),
|
|
739
|
-
proposerAddress: new Uint8Array()
|
|
740
|
-
};
|
|
741
|
-
}
|
|
742
|
-
export const Header = {
|
|
743
|
-
typeUrl: "/tendermint.types.Header",
|
|
744
|
-
is(o: any): o is Header {
|
|
745
|
-
return o && (o.$typeUrl === Header.typeUrl || Consensus.is(o.version) && typeof o.chainId === "string" && typeof o.height === "bigint" && Timestamp.is(o.time) && BlockID.is(o.lastBlockId) && (o.lastCommitHash instanceof Uint8Array || typeof o.lastCommitHash === "string") && (o.dataHash instanceof Uint8Array || typeof o.dataHash === "string") && (o.validatorsHash instanceof Uint8Array || typeof o.validatorsHash === "string") && (o.nextValidatorsHash instanceof Uint8Array || typeof o.nextValidatorsHash === "string") && (o.consensusHash instanceof Uint8Array || typeof o.consensusHash === "string") && (o.appHash instanceof Uint8Array || typeof o.appHash === "string") && (o.lastResultsHash instanceof Uint8Array || typeof o.lastResultsHash === "string") && (o.evidenceHash instanceof Uint8Array || typeof o.evidenceHash === "string") && (o.proposerAddress instanceof Uint8Array || typeof o.proposerAddress === "string"));
|
|
746
|
-
},
|
|
747
|
-
isAmino(o: any): o is HeaderAmino {
|
|
748
|
-
return o && (o.$typeUrl === Header.typeUrl || Consensus.isAmino(o.version) && typeof o.chain_id === "string" && typeof o.height === "bigint" && Timestamp.isAmino(o.time) && BlockID.isAmino(o.last_block_id) && (o.last_commit_hash instanceof Uint8Array || typeof o.last_commit_hash === "string") && (o.data_hash instanceof Uint8Array || typeof o.data_hash === "string") && (o.validators_hash instanceof Uint8Array || typeof o.validators_hash === "string") && (o.next_validators_hash instanceof Uint8Array || typeof o.next_validators_hash === "string") && (o.consensus_hash instanceof Uint8Array || typeof o.consensus_hash === "string") && (o.app_hash instanceof Uint8Array || typeof o.app_hash === "string") && (o.last_results_hash instanceof Uint8Array || typeof o.last_results_hash === "string") && (o.evidence_hash instanceof Uint8Array || typeof o.evidence_hash === "string") && (o.proposer_address instanceof Uint8Array || typeof o.proposer_address === "string"));
|
|
749
|
-
},
|
|
750
|
-
encode(message: Header, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
751
|
-
if (message.version !== undefined) {
|
|
752
|
-
Consensus.encode(message.version, writer.uint32(10).fork()).ldelim();
|
|
753
|
-
}
|
|
754
|
-
if (message.chainId !== "") {
|
|
755
|
-
writer.uint32(18).string(message.chainId);
|
|
756
|
-
}
|
|
757
|
-
if (message.height !== BigInt(0)) {
|
|
758
|
-
writer.uint32(24).int64(message.height);
|
|
759
|
-
}
|
|
760
|
-
if (message.time !== undefined) {
|
|
761
|
-
Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim();
|
|
762
|
-
}
|
|
763
|
-
if (message.lastBlockId !== undefined) {
|
|
764
|
-
BlockID.encode(message.lastBlockId, writer.uint32(42).fork()).ldelim();
|
|
765
|
-
}
|
|
766
|
-
if (message.lastCommitHash.length !== 0) {
|
|
767
|
-
writer.uint32(50).bytes(message.lastCommitHash);
|
|
768
|
-
}
|
|
769
|
-
if (message.dataHash.length !== 0) {
|
|
770
|
-
writer.uint32(58).bytes(message.dataHash);
|
|
771
|
-
}
|
|
772
|
-
if (message.validatorsHash.length !== 0) {
|
|
773
|
-
writer.uint32(66).bytes(message.validatorsHash);
|
|
774
|
-
}
|
|
775
|
-
if (message.nextValidatorsHash.length !== 0) {
|
|
776
|
-
writer.uint32(74).bytes(message.nextValidatorsHash);
|
|
777
|
-
}
|
|
778
|
-
if (message.consensusHash.length !== 0) {
|
|
779
|
-
writer.uint32(82).bytes(message.consensusHash);
|
|
780
|
-
}
|
|
781
|
-
if (message.appHash.length !== 0) {
|
|
782
|
-
writer.uint32(90).bytes(message.appHash);
|
|
783
|
-
}
|
|
784
|
-
if (message.lastResultsHash.length !== 0) {
|
|
785
|
-
writer.uint32(98).bytes(message.lastResultsHash);
|
|
786
|
-
}
|
|
787
|
-
if (message.evidenceHash.length !== 0) {
|
|
788
|
-
writer.uint32(106).bytes(message.evidenceHash);
|
|
789
|
-
}
|
|
790
|
-
if (message.proposerAddress.length !== 0) {
|
|
791
|
-
writer.uint32(114).bytes(message.proposerAddress);
|
|
792
|
-
}
|
|
793
|
-
return writer;
|
|
794
|
-
},
|
|
795
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Header {
|
|
796
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
797
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
798
|
-
const message = createBaseHeader();
|
|
799
|
-
while (reader.pos < end) {
|
|
800
|
-
const tag = reader.uint32();
|
|
801
|
-
switch (tag >>> 3) {
|
|
802
|
-
case 1:
|
|
803
|
-
message.version = Consensus.decode(reader, reader.uint32());
|
|
804
|
-
break;
|
|
805
|
-
case 2:
|
|
806
|
-
message.chainId = reader.string();
|
|
807
|
-
break;
|
|
808
|
-
case 3:
|
|
809
|
-
message.height = reader.int64();
|
|
810
|
-
break;
|
|
811
|
-
case 4:
|
|
812
|
-
message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
813
|
-
break;
|
|
814
|
-
case 5:
|
|
815
|
-
message.lastBlockId = BlockID.decode(reader, reader.uint32());
|
|
816
|
-
break;
|
|
817
|
-
case 6:
|
|
818
|
-
message.lastCommitHash = reader.bytes();
|
|
819
|
-
break;
|
|
820
|
-
case 7:
|
|
821
|
-
message.dataHash = reader.bytes();
|
|
822
|
-
break;
|
|
823
|
-
case 8:
|
|
824
|
-
message.validatorsHash = reader.bytes();
|
|
825
|
-
break;
|
|
826
|
-
case 9:
|
|
827
|
-
message.nextValidatorsHash = reader.bytes();
|
|
828
|
-
break;
|
|
829
|
-
case 10:
|
|
830
|
-
message.consensusHash = reader.bytes();
|
|
831
|
-
break;
|
|
832
|
-
case 11:
|
|
833
|
-
message.appHash = reader.bytes();
|
|
834
|
-
break;
|
|
835
|
-
case 12:
|
|
836
|
-
message.lastResultsHash = reader.bytes();
|
|
837
|
-
break;
|
|
838
|
-
case 13:
|
|
839
|
-
message.evidenceHash = reader.bytes();
|
|
840
|
-
break;
|
|
841
|
-
case 14:
|
|
842
|
-
message.proposerAddress = reader.bytes();
|
|
843
|
-
break;
|
|
844
|
-
default:
|
|
845
|
-
reader.skipType(tag & 7);
|
|
846
|
-
break;
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
return message;
|
|
850
|
-
},
|
|
851
|
-
fromPartial(object: DeepPartial<Header>): Header {
|
|
852
|
-
const message = createBaseHeader();
|
|
853
|
-
message.version = object.version !== undefined && object.version !== null ? Consensus.fromPartial(object.version) : undefined;
|
|
854
|
-
message.chainId = object.chainId ?? "";
|
|
855
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
856
|
-
message.time = object.time ?? undefined;
|
|
857
|
-
message.lastBlockId = object.lastBlockId !== undefined && object.lastBlockId !== null ? BlockID.fromPartial(object.lastBlockId) : undefined;
|
|
858
|
-
message.lastCommitHash = object.lastCommitHash ?? new Uint8Array();
|
|
859
|
-
message.dataHash = object.dataHash ?? new Uint8Array();
|
|
860
|
-
message.validatorsHash = object.validatorsHash ?? new Uint8Array();
|
|
861
|
-
message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array();
|
|
862
|
-
message.consensusHash = object.consensusHash ?? new Uint8Array();
|
|
863
|
-
message.appHash = object.appHash ?? new Uint8Array();
|
|
864
|
-
message.lastResultsHash = object.lastResultsHash ?? new Uint8Array();
|
|
865
|
-
message.evidenceHash = object.evidenceHash ?? new Uint8Array();
|
|
866
|
-
message.proposerAddress = object.proposerAddress ?? new Uint8Array();
|
|
867
|
-
return message;
|
|
868
|
-
},
|
|
869
|
-
fromAmino(object: HeaderAmino): Header {
|
|
870
|
-
const message = createBaseHeader();
|
|
871
|
-
if (object.version !== undefined && object.version !== null) {
|
|
872
|
-
message.version = Consensus.fromAmino(object.version);
|
|
873
|
-
}
|
|
874
|
-
if (object.chain_id !== undefined && object.chain_id !== null) {
|
|
875
|
-
message.chainId = object.chain_id;
|
|
876
|
-
}
|
|
877
|
-
if (object.height !== undefined && object.height !== null) {
|
|
878
|
-
message.height = BigInt(object.height);
|
|
879
|
-
}
|
|
880
|
-
if (object.time !== undefined && object.time !== null) {
|
|
881
|
-
message.time = fromTimestamp(Timestamp.fromAmino(object.time));
|
|
882
|
-
}
|
|
883
|
-
if (object.last_block_id !== undefined && object.last_block_id !== null) {
|
|
884
|
-
message.lastBlockId = BlockID.fromAmino(object.last_block_id);
|
|
885
|
-
}
|
|
886
|
-
if (object.last_commit_hash !== undefined && object.last_commit_hash !== null) {
|
|
887
|
-
message.lastCommitHash = bytesFromBase64(object.last_commit_hash);
|
|
888
|
-
}
|
|
889
|
-
if (object.data_hash !== undefined && object.data_hash !== null) {
|
|
890
|
-
message.dataHash = bytesFromBase64(object.data_hash);
|
|
891
|
-
}
|
|
892
|
-
if (object.validators_hash !== undefined && object.validators_hash !== null) {
|
|
893
|
-
message.validatorsHash = bytesFromBase64(object.validators_hash);
|
|
894
|
-
}
|
|
895
|
-
if (object.next_validators_hash !== undefined && object.next_validators_hash !== null) {
|
|
896
|
-
message.nextValidatorsHash = bytesFromBase64(object.next_validators_hash);
|
|
897
|
-
}
|
|
898
|
-
if (object.consensus_hash !== undefined && object.consensus_hash !== null) {
|
|
899
|
-
message.consensusHash = bytesFromBase64(object.consensus_hash);
|
|
900
|
-
}
|
|
901
|
-
if (object.app_hash !== undefined && object.app_hash !== null) {
|
|
902
|
-
message.appHash = bytesFromBase64(object.app_hash);
|
|
903
|
-
}
|
|
904
|
-
if (object.last_results_hash !== undefined && object.last_results_hash !== null) {
|
|
905
|
-
message.lastResultsHash = bytesFromBase64(object.last_results_hash);
|
|
906
|
-
}
|
|
907
|
-
if (object.evidence_hash !== undefined && object.evidence_hash !== null) {
|
|
908
|
-
message.evidenceHash = bytesFromBase64(object.evidence_hash);
|
|
909
|
-
}
|
|
910
|
-
if (object.proposer_address !== undefined && object.proposer_address !== null) {
|
|
911
|
-
message.proposerAddress = bytesFromBase64(object.proposer_address);
|
|
912
|
-
}
|
|
913
|
-
return message;
|
|
914
|
-
},
|
|
915
|
-
toAmino(message: Header): HeaderAmino {
|
|
916
|
-
const obj: any = {};
|
|
917
|
-
obj.version = message.version ? Consensus.toAmino(message.version) : undefined;
|
|
918
|
-
obj.chain_id = message.chainId === "" ? undefined : message.chainId;
|
|
919
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
920
|
-
obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined;
|
|
921
|
-
obj.last_block_id = message.lastBlockId ? BlockID.toAmino(message.lastBlockId) : undefined;
|
|
922
|
-
obj.last_commit_hash = message.lastCommitHash ? base64FromBytes(message.lastCommitHash) : undefined;
|
|
923
|
-
obj.data_hash = message.dataHash ? base64FromBytes(message.dataHash) : undefined;
|
|
924
|
-
obj.validators_hash = message.validatorsHash ? base64FromBytes(message.validatorsHash) : undefined;
|
|
925
|
-
obj.next_validators_hash = message.nextValidatorsHash ? base64FromBytes(message.nextValidatorsHash) : undefined;
|
|
926
|
-
obj.consensus_hash = message.consensusHash ? base64FromBytes(message.consensusHash) : undefined;
|
|
927
|
-
obj.app_hash = message.appHash ? base64FromBytes(message.appHash) : undefined;
|
|
928
|
-
obj.last_results_hash = message.lastResultsHash ? base64FromBytes(message.lastResultsHash) : undefined;
|
|
929
|
-
obj.evidence_hash = message.evidenceHash ? base64FromBytes(message.evidenceHash) : undefined;
|
|
930
|
-
obj.proposer_address = message.proposerAddress ? base64FromBytes(message.proposerAddress) : undefined;
|
|
931
|
-
return obj;
|
|
932
|
-
},
|
|
933
|
-
fromAminoMsg(object: HeaderAminoMsg): Header {
|
|
934
|
-
return Header.fromAmino(object.value);
|
|
935
|
-
},
|
|
936
|
-
fromProtoMsg(message: HeaderProtoMsg): Header {
|
|
937
|
-
return Header.decode(message.value);
|
|
938
|
-
},
|
|
939
|
-
toProto(message: Header): Uint8Array {
|
|
940
|
-
return Header.encode(message).finish();
|
|
941
|
-
},
|
|
942
|
-
toProtoMsg(message: Header): HeaderProtoMsg {
|
|
943
|
-
return {
|
|
944
|
-
typeUrl: "/tendermint.types.Header",
|
|
945
|
-
value: Header.encode(message).finish()
|
|
946
|
-
};
|
|
947
|
-
}
|
|
948
|
-
};
|
|
949
|
-
GlobalDecoderRegistry.register(Header.typeUrl, Header);
|
|
950
|
-
function createBaseData(): Data {
|
|
951
|
-
return {
|
|
952
|
-
txs: []
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
export const Data = {
|
|
956
|
-
typeUrl: "/tendermint.types.Data",
|
|
957
|
-
is(o: any): o is Data {
|
|
958
|
-
return o && (o.$typeUrl === Data.typeUrl || Array.isArray(o.txs) && (!o.txs.length || o.txs[0] instanceof Uint8Array || typeof o.txs[0] === "string"));
|
|
959
|
-
},
|
|
960
|
-
isAmino(o: any): o is DataAmino {
|
|
961
|
-
return o && (o.$typeUrl === Data.typeUrl || Array.isArray(o.txs) && (!o.txs.length || o.txs[0] instanceof Uint8Array || typeof o.txs[0] === "string"));
|
|
962
|
-
},
|
|
963
|
-
encode(message: Data, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
964
|
-
for (const v of message.txs) {
|
|
965
|
-
writer.uint32(10).bytes(v!);
|
|
966
|
-
}
|
|
967
|
-
return writer;
|
|
968
|
-
},
|
|
969
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Data {
|
|
970
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
971
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
972
|
-
const message = createBaseData();
|
|
973
|
-
while (reader.pos < end) {
|
|
974
|
-
const tag = reader.uint32();
|
|
975
|
-
switch (tag >>> 3) {
|
|
976
|
-
case 1:
|
|
977
|
-
message.txs.push(reader.bytes());
|
|
978
|
-
break;
|
|
979
|
-
default:
|
|
980
|
-
reader.skipType(tag & 7);
|
|
981
|
-
break;
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
return message;
|
|
985
|
-
},
|
|
986
|
-
fromPartial(object: DeepPartial<Data>): Data {
|
|
987
|
-
const message = createBaseData();
|
|
988
|
-
message.txs = object.txs?.map(e => e) || [];
|
|
989
|
-
return message;
|
|
990
|
-
},
|
|
991
|
-
fromAmino(object: DataAmino): Data {
|
|
992
|
-
const message = createBaseData();
|
|
993
|
-
message.txs = object.txs?.map(e => bytesFromBase64(e)) || [];
|
|
994
|
-
return message;
|
|
995
|
-
},
|
|
996
|
-
toAmino(message: Data): DataAmino {
|
|
997
|
-
const obj: any = {};
|
|
998
|
-
if (message.txs) {
|
|
999
|
-
obj.txs = message.txs.map(e => base64FromBytes(e));
|
|
1000
|
-
} else {
|
|
1001
|
-
obj.txs = message.txs;
|
|
1002
|
-
}
|
|
1003
|
-
return obj;
|
|
1004
|
-
},
|
|
1005
|
-
fromAminoMsg(object: DataAminoMsg): Data {
|
|
1006
|
-
return Data.fromAmino(object.value);
|
|
1007
|
-
},
|
|
1008
|
-
fromProtoMsg(message: DataProtoMsg): Data {
|
|
1009
|
-
return Data.decode(message.value);
|
|
1010
|
-
},
|
|
1011
|
-
toProto(message: Data): Uint8Array {
|
|
1012
|
-
return Data.encode(message).finish();
|
|
1013
|
-
},
|
|
1014
|
-
toProtoMsg(message: Data): DataProtoMsg {
|
|
1015
|
-
return {
|
|
1016
|
-
typeUrl: "/tendermint.types.Data",
|
|
1017
|
-
value: Data.encode(message).finish()
|
|
1018
|
-
};
|
|
1019
|
-
}
|
|
1020
|
-
};
|
|
1021
|
-
GlobalDecoderRegistry.register(Data.typeUrl, Data);
|
|
1022
|
-
function createBaseVote(): Vote {
|
|
1023
|
-
return {
|
|
1024
|
-
type: 0,
|
|
1025
|
-
height: BigInt(0),
|
|
1026
|
-
round: 0,
|
|
1027
|
-
blockId: BlockID.fromPartial({}),
|
|
1028
|
-
timestamp: new Date(),
|
|
1029
|
-
validatorAddress: new Uint8Array(),
|
|
1030
|
-
validatorIndex: 0,
|
|
1031
|
-
signature: new Uint8Array(),
|
|
1032
|
-
extension: new Uint8Array(),
|
|
1033
|
-
extensionSignature: new Uint8Array()
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
export const Vote = {
|
|
1037
|
-
typeUrl: "/tendermint.types.Vote",
|
|
1038
|
-
is(o: any): o is Vote {
|
|
1039
|
-
return o && (o.$typeUrl === Vote.typeUrl || isSet(o.type) && typeof o.height === "bigint" && typeof o.round === "number" && BlockID.is(o.blockId) && Timestamp.is(o.timestamp) && (o.validatorAddress instanceof Uint8Array || typeof o.validatorAddress === "string") && typeof o.validatorIndex === "number" && (o.signature instanceof Uint8Array || typeof o.signature === "string") && (o.extension instanceof Uint8Array || typeof o.extension === "string") && (o.extensionSignature instanceof Uint8Array || typeof o.extensionSignature === "string"));
|
|
1040
|
-
},
|
|
1041
|
-
isAmino(o: any): o is VoteAmino {
|
|
1042
|
-
return o && (o.$typeUrl === Vote.typeUrl || isSet(o.type) && typeof o.height === "bigint" && typeof o.round === "number" && BlockID.isAmino(o.block_id) && Timestamp.isAmino(o.timestamp) && (o.validator_address instanceof Uint8Array || typeof o.validator_address === "string") && typeof o.validator_index === "number" && (o.signature instanceof Uint8Array || typeof o.signature === "string") && (o.extension instanceof Uint8Array || typeof o.extension === "string") && (o.extension_signature instanceof Uint8Array || typeof o.extension_signature === "string"));
|
|
1043
|
-
},
|
|
1044
|
-
encode(message: Vote, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1045
|
-
if (message.type !== 0) {
|
|
1046
|
-
writer.uint32(8).int32(message.type);
|
|
1047
|
-
}
|
|
1048
|
-
if (message.height !== BigInt(0)) {
|
|
1049
|
-
writer.uint32(16).int64(message.height);
|
|
1050
|
-
}
|
|
1051
|
-
if (message.round !== 0) {
|
|
1052
|
-
writer.uint32(24).int32(message.round);
|
|
1053
|
-
}
|
|
1054
|
-
if (message.blockId !== undefined) {
|
|
1055
|
-
BlockID.encode(message.blockId, writer.uint32(34).fork()).ldelim();
|
|
1056
|
-
}
|
|
1057
|
-
if (message.timestamp !== undefined) {
|
|
1058
|
-
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim();
|
|
1059
|
-
}
|
|
1060
|
-
if (message.validatorAddress.length !== 0) {
|
|
1061
|
-
writer.uint32(50).bytes(message.validatorAddress);
|
|
1062
|
-
}
|
|
1063
|
-
if (message.validatorIndex !== 0) {
|
|
1064
|
-
writer.uint32(56).int32(message.validatorIndex);
|
|
1065
|
-
}
|
|
1066
|
-
if (message.signature.length !== 0) {
|
|
1067
|
-
writer.uint32(66).bytes(message.signature);
|
|
1068
|
-
}
|
|
1069
|
-
if (message.extension.length !== 0) {
|
|
1070
|
-
writer.uint32(74).bytes(message.extension);
|
|
1071
|
-
}
|
|
1072
|
-
if (message.extensionSignature.length !== 0) {
|
|
1073
|
-
writer.uint32(82).bytes(message.extensionSignature);
|
|
1074
|
-
}
|
|
1075
|
-
return writer;
|
|
1076
|
-
},
|
|
1077
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Vote {
|
|
1078
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1079
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1080
|
-
const message = createBaseVote();
|
|
1081
|
-
while (reader.pos < end) {
|
|
1082
|
-
const tag = reader.uint32();
|
|
1083
|
-
switch (tag >>> 3) {
|
|
1084
|
-
case 1:
|
|
1085
|
-
message.type = reader.int32() as any;
|
|
1086
|
-
break;
|
|
1087
|
-
case 2:
|
|
1088
|
-
message.height = reader.int64();
|
|
1089
|
-
break;
|
|
1090
|
-
case 3:
|
|
1091
|
-
message.round = reader.int32();
|
|
1092
|
-
break;
|
|
1093
|
-
case 4:
|
|
1094
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1095
|
-
break;
|
|
1096
|
-
case 5:
|
|
1097
|
-
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1098
|
-
break;
|
|
1099
|
-
case 6:
|
|
1100
|
-
message.validatorAddress = reader.bytes();
|
|
1101
|
-
break;
|
|
1102
|
-
case 7:
|
|
1103
|
-
message.validatorIndex = reader.int32();
|
|
1104
|
-
break;
|
|
1105
|
-
case 8:
|
|
1106
|
-
message.signature = reader.bytes();
|
|
1107
|
-
break;
|
|
1108
|
-
case 9:
|
|
1109
|
-
message.extension = reader.bytes();
|
|
1110
|
-
break;
|
|
1111
|
-
case 10:
|
|
1112
|
-
message.extensionSignature = reader.bytes();
|
|
1113
|
-
break;
|
|
1114
|
-
default:
|
|
1115
|
-
reader.skipType(tag & 7);
|
|
1116
|
-
break;
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
return message;
|
|
1120
|
-
},
|
|
1121
|
-
fromPartial(object: DeepPartial<Vote>): Vote {
|
|
1122
|
-
const message = createBaseVote();
|
|
1123
|
-
message.type = object.type ?? 0;
|
|
1124
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1125
|
-
message.round = object.round ?? 0;
|
|
1126
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1127
|
-
message.timestamp = object.timestamp ?? undefined;
|
|
1128
|
-
message.validatorAddress = object.validatorAddress ?? new Uint8Array();
|
|
1129
|
-
message.validatorIndex = object.validatorIndex ?? 0;
|
|
1130
|
-
message.signature = object.signature ?? new Uint8Array();
|
|
1131
|
-
message.extension = object.extension ?? new Uint8Array();
|
|
1132
|
-
message.extensionSignature = object.extensionSignature ?? new Uint8Array();
|
|
1133
|
-
return message;
|
|
1134
|
-
},
|
|
1135
|
-
fromAmino(object: VoteAmino): Vote {
|
|
1136
|
-
const message = createBaseVote();
|
|
1137
|
-
if (object.type !== undefined && object.type !== null) {
|
|
1138
|
-
message.type = object.type;
|
|
1139
|
-
}
|
|
1140
|
-
if (object.height !== undefined && object.height !== null) {
|
|
1141
|
-
message.height = BigInt(object.height);
|
|
1142
|
-
}
|
|
1143
|
-
if (object.round !== undefined && object.round !== null) {
|
|
1144
|
-
message.round = object.round;
|
|
1145
|
-
}
|
|
1146
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1147
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1148
|
-
}
|
|
1149
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1150
|
-
message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp));
|
|
1151
|
-
}
|
|
1152
|
-
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1153
|
-
message.validatorAddress = bytesFromBase64(object.validator_address);
|
|
1154
|
-
}
|
|
1155
|
-
if (object.validator_index !== undefined && object.validator_index !== null) {
|
|
1156
|
-
message.validatorIndex = object.validator_index;
|
|
1157
|
-
}
|
|
1158
|
-
if (object.signature !== undefined && object.signature !== null) {
|
|
1159
|
-
message.signature = bytesFromBase64(object.signature);
|
|
1160
|
-
}
|
|
1161
|
-
if (object.extension !== undefined && object.extension !== null) {
|
|
1162
|
-
message.extension = bytesFromBase64(object.extension);
|
|
1163
|
-
}
|
|
1164
|
-
if (object.extension_signature !== undefined && object.extension_signature !== null) {
|
|
1165
|
-
message.extensionSignature = bytesFromBase64(object.extension_signature);
|
|
1166
|
-
}
|
|
1167
|
-
return message;
|
|
1168
|
-
},
|
|
1169
|
-
toAmino(message: Vote): VoteAmino {
|
|
1170
|
-
const obj: any = {};
|
|
1171
|
-
obj.type = message.type === 0 ? undefined : message.type;
|
|
1172
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1173
|
-
obj.round = message.round === 0 ? undefined : message.round;
|
|
1174
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1175
|
-
obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined;
|
|
1176
|
-
obj.validator_address = message.validatorAddress ? base64FromBytes(message.validatorAddress) : undefined;
|
|
1177
|
-
obj.validator_index = message.validatorIndex === 0 ? undefined : message.validatorIndex;
|
|
1178
|
-
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
|
1179
|
-
obj.extension = message.extension ? base64FromBytes(message.extension) : undefined;
|
|
1180
|
-
obj.extension_signature = message.extensionSignature ? base64FromBytes(message.extensionSignature) : undefined;
|
|
1181
|
-
return obj;
|
|
1182
|
-
},
|
|
1183
|
-
fromAminoMsg(object: VoteAminoMsg): Vote {
|
|
1184
|
-
return Vote.fromAmino(object.value);
|
|
1185
|
-
},
|
|
1186
|
-
fromProtoMsg(message: VoteProtoMsg): Vote {
|
|
1187
|
-
return Vote.decode(message.value);
|
|
1188
|
-
},
|
|
1189
|
-
toProto(message: Vote): Uint8Array {
|
|
1190
|
-
return Vote.encode(message).finish();
|
|
1191
|
-
},
|
|
1192
|
-
toProtoMsg(message: Vote): VoteProtoMsg {
|
|
1193
|
-
return {
|
|
1194
|
-
typeUrl: "/tendermint.types.Vote",
|
|
1195
|
-
value: Vote.encode(message).finish()
|
|
1196
|
-
};
|
|
1197
|
-
}
|
|
1198
|
-
};
|
|
1199
|
-
GlobalDecoderRegistry.register(Vote.typeUrl, Vote);
|
|
1200
|
-
function createBaseCommit(): Commit {
|
|
1201
|
-
return {
|
|
1202
|
-
height: BigInt(0),
|
|
1203
|
-
round: 0,
|
|
1204
|
-
blockId: BlockID.fromPartial({}),
|
|
1205
|
-
signatures: []
|
|
1206
|
-
};
|
|
1207
|
-
}
|
|
1208
|
-
export const Commit = {
|
|
1209
|
-
typeUrl: "/tendermint.types.Commit",
|
|
1210
|
-
is(o: any): o is Commit {
|
|
1211
|
-
return o && (o.$typeUrl === Commit.typeUrl || typeof o.height === "bigint" && typeof o.round === "number" && BlockID.is(o.blockId) && Array.isArray(o.signatures) && (!o.signatures.length || CommitSig.is(o.signatures[0])));
|
|
1212
|
-
},
|
|
1213
|
-
isAmino(o: any): o is CommitAmino {
|
|
1214
|
-
return o && (o.$typeUrl === Commit.typeUrl || typeof o.height === "bigint" && typeof o.round === "number" && BlockID.isAmino(o.block_id) && Array.isArray(o.signatures) && (!o.signatures.length || CommitSig.isAmino(o.signatures[0])));
|
|
1215
|
-
},
|
|
1216
|
-
encode(message: Commit, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1217
|
-
if (message.height !== BigInt(0)) {
|
|
1218
|
-
writer.uint32(8).int64(message.height);
|
|
1219
|
-
}
|
|
1220
|
-
if (message.round !== 0) {
|
|
1221
|
-
writer.uint32(16).int32(message.round);
|
|
1222
|
-
}
|
|
1223
|
-
if (message.blockId !== undefined) {
|
|
1224
|
-
BlockID.encode(message.blockId, writer.uint32(26).fork()).ldelim();
|
|
1225
|
-
}
|
|
1226
|
-
for (const v of message.signatures) {
|
|
1227
|
-
CommitSig.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
1228
|
-
}
|
|
1229
|
-
return writer;
|
|
1230
|
-
},
|
|
1231
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Commit {
|
|
1232
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1233
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1234
|
-
const message = createBaseCommit();
|
|
1235
|
-
while (reader.pos < end) {
|
|
1236
|
-
const tag = reader.uint32();
|
|
1237
|
-
switch (tag >>> 3) {
|
|
1238
|
-
case 1:
|
|
1239
|
-
message.height = reader.int64();
|
|
1240
|
-
break;
|
|
1241
|
-
case 2:
|
|
1242
|
-
message.round = reader.int32();
|
|
1243
|
-
break;
|
|
1244
|
-
case 3:
|
|
1245
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1246
|
-
break;
|
|
1247
|
-
case 4:
|
|
1248
|
-
message.signatures.push(CommitSig.decode(reader, reader.uint32()));
|
|
1249
|
-
break;
|
|
1250
|
-
default:
|
|
1251
|
-
reader.skipType(tag & 7);
|
|
1252
|
-
break;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
return message;
|
|
1256
|
-
},
|
|
1257
|
-
fromPartial(object: DeepPartial<Commit>): Commit {
|
|
1258
|
-
const message = createBaseCommit();
|
|
1259
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1260
|
-
message.round = object.round ?? 0;
|
|
1261
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1262
|
-
message.signatures = object.signatures?.map(e => CommitSig.fromPartial(e)) || [];
|
|
1263
|
-
return message;
|
|
1264
|
-
},
|
|
1265
|
-
fromAmino(object: CommitAmino): Commit {
|
|
1266
|
-
const message = createBaseCommit();
|
|
1267
|
-
if (object.height !== undefined && object.height !== null) {
|
|
1268
|
-
message.height = BigInt(object.height);
|
|
1269
|
-
}
|
|
1270
|
-
if (object.round !== undefined && object.round !== null) {
|
|
1271
|
-
message.round = object.round;
|
|
1272
|
-
}
|
|
1273
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1274
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1275
|
-
}
|
|
1276
|
-
message.signatures = object.signatures?.map(e => CommitSig.fromAmino(e)) || [];
|
|
1277
|
-
return message;
|
|
1278
|
-
},
|
|
1279
|
-
toAmino(message: Commit): CommitAmino {
|
|
1280
|
-
const obj: any = {};
|
|
1281
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1282
|
-
obj.round = message.round === 0 ? undefined : message.round;
|
|
1283
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1284
|
-
if (message.signatures) {
|
|
1285
|
-
obj.signatures = message.signatures.map(e => e ? CommitSig.toAmino(e) : undefined);
|
|
1286
|
-
} else {
|
|
1287
|
-
obj.signatures = message.signatures;
|
|
1288
|
-
}
|
|
1289
|
-
return obj;
|
|
1290
|
-
},
|
|
1291
|
-
fromAminoMsg(object: CommitAminoMsg): Commit {
|
|
1292
|
-
return Commit.fromAmino(object.value);
|
|
1293
|
-
},
|
|
1294
|
-
fromProtoMsg(message: CommitProtoMsg): Commit {
|
|
1295
|
-
return Commit.decode(message.value);
|
|
1296
|
-
},
|
|
1297
|
-
toProto(message: Commit): Uint8Array {
|
|
1298
|
-
return Commit.encode(message).finish();
|
|
1299
|
-
},
|
|
1300
|
-
toProtoMsg(message: Commit): CommitProtoMsg {
|
|
1301
|
-
return {
|
|
1302
|
-
typeUrl: "/tendermint.types.Commit",
|
|
1303
|
-
value: Commit.encode(message).finish()
|
|
1304
|
-
};
|
|
1305
|
-
}
|
|
1306
|
-
};
|
|
1307
|
-
GlobalDecoderRegistry.register(Commit.typeUrl, Commit);
|
|
1308
|
-
function createBaseCommitSig(): CommitSig {
|
|
1309
|
-
return {
|
|
1310
|
-
blockIdFlag: 0,
|
|
1311
|
-
validatorAddress: new Uint8Array(),
|
|
1312
|
-
timestamp: new Date(),
|
|
1313
|
-
signature: new Uint8Array()
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
export const CommitSig = {
|
|
1317
|
-
typeUrl: "/tendermint.types.CommitSig",
|
|
1318
|
-
is(o: any): o is CommitSig {
|
|
1319
|
-
return o && (o.$typeUrl === CommitSig.typeUrl || isSet(o.blockIdFlag) && (o.validatorAddress instanceof Uint8Array || typeof o.validatorAddress === "string") && Timestamp.is(o.timestamp) && (o.signature instanceof Uint8Array || typeof o.signature === "string"));
|
|
1320
|
-
},
|
|
1321
|
-
isAmino(o: any): o is CommitSigAmino {
|
|
1322
|
-
return o && (o.$typeUrl === CommitSig.typeUrl || isSet(o.block_id_flag) && (o.validator_address instanceof Uint8Array || typeof o.validator_address === "string") && Timestamp.isAmino(o.timestamp) && (o.signature instanceof Uint8Array || typeof o.signature === "string"));
|
|
1323
|
-
},
|
|
1324
|
-
encode(message: CommitSig, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1325
|
-
if (message.blockIdFlag !== 0) {
|
|
1326
|
-
writer.uint32(8).int32(message.blockIdFlag);
|
|
1327
|
-
}
|
|
1328
|
-
if (message.validatorAddress.length !== 0) {
|
|
1329
|
-
writer.uint32(18).bytes(message.validatorAddress);
|
|
1330
|
-
}
|
|
1331
|
-
if (message.timestamp !== undefined) {
|
|
1332
|
-
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim();
|
|
1333
|
-
}
|
|
1334
|
-
if (message.signature.length !== 0) {
|
|
1335
|
-
writer.uint32(34).bytes(message.signature);
|
|
1336
|
-
}
|
|
1337
|
-
return writer;
|
|
1338
|
-
},
|
|
1339
|
-
decode(input: BinaryReader | Uint8Array, length?: number): CommitSig {
|
|
1340
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1341
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1342
|
-
const message = createBaseCommitSig();
|
|
1343
|
-
while (reader.pos < end) {
|
|
1344
|
-
const tag = reader.uint32();
|
|
1345
|
-
switch (tag >>> 3) {
|
|
1346
|
-
case 1:
|
|
1347
|
-
message.blockIdFlag = reader.int32() as any;
|
|
1348
|
-
break;
|
|
1349
|
-
case 2:
|
|
1350
|
-
message.validatorAddress = reader.bytes();
|
|
1351
|
-
break;
|
|
1352
|
-
case 3:
|
|
1353
|
-
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1354
|
-
break;
|
|
1355
|
-
case 4:
|
|
1356
|
-
message.signature = reader.bytes();
|
|
1357
|
-
break;
|
|
1358
|
-
default:
|
|
1359
|
-
reader.skipType(tag & 7);
|
|
1360
|
-
break;
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
return message;
|
|
1364
|
-
},
|
|
1365
|
-
fromPartial(object: DeepPartial<CommitSig>): CommitSig {
|
|
1366
|
-
const message = createBaseCommitSig();
|
|
1367
|
-
message.blockIdFlag = object.blockIdFlag ?? 0;
|
|
1368
|
-
message.validatorAddress = object.validatorAddress ?? new Uint8Array();
|
|
1369
|
-
message.timestamp = object.timestamp ?? undefined;
|
|
1370
|
-
message.signature = object.signature ?? new Uint8Array();
|
|
1371
|
-
return message;
|
|
1372
|
-
},
|
|
1373
|
-
fromAmino(object: CommitSigAmino): CommitSig {
|
|
1374
|
-
const message = createBaseCommitSig();
|
|
1375
|
-
if (object.block_id_flag !== undefined && object.block_id_flag !== null) {
|
|
1376
|
-
message.blockIdFlag = object.block_id_flag;
|
|
1377
|
-
}
|
|
1378
|
-
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1379
|
-
message.validatorAddress = bytesFromBase64(object.validator_address);
|
|
1380
|
-
}
|
|
1381
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1382
|
-
message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp));
|
|
1383
|
-
}
|
|
1384
|
-
if (object.signature !== undefined && object.signature !== null) {
|
|
1385
|
-
message.signature = bytesFromBase64(object.signature);
|
|
1386
|
-
}
|
|
1387
|
-
return message;
|
|
1388
|
-
},
|
|
1389
|
-
toAmino(message: CommitSig): CommitSigAmino {
|
|
1390
|
-
const obj: any = {};
|
|
1391
|
-
obj.block_id_flag = message.blockIdFlag === 0 ? undefined : message.blockIdFlag;
|
|
1392
|
-
obj.validator_address = message.validatorAddress ? base64FromBytes(message.validatorAddress) : undefined;
|
|
1393
|
-
obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined;
|
|
1394
|
-
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
|
1395
|
-
return obj;
|
|
1396
|
-
},
|
|
1397
|
-
fromAminoMsg(object: CommitSigAminoMsg): CommitSig {
|
|
1398
|
-
return CommitSig.fromAmino(object.value);
|
|
1399
|
-
},
|
|
1400
|
-
fromProtoMsg(message: CommitSigProtoMsg): CommitSig {
|
|
1401
|
-
return CommitSig.decode(message.value);
|
|
1402
|
-
},
|
|
1403
|
-
toProto(message: CommitSig): Uint8Array {
|
|
1404
|
-
return CommitSig.encode(message).finish();
|
|
1405
|
-
},
|
|
1406
|
-
toProtoMsg(message: CommitSig): CommitSigProtoMsg {
|
|
1407
|
-
return {
|
|
1408
|
-
typeUrl: "/tendermint.types.CommitSig",
|
|
1409
|
-
value: CommitSig.encode(message).finish()
|
|
1410
|
-
};
|
|
1411
|
-
}
|
|
1412
|
-
};
|
|
1413
|
-
GlobalDecoderRegistry.register(CommitSig.typeUrl, CommitSig);
|
|
1414
|
-
function createBaseExtendedCommit(): ExtendedCommit {
|
|
1415
|
-
return {
|
|
1416
|
-
height: BigInt(0),
|
|
1417
|
-
round: 0,
|
|
1418
|
-
blockId: BlockID.fromPartial({}),
|
|
1419
|
-
extendedSignatures: []
|
|
1420
|
-
};
|
|
1421
|
-
}
|
|
1422
|
-
export const ExtendedCommit = {
|
|
1423
|
-
typeUrl: "/tendermint.types.ExtendedCommit",
|
|
1424
|
-
is(o: any): o is ExtendedCommit {
|
|
1425
|
-
return o && (o.$typeUrl === ExtendedCommit.typeUrl || typeof o.height === "bigint" && typeof o.round === "number" && BlockID.is(o.blockId) && Array.isArray(o.extendedSignatures) && (!o.extendedSignatures.length || ExtendedCommitSig.is(o.extendedSignatures[0])));
|
|
1426
|
-
},
|
|
1427
|
-
isAmino(o: any): o is ExtendedCommitAmino {
|
|
1428
|
-
return o && (o.$typeUrl === ExtendedCommit.typeUrl || typeof o.height === "bigint" && typeof o.round === "number" && BlockID.isAmino(o.block_id) && Array.isArray(o.extended_signatures) && (!o.extended_signatures.length || ExtendedCommitSig.isAmino(o.extended_signatures[0])));
|
|
1429
|
-
},
|
|
1430
|
-
encode(message: ExtendedCommit, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1431
|
-
if (message.height !== BigInt(0)) {
|
|
1432
|
-
writer.uint32(8).int64(message.height);
|
|
1433
|
-
}
|
|
1434
|
-
if (message.round !== 0) {
|
|
1435
|
-
writer.uint32(16).int32(message.round);
|
|
1436
|
-
}
|
|
1437
|
-
if (message.blockId !== undefined) {
|
|
1438
|
-
BlockID.encode(message.blockId, writer.uint32(26).fork()).ldelim();
|
|
1439
|
-
}
|
|
1440
|
-
for (const v of message.extendedSignatures) {
|
|
1441
|
-
ExtendedCommitSig.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
1442
|
-
}
|
|
1443
|
-
return writer;
|
|
1444
|
-
},
|
|
1445
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ExtendedCommit {
|
|
1446
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1447
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1448
|
-
const message = createBaseExtendedCommit();
|
|
1449
|
-
while (reader.pos < end) {
|
|
1450
|
-
const tag = reader.uint32();
|
|
1451
|
-
switch (tag >>> 3) {
|
|
1452
|
-
case 1:
|
|
1453
|
-
message.height = reader.int64();
|
|
1454
|
-
break;
|
|
1455
|
-
case 2:
|
|
1456
|
-
message.round = reader.int32();
|
|
1457
|
-
break;
|
|
1458
|
-
case 3:
|
|
1459
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1460
|
-
break;
|
|
1461
|
-
case 4:
|
|
1462
|
-
message.extendedSignatures.push(ExtendedCommitSig.decode(reader, reader.uint32()));
|
|
1463
|
-
break;
|
|
1464
|
-
default:
|
|
1465
|
-
reader.skipType(tag & 7);
|
|
1466
|
-
break;
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
return message;
|
|
1470
|
-
},
|
|
1471
|
-
fromPartial(object: DeepPartial<ExtendedCommit>): ExtendedCommit {
|
|
1472
|
-
const message = createBaseExtendedCommit();
|
|
1473
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1474
|
-
message.round = object.round ?? 0;
|
|
1475
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1476
|
-
message.extendedSignatures = object.extendedSignatures?.map(e => ExtendedCommitSig.fromPartial(e)) || [];
|
|
1477
|
-
return message;
|
|
1478
|
-
},
|
|
1479
|
-
fromAmino(object: ExtendedCommitAmino): ExtendedCommit {
|
|
1480
|
-
const message = createBaseExtendedCommit();
|
|
1481
|
-
if (object.height !== undefined && object.height !== null) {
|
|
1482
|
-
message.height = BigInt(object.height);
|
|
1483
|
-
}
|
|
1484
|
-
if (object.round !== undefined && object.round !== null) {
|
|
1485
|
-
message.round = object.round;
|
|
1486
|
-
}
|
|
1487
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1488
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1489
|
-
}
|
|
1490
|
-
message.extendedSignatures = object.extended_signatures?.map(e => ExtendedCommitSig.fromAmino(e)) || [];
|
|
1491
|
-
return message;
|
|
1492
|
-
},
|
|
1493
|
-
toAmino(message: ExtendedCommit): ExtendedCommitAmino {
|
|
1494
|
-
const obj: any = {};
|
|
1495
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1496
|
-
obj.round = message.round === 0 ? undefined : message.round;
|
|
1497
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1498
|
-
if (message.extendedSignatures) {
|
|
1499
|
-
obj.extended_signatures = message.extendedSignatures.map(e => e ? ExtendedCommitSig.toAmino(e) : undefined);
|
|
1500
|
-
} else {
|
|
1501
|
-
obj.extended_signatures = message.extendedSignatures;
|
|
1502
|
-
}
|
|
1503
|
-
return obj;
|
|
1504
|
-
},
|
|
1505
|
-
fromAminoMsg(object: ExtendedCommitAminoMsg): ExtendedCommit {
|
|
1506
|
-
return ExtendedCommit.fromAmino(object.value);
|
|
1507
|
-
},
|
|
1508
|
-
fromProtoMsg(message: ExtendedCommitProtoMsg): ExtendedCommit {
|
|
1509
|
-
return ExtendedCommit.decode(message.value);
|
|
1510
|
-
},
|
|
1511
|
-
toProto(message: ExtendedCommit): Uint8Array {
|
|
1512
|
-
return ExtendedCommit.encode(message).finish();
|
|
1513
|
-
},
|
|
1514
|
-
toProtoMsg(message: ExtendedCommit): ExtendedCommitProtoMsg {
|
|
1515
|
-
return {
|
|
1516
|
-
typeUrl: "/tendermint.types.ExtendedCommit",
|
|
1517
|
-
value: ExtendedCommit.encode(message).finish()
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
|
-
};
|
|
1521
|
-
GlobalDecoderRegistry.register(ExtendedCommit.typeUrl, ExtendedCommit);
|
|
1522
|
-
function createBaseExtendedCommitSig(): ExtendedCommitSig {
|
|
1523
|
-
return {
|
|
1524
|
-
blockIdFlag: 0,
|
|
1525
|
-
validatorAddress: new Uint8Array(),
|
|
1526
|
-
timestamp: new Date(),
|
|
1527
|
-
signature: new Uint8Array(),
|
|
1528
|
-
extension: new Uint8Array(),
|
|
1529
|
-
extensionSignature: new Uint8Array()
|
|
1530
|
-
};
|
|
1531
|
-
}
|
|
1532
|
-
export const ExtendedCommitSig = {
|
|
1533
|
-
typeUrl: "/tendermint.types.ExtendedCommitSig",
|
|
1534
|
-
is(o: any): o is ExtendedCommitSig {
|
|
1535
|
-
return o && (o.$typeUrl === ExtendedCommitSig.typeUrl || isSet(o.blockIdFlag) && (o.validatorAddress instanceof Uint8Array || typeof o.validatorAddress === "string") && Timestamp.is(o.timestamp) && (o.signature instanceof Uint8Array || typeof o.signature === "string") && (o.extension instanceof Uint8Array || typeof o.extension === "string") && (o.extensionSignature instanceof Uint8Array || typeof o.extensionSignature === "string"));
|
|
1536
|
-
},
|
|
1537
|
-
isAmino(o: any): o is ExtendedCommitSigAmino {
|
|
1538
|
-
return o && (o.$typeUrl === ExtendedCommitSig.typeUrl || isSet(o.block_id_flag) && (o.validator_address instanceof Uint8Array || typeof o.validator_address === "string") && Timestamp.isAmino(o.timestamp) && (o.signature instanceof Uint8Array || typeof o.signature === "string") && (o.extension instanceof Uint8Array || typeof o.extension === "string") && (o.extension_signature instanceof Uint8Array || typeof o.extension_signature === "string"));
|
|
1539
|
-
},
|
|
1540
|
-
encode(message: ExtendedCommitSig, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1541
|
-
if (message.blockIdFlag !== 0) {
|
|
1542
|
-
writer.uint32(8).int32(message.blockIdFlag);
|
|
1543
|
-
}
|
|
1544
|
-
if (message.validatorAddress.length !== 0) {
|
|
1545
|
-
writer.uint32(18).bytes(message.validatorAddress);
|
|
1546
|
-
}
|
|
1547
|
-
if (message.timestamp !== undefined) {
|
|
1548
|
-
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim();
|
|
1549
|
-
}
|
|
1550
|
-
if (message.signature.length !== 0) {
|
|
1551
|
-
writer.uint32(34).bytes(message.signature);
|
|
1552
|
-
}
|
|
1553
|
-
if (message.extension.length !== 0) {
|
|
1554
|
-
writer.uint32(42).bytes(message.extension);
|
|
1555
|
-
}
|
|
1556
|
-
if (message.extensionSignature.length !== 0) {
|
|
1557
|
-
writer.uint32(50).bytes(message.extensionSignature);
|
|
1558
|
-
}
|
|
1559
|
-
return writer;
|
|
1560
|
-
},
|
|
1561
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ExtendedCommitSig {
|
|
1562
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1563
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1564
|
-
const message = createBaseExtendedCommitSig();
|
|
1565
|
-
while (reader.pos < end) {
|
|
1566
|
-
const tag = reader.uint32();
|
|
1567
|
-
switch (tag >>> 3) {
|
|
1568
|
-
case 1:
|
|
1569
|
-
message.blockIdFlag = reader.int32() as any;
|
|
1570
|
-
break;
|
|
1571
|
-
case 2:
|
|
1572
|
-
message.validatorAddress = reader.bytes();
|
|
1573
|
-
break;
|
|
1574
|
-
case 3:
|
|
1575
|
-
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1576
|
-
break;
|
|
1577
|
-
case 4:
|
|
1578
|
-
message.signature = reader.bytes();
|
|
1579
|
-
break;
|
|
1580
|
-
case 5:
|
|
1581
|
-
message.extension = reader.bytes();
|
|
1582
|
-
break;
|
|
1583
|
-
case 6:
|
|
1584
|
-
message.extensionSignature = reader.bytes();
|
|
1585
|
-
break;
|
|
1586
|
-
default:
|
|
1587
|
-
reader.skipType(tag & 7);
|
|
1588
|
-
break;
|
|
1589
|
-
}
|
|
1590
|
-
}
|
|
1591
|
-
return message;
|
|
1592
|
-
},
|
|
1593
|
-
fromPartial(object: DeepPartial<ExtendedCommitSig>): ExtendedCommitSig {
|
|
1594
|
-
const message = createBaseExtendedCommitSig();
|
|
1595
|
-
message.blockIdFlag = object.blockIdFlag ?? 0;
|
|
1596
|
-
message.validatorAddress = object.validatorAddress ?? new Uint8Array();
|
|
1597
|
-
message.timestamp = object.timestamp ?? undefined;
|
|
1598
|
-
message.signature = object.signature ?? new Uint8Array();
|
|
1599
|
-
message.extension = object.extension ?? new Uint8Array();
|
|
1600
|
-
message.extensionSignature = object.extensionSignature ?? new Uint8Array();
|
|
1601
|
-
return message;
|
|
1602
|
-
},
|
|
1603
|
-
fromAmino(object: ExtendedCommitSigAmino): ExtendedCommitSig {
|
|
1604
|
-
const message = createBaseExtendedCommitSig();
|
|
1605
|
-
if (object.block_id_flag !== undefined && object.block_id_flag !== null) {
|
|
1606
|
-
message.blockIdFlag = object.block_id_flag;
|
|
1607
|
-
}
|
|
1608
|
-
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1609
|
-
message.validatorAddress = bytesFromBase64(object.validator_address);
|
|
1610
|
-
}
|
|
1611
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1612
|
-
message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp));
|
|
1613
|
-
}
|
|
1614
|
-
if (object.signature !== undefined && object.signature !== null) {
|
|
1615
|
-
message.signature = bytesFromBase64(object.signature);
|
|
1616
|
-
}
|
|
1617
|
-
if (object.extension !== undefined && object.extension !== null) {
|
|
1618
|
-
message.extension = bytesFromBase64(object.extension);
|
|
1619
|
-
}
|
|
1620
|
-
if (object.extension_signature !== undefined && object.extension_signature !== null) {
|
|
1621
|
-
message.extensionSignature = bytesFromBase64(object.extension_signature);
|
|
1622
|
-
}
|
|
1623
|
-
return message;
|
|
1624
|
-
},
|
|
1625
|
-
toAmino(message: ExtendedCommitSig): ExtendedCommitSigAmino {
|
|
1626
|
-
const obj: any = {};
|
|
1627
|
-
obj.block_id_flag = message.blockIdFlag === 0 ? undefined : message.blockIdFlag;
|
|
1628
|
-
obj.validator_address = message.validatorAddress ? base64FromBytes(message.validatorAddress) : undefined;
|
|
1629
|
-
obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined;
|
|
1630
|
-
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
|
1631
|
-
obj.extension = message.extension ? base64FromBytes(message.extension) : undefined;
|
|
1632
|
-
obj.extension_signature = message.extensionSignature ? base64FromBytes(message.extensionSignature) : undefined;
|
|
1633
|
-
return obj;
|
|
1634
|
-
},
|
|
1635
|
-
fromAminoMsg(object: ExtendedCommitSigAminoMsg): ExtendedCommitSig {
|
|
1636
|
-
return ExtendedCommitSig.fromAmino(object.value);
|
|
1637
|
-
},
|
|
1638
|
-
fromProtoMsg(message: ExtendedCommitSigProtoMsg): ExtendedCommitSig {
|
|
1639
|
-
return ExtendedCommitSig.decode(message.value);
|
|
1640
|
-
},
|
|
1641
|
-
toProto(message: ExtendedCommitSig): Uint8Array {
|
|
1642
|
-
return ExtendedCommitSig.encode(message).finish();
|
|
1643
|
-
},
|
|
1644
|
-
toProtoMsg(message: ExtendedCommitSig): ExtendedCommitSigProtoMsg {
|
|
1645
|
-
return {
|
|
1646
|
-
typeUrl: "/tendermint.types.ExtendedCommitSig",
|
|
1647
|
-
value: ExtendedCommitSig.encode(message).finish()
|
|
1648
|
-
};
|
|
1649
|
-
}
|
|
1650
|
-
};
|
|
1651
|
-
GlobalDecoderRegistry.register(ExtendedCommitSig.typeUrl, ExtendedCommitSig);
|
|
1652
|
-
function createBaseProposal(): Proposal {
|
|
1653
|
-
return {
|
|
1654
|
-
type: 0,
|
|
1655
|
-
height: BigInt(0),
|
|
1656
|
-
round: 0,
|
|
1657
|
-
polRound: 0,
|
|
1658
|
-
blockId: BlockID.fromPartial({}),
|
|
1659
|
-
timestamp: new Date(),
|
|
1660
|
-
signature: new Uint8Array()
|
|
1661
|
-
};
|
|
1662
|
-
}
|
|
1663
|
-
export const Proposal = {
|
|
1664
|
-
typeUrl: "/tendermint.types.Proposal",
|
|
1665
|
-
is(o: any): o is Proposal {
|
|
1666
|
-
return o && (o.$typeUrl === Proposal.typeUrl || isSet(o.type) && typeof o.height === "bigint" && typeof o.round === "number" && typeof o.polRound === "number" && BlockID.is(o.blockId) && Timestamp.is(o.timestamp) && (o.signature instanceof Uint8Array || typeof o.signature === "string"));
|
|
1667
|
-
},
|
|
1668
|
-
isAmino(o: any): o is ProposalAmino {
|
|
1669
|
-
return o && (o.$typeUrl === Proposal.typeUrl || isSet(o.type) && typeof o.height === "bigint" && typeof o.round === "number" && typeof o.pol_round === "number" && BlockID.isAmino(o.block_id) && Timestamp.isAmino(o.timestamp) && (o.signature instanceof Uint8Array || typeof o.signature === "string"));
|
|
1670
|
-
},
|
|
1671
|
-
encode(message: Proposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1672
|
-
if (message.type !== 0) {
|
|
1673
|
-
writer.uint32(8).int32(message.type);
|
|
1674
|
-
}
|
|
1675
|
-
if (message.height !== BigInt(0)) {
|
|
1676
|
-
writer.uint32(16).int64(message.height);
|
|
1677
|
-
}
|
|
1678
|
-
if (message.round !== 0) {
|
|
1679
|
-
writer.uint32(24).int32(message.round);
|
|
1680
|
-
}
|
|
1681
|
-
if (message.polRound !== 0) {
|
|
1682
|
-
writer.uint32(32).int32(message.polRound);
|
|
1683
|
-
}
|
|
1684
|
-
if (message.blockId !== undefined) {
|
|
1685
|
-
BlockID.encode(message.blockId, writer.uint32(42).fork()).ldelim();
|
|
1686
|
-
}
|
|
1687
|
-
if (message.timestamp !== undefined) {
|
|
1688
|
-
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(50).fork()).ldelim();
|
|
1689
|
-
}
|
|
1690
|
-
if (message.signature.length !== 0) {
|
|
1691
|
-
writer.uint32(58).bytes(message.signature);
|
|
1692
|
-
}
|
|
1693
|
-
return writer;
|
|
1694
|
-
},
|
|
1695
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Proposal {
|
|
1696
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1697
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1698
|
-
const message = createBaseProposal();
|
|
1699
|
-
while (reader.pos < end) {
|
|
1700
|
-
const tag = reader.uint32();
|
|
1701
|
-
switch (tag >>> 3) {
|
|
1702
|
-
case 1:
|
|
1703
|
-
message.type = reader.int32() as any;
|
|
1704
|
-
break;
|
|
1705
|
-
case 2:
|
|
1706
|
-
message.height = reader.int64();
|
|
1707
|
-
break;
|
|
1708
|
-
case 3:
|
|
1709
|
-
message.round = reader.int32();
|
|
1710
|
-
break;
|
|
1711
|
-
case 4:
|
|
1712
|
-
message.polRound = reader.int32();
|
|
1713
|
-
break;
|
|
1714
|
-
case 5:
|
|
1715
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1716
|
-
break;
|
|
1717
|
-
case 6:
|
|
1718
|
-
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1719
|
-
break;
|
|
1720
|
-
case 7:
|
|
1721
|
-
message.signature = reader.bytes();
|
|
1722
|
-
break;
|
|
1723
|
-
default:
|
|
1724
|
-
reader.skipType(tag & 7);
|
|
1725
|
-
break;
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
return message;
|
|
1729
|
-
},
|
|
1730
|
-
fromPartial(object: DeepPartial<Proposal>): Proposal {
|
|
1731
|
-
const message = createBaseProposal();
|
|
1732
|
-
message.type = object.type ?? 0;
|
|
1733
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1734
|
-
message.round = object.round ?? 0;
|
|
1735
|
-
message.polRound = object.polRound ?? 0;
|
|
1736
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1737
|
-
message.timestamp = object.timestamp ?? undefined;
|
|
1738
|
-
message.signature = object.signature ?? new Uint8Array();
|
|
1739
|
-
return message;
|
|
1740
|
-
},
|
|
1741
|
-
fromAmino(object: ProposalAmino): Proposal {
|
|
1742
|
-
const message = createBaseProposal();
|
|
1743
|
-
if (object.type !== undefined && object.type !== null) {
|
|
1744
|
-
message.type = object.type;
|
|
1745
|
-
}
|
|
1746
|
-
if (object.height !== undefined && object.height !== null) {
|
|
1747
|
-
message.height = BigInt(object.height);
|
|
1748
|
-
}
|
|
1749
|
-
if (object.round !== undefined && object.round !== null) {
|
|
1750
|
-
message.round = object.round;
|
|
1751
|
-
}
|
|
1752
|
-
if (object.pol_round !== undefined && object.pol_round !== null) {
|
|
1753
|
-
message.polRound = object.pol_round;
|
|
1754
|
-
}
|
|
1755
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1756
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1757
|
-
}
|
|
1758
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1759
|
-
message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp));
|
|
1760
|
-
}
|
|
1761
|
-
if (object.signature !== undefined && object.signature !== null) {
|
|
1762
|
-
message.signature = bytesFromBase64(object.signature);
|
|
1763
|
-
}
|
|
1764
|
-
return message;
|
|
1765
|
-
},
|
|
1766
|
-
toAmino(message: Proposal): ProposalAmino {
|
|
1767
|
-
const obj: any = {};
|
|
1768
|
-
obj.type = message.type === 0 ? undefined : message.type;
|
|
1769
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1770
|
-
obj.round = message.round === 0 ? undefined : message.round;
|
|
1771
|
-
obj.pol_round = message.polRound === 0 ? undefined : message.polRound;
|
|
1772
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1773
|
-
obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined;
|
|
1774
|
-
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
|
1775
|
-
return obj;
|
|
1776
|
-
},
|
|
1777
|
-
fromAminoMsg(object: ProposalAminoMsg): Proposal {
|
|
1778
|
-
return Proposal.fromAmino(object.value);
|
|
1779
|
-
},
|
|
1780
|
-
fromProtoMsg(message: ProposalProtoMsg): Proposal {
|
|
1781
|
-
return Proposal.decode(message.value);
|
|
1782
|
-
},
|
|
1783
|
-
toProto(message: Proposal): Uint8Array {
|
|
1784
|
-
return Proposal.encode(message).finish();
|
|
1785
|
-
},
|
|
1786
|
-
toProtoMsg(message: Proposal): ProposalProtoMsg {
|
|
1787
|
-
return {
|
|
1788
|
-
typeUrl: "/tendermint.types.Proposal",
|
|
1789
|
-
value: Proposal.encode(message).finish()
|
|
1790
|
-
};
|
|
1791
|
-
}
|
|
1792
|
-
};
|
|
1793
|
-
GlobalDecoderRegistry.register(Proposal.typeUrl, Proposal);
|
|
1794
|
-
function createBaseSignedHeader(): SignedHeader {
|
|
1795
|
-
return {
|
|
1796
|
-
header: undefined,
|
|
1797
|
-
commit: undefined
|
|
1798
|
-
};
|
|
1799
|
-
}
|
|
1800
|
-
export const SignedHeader = {
|
|
1801
|
-
typeUrl: "/tendermint.types.SignedHeader",
|
|
1802
|
-
is(o: any): o is SignedHeader {
|
|
1803
|
-
return o && o.$typeUrl === SignedHeader.typeUrl;
|
|
1804
|
-
},
|
|
1805
|
-
isAmino(o: any): o is SignedHeaderAmino {
|
|
1806
|
-
return o && o.$typeUrl === SignedHeader.typeUrl;
|
|
1807
|
-
},
|
|
1808
|
-
encode(message: SignedHeader, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1809
|
-
if (message.header !== undefined) {
|
|
1810
|
-
Header.encode(message.header, writer.uint32(10).fork()).ldelim();
|
|
1811
|
-
}
|
|
1812
|
-
if (message.commit !== undefined) {
|
|
1813
|
-
Commit.encode(message.commit, writer.uint32(18).fork()).ldelim();
|
|
1814
|
-
}
|
|
1815
|
-
return writer;
|
|
1816
|
-
},
|
|
1817
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SignedHeader {
|
|
1818
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1819
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1820
|
-
const message = createBaseSignedHeader();
|
|
1821
|
-
while (reader.pos < end) {
|
|
1822
|
-
const tag = reader.uint32();
|
|
1823
|
-
switch (tag >>> 3) {
|
|
1824
|
-
case 1:
|
|
1825
|
-
message.header = Header.decode(reader, reader.uint32());
|
|
1826
|
-
break;
|
|
1827
|
-
case 2:
|
|
1828
|
-
message.commit = Commit.decode(reader, reader.uint32());
|
|
1829
|
-
break;
|
|
1830
|
-
default:
|
|
1831
|
-
reader.skipType(tag & 7);
|
|
1832
|
-
break;
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
return message;
|
|
1836
|
-
},
|
|
1837
|
-
fromPartial(object: DeepPartial<SignedHeader>): SignedHeader {
|
|
1838
|
-
const message = createBaseSignedHeader();
|
|
1839
|
-
message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined;
|
|
1840
|
-
message.commit = object.commit !== undefined && object.commit !== null ? Commit.fromPartial(object.commit) : undefined;
|
|
1841
|
-
return message;
|
|
1842
|
-
},
|
|
1843
|
-
fromAmino(object: SignedHeaderAmino): SignedHeader {
|
|
1844
|
-
const message = createBaseSignedHeader();
|
|
1845
|
-
if (object.header !== undefined && object.header !== null) {
|
|
1846
|
-
message.header = Header.fromAmino(object.header);
|
|
1847
|
-
}
|
|
1848
|
-
if (object.commit !== undefined && object.commit !== null) {
|
|
1849
|
-
message.commit = Commit.fromAmino(object.commit);
|
|
1850
|
-
}
|
|
1851
|
-
return message;
|
|
1852
|
-
},
|
|
1853
|
-
toAmino(message: SignedHeader): SignedHeaderAmino {
|
|
1854
|
-
const obj: any = {};
|
|
1855
|
-
obj.header = message.header ? Header.toAmino(message.header) : undefined;
|
|
1856
|
-
obj.commit = message.commit ? Commit.toAmino(message.commit) : undefined;
|
|
1857
|
-
return obj;
|
|
1858
|
-
},
|
|
1859
|
-
fromAminoMsg(object: SignedHeaderAminoMsg): SignedHeader {
|
|
1860
|
-
return SignedHeader.fromAmino(object.value);
|
|
1861
|
-
},
|
|
1862
|
-
fromProtoMsg(message: SignedHeaderProtoMsg): SignedHeader {
|
|
1863
|
-
return SignedHeader.decode(message.value);
|
|
1864
|
-
},
|
|
1865
|
-
toProto(message: SignedHeader): Uint8Array {
|
|
1866
|
-
return SignedHeader.encode(message).finish();
|
|
1867
|
-
},
|
|
1868
|
-
toProtoMsg(message: SignedHeader): SignedHeaderProtoMsg {
|
|
1869
|
-
return {
|
|
1870
|
-
typeUrl: "/tendermint.types.SignedHeader",
|
|
1871
|
-
value: SignedHeader.encode(message).finish()
|
|
1872
|
-
};
|
|
1873
|
-
}
|
|
1874
|
-
};
|
|
1875
|
-
GlobalDecoderRegistry.register(SignedHeader.typeUrl, SignedHeader);
|
|
1876
|
-
function createBaseLightBlock(): LightBlock {
|
|
1877
|
-
return {
|
|
1878
|
-
signedHeader: undefined,
|
|
1879
|
-
validatorSet: undefined
|
|
1880
|
-
};
|
|
1881
|
-
}
|
|
1882
|
-
export const LightBlock = {
|
|
1883
|
-
typeUrl: "/tendermint.types.LightBlock",
|
|
1884
|
-
is(o: any): o is LightBlock {
|
|
1885
|
-
return o && o.$typeUrl === LightBlock.typeUrl;
|
|
1886
|
-
},
|
|
1887
|
-
isAmino(o: any): o is LightBlockAmino {
|
|
1888
|
-
return o && o.$typeUrl === LightBlock.typeUrl;
|
|
1889
|
-
},
|
|
1890
|
-
encode(message: LightBlock, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1891
|
-
if (message.signedHeader !== undefined) {
|
|
1892
|
-
SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim();
|
|
1893
|
-
}
|
|
1894
|
-
if (message.validatorSet !== undefined) {
|
|
1895
|
-
ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim();
|
|
1896
|
-
}
|
|
1897
|
-
return writer;
|
|
1898
|
-
},
|
|
1899
|
-
decode(input: BinaryReader | Uint8Array, length?: number): LightBlock {
|
|
1900
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1901
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1902
|
-
const message = createBaseLightBlock();
|
|
1903
|
-
while (reader.pos < end) {
|
|
1904
|
-
const tag = reader.uint32();
|
|
1905
|
-
switch (tag >>> 3) {
|
|
1906
|
-
case 1:
|
|
1907
|
-
message.signedHeader = SignedHeader.decode(reader, reader.uint32());
|
|
1908
|
-
break;
|
|
1909
|
-
case 2:
|
|
1910
|
-
message.validatorSet = ValidatorSet.decode(reader, reader.uint32());
|
|
1911
|
-
break;
|
|
1912
|
-
default:
|
|
1913
|
-
reader.skipType(tag & 7);
|
|
1914
|
-
break;
|
|
1915
|
-
}
|
|
1916
|
-
}
|
|
1917
|
-
return message;
|
|
1918
|
-
},
|
|
1919
|
-
fromPartial(object: DeepPartial<LightBlock>): LightBlock {
|
|
1920
|
-
const message = createBaseLightBlock();
|
|
1921
|
-
message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined;
|
|
1922
|
-
message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined;
|
|
1923
|
-
return message;
|
|
1924
|
-
},
|
|
1925
|
-
fromAmino(object: LightBlockAmino): LightBlock {
|
|
1926
|
-
const message = createBaseLightBlock();
|
|
1927
|
-
if (object.signed_header !== undefined && object.signed_header !== null) {
|
|
1928
|
-
message.signedHeader = SignedHeader.fromAmino(object.signed_header);
|
|
1929
|
-
}
|
|
1930
|
-
if (object.validator_set !== undefined && object.validator_set !== null) {
|
|
1931
|
-
message.validatorSet = ValidatorSet.fromAmino(object.validator_set);
|
|
1932
|
-
}
|
|
1933
|
-
return message;
|
|
1934
|
-
},
|
|
1935
|
-
toAmino(message: LightBlock): LightBlockAmino {
|
|
1936
|
-
const obj: any = {};
|
|
1937
|
-
obj.signed_header = message.signedHeader ? SignedHeader.toAmino(message.signedHeader) : undefined;
|
|
1938
|
-
obj.validator_set = message.validatorSet ? ValidatorSet.toAmino(message.validatorSet) : undefined;
|
|
1939
|
-
return obj;
|
|
1940
|
-
},
|
|
1941
|
-
fromAminoMsg(object: LightBlockAminoMsg): LightBlock {
|
|
1942
|
-
return LightBlock.fromAmino(object.value);
|
|
1943
|
-
},
|
|
1944
|
-
fromProtoMsg(message: LightBlockProtoMsg): LightBlock {
|
|
1945
|
-
return LightBlock.decode(message.value);
|
|
1946
|
-
},
|
|
1947
|
-
toProto(message: LightBlock): Uint8Array {
|
|
1948
|
-
return LightBlock.encode(message).finish();
|
|
1949
|
-
},
|
|
1950
|
-
toProtoMsg(message: LightBlock): LightBlockProtoMsg {
|
|
1951
|
-
return {
|
|
1952
|
-
typeUrl: "/tendermint.types.LightBlock",
|
|
1953
|
-
value: LightBlock.encode(message).finish()
|
|
1954
|
-
};
|
|
1955
|
-
}
|
|
1956
|
-
};
|
|
1957
|
-
GlobalDecoderRegistry.register(LightBlock.typeUrl, LightBlock);
|
|
1958
|
-
function createBaseBlockMeta(): BlockMeta {
|
|
1959
|
-
return {
|
|
1960
|
-
blockId: BlockID.fromPartial({}),
|
|
1961
|
-
blockSize: BigInt(0),
|
|
1962
|
-
header: Header.fromPartial({}),
|
|
1963
|
-
numTxs: BigInt(0)
|
|
1964
|
-
};
|
|
1965
|
-
}
|
|
1966
|
-
export const BlockMeta = {
|
|
1967
|
-
typeUrl: "/tendermint.types.BlockMeta",
|
|
1968
|
-
is(o: any): o is BlockMeta {
|
|
1969
|
-
return o && (o.$typeUrl === BlockMeta.typeUrl || BlockID.is(o.blockId) && typeof o.blockSize === "bigint" && Header.is(o.header) && typeof o.numTxs === "bigint");
|
|
1970
|
-
},
|
|
1971
|
-
isAmino(o: any): o is BlockMetaAmino {
|
|
1972
|
-
return o && (o.$typeUrl === BlockMeta.typeUrl || BlockID.isAmino(o.block_id) && typeof o.block_size === "bigint" && Header.isAmino(o.header) && typeof o.num_txs === "bigint");
|
|
1973
|
-
},
|
|
1974
|
-
encode(message: BlockMeta, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1975
|
-
if (message.blockId !== undefined) {
|
|
1976
|
-
BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
|
|
1977
|
-
}
|
|
1978
|
-
if (message.blockSize !== BigInt(0)) {
|
|
1979
|
-
writer.uint32(16).int64(message.blockSize);
|
|
1980
|
-
}
|
|
1981
|
-
if (message.header !== undefined) {
|
|
1982
|
-
Header.encode(message.header, writer.uint32(26).fork()).ldelim();
|
|
1983
|
-
}
|
|
1984
|
-
if (message.numTxs !== BigInt(0)) {
|
|
1985
|
-
writer.uint32(32).int64(message.numTxs);
|
|
1986
|
-
}
|
|
1987
|
-
return writer;
|
|
1988
|
-
},
|
|
1989
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BlockMeta {
|
|
1990
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1991
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1992
|
-
const message = createBaseBlockMeta();
|
|
1993
|
-
while (reader.pos < end) {
|
|
1994
|
-
const tag = reader.uint32();
|
|
1995
|
-
switch (tag >>> 3) {
|
|
1996
|
-
case 1:
|
|
1997
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1998
|
-
break;
|
|
1999
|
-
case 2:
|
|
2000
|
-
message.blockSize = reader.int64();
|
|
2001
|
-
break;
|
|
2002
|
-
case 3:
|
|
2003
|
-
message.header = Header.decode(reader, reader.uint32());
|
|
2004
|
-
break;
|
|
2005
|
-
case 4:
|
|
2006
|
-
message.numTxs = reader.int64();
|
|
2007
|
-
break;
|
|
2008
|
-
default:
|
|
2009
|
-
reader.skipType(tag & 7);
|
|
2010
|
-
break;
|
|
2011
|
-
}
|
|
2012
|
-
}
|
|
2013
|
-
return message;
|
|
2014
|
-
},
|
|
2015
|
-
fromPartial(object: DeepPartial<BlockMeta>): BlockMeta {
|
|
2016
|
-
const message = createBaseBlockMeta();
|
|
2017
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
2018
|
-
message.blockSize = object.blockSize !== undefined && object.blockSize !== null ? BigInt(object.blockSize.toString()) : BigInt(0);
|
|
2019
|
-
message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined;
|
|
2020
|
-
message.numTxs = object.numTxs !== undefined && object.numTxs !== null ? BigInt(object.numTxs.toString()) : BigInt(0);
|
|
2021
|
-
return message;
|
|
2022
|
-
},
|
|
2023
|
-
fromAmino(object: BlockMetaAmino): BlockMeta {
|
|
2024
|
-
const message = createBaseBlockMeta();
|
|
2025
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
2026
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
2027
|
-
}
|
|
2028
|
-
if (object.block_size !== undefined && object.block_size !== null) {
|
|
2029
|
-
message.blockSize = BigInt(object.block_size);
|
|
2030
|
-
}
|
|
2031
|
-
if (object.header !== undefined && object.header !== null) {
|
|
2032
|
-
message.header = Header.fromAmino(object.header);
|
|
2033
|
-
}
|
|
2034
|
-
if (object.num_txs !== undefined && object.num_txs !== null) {
|
|
2035
|
-
message.numTxs = BigInt(object.num_txs);
|
|
2036
|
-
}
|
|
2037
|
-
return message;
|
|
2038
|
-
},
|
|
2039
|
-
toAmino(message: BlockMeta): BlockMetaAmino {
|
|
2040
|
-
const obj: any = {};
|
|
2041
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
2042
|
-
obj.block_size = message.blockSize !== BigInt(0) ? message.blockSize?.toString() : undefined;
|
|
2043
|
-
obj.header = message.header ? Header.toAmino(message.header) : undefined;
|
|
2044
|
-
obj.num_txs = message.numTxs !== BigInt(0) ? message.numTxs?.toString() : undefined;
|
|
2045
|
-
return obj;
|
|
2046
|
-
},
|
|
2047
|
-
fromAminoMsg(object: BlockMetaAminoMsg): BlockMeta {
|
|
2048
|
-
return BlockMeta.fromAmino(object.value);
|
|
2049
|
-
},
|
|
2050
|
-
fromProtoMsg(message: BlockMetaProtoMsg): BlockMeta {
|
|
2051
|
-
return BlockMeta.decode(message.value);
|
|
2052
|
-
},
|
|
2053
|
-
toProto(message: BlockMeta): Uint8Array {
|
|
2054
|
-
return BlockMeta.encode(message).finish();
|
|
2055
|
-
},
|
|
2056
|
-
toProtoMsg(message: BlockMeta): BlockMetaProtoMsg {
|
|
2057
|
-
return {
|
|
2058
|
-
typeUrl: "/tendermint.types.BlockMeta",
|
|
2059
|
-
value: BlockMeta.encode(message).finish()
|
|
2060
|
-
};
|
|
2061
|
-
}
|
|
2062
|
-
};
|
|
2063
|
-
GlobalDecoderRegistry.register(BlockMeta.typeUrl, BlockMeta);
|
|
2064
|
-
function createBaseTxProof(): TxProof {
|
|
2065
|
-
return {
|
|
2066
|
-
rootHash: new Uint8Array(),
|
|
2067
|
-
data: new Uint8Array(),
|
|
2068
|
-
proof: undefined
|
|
2069
|
-
};
|
|
2070
|
-
}
|
|
2071
|
-
export const TxProof = {
|
|
2072
|
-
typeUrl: "/tendermint.types.TxProof",
|
|
2073
|
-
is(o: any): o is TxProof {
|
|
2074
|
-
return o && (o.$typeUrl === TxProof.typeUrl || (o.rootHash instanceof Uint8Array || typeof o.rootHash === "string") && (o.data instanceof Uint8Array || typeof o.data === "string"));
|
|
2075
|
-
},
|
|
2076
|
-
isAmino(o: any): o is TxProofAmino {
|
|
2077
|
-
return o && (o.$typeUrl === TxProof.typeUrl || (o.root_hash instanceof Uint8Array || typeof o.root_hash === "string") && (o.data instanceof Uint8Array || typeof o.data === "string"));
|
|
2078
|
-
},
|
|
2079
|
-
encode(message: TxProof, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2080
|
-
if (message.rootHash.length !== 0) {
|
|
2081
|
-
writer.uint32(10).bytes(message.rootHash);
|
|
2082
|
-
}
|
|
2083
|
-
if (message.data.length !== 0) {
|
|
2084
|
-
writer.uint32(18).bytes(message.data);
|
|
2085
|
-
}
|
|
2086
|
-
if (message.proof !== undefined) {
|
|
2087
|
-
Proof.encode(message.proof, writer.uint32(26).fork()).ldelim();
|
|
2088
|
-
}
|
|
2089
|
-
return writer;
|
|
2090
|
-
},
|
|
2091
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxProof {
|
|
2092
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2093
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2094
|
-
const message = createBaseTxProof();
|
|
2095
|
-
while (reader.pos < end) {
|
|
2096
|
-
const tag = reader.uint32();
|
|
2097
|
-
switch (tag >>> 3) {
|
|
2098
|
-
case 1:
|
|
2099
|
-
message.rootHash = reader.bytes();
|
|
2100
|
-
break;
|
|
2101
|
-
case 2:
|
|
2102
|
-
message.data = reader.bytes();
|
|
2103
|
-
break;
|
|
2104
|
-
case 3:
|
|
2105
|
-
message.proof = Proof.decode(reader, reader.uint32());
|
|
2106
|
-
break;
|
|
2107
|
-
default:
|
|
2108
|
-
reader.skipType(tag & 7);
|
|
2109
|
-
break;
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
|
-
return message;
|
|
2113
|
-
},
|
|
2114
|
-
fromPartial(object: DeepPartial<TxProof>): TxProof {
|
|
2115
|
-
const message = createBaseTxProof();
|
|
2116
|
-
message.rootHash = object.rootHash ?? new Uint8Array();
|
|
2117
|
-
message.data = object.data ?? new Uint8Array();
|
|
2118
|
-
message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined;
|
|
2119
|
-
return message;
|
|
2120
|
-
},
|
|
2121
|
-
fromAmino(object: TxProofAmino): TxProof {
|
|
2122
|
-
const message = createBaseTxProof();
|
|
2123
|
-
if (object.root_hash !== undefined && object.root_hash !== null) {
|
|
2124
|
-
message.rootHash = bytesFromBase64(object.root_hash);
|
|
2125
|
-
}
|
|
2126
|
-
if (object.data !== undefined && object.data !== null) {
|
|
2127
|
-
message.data = bytesFromBase64(object.data);
|
|
2128
|
-
}
|
|
2129
|
-
if (object.proof !== undefined && object.proof !== null) {
|
|
2130
|
-
message.proof = Proof.fromAmino(object.proof);
|
|
2131
|
-
}
|
|
2132
|
-
return message;
|
|
2133
|
-
},
|
|
2134
|
-
toAmino(message: TxProof): TxProofAmino {
|
|
2135
|
-
const obj: any = {};
|
|
2136
|
-
obj.root_hash = message.rootHash ? base64FromBytes(message.rootHash) : undefined;
|
|
2137
|
-
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
2138
|
-
obj.proof = message.proof ? Proof.toAmino(message.proof) : undefined;
|
|
2139
|
-
return obj;
|
|
2140
|
-
},
|
|
2141
|
-
fromAminoMsg(object: TxProofAminoMsg): TxProof {
|
|
2142
|
-
return TxProof.fromAmino(object.value);
|
|
2143
|
-
},
|
|
2144
|
-
fromProtoMsg(message: TxProofProtoMsg): TxProof {
|
|
2145
|
-
return TxProof.decode(message.value);
|
|
2146
|
-
},
|
|
2147
|
-
toProto(message: TxProof): Uint8Array {
|
|
2148
|
-
return TxProof.encode(message).finish();
|
|
2149
|
-
},
|
|
2150
|
-
toProtoMsg(message: TxProof): TxProofProtoMsg {
|
|
2151
|
-
return {
|
|
2152
|
-
typeUrl: "/tendermint.types.TxProof",
|
|
2153
|
-
value: TxProof.encode(message).finish()
|
|
2154
|
-
};
|
|
2155
|
-
}
|
|
2156
|
-
};
|
|
2157
|
-
GlobalDecoderRegistry.register(TxProof.typeUrl, TxProof);
|