@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
|
@@ -0,0 +1,1619 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompressedNonExistenceProof = exports.CompressedExistenceProof = exports.CompressedBatchEntry = exports.CompressedBatchProof = exports.BatchEntry = exports.BatchProof = exports.InnerSpec = exports.ProofSpec = exports.InnerOp = exports.LeafOp = exports.CommitmentProof = exports.NonExistenceProof = exports.ExistenceProof = exports.lengthOpToJSON = exports.lengthOpFromJSON = exports.LengthOpAmino = exports.LengthOp = exports.hashOpToJSON = exports.hashOpFromJSON = exports.HashOpAmino = exports.HashOp = void 0;
|
|
4
|
+
const binary_1 = require("../../../binary");
|
|
5
|
+
const helpers_1 = require("../../../helpers");
|
|
6
|
+
var HashOp;
|
|
7
|
+
(function (HashOp) {
|
|
8
|
+
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
|
|
9
|
+
HashOp[HashOp["NO_HASH"] = 0] = "NO_HASH";
|
|
10
|
+
HashOp[HashOp["SHA256"] = 1] = "SHA256";
|
|
11
|
+
HashOp[HashOp["SHA512"] = 2] = "SHA512";
|
|
12
|
+
HashOp[HashOp["KECCAK256"] = 3] = "KECCAK256";
|
|
13
|
+
HashOp[HashOp["RIPEMD160"] = 4] = "RIPEMD160";
|
|
14
|
+
/** BITCOIN - ripemd160(sha256(x)) */
|
|
15
|
+
HashOp[HashOp["BITCOIN"] = 5] = "BITCOIN";
|
|
16
|
+
HashOp[HashOp["SHA512_256"] = 6] = "SHA512_256";
|
|
17
|
+
HashOp[HashOp["BLAKE2B_512"] = 7] = "BLAKE2B_512";
|
|
18
|
+
HashOp[HashOp["BLAKE2S_256"] = 8] = "BLAKE2S_256";
|
|
19
|
+
HashOp[HashOp["BLAKE3"] = 9] = "BLAKE3";
|
|
20
|
+
HashOp[HashOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
|
+
})(HashOp = exports.HashOp || (exports.HashOp = {}));
|
|
22
|
+
exports.HashOpAmino = HashOp;
|
|
23
|
+
function hashOpFromJSON(object) {
|
|
24
|
+
switch (object) {
|
|
25
|
+
case 0:
|
|
26
|
+
case "NO_HASH":
|
|
27
|
+
return HashOp.NO_HASH;
|
|
28
|
+
case 1:
|
|
29
|
+
case "SHA256":
|
|
30
|
+
return HashOp.SHA256;
|
|
31
|
+
case 2:
|
|
32
|
+
case "SHA512":
|
|
33
|
+
return HashOp.SHA512;
|
|
34
|
+
case 3:
|
|
35
|
+
case "KECCAK256":
|
|
36
|
+
return HashOp.KECCAK256;
|
|
37
|
+
case 4:
|
|
38
|
+
case "RIPEMD160":
|
|
39
|
+
return HashOp.RIPEMD160;
|
|
40
|
+
case 5:
|
|
41
|
+
case "BITCOIN":
|
|
42
|
+
return HashOp.BITCOIN;
|
|
43
|
+
case 6:
|
|
44
|
+
case "SHA512_256":
|
|
45
|
+
return HashOp.SHA512_256;
|
|
46
|
+
case 7:
|
|
47
|
+
case "BLAKE2B_512":
|
|
48
|
+
return HashOp.BLAKE2B_512;
|
|
49
|
+
case 8:
|
|
50
|
+
case "BLAKE2S_256":
|
|
51
|
+
return HashOp.BLAKE2S_256;
|
|
52
|
+
case 9:
|
|
53
|
+
case "BLAKE3":
|
|
54
|
+
return HashOp.BLAKE3;
|
|
55
|
+
case -1:
|
|
56
|
+
case "UNRECOGNIZED":
|
|
57
|
+
default:
|
|
58
|
+
return HashOp.UNRECOGNIZED;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.hashOpFromJSON = hashOpFromJSON;
|
|
62
|
+
function hashOpToJSON(object) {
|
|
63
|
+
switch (object) {
|
|
64
|
+
case HashOp.NO_HASH:
|
|
65
|
+
return "NO_HASH";
|
|
66
|
+
case HashOp.SHA256:
|
|
67
|
+
return "SHA256";
|
|
68
|
+
case HashOp.SHA512:
|
|
69
|
+
return "SHA512";
|
|
70
|
+
case HashOp.KECCAK256:
|
|
71
|
+
return "KECCAK256";
|
|
72
|
+
case HashOp.RIPEMD160:
|
|
73
|
+
return "RIPEMD160";
|
|
74
|
+
case HashOp.BITCOIN:
|
|
75
|
+
return "BITCOIN";
|
|
76
|
+
case HashOp.SHA512_256:
|
|
77
|
+
return "SHA512_256";
|
|
78
|
+
case HashOp.BLAKE2B_512:
|
|
79
|
+
return "BLAKE2B_512";
|
|
80
|
+
case HashOp.BLAKE2S_256:
|
|
81
|
+
return "BLAKE2S_256";
|
|
82
|
+
case HashOp.BLAKE3:
|
|
83
|
+
return "BLAKE3";
|
|
84
|
+
case HashOp.UNRECOGNIZED:
|
|
85
|
+
default:
|
|
86
|
+
return "UNRECOGNIZED";
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.hashOpToJSON = hashOpToJSON;
|
|
90
|
+
/**
|
|
91
|
+
* LengthOp defines how to process the key and value of the LeafOp
|
|
92
|
+
* to include length information. After encoding the length with the given
|
|
93
|
+
* algorithm, the length will be prepended to the key and value bytes.
|
|
94
|
+
* (Each one with it's own encoded length)
|
|
95
|
+
*/
|
|
96
|
+
var LengthOp;
|
|
97
|
+
(function (LengthOp) {
|
|
98
|
+
/** NO_PREFIX - NO_PREFIX don't include any length info */
|
|
99
|
+
LengthOp[LengthOp["NO_PREFIX"] = 0] = "NO_PREFIX";
|
|
100
|
+
/** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */
|
|
101
|
+
LengthOp[LengthOp["VAR_PROTO"] = 1] = "VAR_PROTO";
|
|
102
|
+
/** VAR_RLP - VAR_RLP uses rlp int encoding of the length */
|
|
103
|
+
LengthOp[LengthOp["VAR_RLP"] = 2] = "VAR_RLP";
|
|
104
|
+
/** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */
|
|
105
|
+
LengthOp[LengthOp["FIXED32_BIG"] = 3] = "FIXED32_BIG";
|
|
106
|
+
/** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */
|
|
107
|
+
LengthOp[LengthOp["FIXED32_LITTLE"] = 4] = "FIXED32_LITTLE";
|
|
108
|
+
/** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */
|
|
109
|
+
LengthOp[LengthOp["FIXED64_BIG"] = 5] = "FIXED64_BIG";
|
|
110
|
+
/** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */
|
|
111
|
+
LengthOp[LengthOp["FIXED64_LITTLE"] = 6] = "FIXED64_LITTLE";
|
|
112
|
+
/** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */
|
|
113
|
+
LengthOp[LengthOp["REQUIRE_32_BYTES"] = 7] = "REQUIRE_32_BYTES";
|
|
114
|
+
/** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */
|
|
115
|
+
LengthOp[LengthOp["REQUIRE_64_BYTES"] = 8] = "REQUIRE_64_BYTES";
|
|
116
|
+
LengthOp[LengthOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
117
|
+
})(LengthOp = exports.LengthOp || (exports.LengthOp = {}));
|
|
118
|
+
exports.LengthOpAmino = LengthOp;
|
|
119
|
+
function lengthOpFromJSON(object) {
|
|
120
|
+
switch (object) {
|
|
121
|
+
case 0:
|
|
122
|
+
case "NO_PREFIX":
|
|
123
|
+
return LengthOp.NO_PREFIX;
|
|
124
|
+
case 1:
|
|
125
|
+
case "VAR_PROTO":
|
|
126
|
+
return LengthOp.VAR_PROTO;
|
|
127
|
+
case 2:
|
|
128
|
+
case "VAR_RLP":
|
|
129
|
+
return LengthOp.VAR_RLP;
|
|
130
|
+
case 3:
|
|
131
|
+
case "FIXED32_BIG":
|
|
132
|
+
return LengthOp.FIXED32_BIG;
|
|
133
|
+
case 4:
|
|
134
|
+
case "FIXED32_LITTLE":
|
|
135
|
+
return LengthOp.FIXED32_LITTLE;
|
|
136
|
+
case 5:
|
|
137
|
+
case "FIXED64_BIG":
|
|
138
|
+
return LengthOp.FIXED64_BIG;
|
|
139
|
+
case 6:
|
|
140
|
+
case "FIXED64_LITTLE":
|
|
141
|
+
return LengthOp.FIXED64_LITTLE;
|
|
142
|
+
case 7:
|
|
143
|
+
case "REQUIRE_32_BYTES":
|
|
144
|
+
return LengthOp.REQUIRE_32_BYTES;
|
|
145
|
+
case 8:
|
|
146
|
+
case "REQUIRE_64_BYTES":
|
|
147
|
+
return LengthOp.REQUIRE_64_BYTES;
|
|
148
|
+
case -1:
|
|
149
|
+
case "UNRECOGNIZED":
|
|
150
|
+
default:
|
|
151
|
+
return LengthOp.UNRECOGNIZED;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.lengthOpFromJSON = lengthOpFromJSON;
|
|
155
|
+
function lengthOpToJSON(object) {
|
|
156
|
+
switch (object) {
|
|
157
|
+
case LengthOp.NO_PREFIX:
|
|
158
|
+
return "NO_PREFIX";
|
|
159
|
+
case LengthOp.VAR_PROTO:
|
|
160
|
+
return "VAR_PROTO";
|
|
161
|
+
case LengthOp.VAR_RLP:
|
|
162
|
+
return "VAR_RLP";
|
|
163
|
+
case LengthOp.FIXED32_BIG:
|
|
164
|
+
return "FIXED32_BIG";
|
|
165
|
+
case LengthOp.FIXED32_LITTLE:
|
|
166
|
+
return "FIXED32_LITTLE";
|
|
167
|
+
case LengthOp.FIXED64_BIG:
|
|
168
|
+
return "FIXED64_BIG";
|
|
169
|
+
case LengthOp.FIXED64_LITTLE:
|
|
170
|
+
return "FIXED64_LITTLE";
|
|
171
|
+
case LengthOp.REQUIRE_32_BYTES:
|
|
172
|
+
return "REQUIRE_32_BYTES";
|
|
173
|
+
case LengthOp.REQUIRE_64_BYTES:
|
|
174
|
+
return "REQUIRE_64_BYTES";
|
|
175
|
+
case LengthOp.UNRECOGNIZED:
|
|
176
|
+
default:
|
|
177
|
+
return "UNRECOGNIZED";
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
exports.lengthOpToJSON = lengthOpToJSON;
|
|
181
|
+
function createBaseExistenceProof() {
|
|
182
|
+
return {
|
|
183
|
+
key: new Uint8Array(),
|
|
184
|
+
value: new Uint8Array(),
|
|
185
|
+
leaf: undefined,
|
|
186
|
+
path: []
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
exports.ExistenceProof = {
|
|
190
|
+
typeUrl: "/cosmos.ics23.v1.ExistenceProof",
|
|
191
|
+
aminoType: "cosmos-sdk/ExistenceProof",
|
|
192
|
+
is(o) {
|
|
193
|
+
return o && (o.$typeUrl === exports.ExistenceProof.typeUrl || (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && Array.isArray(o.path) && (!o.path.length || exports.InnerOp.is(o.path[0])));
|
|
194
|
+
},
|
|
195
|
+
isAmino(o) {
|
|
196
|
+
return o && (o.$typeUrl === exports.ExistenceProof.typeUrl || (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && Array.isArray(o.path) && (!o.path.length || exports.InnerOp.isAmino(o.path[0])));
|
|
197
|
+
},
|
|
198
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
199
|
+
if (message.key.length !== 0) {
|
|
200
|
+
writer.uint32(10).bytes(message.key);
|
|
201
|
+
}
|
|
202
|
+
if (message.value.length !== 0) {
|
|
203
|
+
writer.uint32(18).bytes(message.value);
|
|
204
|
+
}
|
|
205
|
+
if (message.leaf !== undefined) {
|
|
206
|
+
exports.LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim();
|
|
207
|
+
}
|
|
208
|
+
for (const v of message.path) {
|
|
209
|
+
exports.InnerOp.encode(v, writer.uint32(34).fork()).ldelim();
|
|
210
|
+
}
|
|
211
|
+
return writer;
|
|
212
|
+
},
|
|
213
|
+
decode(input, length) {
|
|
214
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
215
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
216
|
+
const message = createBaseExistenceProof();
|
|
217
|
+
while (reader.pos < end) {
|
|
218
|
+
const tag = reader.uint32();
|
|
219
|
+
switch (tag >>> 3) {
|
|
220
|
+
case 1:
|
|
221
|
+
message.key = reader.bytes();
|
|
222
|
+
break;
|
|
223
|
+
case 2:
|
|
224
|
+
message.value = reader.bytes();
|
|
225
|
+
break;
|
|
226
|
+
case 3:
|
|
227
|
+
message.leaf = exports.LeafOp.decode(reader, reader.uint32());
|
|
228
|
+
break;
|
|
229
|
+
case 4:
|
|
230
|
+
message.path.push(exports.InnerOp.decode(reader, reader.uint32()));
|
|
231
|
+
break;
|
|
232
|
+
default:
|
|
233
|
+
reader.skipType(tag & 7);
|
|
234
|
+
break;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
return message;
|
|
238
|
+
},
|
|
239
|
+
fromPartial(object) {
|
|
240
|
+
const message = createBaseExistenceProof();
|
|
241
|
+
message.key = object.key ?? new Uint8Array();
|
|
242
|
+
message.value = object.value ?? new Uint8Array();
|
|
243
|
+
message.leaf = object.leaf !== undefined && object.leaf !== null ? exports.LeafOp.fromPartial(object.leaf) : undefined;
|
|
244
|
+
message.path = object.path?.map(e => exports.InnerOp.fromPartial(e)) || [];
|
|
245
|
+
return message;
|
|
246
|
+
},
|
|
247
|
+
fromAmino(object) {
|
|
248
|
+
const message = createBaseExistenceProof();
|
|
249
|
+
if (object.key !== undefined && object.key !== null) {
|
|
250
|
+
message.key = (0, helpers_1.bytesFromBase64)(object.key);
|
|
251
|
+
}
|
|
252
|
+
if (object.value !== undefined && object.value !== null) {
|
|
253
|
+
message.value = (0, helpers_1.bytesFromBase64)(object.value);
|
|
254
|
+
}
|
|
255
|
+
if (object.leaf !== undefined && object.leaf !== null) {
|
|
256
|
+
message.leaf = exports.LeafOp.fromAmino(object.leaf);
|
|
257
|
+
}
|
|
258
|
+
message.path = object.path?.map(e => exports.InnerOp.fromAmino(e)) || [];
|
|
259
|
+
return message;
|
|
260
|
+
},
|
|
261
|
+
toAmino(message) {
|
|
262
|
+
const obj = {};
|
|
263
|
+
obj.key = message.key ? (0, helpers_1.base64FromBytes)(message.key) : undefined;
|
|
264
|
+
obj.value = message.value ? (0, helpers_1.base64FromBytes)(message.value) : undefined;
|
|
265
|
+
obj.leaf = message.leaf ? exports.LeafOp.toAmino(message.leaf) : undefined;
|
|
266
|
+
if (message.path) {
|
|
267
|
+
obj.path = message.path.map(e => e ? exports.InnerOp.toAmino(e) : undefined);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
obj.path = message.path;
|
|
271
|
+
}
|
|
272
|
+
return obj;
|
|
273
|
+
},
|
|
274
|
+
fromAminoMsg(object) {
|
|
275
|
+
return exports.ExistenceProof.fromAmino(object.value);
|
|
276
|
+
},
|
|
277
|
+
toAminoMsg(message) {
|
|
278
|
+
return {
|
|
279
|
+
type: "cosmos-sdk/ExistenceProof",
|
|
280
|
+
value: exports.ExistenceProof.toAmino(message)
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
fromProtoMsg(message) {
|
|
284
|
+
return exports.ExistenceProof.decode(message.value);
|
|
285
|
+
},
|
|
286
|
+
toProto(message) {
|
|
287
|
+
return exports.ExistenceProof.encode(message).finish();
|
|
288
|
+
},
|
|
289
|
+
toProtoMsg(message) {
|
|
290
|
+
return {
|
|
291
|
+
typeUrl: "/cosmos.ics23.v1.ExistenceProof",
|
|
292
|
+
value: exports.ExistenceProof.encode(message).finish()
|
|
293
|
+
};
|
|
294
|
+
},
|
|
295
|
+
registerTypeUrl() {
|
|
296
|
+
exports.LeafOp.registerTypeUrl();
|
|
297
|
+
exports.InnerOp.registerTypeUrl();
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
function createBaseNonExistenceProof() {
|
|
301
|
+
return {
|
|
302
|
+
key: new Uint8Array(),
|
|
303
|
+
left: undefined,
|
|
304
|
+
right: undefined
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
exports.NonExistenceProof = {
|
|
308
|
+
typeUrl: "/cosmos.ics23.v1.NonExistenceProof",
|
|
309
|
+
aminoType: "cosmos-sdk/NonExistenceProof",
|
|
310
|
+
is(o) {
|
|
311
|
+
return o && (o.$typeUrl === exports.NonExistenceProof.typeUrl || o.key instanceof Uint8Array || typeof o.key === "string");
|
|
312
|
+
},
|
|
313
|
+
isAmino(o) {
|
|
314
|
+
return o && (o.$typeUrl === exports.NonExistenceProof.typeUrl || o.key instanceof Uint8Array || typeof o.key === "string");
|
|
315
|
+
},
|
|
316
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
317
|
+
if (message.key.length !== 0) {
|
|
318
|
+
writer.uint32(10).bytes(message.key);
|
|
319
|
+
}
|
|
320
|
+
if (message.left !== undefined) {
|
|
321
|
+
exports.ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim();
|
|
322
|
+
}
|
|
323
|
+
if (message.right !== undefined) {
|
|
324
|
+
exports.ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim();
|
|
325
|
+
}
|
|
326
|
+
return writer;
|
|
327
|
+
},
|
|
328
|
+
decode(input, length) {
|
|
329
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
330
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
331
|
+
const message = createBaseNonExistenceProof();
|
|
332
|
+
while (reader.pos < end) {
|
|
333
|
+
const tag = reader.uint32();
|
|
334
|
+
switch (tag >>> 3) {
|
|
335
|
+
case 1:
|
|
336
|
+
message.key = reader.bytes();
|
|
337
|
+
break;
|
|
338
|
+
case 2:
|
|
339
|
+
message.left = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
340
|
+
break;
|
|
341
|
+
case 3:
|
|
342
|
+
message.right = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
343
|
+
break;
|
|
344
|
+
default:
|
|
345
|
+
reader.skipType(tag & 7);
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
return message;
|
|
350
|
+
},
|
|
351
|
+
fromPartial(object) {
|
|
352
|
+
const message = createBaseNonExistenceProof();
|
|
353
|
+
message.key = object.key ?? new Uint8Array();
|
|
354
|
+
message.left = object.left !== undefined && object.left !== null ? exports.ExistenceProof.fromPartial(object.left) : undefined;
|
|
355
|
+
message.right = object.right !== undefined && object.right !== null ? exports.ExistenceProof.fromPartial(object.right) : undefined;
|
|
356
|
+
return message;
|
|
357
|
+
},
|
|
358
|
+
fromAmino(object) {
|
|
359
|
+
const message = createBaseNonExistenceProof();
|
|
360
|
+
if (object.key !== undefined && object.key !== null) {
|
|
361
|
+
message.key = (0, helpers_1.bytesFromBase64)(object.key);
|
|
362
|
+
}
|
|
363
|
+
if (object.left !== undefined && object.left !== null) {
|
|
364
|
+
message.left = exports.ExistenceProof.fromAmino(object.left);
|
|
365
|
+
}
|
|
366
|
+
if (object.right !== undefined && object.right !== null) {
|
|
367
|
+
message.right = exports.ExistenceProof.fromAmino(object.right);
|
|
368
|
+
}
|
|
369
|
+
return message;
|
|
370
|
+
},
|
|
371
|
+
toAmino(message) {
|
|
372
|
+
const obj = {};
|
|
373
|
+
obj.key = message.key ? (0, helpers_1.base64FromBytes)(message.key) : undefined;
|
|
374
|
+
obj.left = message.left ? exports.ExistenceProof.toAmino(message.left) : undefined;
|
|
375
|
+
obj.right = message.right ? exports.ExistenceProof.toAmino(message.right) : undefined;
|
|
376
|
+
return obj;
|
|
377
|
+
},
|
|
378
|
+
fromAminoMsg(object) {
|
|
379
|
+
return exports.NonExistenceProof.fromAmino(object.value);
|
|
380
|
+
},
|
|
381
|
+
toAminoMsg(message) {
|
|
382
|
+
return {
|
|
383
|
+
type: "cosmos-sdk/NonExistenceProof",
|
|
384
|
+
value: exports.NonExistenceProof.toAmino(message)
|
|
385
|
+
};
|
|
386
|
+
},
|
|
387
|
+
fromProtoMsg(message) {
|
|
388
|
+
return exports.NonExistenceProof.decode(message.value);
|
|
389
|
+
},
|
|
390
|
+
toProto(message) {
|
|
391
|
+
return exports.NonExistenceProof.encode(message).finish();
|
|
392
|
+
},
|
|
393
|
+
toProtoMsg(message) {
|
|
394
|
+
return {
|
|
395
|
+
typeUrl: "/cosmos.ics23.v1.NonExistenceProof",
|
|
396
|
+
value: exports.NonExistenceProof.encode(message).finish()
|
|
397
|
+
};
|
|
398
|
+
},
|
|
399
|
+
registerTypeUrl() {
|
|
400
|
+
exports.ExistenceProof.registerTypeUrl();
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
function createBaseCommitmentProof() {
|
|
404
|
+
return {
|
|
405
|
+
exist: undefined,
|
|
406
|
+
nonexist: undefined,
|
|
407
|
+
batch: undefined,
|
|
408
|
+
compressed: undefined
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
exports.CommitmentProof = {
|
|
412
|
+
typeUrl: "/cosmos.ics23.v1.CommitmentProof",
|
|
413
|
+
aminoType: "cosmos-sdk/CommitmentProof",
|
|
414
|
+
is(o) {
|
|
415
|
+
return o && o.$typeUrl === exports.CommitmentProof.typeUrl;
|
|
416
|
+
},
|
|
417
|
+
isAmino(o) {
|
|
418
|
+
return o && o.$typeUrl === exports.CommitmentProof.typeUrl;
|
|
419
|
+
},
|
|
420
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
421
|
+
if (message.exist !== undefined) {
|
|
422
|
+
exports.ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
|
|
423
|
+
}
|
|
424
|
+
if (message.nonexist !== undefined) {
|
|
425
|
+
exports.NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
|
|
426
|
+
}
|
|
427
|
+
if (message.batch !== undefined) {
|
|
428
|
+
exports.BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim();
|
|
429
|
+
}
|
|
430
|
+
if (message.compressed !== undefined) {
|
|
431
|
+
exports.CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim();
|
|
432
|
+
}
|
|
433
|
+
return writer;
|
|
434
|
+
},
|
|
435
|
+
decode(input, length) {
|
|
436
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
437
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
438
|
+
const message = createBaseCommitmentProof();
|
|
439
|
+
while (reader.pos < end) {
|
|
440
|
+
const tag = reader.uint32();
|
|
441
|
+
switch (tag >>> 3) {
|
|
442
|
+
case 1:
|
|
443
|
+
message.exist = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
444
|
+
break;
|
|
445
|
+
case 2:
|
|
446
|
+
message.nonexist = exports.NonExistenceProof.decode(reader, reader.uint32());
|
|
447
|
+
break;
|
|
448
|
+
case 3:
|
|
449
|
+
message.batch = exports.BatchProof.decode(reader, reader.uint32());
|
|
450
|
+
break;
|
|
451
|
+
case 4:
|
|
452
|
+
message.compressed = exports.CompressedBatchProof.decode(reader, reader.uint32());
|
|
453
|
+
break;
|
|
454
|
+
default:
|
|
455
|
+
reader.skipType(tag & 7);
|
|
456
|
+
break;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
return message;
|
|
460
|
+
},
|
|
461
|
+
fromPartial(object) {
|
|
462
|
+
const message = createBaseCommitmentProof();
|
|
463
|
+
message.exist = object.exist !== undefined && object.exist !== null ? exports.ExistenceProof.fromPartial(object.exist) : undefined;
|
|
464
|
+
message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? exports.NonExistenceProof.fromPartial(object.nonexist) : undefined;
|
|
465
|
+
message.batch = object.batch !== undefined && object.batch !== null ? exports.BatchProof.fromPartial(object.batch) : undefined;
|
|
466
|
+
message.compressed = object.compressed !== undefined && object.compressed !== null ? exports.CompressedBatchProof.fromPartial(object.compressed) : undefined;
|
|
467
|
+
return message;
|
|
468
|
+
},
|
|
469
|
+
fromAmino(object) {
|
|
470
|
+
const message = createBaseCommitmentProof();
|
|
471
|
+
if (object.exist !== undefined && object.exist !== null) {
|
|
472
|
+
message.exist = exports.ExistenceProof.fromAmino(object.exist);
|
|
473
|
+
}
|
|
474
|
+
if (object.nonexist !== undefined && object.nonexist !== null) {
|
|
475
|
+
message.nonexist = exports.NonExistenceProof.fromAmino(object.nonexist);
|
|
476
|
+
}
|
|
477
|
+
if (object.batch !== undefined && object.batch !== null) {
|
|
478
|
+
message.batch = exports.BatchProof.fromAmino(object.batch);
|
|
479
|
+
}
|
|
480
|
+
if (object.compressed !== undefined && object.compressed !== null) {
|
|
481
|
+
message.compressed = exports.CompressedBatchProof.fromAmino(object.compressed);
|
|
482
|
+
}
|
|
483
|
+
return message;
|
|
484
|
+
},
|
|
485
|
+
toAmino(message) {
|
|
486
|
+
const obj = {};
|
|
487
|
+
obj.exist = message.exist ? exports.ExistenceProof.toAmino(message.exist) : undefined;
|
|
488
|
+
obj.nonexist = message.nonexist ? exports.NonExistenceProof.toAmino(message.nonexist) : undefined;
|
|
489
|
+
obj.batch = message.batch ? exports.BatchProof.toAmino(message.batch) : undefined;
|
|
490
|
+
obj.compressed = message.compressed ? exports.CompressedBatchProof.toAmino(message.compressed) : undefined;
|
|
491
|
+
return obj;
|
|
492
|
+
},
|
|
493
|
+
fromAminoMsg(object) {
|
|
494
|
+
return exports.CommitmentProof.fromAmino(object.value);
|
|
495
|
+
},
|
|
496
|
+
toAminoMsg(message) {
|
|
497
|
+
return {
|
|
498
|
+
type: "cosmos-sdk/CommitmentProof",
|
|
499
|
+
value: exports.CommitmentProof.toAmino(message)
|
|
500
|
+
};
|
|
501
|
+
},
|
|
502
|
+
fromProtoMsg(message) {
|
|
503
|
+
return exports.CommitmentProof.decode(message.value);
|
|
504
|
+
},
|
|
505
|
+
toProto(message) {
|
|
506
|
+
return exports.CommitmentProof.encode(message).finish();
|
|
507
|
+
},
|
|
508
|
+
toProtoMsg(message) {
|
|
509
|
+
return {
|
|
510
|
+
typeUrl: "/cosmos.ics23.v1.CommitmentProof",
|
|
511
|
+
value: exports.CommitmentProof.encode(message).finish()
|
|
512
|
+
};
|
|
513
|
+
},
|
|
514
|
+
registerTypeUrl() {
|
|
515
|
+
exports.ExistenceProof.registerTypeUrl();
|
|
516
|
+
exports.NonExistenceProof.registerTypeUrl();
|
|
517
|
+
exports.BatchProof.registerTypeUrl();
|
|
518
|
+
exports.CompressedBatchProof.registerTypeUrl();
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
function createBaseLeafOp() {
|
|
522
|
+
return {
|
|
523
|
+
hash: 0,
|
|
524
|
+
prehashKey: 0,
|
|
525
|
+
prehashValue: 0,
|
|
526
|
+
length: 0,
|
|
527
|
+
prefix: new Uint8Array()
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
exports.LeafOp = {
|
|
531
|
+
typeUrl: "/cosmos.ics23.v1.LeafOp",
|
|
532
|
+
aminoType: "cosmos-sdk/LeafOp",
|
|
533
|
+
is(o) {
|
|
534
|
+
return o && (o.$typeUrl === exports.LeafOp.typeUrl || (0, helpers_1.isSet)(o.hash) && (0, helpers_1.isSet)(o.prehashKey) && (0, helpers_1.isSet)(o.prehashValue) && (0, helpers_1.isSet)(o.length) && (o.prefix instanceof Uint8Array || typeof o.prefix === "string"));
|
|
535
|
+
},
|
|
536
|
+
isAmino(o) {
|
|
537
|
+
return o && (o.$typeUrl === exports.LeafOp.typeUrl || (0, helpers_1.isSet)(o.hash) && (0, helpers_1.isSet)(o.prehash_key) && (0, helpers_1.isSet)(o.prehash_value) && (0, helpers_1.isSet)(o.length) && (o.prefix instanceof Uint8Array || typeof o.prefix === "string"));
|
|
538
|
+
},
|
|
539
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
540
|
+
if (message.hash !== 0) {
|
|
541
|
+
writer.uint32(8).int32(message.hash);
|
|
542
|
+
}
|
|
543
|
+
if (message.prehashKey !== 0) {
|
|
544
|
+
writer.uint32(16).int32(message.prehashKey);
|
|
545
|
+
}
|
|
546
|
+
if (message.prehashValue !== 0) {
|
|
547
|
+
writer.uint32(24).int32(message.prehashValue);
|
|
548
|
+
}
|
|
549
|
+
if (message.length !== 0) {
|
|
550
|
+
writer.uint32(32).int32(message.length);
|
|
551
|
+
}
|
|
552
|
+
if (message.prefix.length !== 0) {
|
|
553
|
+
writer.uint32(42).bytes(message.prefix);
|
|
554
|
+
}
|
|
555
|
+
return writer;
|
|
556
|
+
},
|
|
557
|
+
decode(input, length) {
|
|
558
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
559
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
560
|
+
const message = createBaseLeafOp();
|
|
561
|
+
while (reader.pos < end) {
|
|
562
|
+
const tag = reader.uint32();
|
|
563
|
+
switch (tag >>> 3) {
|
|
564
|
+
case 1:
|
|
565
|
+
message.hash = reader.int32();
|
|
566
|
+
break;
|
|
567
|
+
case 2:
|
|
568
|
+
message.prehashKey = reader.int32();
|
|
569
|
+
break;
|
|
570
|
+
case 3:
|
|
571
|
+
message.prehashValue = reader.int32();
|
|
572
|
+
break;
|
|
573
|
+
case 4:
|
|
574
|
+
message.length = reader.int32();
|
|
575
|
+
break;
|
|
576
|
+
case 5:
|
|
577
|
+
message.prefix = reader.bytes();
|
|
578
|
+
break;
|
|
579
|
+
default:
|
|
580
|
+
reader.skipType(tag & 7);
|
|
581
|
+
break;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
return message;
|
|
585
|
+
},
|
|
586
|
+
fromPartial(object) {
|
|
587
|
+
const message = createBaseLeafOp();
|
|
588
|
+
message.hash = object.hash ?? 0;
|
|
589
|
+
message.prehashKey = object.prehashKey ?? 0;
|
|
590
|
+
message.prehashValue = object.prehashValue ?? 0;
|
|
591
|
+
message.length = object.length ?? 0;
|
|
592
|
+
message.prefix = object.prefix ?? new Uint8Array();
|
|
593
|
+
return message;
|
|
594
|
+
},
|
|
595
|
+
fromAmino(object) {
|
|
596
|
+
const message = createBaseLeafOp();
|
|
597
|
+
if (object.hash !== undefined && object.hash !== null) {
|
|
598
|
+
message.hash = object.hash;
|
|
599
|
+
}
|
|
600
|
+
if (object.prehash_key !== undefined && object.prehash_key !== null) {
|
|
601
|
+
message.prehashKey = object.prehash_key;
|
|
602
|
+
}
|
|
603
|
+
if (object.prehash_value !== undefined && object.prehash_value !== null) {
|
|
604
|
+
message.prehashValue = object.prehash_value;
|
|
605
|
+
}
|
|
606
|
+
if (object.length !== undefined && object.length !== null) {
|
|
607
|
+
message.length = object.length;
|
|
608
|
+
}
|
|
609
|
+
if (object.prefix !== undefined && object.prefix !== null) {
|
|
610
|
+
message.prefix = (0, helpers_1.bytesFromBase64)(object.prefix);
|
|
611
|
+
}
|
|
612
|
+
return message;
|
|
613
|
+
},
|
|
614
|
+
toAmino(message) {
|
|
615
|
+
const obj = {};
|
|
616
|
+
obj.hash = message.hash === 0 ? undefined : message.hash;
|
|
617
|
+
obj.prehash_key = message.prehashKey === 0 ? undefined : message.prehashKey;
|
|
618
|
+
obj.prehash_value = message.prehashValue === 0 ? undefined : message.prehashValue;
|
|
619
|
+
obj.length = message.length === 0 ? undefined : message.length;
|
|
620
|
+
obj.prefix = message.prefix ? (0, helpers_1.base64FromBytes)(message.prefix) : undefined;
|
|
621
|
+
return obj;
|
|
622
|
+
},
|
|
623
|
+
fromAminoMsg(object) {
|
|
624
|
+
return exports.LeafOp.fromAmino(object.value);
|
|
625
|
+
},
|
|
626
|
+
toAminoMsg(message) {
|
|
627
|
+
return {
|
|
628
|
+
type: "cosmos-sdk/LeafOp",
|
|
629
|
+
value: exports.LeafOp.toAmino(message)
|
|
630
|
+
};
|
|
631
|
+
},
|
|
632
|
+
fromProtoMsg(message) {
|
|
633
|
+
return exports.LeafOp.decode(message.value);
|
|
634
|
+
},
|
|
635
|
+
toProto(message) {
|
|
636
|
+
return exports.LeafOp.encode(message).finish();
|
|
637
|
+
},
|
|
638
|
+
toProtoMsg(message) {
|
|
639
|
+
return {
|
|
640
|
+
typeUrl: "/cosmos.ics23.v1.LeafOp",
|
|
641
|
+
value: exports.LeafOp.encode(message).finish()
|
|
642
|
+
};
|
|
643
|
+
},
|
|
644
|
+
registerTypeUrl() { }
|
|
645
|
+
};
|
|
646
|
+
function createBaseInnerOp() {
|
|
647
|
+
return {
|
|
648
|
+
hash: 0,
|
|
649
|
+
prefix: new Uint8Array(),
|
|
650
|
+
suffix: new Uint8Array()
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
exports.InnerOp = {
|
|
654
|
+
typeUrl: "/cosmos.ics23.v1.InnerOp",
|
|
655
|
+
aminoType: "cosmos-sdk/InnerOp",
|
|
656
|
+
is(o) {
|
|
657
|
+
return o && (o.$typeUrl === exports.InnerOp.typeUrl || (0, helpers_1.isSet)(o.hash) && (o.prefix instanceof Uint8Array || typeof o.prefix === "string") && (o.suffix instanceof Uint8Array || typeof o.suffix === "string"));
|
|
658
|
+
},
|
|
659
|
+
isAmino(o) {
|
|
660
|
+
return o && (o.$typeUrl === exports.InnerOp.typeUrl || (0, helpers_1.isSet)(o.hash) && (o.prefix instanceof Uint8Array || typeof o.prefix === "string") && (o.suffix instanceof Uint8Array || typeof o.suffix === "string"));
|
|
661
|
+
},
|
|
662
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
663
|
+
if (message.hash !== 0) {
|
|
664
|
+
writer.uint32(8).int32(message.hash);
|
|
665
|
+
}
|
|
666
|
+
if (message.prefix.length !== 0) {
|
|
667
|
+
writer.uint32(18).bytes(message.prefix);
|
|
668
|
+
}
|
|
669
|
+
if (message.suffix.length !== 0) {
|
|
670
|
+
writer.uint32(26).bytes(message.suffix);
|
|
671
|
+
}
|
|
672
|
+
return writer;
|
|
673
|
+
},
|
|
674
|
+
decode(input, length) {
|
|
675
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
676
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
677
|
+
const message = createBaseInnerOp();
|
|
678
|
+
while (reader.pos < end) {
|
|
679
|
+
const tag = reader.uint32();
|
|
680
|
+
switch (tag >>> 3) {
|
|
681
|
+
case 1:
|
|
682
|
+
message.hash = reader.int32();
|
|
683
|
+
break;
|
|
684
|
+
case 2:
|
|
685
|
+
message.prefix = reader.bytes();
|
|
686
|
+
break;
|
|
687
|
+
case 3:
|
|
688
|
+
message.suffix = reader.bytes();
|
|
689
|
+
break;
|
|
690
|
+
default:
|
|
691
|
+
reader.skipType(tag & 7);
|
|
692
|
+
break;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
return message;
|
|
696
|
+
},
|
|
697
|
+
fromPartial(object) {
|
|
698
|
+
const message = createBaseInnerOp();
|
|
699
|
+
message.hash = object.hash ?? 0;
|
|
700
|
+
message.prefix = object.prefix ?? new Uint8Array();
|
|
701
|
+
message.suffix = object.suffix ?? new Uint8Array();
|
|
702
|
+
return message;
|
|
703
|
+
},
|
|
704
|
+
fromAmino(object) {
|
|
705
|
+
const message = createBaseInnerOp();
|
|
706
|
+
if (object.hash !== undefined && object.hash !== null) {
|
|
707
|
+
message.hash = object.hash;
|
|
708
|
+
}
|
|
709
|
+
if (object.prefix !== undefined && object.prefix !== null) {
|
|
710
|
+
message.prefix = (0, helpers_1.bytesFromBase64)(object.prefix);
|
|
711
|
+
}
|
|
712
|
+
if (object.suffix !== undefined && object.suffix !== null) {
|
|
713
|
+
message.suffix = (0, helpers_1.bytesFromBase64)(object.suffix);
|
|
714
|
+
}
|
|
715
|
+
return message;
|
|
716
|
+
},
|
|
717
|
+
toAmino(message) {
|
|
718
|
+
const obj = {};
|
|
719
|
+
obj.hash = message.hash === 0 ? undefined : message.hash;
|
|
720
|
+
obj.prefix = message.prefix ? (0, helpers_1.base64FromBytes)(message.prefix) : undefined;
|
|
721
|
+
obj.suffix = message.suffix ? (0, helpers_1.base64FromBytes)(message.suffix) : undefined;
|
|
722
|
+
return obj;
|
|
723
|
+
},
|
|
724
|
+
fromAminoMsg(object) {
|
|
725
|
+
return exports.InnerOp.fromAmino(object.value);
|
|
726
|
+
},
|
|
727
|
+
toAminoMsg(message) {
|
|
728
|
+
return {
|
|
729
|
+
type: "cosmos-sdk/InnerOp",
|
|
730
|
+
value: exports.InnerOp.toAmino(message)
|
|
731
|
+
};
|
|
732
|
+
},
|
|
733
|
+
fromProtoMsg(message) {
|
|
734
|
+
return exports.InnerOp.decode(message.value);
|
|
735
|
+
},
|
|
736
|
+
toProto(message) {
|
|
737
|
+
return exports.InnerOp.encode(message).finish();
|
|
738
|
+
},
|
|
739
|
+
toProtoMsg(message) {
|
|
740
|
+
return {
|
|
741
|
+
typeUrl: "/cosmos.ics23.v1.InnerOp",
|
|
742
|
+
value: exports.InnerOp.encode(message).finish()
|
|
743
|
+
};
|
|
744
|
+
},
|
|
745
|
+
registerTypeUrl() { }
|
|
746
|
+
};
|
|
747
|
+
function createBaseProofSpec() {
|
|
748
|
+
return {
|
|
749
|
+
leafSpec: undefined,
|
|
750
|
+
innerSpec: undefined,
|
|
751
|
+
maxDepth: 0,
|
|
752
|
+
minDepth: 0,
|
|
753
|
+
prehashKeyBeforeComparison: false
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
exports.ProofSpec = {
|
|
757
|
+
typeUrl: "/cosmos.ics23.v1.ProofSpec",
|
|
758
|
+
aminoType: "cosmos-sdk/ProofSpec",
|
|
759
|
+
is(o) {
|
|
760
|
+
return o && (o.$typeUrl === exports.ProofSpec.typeUrl || typeof o.maxDepth === "number" && typeof o.minDepth === "number" && typeof o.prehashKeyBeforeComparison === "boolean");
|
|
761
|
+
},
|
|
762
|
+
isAmino(o) {
|
|
763
|
+
return o && (o.$typeUrl === exports.ProofSpec.typeUrl || typeof o.max_depth === "number" && typeof o.min_depth === "number" && typeof o.prehash_key_before_comparison === "boolean");
|
|
764
|
+
},
|
|
765
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
766
|
+
if (message.leafSpec !== undefined) {
|
|
767
|
+
exports.LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim();
|
|
768
|
+
}
|
|
769
|
+
if (message.innerSpec !== undefined) {
|
|
770
|
+
exports.InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim();
|
|
771
|
+
}
|
|
772
|
+
if (message.maxDepth !== 0) {
|
|
773
|
+
writer.uint32(24).int32(message.maxDepth);
|
|
774
|
+
}
|
|
775
|
+
if (message.minDepth !== 0) {
|
|
776
|
+
writer.uint32(32).int32(message.minDepth);
|
|
777
|
+
}
|
|
778
|
+
if (message.prehashKeyBeforeComparison === true) {
|
|
779
|
+
writer.uint32(40).bool(message.prehashKeyBeforeComparison);
|
|
780
|
+
}
|
|
781
|
+
return writer;
|
|
782
|
+
},
|
|
783
|
+
decode(input, length) {
|
|
784
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
785
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
786
|
+
const message = createBaseProofSpec();
|
|
787
|
+
while (reader.pos < end) {
|
|
788
|
+
const tag = reader.uint32();
|
|
789
|
+
switch (tag >>> 3) {
|
|
790
|
+
case 1:
|
|
791
|
+
message.leafSpec = exports.LeafOp.decode(reader, reader.uint32());
|
|
792
|
+
break;
|
|
793
|
+
case 2:
|
|
794
|
+
message.innerSpec = exports.InnerSpec.decode(reader, reader.uint32());
|
|
795
|
+
break;
|
|
796
|
+
case 3:
|
|
797
|
+
message.maxDepth = reader.int32();
|
|
798
|
+
break;
|
|
799
|
+
case 4:
|
|
800
|
+
message.minDepth = reader.int32();
|
|
801
|
+
break;
|
|
802
|
+
case 5:
|
|
803
|
+
message.prehashKeyBeforeComparison = reader.bool();
|
|
804
|
+
break;
|
|
805
|
+
default:
|
|
806
|
+
reader.skipType(tag & 7);
|
|
807
|
+
break;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
return message;
|
|
811
|
+
},
|
|
812
|
+
fromPartial(object) {
|
|
813
|
+
const message = createBaseProofSpec();
|
|
814
|
+
message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? exports.LeafOp.fromPartial(object.leafSpec) : undefined;
|
|
815
|
+
message.innerSpec = object.innerSpec !== undefined && object.innerSpec !== null ? exports.InnerSpec.fromPartial(object.innerSpec) : undefined;
|
|
816
|
+
message.maxDepth = object.maxDepth ?? 0;
|
|
817
|
+
message.minDepth = object.minDepth ?? 0;
|
|
818
|
+
message.prehashKeyBeforeComparison = object.prehashKeyBeforeComparison ?? false;
|
|
819
|
+
return message;
|
|
820
|
+
},
|
|
821
|
+
fromAmino(object) {
|
|
822
|
+
const message = createBaseProofSpec();
|
|
823
|
+
if (object.leaf_spec !== undefined && object.leaf_spec !== null) {
|
|
824
|
+
message.leafSpec = exports.LeafOp.fromAmino(object.leaf_spec);
|
|
825
|
+
}
|
|
826
|
+
if (object.inner_spec !== undefined && object.inner_spec !== null) {
|
|
827
|
+
message.innerSpec = exports.InnerSpec.fromAmino(object.inner_spec);
|
|
828
|
+
}
|
|
829
|
+
if (object.max_depth !== undefined && object.max_depth !== null) {
|
|
830
|
+
message.maxDepth = object.max_depth;
|
|
831
|
+
}
|
|
832
|
+
if (object.min_depth !== undefined && object.min_depth !== null) {
|
|
833
|
+
message.minDepth = object.min_depth;
|
|
834
|
+
}
|
|
835
|
+
if (object.prehash_key_before_comparison !== undefined && object.prehash_key_before_comparison !== null) {
|
|
836
|
+
message.prehashKeyBeforeComparison = object.prehash_key_before_comparison;
|
|
837
|
+
}
|
|
838
|
+
return message;
|
|
839
|
+
},
|
|
840
|
+
toAmino(message) {
|
|
841
|
+
const obj = {};
|
|
842
|
+
obj.leaf_spec = message.leafSpec ? exports.LeafOp.toAmino(message.leafSpec) : undefined;
|
|
843
|
+
obj.inner_spec = message.innerSpec ? exports.InnerSpec.toAmino(message.innerSpec) : undefined;
|
|
844
|
+
obj.max_depth = message.maxDepth === 0 ? undefined : message.maxDepth;
|
|
845
|
+
obj.min_depth = message.minDepth === 0 ? undefined : message.minDepth;
|
|
846
|
+
obj.prehash_key_before_comparison = message.prehashKeyBeforeComparison === false ? undefined : message.prehashKeyBeforeComparison;
|
|
847
|
+
return obj;
|
|
848
|
+
},
|
|
849
|
+
fromAminoMsg(object) {
|
|
850
|
+
return exports.ProofSpec.fromAmino(object.value);
|
|
851
|
+
},
|
|
852
|
+
toAminoMsg(message) {
|
|
853
|
+
return {
|
|
854
|
+
type: "cosmos-sdk/ProofSpec",
|
|
855
|
+
value: exports.ProofSpec.toAmino(message)
|
|
856
|
+
};
|
|
857
|
+
},
|
|
858
|
+
fromProtoMsg(message) {
|
|
859
|
+
return exports.ProofSpec.decode(message.value);
|
|
860
|
+
},
|
|
861
|
+
toProto(message) {
|
|
862
|
+
return exports.ProofSpec.encode(message).finish();
|
|
863
|
+
},
|
|
864
|
+
toProtoMsg(message) {
|
|
865
|
+
return {
|
|
866
|
+
typeUrl: "/cosmos.ics23.v1.ProofSpec",
|
|
867
|
+
value: exports.ProofSpec.encode(message).finish()
|
|
868
|
+
};
|
|
869
|
+
},
|
|
870
|
+
registerTypeUrl() {
|
|
871
|
+
exports.LeafOp.registerTypeUrl();
|
|
872
|
+
exports.InnerSpec.registerTypeUrl();
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
function createBaseInnerSpec() {
|
|
876
|
+
return {
|
|
877
|
+
childOrder: [],
|
|
878
|
+
childSize: 0,
|
|
879
|
+
minPrefixLength: 0,
|
|
880
|
+
maxPrefixLength: 0,
|
|
881
|
+
emptyChild: new Uint8Array(),
|
|
882
|
+
hash: 0
|
|
883
|
+
};
|
|
884
|
+
}
|
|
885
|
+
exports.InnerSpec = {
|
|
886
|
+
typeUrl: "/cosmos.ics23.v1.InnerSpec",
|
|
887
|
+
aminoType: "cosmos-sdk/InnerSpec",
|
|
888
|
+
is(o) {
|
|
889
|
+
return o && (o.$typeUrl === exports.InnerSpec.typeUrl || Array.isArray(o.childOrder) && (!o.childOrder.length || typeof o.childOrder[0] === "number") && typeof o.childSize === "number" && typeof o.minPrefixLength === "number" && typeof o.maxPrefixLength === "number" && (o.emptyChild instanceof Uint8Array || typeof o.emptyChild === "string") && (0, helpers_1.isSet)(o.hash));
|
|
890
|
+
},
|
|
891
|
+
isAmino(o) {
|
|
892
|
+
return o && (o.$typeUrl === exports.InnerSpec.typeUrl || Array.isArray(o.child_order) && (!o.child_order.length || typeof o.child_order[0] === "number") && typeof o.child_size === "number" && typeof o.min_prefix_length === "number" && typeof o.max_prefix_length === "number" && (o.empty_child instanceof Uint8Array || typeof o.empty_child === "string") && (0, helpers_1.isSet)(o.hash));
|
|
893
|
+
},
|
|
894
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
895
|
+
writer.uint32(10).fork();
|
|
896
|
+
for (const v of message.childOrder) {
|
|
897
|
+
writer.int32(v);
|
|
898
|
+
}
|
|
899
|
+
writer.ldelim();
|
|
900
|
+
if (message.childSize !== 0) {
|
|
901
|
+
writer.uint32(16).int32(message.childSize);
|
|
902
|
+
}
|
|
903
|
+
if (message.minPrefixLength !== 0) {
|
|
904
|
+
writer.uint32(24).int32(message.minPrefixLength);
|
|
905
|
+
}
|
|
906
|
+
if (message.maxPrefixLength !== 0) {
|
|
907
|
+
writer.uint32(32).int32(message.maxPrefixLength);
|
|
908
|
+
}
|
|
909
|
+
if (message.emptyChild.length !== 0) {
|
|
910
|
+
writer.uint32(42).bytes(message.emptyChild);
|
|
911
|
+
}
|
|
912
|
+
if (message.hash !== 0) {
|
|
913
|
+
writer.uint32(48).int32(message.hash);
|
|
914
|
+
}
|
|
915
|
+
return writer;
|
|
916
|
+
},
|
|
917
|
+
decode(input, length) {
|
|
918
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
919
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
920
|
+
const message = createBaseInnerSpec();
|
|
921
|
+
while (reader.pos < end) {
|
|
922
|
+
const tag = reader.uint32();
|
|
923
|
+
switch (tag >>> 3) {
|
|
924
|
+
case 1:
|
|
925
|
+
if ((tag & 7) === 2) {
|
|
926
|
+
const end2 = reader.uint32() + reader.pos;
|
|
927
|
+
while (reader.pos < end2) {
|
|
928
|
+
message.childOrder.push(reader.int32());
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
else {
|
|
932
|
+
message.childOrder.push(reader.int32());
|
|
933
|
+
}
|
|
934
|
+
break;
|
|
935
|
+
case 2:
|
|
936
|
+
message.childSize = reader.int32();
|
|
937
|
+
break;
|
|
938
|
+
case 3:
|
|
939
|
+
message.minPrefixLength = reader.int32();
|
|
940
|
+
break;
|
|
941
|
+
case 4:
|
|
942
|
+
message.maxPrefixLength = reader.int32();
|
|
943
|
+
break;
|
|
944
|
+
case 5:
|
|
945
|
+
message.emptyChild = reader.bytes();
|
|
946
|
+
break;
|
|
947
|
+
case 6:
|
|
948
|
+
message.hash = reader.int32();
|
|
949
|
+
break;
|
|
950
|
+
default:
|
|
951
|
+
reader.skipType(tag & 7);
|
|
952
|
+
break;
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
return message;
|
|
956
|
+
},
|
|
957
|
+
fromPartial(object) {
|
|
958
|
+
const message = createBaseInnerSpec();
|
|
959
|
+
message.childOrder = object.childOrder?.map(e => e) || [];
|
|
960
|
+
message.childSize = object.childSize ?? 0;
|
|
961
|
+
message.minPrefixLength = object.minPrefixLength ?? 0;
|
|
962
|
+
message.maxPrefixLength = object.maxPrefixLength ?? 0;
|
|
963
|
+
message.emptyChild = object.emptyChild ?? new Uint8Array();
|
|
964
|
+
message.hash = object.hash ?? 0;
|
|
965
|
+
return message;
|
|
966
|
+
},
|
|
967
|
+
fromAmino(object) {
|
|
968
|
+
const message = createBaseInnerSpec();
|
|
969
|
+
message.childOrder = object.child_order?.map(e => e) || [];
|
|
970
|
+
if (object.child_size !== undefined && object.child_size !== null) {
|
|
971
|
+
message.childSize = object.child_size;
|
|
972
|
+
}
|
|
973
|
+
if (object.min_prefix_length !== undefined && object.min_prefix_length !== null) {
|
|
974
|
+
message.minPrefixLength = object.min_prefix_length;
|
|
975
|
+
}
|
|
976
|
+
if (object.max_prefix_length !== undefined && object.max_prefix_length !== null) {
|
|
977
|
+
message.maxPrefixLength = object.max_prefix_length;
|
|
978
|
+
}
|
|
979
|
+
if (object.empty_child !== undefined && object.empty_child !== null) {
|
|
980
|
+
message.emptyChild = (0, helpers_1.bytesFromBase64)(object.empty_child);
|
|
981
|
+
}
|
|
982
|
+
if (object.hash !== undefined && object.hash !== null) {
|
|
983
|
+
message.hash = object.hash;
|
|
984
|
+
}
|
|
985
|
+
return message;
|
|
986
|
+
},
|
|
987
|
+
toAmino(message) {
|
|
988
|
+
const obj = {};
|
|
989
|
+
if (message.childOrder) {
|
|
990
|
+
obj.child_order = message.childOrder.map(e => e);
|
|
991
|
+
}
|
|
992
|
+
else {
|
|
993
|
+
obj.child_order = message.childOrder;
|
|
994
|
+
}
|
|
995
|
+
obj.child_size = message.childSize === 0 ? undefined : message.childSize;
|
|
996
|
+
obj.min_prefix_length = message.minPrefixLength === 0 ? undefined : message.minPrefixLength;
|
|
997
|
+
obj.max_prefix_length = message.maxPrefixLength === 0 ? undefined : message.maxPrefixLength;
|
|
998
|
+
obj.empty_child = message.emptyChild ? (0, helpers_1.base64FromBytes)(message.emptyChild) : undefined;
|
|
999
|
+
obj.hash = message.hash === 0 ? undefined : message.hash;
|
|
1000
|
+
return obj;
|
|
1001
|
+
},
|
|
1002
|
+
fromAminoMsg(object) {
|
|
1003
|
+
return exports.InnerSpec.fromAmino(object.value);
|
|
1004
|
+
},
|
|
1005
|
+
toAminoMsg(message) {
|
|
1006
|
+
return {
|
|
1007
|
+
type: "cosmos-sdk/InnerSpec",
|
|
1008
|
+
value: exports.InnerSpec.toAmino(message)
|
|
1009
|
+
};
|
|
1010
|
+
},
|
|
1011
|
+
fromProtoMsg(message) {
|
|
1012
|
+
return exports.InnerSpec.decode(message.value);
|
|
1013
|
+
},
|
|
1014
|
+
toProto(message) {
|
|
1015
|
+
return exports.InnerSpec.encode(message).finish();
|
|
1016
|
+
},
|
|
1017
|
+
toProtoMsg(message) {
|
|
1018
|
+
return {
|
|
1019
|
+
typeUrl: "/cosmos.ics23.v1.InnerSpec",
|
|
1020
|
+
value: exports.InnerSpec.encode(message).finish()
|
|
1021
|
+
};
|
|
1022
|
+
},
|
|
1023
|
+
registerTypeUrl() { }
|
|
1024
|
+
};
|
|
1025
|
+
function createBaseBatchProof() {
|
|
1026
|
+
return {
|
|
1027
|
+
entries: []
|
|
1028
|
+
};
|
|
1029
|
+
}
|
|
1030
|
+
exports.BatchProof = {
|
|
1031
|
+
typeUrl: "/cosmos.ics23.v1.BatchProof",
|
|
1032
|
+
aminoType: "cosmos-sdk/BatchProof",
|
|
1033
|
+
is(o) {
|
|
1034
|
+
return o && (o.$typeUrl === exports.BatchProof.typeUrl || Array.isArray(o.entries) && (!o.entries.length || exports.BatchEntry.is(o.entries[0])));
|
|
1035
|
+
},
|
|
1036
|
+
isAmino(o) {
|
|
1037
|
+
return o && (o.$typeUrl === exports.BatchProof.typeUrl || Array.isArray(o.entries) && (!o.entries.length || exports.BatchEntry.isAmino(o.entries[0])));
|
|
1038
|
+
},
|
|
1039
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1040
|
+
for (const v of message.entries) {
|
|
1041
|
+
exports.BatchEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1042
|
+
}
|
|
1043
|
+
return writer;
|
|
1044
|
+
},
|
|
1045
|
+
decode(input, length) {
|
|
1046
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1047
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1048
|
+
const message = createBaseBatchProof();
|
|
1049
|
+
while (reader.pos < end) {
|
|
1050
|
+
const tag = reader.uint32();
|
|
1051
|
+
switch (tag >>> 3) {
|
|
1052
|
+
case 1:
|
|
1053
|
+
message.entries.push(exports.BatchEntry.decode(reader, reader.uint32()));
|
|
1054
|
+
break;
|
|
1055
|
+
default:
|
|
1056
|
+
reader.skipType(tag & 7);
|
|
1057
|
+
break;
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
return message;
|
|
1061
|
+
},
|
|
1062
|
+
fromPartial(object) {
|
|
1063
|
+
const message = createBaseBatchProof();
|
|
1064
|
+
message.entries = object.entries?.map(e => exports.BatchEntry.fromPartial(e)) || [];
|
|
1065
|
+
return message;
|
|
1066
|
+
},
|
|
1067
|
+
fromAmino(object) {
|
|
1068
|
+
const message = createBaseBatchProof();
|
|
1069
|
+
message.entries = object.entries?.map(e => exports.BatchEntry.fromAmino(e)) || [];
|
|
1070
|
+
return message;
|
|
1071
|
+
},
|
|
1072
|
+
toAmino(message) {
|
|
1073
|
+
const obj = {};
|
|
1074
|
+
if (message.entries) {
|
|
1075
|
+
obj.entries = message.entries.map(e => e ? exports.BatchEntry.toAmino(e) : undefined);
|
|
1076
|
+
}
|
|
1077
|
+
else {
|
|
1078
|
+
obj.entries = message.entries;
|
|
1079
|
+
}
|
|
1080
|
+
return obj;
|
|
1081
|
+
},
|
|
1082
|
+
fromAminoMsg(object) {
|
|
1083
|
+
return exports.BatchProof.fromAmino(object.value);
|
|
1084
|
+
},
|
|
1085
|
+
toAminoMsg(message) {
|
|
1086
|
+
return {
|
|
1087
|
+
type: "cosmos-sdk/BatchProof",
|
|
1088
|
+
value: exports.BatchProof.toAmino(message)
|
|
1089
|
+
};
|
|
1090
|
+
},
|
|
1091
|
+
fromProtoMsg(message) {
|
|
1092
|
+
return exports.BatchProof.decode(message.value);
|
|
1093
|
+
},
|
|
1094
|
+
toProto(message) {
|
|
1095
|
+
return exports.BatchProof.encode(message).finish();
|
|
1096
|
+
},
|
|
1097
|
+
toProtoMsg(message) {
|
|
1098
|
+
return {
|
|
1099
|
+
typeUrl: "/cosmos.ics23.v1.BatchProof",
|
|
1100
|
+
value: exports.BatchProof.encode(message).finish()
|
|
1101
|
+
};
|
|
1102
|
+
},
|
|
1103
|
+
registerTypeUrl() {
|
|
1104
|
+
exports.BatchEntry.registerTypeUrl();
|
|
1105
|
+
}
|
|
1106
|
+
};
|
|
1107
|
+
function createBaseBatchEntry() {
|
|
1108
|
+
return {
|
|
1109
|
+
exist: undefined,
|
|
1110
|
+
nonexist: undefined
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
exports.BatchEntry = {
|
|
1114
|
+
typeUrl: "/cosmos.ics23.v1.BatchEntry",
|
|
1115
|
+
aminoType: "cosmos-sdk/BatchEntry",
|
|
1116
|
+
is(o) {
|
|
1117
|
+
return o && o.$typeUrl === exports.BatchEntry.typeUrl;
|
|
1118
|
+
},
|
|
1119
|
+
isAmino(o) {
|
|
1120
|
+
return o && o.$typeUrl === exports.BatchEntry.typeUrl;
|
|
1121
|
+
},
|
|
1122
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1123
|
+
if (message.exist !== undefined) {
|
|
1124
|
+
exports.ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
|
|
1125
|
+
}
|
|
1126
|
+
if (message.nonexist !== undefined) {
|
|
1127
|
+
exports.NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
|
|
1128
|
+
}
|
|
1129
|
+
return writer;
|
|
1130
|
+
},
|
|
1131
|
+
decode(input, length) {
|
|
1132
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1133
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1134
|
+
const message = createBaseBatchEntry();
|
|
1135
|
+
while (reader.pos < end) {
|
|
1136
|
+
const tag = reader.uint32();
|
|
1137
|
+
switch (tag >>> 3) {
|
|
1138
|
+
case 1:
|
|
1139
|
+
message.exist = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
1140
|
+
break;
|
|
1141
|
+
case 2:
|
|
1142
|
+
message.nonexist = exports.NonExistenceProof.decode(reader, reader.uint32());
|
|
1143
|
+
break;
|
|
1144
|
+
default:
|
|
1145
|
+
reader.skipType(tag & 7);
|
|
1146
|
+
break;
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
return message;
|
|
1150
|
+
},
|
|
1151
|
+
fromPartial(object) {
|
|
1152
|
+
const message = createBaseBatchEntry();
|
|
1153
|
+
message.exist = object.exist !== undefined && object.exist !== null ? exports.ExistenceProof.fromPartial(object.exist) : undefined;
|
|
1154
|
+
message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? exports.NonExistenceProof.fromPartial(object.nonexist) : undefined;
|
|
1155
|
+
return message;
|
|
1156
|
+
},
|
|
1157
|
+
fromAmino(object) {
|
|
1158
|
+
const message = createBaseBatchEntry();
|
|
1159
|
+
if (object.exist !== undefined && object.exist !== null) {
|
|
1160
|
+
message.exist = exports.ExistenceProof.fromAmino(object.exist);
|
|
1161
|
+
}
|
|
1162
|
+
if (object.nonexist !== undefined && object.nonexist !== null) {
|
|
1163
|
+
message.nonexist = exports.NonExistenceProof.fromAmino(object.nonexist);
|
|
1164
|
+
}
|
|
1165
|
+
return message;
|
|
1166
|
+
},
|
|
1167
|
+
toAmino(message) {
|
|
1168
|
+
const obj = {};
|
|
1169
|
+
obj.exist = message.exist ? exports.ExistenceProof.toAmino(message.exist) : undefined;
|
|
1170
|
+
obj.nonexist = message.nonexist ? exports.NonExistenceProof.toAmino(message.nonexist) : undefined;
|
|
1171
|
+
return obj;
|
|
1172
|
+
},
|
|
1173
|
+
fromAminoMsg(object) {
|
|
1174
|
+
return exports.BatchEntry.fromAmino(object.value);
|
|
1175
|
+
},
|
|
1176
|
+
toAminoMsg(message) {
|
|
1177
|
+
return {
|
|
1178
|
+
type: "cosmos-sdk/BatchEntry",
|
|
1179
|
+
value: exports.BatchEntry.toAmino(message)
|
|
1180
|
+
};
|
|
1181
|
+
},
|
|
1182
|
+
fromProtoMsg(message) {
|
|
1183
|
+
return exports.BatchEntry.decode(message.value);
|
|
1184
|
+
},
|
|
1185
|
+
toProto(message) {
|
|
1186
|
+
return exports.BatchEntry.encode(message).finish();
|
|
1187
|
+
},
|
|
1188
|
+
toProtoMsg(message) {
|
|
1189
|
+
return {
|
|
1190
|
+
typeUrl: "/cosmos.ics23.v1.BatchEntry",
|
|
1191
|
+
value: exports.BatchEntry.encode(message).finish()
|
|
1192
|
+
};
|
|
1193
|
+
},
|
|
1194
|
+
registerTypeUrl() {
|
|
1195
|
+
exports.ExistenceProof.registerTypeUrl();
|
|
1196
|
+
exports.NonExistenceProof.registerTypeUrl();
|
|
1197
|
+
}
|
|
1198
|
+
};
|
|
1199
|
+
function createBaseCompressedBatchProof() {
|
|
1200
|
+
return {
|
|
1201
|
+
entries: [],
|
|
1202
|
+
lookupInners: []
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
1205
|
+
exports.CompressedBatchProof = {
|
|
1206
|
+
typeUrl: "/cosmos.ics23.v1.CompressedBatchProof",
|
|
1207
|
+
aminoType: "cosmos-sdk/CompressedBatchProof",
|
|
1208
|
+
is(o) {
|
|
1209
|
+
return o && (o.$typeUrl === exports.CompressedBatchProof.typeUrl || Array.isArray(o.entries) && (!o.entries.length || exports.CompressedBatchEntry.is(o.entries[0])) && Array.isArray(o.lookupInners) && (!o.lookupInners.length || exports.InnerOp.is(o.lookupInners[0])));
|
|
1210
|
+
},
|
|
1211
|
+
isAmino(o) {
|
|
1212
|
+
return o && (o.$typeUrl === exports.CompressedBatchProof.typeUrl || Array.isArray(o.entries) && (!o.entries.length || exports.CompressedBatchEntry.isAmino(o.entries[0])) && Array.isArray(o.lookup_inners) && (!o.lookup_inners.length || exports.InnerOp.isAmino(o.lookup_inners[0])));
|
|
1213
|
+
},
|
|
1214
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1215
|
+
for (const v of message.entries) {
|
|
1216
|
+
exports.CompressedBatchEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1217
|
+
}
|
|
1218
|
+
for (const v of message.lookupInners) {
|
|
1219
|
+
exports.InnerOp.encode(v, writer.uint32(18).fork()).ldelim();
|
|
1220
|
+
}
|
|
1221
|
+
return writer;
|
|
1222
|
+
},
|
|
1223
|
+
decode(input, length) {
|
|
1224
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1225
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1226
|
+
const message = createBaseCompressedBatchProof();
|
|
1227
|
+
while (reader.pos < end) {
|
|
1228
|
+
const tag = reader.uint32();
|
|
1229
|
+
switch (tag >>> 3) {
|
|
1230
|
+
case 1:
|
|
1231
|
+
message.entries.push(exports.CompressedBatchEntry.decode(reader, reader.uint32()));
|
|
1232
|
+
break;
|
|
1233
|
+
case 2:
|
|
1234
|
+
message.lookupInners.push(exports.InnerOp.decode(reader, reader.uint32()));
|
|
1235
|
+
break;
|
|
1236
|
+
default:
|
|
1237
|
+
reader.skipType(tag & 7);
|
|
1238
|
+
break;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
return message;
|
|
1242
|
+
},
|
|
1243
|
+
fromPartial(object) {
|
|
1244
|
+
const message = createBaseCompressedBatchProof();
|
|
1245
|
+
message.entries = object.entries?.map(e => exports.CompressedBatchEntry.fromPartial(e)) || [];
|
|
1246
|
+
message.lookupInners = object.lookupInners?.map(e => exports.InnerOp.fromPartial(e)) || [];
|
|
1247
|
+
return message;
|
|
1248
|
+
},
|
|
1249
|
+
fromAmino(object) {
|
|
1250
|
+
const message = createBaseCompressedBatchProof();
|
|
1251
|
+
message.entries = object.entries?.map(e => exports.CompressedBatchEntry.fromAmino(e)) || [];
|
|
1252
|
+
message.lookupInners = object.lookup_inners?.map(e => exports.InnerOp.fromAmino(e)) || [];
|
|
1253
|
+
return message;
|
|
1254
|
+
},
|
|
1255
|
+
toAmino(message) {
|
|
1256
|
+
const obj = {};
|
|
1257
|
+
if (message.entries) {
|
|
1258
|
+
obj.entries = message.entries.map(e => e ? exports.CompressedBatchEntry.toAmino(e) : undefined);
|
|
1259
|
+
}
|
|
1260
|
+
else {
|
|
1261
|
+
obj.entries = message.entries;
|
|
1262
|
+
}
|
|
1263
|
+
if (message.lookupInners) {
|
|
1264
|
+
obj.lookup_inners = message.lookupInners.map(e => e ? exports.InnerOp.toAmino(e) : undefined);
|
|
1265
|
+
}
|
|
1266
|
+
else {
|
|
1267
|
+
obj.lookup_inners = message.lookupInners;
|
|
1268
|
+
}
|
|
1269
|
+
return obj;
|
|
1270
|
+
},
|
|
1271
|
+
fromAminoMsg(object) {
|
|
1272
|
+
return exports.CompressedBatchProof.fromAmino(object.value);
|
|
1273
|
+
},
|
|
1274
|
+
toAminoMsg(message) {
|
|
1275
|
+
return {
|
|
1276
|
+
type: "cosmos-sdk/CompressedBatchProof",
|
|
1277
|
+
value: exports.CompressedBatchProof.toAmino(message)
|
|
1278
|
+
};
|
|
1279
|
+
},
|
|
1280
|
+
fromProtoMsg(message) {
|
|
1281
|
+
return exports.CompressedBatchProof.decode(message.value);
|
|
1282
|
+
},
|
|
1283
|
+
toProto(message) {
|
|
1284
|
+
return exports.CompressedBatchProof.encode(message).finish();
|
|
1285
|
+
},
|
|
1286
|
+
toProtoMsg(message) {
|
|
1287
|
+
return {
|
|
1288
|
+
typeUrl: "/cosmos.ics23.v1.CompressedBatchProof",
|
|
1289
|
+
value: exports.CompressedBatchProof.encode(message).finish()
|
|
1290
|
+
};
|
|
1291
|
+
},
|
|
1292
|
+
registerTypeUrl() {
|
|
1293
|
+
exports.CompressedBatchEntry.registerTypeUrl();
|
|
1294
|
+
exports.InnerOp.registerTypeUrl();
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
function createBaseCompressedBatchEntry() {
|
|
1298
|
+
return {
|
|
1299
|
+
exist: undefined,
|
|
1300
|
+
nonexist: undefined
|
|
1301
|
+
};
|
|
1302
|
+
}
|
|
1303
|
+
exports.CompressedBatchEntry = {
|
|
1304
|
+
typeUrl: "/cosmos.ics23.v1.CompressedBatchEntry",
|
|
1305
|
+
aminoType: "cosmos-sdk/CompressedBatchEntry",
|
|
1306
|
+
is(o) {
|
|
1307
|
+
return o && o.$typeUrl === exports.CompressedBatchEntry.typeUrl;
|
|
1308
|
+
},
|
|
1309
|
+
isAmino(o) {
|
|
1310
|
+
return o && o.$typeUrl === exports.CompressedBatchEntry.typeUrl;
|
|
1311
|
+
},
|
|
1312
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1313
|
+
if (message.exist !== undefined) {
|
|
1314
|
+
exports.CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
|
|
1315
|
+
}
|
|
1316
|
+
if (message.nonexist !== undefined) {
|
|
1317
|
+
exports.CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
|
|
1318
|
+
}
|
|
1319
|
+
return writer;
|
|
1320
|
+
},
|
|
1321
|
+
decode(input, length) {
|
|
1322
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1323
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1324
|
+
const message = createBaseCompressedBatchEntry();
|
|
1325
|
+
while (reader.pos < end) {
|
|
1326
|
+
const tag = reader.uint32();
|
|
1327
|
+
switch (tag >>> 3) {
|
|
1328
|
+
case 1:
|
|
1329
|
+
message.exist = exports.CompressedExistenceProof.decode(reader, reader.uint32());
|
|
1330
|
+
break;
|
|
1331
|
+
case 2:
|
|
1332
|
+
message.nonexist = exports.CompressedNonExistenceProof.decode(reader, reader.uint32());
|
|
1333
|
+
break;
|
|
1334
|
+
default:
|
|
1335
|
+
reader.skipType(tag & 7);
|
|
1336
|
+
break;
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
return message;
|
|
1340
|
+
},
|
|
1341
|
+
fromPartial(object) {
|
|
1342
|
+
const message = createBaseCompressedBatchEntry();
|
|
1343
|
+
message.exist = object.exist !== undefined && object.exist !== null ? exports.CompressedExistenceProof.fromPartial(object.exist) : undefined;
|
|
1344
|
+
message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? exports.CompressedNonExistenceProof.fromPartial(object.nonexist) : undefined;
|
|
1345
|
+
return message;
|
|
1346
|
+
},
|
|
1347
|
+
fromAmino(object) {
|
|
1348
|
+
const message = createBaseCompressedBatchEntry();
|
|
1349
|
+
if (object.exist !== undefined && object.exist !== null) {
|
|
1350
|
+
message.exist = exports.CompressedExistenceProof.fromAmino(object.exist);
|
|
1351
|
+
}
|
|
1352
|
+
if (object.nonexist !== undefined && object.nonexist !== null) {
|
|
1353
|
+
message.nonexist = exports.CompressedNonExistenceProof.fromAmino(object.nonexist);
|
|
1354
|
+
}
|
|
1355
|
+
return message;
|
|
1356
|
+
},
|
|
1357
|
+
toAmino(message) {
|
|
1358
|
+
const obj = {};
|
|
1359
|
+
obj.exist = message.exist ? exports.CompressedExistenceProof.toAmino(message.exist) : undefined;
|
|
1360
|
+
obj.nonexist = message.nonexist ? exports.CompressedNonExistenceProof.toAmino(message.nonexist) : undefined;
|
|
1361
|
+
return obj;
|
|
1362
|
+
},
|
|
1363
|
+
fromAminoMsg(object) {
|
|
1364
|
+
return exports.CompressedBatchEntry.fromAmino(object.value);
|
|
1365
|
+
},
|
|
1366
|
+
toAminoMsg(message) {
|
|
1367
|
+
return {
|
|
1368
|
+
type: "cosmos-sdk/CompressedBatchEntry",
|
|
1369
|
+
value: exports.CompressedBatchEntry.toAmino(message)
|
|
1370
|
+
};
|
|
1371
|
+
},
|
|
1372
|
+
fromProtoMsg(message) {
|
|
1373
|
+
return exports.CompressedBatchEntry.decode(message.value);
|
|
1374
|
+
},
|
|
1375
|
+
toProto(message) {
|
|
1376
|
+
return exports.CompressedBatchEntry.encode(message).finish();
|
|
1377
|
+
},
|
|
1378
|
+
toProtoMsg(message) {
|
|
1379
|
+
return {
|
|
1380
|
+
typeUrl: "/cosmos.ics23.v1.CompressedBatchEntry",
|
|
1381
|
+
value: exports.CompressedBatchEntry.encode(message).finish()
|
|
1382
|
+
};
|
|
1383
|
+
},
|
|
1384
|
+
registerTypeUrl() {
|
|
1385
|
+
exports.CompressedExistenceProof.registerTypeUrl();
|
|
1386
|
+
exports.CompressedNonExistenceProof.registerTypeUrl();
|
|
1387
|
+
}
|
|
1388
|
+
};
|
|
1389
|
+
function createBaseCompressedExistenceProof() {
|
|
1390
|
+
return {
|
|
1391
|
+
key: new Uint8Array(),
|
|
1392
|
+
value: new Uint8Array(),
|
|
1393
|
+
leaf: undefined,
|
|
1394
|
+
path: []
|
|
1395
|
+
};
|
|
1396
|
+
}
|
|
1397
|
+
exports.CompressedExistenceProof = {
|
|
1398
|
+
typeUrl: "/cosmos.ics23.v1.CompressedExistenceProof",
|
|
1399
|
+
aminoType: "cosmos-sdk/CompressedExistenceProof",
|
|
1400
|
+
is(o) {
|
|
1401
|
+
return o && (o.$typeUrl === exports.CompressedExistenceProof.typeUrl || (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && Array.isArray(o.path) && (!o.path.length || typeof o.path[0] === "number"));
|
|
1402
|
+
},
|
|
1403
|
+
isAmino(o) {
|
|
1404
|
+
return o && (o.$typeUrl === exports.CompressedExistenceProof.typeUrl || (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && Array.isArray(o.path) && (!o.path.length || typeof o.path[0] === "number"));
|
|
1405
|
+
},
|
|
1406
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1407
|
+
if (message.key.length !== 0) {
|
|
1408
|
+
writer.uint32(10).bytes(message.key);
|
|
1409
|
+
}
|
|
1410
|
+
if (message.value.length !== 0) {
|
|
1411
|
+
writer.uint32(18).bytes(message.value);
|
|
1412
|
+
}
|
|
1413
|
+
if (message.leaf !== undefined) {
|
|
1414
|
+
exports.LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim();
|
|
1415
|
+
}
|
|
1416
|
+
writer.uint32(34).fork();
|
|
1417
|
+
for (const v of message.path) {
|
|
1418
|
+
writer.int32(v);
|
|
1419
|
+
}
|
|
1420
|
+
writer.ldelim();
|
|
1421
|
+
return writer;
|
|
1422
|
+
},
|
|
1423
|
+
decode(input, length) {
|
|
1424
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1425
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1426
|
+
const message = createBaseCompressedExistenceProof();
|
|
1427
|
+
while (reader.pos < end) {
|
|
1428
|
+
const tag = reader.uint32();
|
|
1429
|
+
switch (tag >>> 3) {
|
|
1430
|
+
case 1:
|
|
1431
|
+
message.key = reader.bytes();
|
|
1432
|
+
break;
|
|
1433
|
+
case 2:
|
|
1434
|
+
message.value = reader.bytes();
|
|
1435
|
+
break;
|
|
1436
|
+
case 3:
|
|
1437
|
+
message.leaf = exports.LeafOp.decode(reader, reader.uint32());
|
|
1438
|
+
break;
|
|
1439
|
+
case 4:
|
|
1440
|
+
if ((tag & 7) === 2) {
|
|
1441
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1442
|
+
while (reader.pos < end2) {
|
|
1443
|
+
message.path.push(reader.int32());
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
else {
|
|
1447
|
+
message.path.push(reader.int32());
|
|
1448
|
+
}
|
|
1449
|
+
break;
|
|
1450
|
+
default:
|
|
1451
|
+
reader.skipType(tag & 7);
|
|
1452
|
+
break;
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
return message;
|
|
1456
|
+
},
|
|
1457
|
+
fromPartial(object) {
|
|
1458
|
+
const message = createBaseCompressedExistenceProof();
|
|
1459
|
+
message.key = object.key ?? new Uint8Array();
|
|
1460
|
+
message.value = object.value ?? new Uint8Array();
|
|
1461
|
+
message.leaf = object.leaf !== undefined && object.leaf !== null ? exports.LeafOp.fromPartial(object.leaf) : undefined;
|
|
1462
|
+
message.path = object.path?.map(e => e) || [];
|
|
1463
|
+
return message;
|
|
1464
|
+
},
|
|
1465
|
+
fromAmino(object) {
|
|
1466
|
+
const message = createBaseCompressedExistenceProof();
|
|
1467
|
+
if (object.key !== undefined && object.key !== null) {
|
|
1468
|
+
message.key = (0, helpers_1.bytesFromBase64)(object.key);
|
|
1469
|
+
}
|
|
1470
|
+
if (object.value !== undefined && object.value !== null) {
|
|
1471
|
+
message.value = (0, helpers_1.bytesFromBase64)(object.value);
|
|
1472
|
+
}
|
|
1473
|
+
if (object.leaf !== undefined && object.leaf !== null) {
|
|
1474
|
+
message.leaf = exports.LeafOp.fromAmino(object.leaf);
|
|
1475
|
+
}
|
|
1476
|
+
message.path = object.path?.map(e => e) || [];
|
|
1477
|
+
return message;
|
|
1478
|
+
},
|
|
1479
|
+
toAmino(message) {
|
|
1480
|
+
const obj = {};
|
|
1481
|
+
obj.key = message.key ? (0, helpers_1.base64FromBytes)(message.key) : undefined;
|
|
1482
|
+
obj.value = message.value ? (0, helpers_1.base64FromBytes)(message.value) : undefined;
|
|
1483
|
+
obj.leaf = message.leaf ? exports.LeafOp.toAmino(message.leaf) : undefined;
|
|
1484
|
+
if (message.path) {
|
|
1485
|
+
obj.path = message.path.map(e => e);
|
|
1486
|
+
}
|
|
1487
|
+
else {
|
|
1488
|
+
obj.path = message.path;
|
|
1489
|
+
}
|
|
1490
|
+
return obj;
|
|
1491
|
+
},
|
|
1492
|
+
fromAminoMsg(object) {
|
|
1493
|
+
return exports.CompressedExistenceProof.fromAmino(object.value);
|
|
1494
|
+
},
|
|
1495
|
+
toAminoMsg(message) {
|
|
1496
|
+
return {
|
|
1497
|
+
type: "cosmos-sdk/CompressedExistenceProof",
|
|
1498
|
+
value: exports.CompressedExistenceProof.toAmino(message)
|
|
1499
|
+
};
|
|
1500
|
+
},
|
|
1501
|
+
fromProtoMsg(message) {
|
|
1502
|
+
return exports.CompressedExistenceProof.decode(message.value);
|
|
1503
|
+
},
|
|
1504
|
+
toProto(message) {
|
|
1505
|
+
return exports.CompressedExistenceProof.encode(message).finish();
|
|
1506
|
+
},
|
|
1507
|
+
toProtoMsg(message) {
|
|
1508
|
+
return {
|
|
1509
|
+
typeUrl: "/cosmos.ics23.v1.CompressedExistenceProof",
|
|
1510
|
+
value: exports.CompressedExistenceProof.encode(message).finish()
|
|
1511
|
+
};
|
|
1512
|
+
},
|
|
1513
|
+
registerTypeUrl() {
|
|
1514
|
+
exports.LeafOp.registerTypeUrl();
|
|
1515
|
+
}
|
|
1516
|
+
};
|
|
1517
|
+
function createBaseCompressedNonExistenceProof() {
|
|
1518
|
+
return {
|
|
1519
|
+
key: new Uint8Array(),
|
|
1520
|
+
left: undefined,
|
|
1521
|
+
right: undefined
|
|
1522
|
+
};
|
|
1523
|
+
}
|
|
1524
|
+
exports.CompressedNonExistenceProof = {
|
|
1525
|
+
typeUrl: "/cosmos.ics23.v1.CompressedNonExistenceProof",
|
|
1526
|
+
aminoType: "cosmos-sdk/CompressedNonExistenceProof",
|
|
1527
|
+
is(o) {
|
|
1528
|
+
return o && (o.$typeUrl === exports.CompressedNonExistenceProof.typeUrl || o.key instanceof Uint8Array || typeof o.key === "string");
|
|
1529
|
+
},
|
|
1530
|
+
isAmino(o) {
|
|
1531
|
+
return o && (o.$typeUrl === exports.CompressedNonExistenceProof.typeUrl || o.key instanceof Uint8Array || typeof o.key === "string");
|
|
1532
|
+
},
|
|
1533
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1534
|
+
if (message.key.length !== 0) {
|
|
1535
|
+
writer.uint32(10).bytes(message.key);
|
|
1536
|
+
}
|
|
1537
|
+
if (message.left !== undefined) {
|
|
1538
|
+
exports.CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim();
|
|
1539
|
+
}
|
|
1540
|
+
if (message.right !== undefined) {
|
|
1541
|
+
exports.CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim();
|
|
1542
|
+
}
|
|
1543
|
+
return writer;
|
|
1544
|
+
},
|
|
1545
|
+
decode(input, length) {
|
|
1546
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1547
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1548
|
+
const message = createBaseCompressedNonExistenceProof();
|
|
1549
|
+
while (reader.pos < end) {
|
|
1550
|
+
const tag = reader.uint32();
|
|
1551
|
+
switch (tag >>> 3) {
|
|
1552
|
+
case 1:
|
|
1553
|
+
message.key = reader.bytes();
|
|
1554
|
+
break;
|
|
1555
|
+
case 2:
|
|
1556
|
+
message.left = exports.CompressedExistenceProof.decode(reader, reader.uint32());
|
|
1557
|
+
break;
|
|
1558
|
+
case 3:
|
|
1559
|
+
message.right = exports.CompressedExistenceProof.decode(reader, reader.uint32());
|
|
1560
|
+
break;
|
|
1561
|
+
default:
|
|
1562
|
+
reader.skipType(tag & 7);
|
|
1563
|
+
break;
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
return message;
|
|
1567
|
+
},
|
|
1568
|
+
fromPartial(object) {
|
|
1569
|
+
const message = createBaseCompressedNonExistenceProof();
|
|
1570
|
+
message.key = object.key ?? new Uint8Array();
|
|
1571
|
+
message.left = object.left !== undefined && object.left !== null ? exports.CompressedExistenceProof.fromPartial(object.left) : undefined;
|
|
1572
|
+
message.right = object.right !== undefined && object.right !== null ? exports.CompressedExistenceProof.fromPartial(object.right) : undefined;
|
|
1573
|
+
return message;
|
|
1574
|
+
},
|
|
1575
|
+
fromAmino(object) {
|
|
1576
|
+
const message = createBaseCompressedNonExistenceProof();
|
|
1577
|
+
if (object.key !== undefined && object.key !== null) {
|
|
1578
|
+
message.key = (0, helpers_1.bytesFromBase64)(object.key);
|
|
1579
|
+
}
|
|
1580
|
+
if (object.left !== undefined && object.left !== null) {
|
|
1581
|
+
message.left = exports.CompressedExistenceProof.fromAmino(object.left);
|
|
1582
|
+
}
|
|
1583
|
+
if (object.right !== undefined && object.right !== null) {
|
|
1584
|
+
message.right = exports.CompressedExistenceProof.fromAmino(object.right);
|
|
1585
|
+
}
|
|
1586
|
+
return message;
|
|
1587
|
+
},
|
|
1588
|
+
toAmino(message) {
|
|
1589
|
+
const obj = {};
|
|
1590
|
+
obj.key = message.key ? (0, helpers_1.base64FromBytes)(message.key) : undefined;
|
|
1591
|
+
obj.left = message.left ? exports.CompressedExistenceProof.toAmino(message.left) : undefined;
|
|
1592
|
+
obj.right = message.right ? exports.CompressedExistenceProof.toAmino(message.right) : undefined;
|
|
1593
|
+
return obj;
|
|
1594
|
+
},
|
|
1595
|
+
fromAminoMsg(object) {
|
|
1596
|
+
return exports.CompressedNonExistenceProof.fromAmino(object.value);
|
|
1597
|
+
},
|
|
1598
|
+
toAminoMsg(message) {
|
|
1599
|
+
return {
|
|
1600
|
+
type: "cosmos-sdk/CompressedNonExistenceProof",
|
|
1601
|
+
value: exports.CompressedNonExistenceProof.toAmino(message)
|
|
1602
|
+
};
|
|
1603
|
+
},
|
|
1604
|
+
fromProtoMsg(message) {
|
|
1605
|
+
return exports.CompressedNonExistenceProof.decode(message.value);
|
|
1606
|
+
},
|
|
1607
|
+
toProto(message) {
|
|
1608
|
+
return exports.CompressedNonExistenceProof.encode(message).finish();
|
|
1609
|
+
},
|
|
1610
|
+
toProtoMsg(message) {
|
|
1611
|
+
return {
|
|
1612
|
+
typeUrl: "/cosmos.ics23.v1.CompressedNonExistenceProof",
|
|
1613
|
+
value: exports.CompressedNonExistenceProof.encode(message).finish()
|
|
1614
|
+
};
|
|
1615
|
+
},
|
|
1616
|
+
registerTypeUrl() {
|
|
1617
|
+
exports.CompressedExistenceProof.registerTypeUrl();
|
|
1618
|
+
}
|
|
1619
|
+
};
|