@burnt-labs/xion-types 0.0.1-test.1762962136
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/jest.config.js +18 -0
- package/package.json +56 -0
- package/scripts/aminos.ts +29 -0
- package/scripts/codegen.ts +94 -0
- package/scripts/download-protos.ts +248 -0
- package/telescope.config.json +84 -0
- package/tsconfig.esm.json +9 -0
- package/tsconfig.json +18 -0
- package/types/abstractaccount/bundle.ts +35 -0
- package/types/abstractaccount/client.ts +48 -0
- package/types/abstractaccount/lcd.ts +130 -0
- package/types/abstractaccount/rpc.query.ts +93 -0
- package/types/abstractaccount/rpc.tx.ts +74 -0
- package/types/abstractaccount/v1/account.ts +250 -0
- package/types/abstractaccount/v1/events.ts +135 -0
- package/types/abstractaccount/v1/genesis.ts +106 -0
- package/types/abstractaccount/v1/params.ts +192 -0
- package/types/abstractaccount/v1/query.lcd.ts +19 -0
- package/types/abstractaccount/v1/query.rpc.Query.ts +31 -0
- package/types/abstractaccount/v1/query.ts +160 -0
- package/types/abstractaccount/v1/tx.amino.ts +14 -0
- package/types/abstractaccount/v1/tx.registry.ts +53 -0
- package/types/abstractaccount/v1/tx.rpc.msg.ts +29 -0
- package/types/abstractaccount/v1/tx.ts +454 -0
- package/types/amino/amino.ts +1 -0
- package/types/amino/bundle.ts +5 -0
- package/types/binary.ts +535 -0
- package/types/cosmos/app/runtime/v1alpha1/module.ts +492 -0
- package/types/cosmos/app/v1alpha1/config.ts +437 -0
- package/types/cosmos/app/v1alpha1/module.ts +466 -0
- package/types/cosmos/app/v1alpha1/query.rpc.Query.ts +31 -0
- package/types/cosmos/app/v1alpha1/query.ts +176 -0
- package/types/cosmos/auth/module/v1/module.ts +288 -0
- package/types/cosmos/auth/v1beta1/auth.ts +562 -0
- package/types/cosmos/auth/v1beta1/genesis.ts +123 -0
- package/types/cosmos/auth/v1beta1/query.lcd.ts +91 -0
- package/types/cosmos/auth/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/auth/v1beta1/query.ts +2005 -0
- package/types/cosmos/auth/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/auth/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/auth/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/auth/v1beta1/tx.ts +208 -0
- package/types/cosmos/authz/module/v1/module.ts +77 -0
- package/types/cosmos/authz/v1beta1/authz.ts +599 -0
- package/types/cosmos/authz/v1beta1/event.ts +274 -0
- package/types/cosmos/authz/v1beta1/genesis.ts +99 -0
- package/types/cosmos/authz/v1beta1/query.lcd.ts +59 -0
- package/types/cosmos/authz/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/authz/v1beta1/query.ts +734 -0
- package/types/cosmos/authz/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/authz/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/authz/v1beta1/tx.rpc.msg.ts +49 -0
- package/types/cosmos/authz/v1beta1/tx.ts +666 -0
- package/types/cosmos/autocli/v1/options.ts +1317 -0
- package/types/cosmos/autocli/v1/query.rpc.Query.ts +32 -0
- package/types/cosmos/autocli/v1/query.ts +298 -0
- package/types/cosmos/bank/module/v1/module.ts +156 -0
- package/types/cosmos/bank/v1beta1/authz.ts +134 -0
- package/types/cosmos/bank/v1beta1/bank.ts +984 -0
- package/types/cosmos/bank/v1beta1/genesis.ts +316 -0
- package/types/cosmos/bank/v1beta1/query.lcd.ts +207 -0
- package/types/cosmos/bank/v1beta1/query.rpc.Query.ts +212 -0
- package/types/cosmos/bank/v1beta1/query.ts +3051 -0
- package/types/cosmos/bank/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/bank/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/bank/v1beta1/tx.rpc.msg.ts +53 -0
- package/types/cosmos/bank/v1beta1/tx.ts +845 -0
- package/types/cosmos/base/abci/v1beta1/abci.ts +1776 -0
- package/types/cosmos/base/node/v1beta1/query.lcd.ts +25 -0
- package/types/cosmos/base/node/v1beta1/query.rpc.Service.ts +42 -0
- package/types/cosmos/base/node/v1beta1/query.ts +467 -0
- package/types/cosmos/base/query/v1beta1/pagination.ts +372 -0
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +385 -0
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +2790 -0
- package/types/cosmos/base/tendermint/v1beta1/query.lcd.ts +87 -0
- package/types/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +103 -0
- package/types/cosmos/base/tendermint/v1beta1/query.ts +2358 -0
- package/types/cosmos/base/tendermint/v1beta1/types.ts +492 -0
- package/types/cosmos/base/v1beta1/coin.ts +449 -0
- package/types/cosmos/benchmark/module/v1/module.ts +384 -0
- package/types/cosmos/benchmark/v1/benchmark.ts +186 -0
- package/types/cosmos/benchmark/v1/tx.amino.ts +9 -0
- package/types/cosmos/benchmark/v1/tx.registry.ts +35 -0
- package/types/cosmos/benchmark/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/benchmark/v1/tx.ts +224 -0
- package/types/cosmos/bundle.ts +807 -0
- package/types/cosmos/circuit/module/v1/module.ts +100 -0
- package/types/cosmos/circuit/v1/query.lcd.ts +40 -0
- package/types/cosmos/circuit/v1/query.rpc.Query.ts +55 -0
- package/types/cosmos/circuit/v1/query.ts +576 -0
- package/types/cosmos/circuit/v1/tx.amino.ts +19 -0
- package/types/cosmos/circuit/v1/tx.registry.ts +71 -0
- package/types/cosmos/circuit/v1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/circuit/v1/tx.ts +685 -0
- package/types/cosmos/circuit/v1/types.ts +419 -0
- package/types/cosmos/client.ts +100 -0
- package/types/cosmos/consensus/module/v1/module.ts +100 -0
- package/types/cosmos/consensus/v1/query.lcd.ts +19 -0
- package/types/cosmos/consensus/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/consensus/v1/query.ts +182 -0
- package/types/cosmos/consensus/v1/tx.amino.ts +9 -0
- package/types/cosmos/consensus/v1/tx.registry.ts +35 -0
- package/types/cosmos/consensus/v1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/consensus/v1/tx.ts +257 -0
- package/types/cosmos/counter/module/v1/module.ts +100 -0
- package/types/cosmos/counter/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/counter/v1/query.ts +171 -0
- package/types/cosmos/counter/v1/tx.amino.ts +9 -0
- package/types/cosmos/counter/v1/tx.registry.ts +35 -0
- package/types/cosmos/counter/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/counter/v1/tx.ts +217 -0
- package/types/cosmos/crisis/module/v1/module.ts +119 -0
- package/types/cosmos/crisis/v1beta1/genesis.ts +105 -0
- package/types/cosmos/crisis/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/crisis/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/crisis/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/crisis/v1beta1/tx.ts +413 -0
- package/types/cosmos/crypto/bls12_381/keys.ts +207 -0
- package/types/cosmos/crypto/ed25519/keys.ts +214 -0
- package/types/cosmos/crypto/hd/v1/hd.ts +180 -0
- package/types/cosmos/crypto/keyring/v1/record.ts +542 -0
- package/types/cosmos/crypto/multisig/keys.ts +124 -0
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +231 -0
- package/types/cosmos/crypto/secp256k1/keys.ts +207 -0
- package/types/cosmos/crypto/secp256r1/keys.ts +203 -0
- package/types/cosmos/distribution/module/v1/module.ts +115 -0
- package/types/cosmos/distribution/v1beta1/distribution.ts +1551 -0
- package/types/cosmos/distribution/v1beta1/genesis.ts +1208 -0
- package/types/cosmos/distribution/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/distribution/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/distribution/v1beta1/query.ts +2195 -0
- package/types/cosmos/distribution/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/distribution/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/distribution/v1beta1/tx.rpc.msg.ts +96 -0
- package/types/cosmos/distribution/v1beta1/tx.ts +1460 -0
- package/types/cosmos/epochs/module/v1/module.ts +77 -0
- package/types/cosmos/epochs/v1beta1/events.ts +205 -0
- package/types/cosmos/epochs/v1beta1/genesis.ts +384 -0
- package/types/cosmos/epochs/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/epochs/v1beta1/query.rpc.Query.ts +42 -0
- package/types/cosmos/epochs/v1beta1/query.ts +390 -0
- package/types/cosmos/evidence/module/v1/module.ts +77 -0
- package/types/cosmos/evidence/v1beta1/evidence.ts +166 -0
- package/types/cosmos/evidence/v1beta1/genesis.ts +103 -0
- package/types/cosmos/evidence/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/evidence/v1beta1/query.rpc.Query.ts +44 -0
- package/types/cosmos/evidence/v1beta1/query.ts +458 -0
- package/types/cosmos/evidence/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/evidence/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/evidence/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/evidence/v1beta1/tx.ts +243 -0
- package/types/cosmos/feegrant/module/v1/module.ts +77 -0
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +701 -0
- package/types/cosmos/feegrant/v1beta1/genesis.ts +99 -0
- package/types/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/types/cosmos/feegrant/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/feegrant/v1beta1/query.ts +683 -0
- package/types/cosmos/feegrant/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/feegrant/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/feegrant/v1beta1/tx.ts +683 -0
- package/types/cosmos/genutil/module/v1/module.ts +77 -0
- package/types/cosmos/genutil/v1beta1/genesis.ts +103 -0
- package/types/cosmos/gov/module/v1/module.ts +123 -0
- package/types/cosmos/gov/v1/genesis.ts +288 -0
- package/types/cosmos/gov/v1/gov.ts +1889 -0
- package/types/cosmos/gov/v1/query.lcd.ts +95 -0
- package/types/cosmos/gov/v1/query.rpc.Query.ts +119 -0
- package/types/cosmos/gov/v1/query.ts +2026 -0
- package/types/cosmos/gov/v1/tx.amino.ts +39 -0
- package/types/cosmos/gov/v1/tx.registry.ts +143 -0
- package/types/cosmos/gov/v1/tx.rpc.msg.ts +75 -0
- package/types/cosmos/gov/v1/tx.ts +1911 -0
- package/types/cosmos/gov/v1beta1/genesis.ts +221 -0
- package/types/cosmos/gov/v1beta1/gov.ts +1725 -0
- package/types/cosmos/gov/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/gov/v1beta1/query.rpc.Query.ts +108 -0
- package/types/cosmos/gov/v1beta1/query.ts +1813 -0
- package/types/cosmos/gov/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/gov/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/gov/v1beta1/tx.rpc.msg.ts +45 -0
- package/types/cosmos/gov/v1beta1/tx.ts +1128 -0
- package/types/cosmos/group/module/v1/module.ts +128 -0
- package/types/cosmos/group/v1/events.ts +1195 -0
- package/types/cosmos/group/v1/genesis.ts +256 -0
- package/types/cosmos/group/v1/query.lcd.ts +158 -0
- package/types/cosmos/group/v1/query.rpc.Query.ts +182 -0
- package/types/cosmos/group/v1/query.ts +3108 -0
- package/types/cosmos/group/v1/tx.amino.ts +74 -0
- package/types/cosmos/group/v1/tx.registry.ts +269 -0
- package/types/cosmos/group/v1/tx.rpc.msg.ts +125 -0
- package/types/cosmos/group/v1/tx.ts +3353 -0
- package/types/cosmos/group/v1/types.ts +2248 -0
- package/types/cosmos/ics23/v1/proofs.ts +2167 -0
- package/types/cosmos/lcd.ts +125 -0
- package/types/cosmos/mint/module/v1/module.ts +115 -0
- package/types/cosmos/mint/v1beta1/genesis.ts +120 -0
- package/types/cosmos/mint/v1beta1/mint.ts +313 -0
- package/types/cosmos/mint/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/mint/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/mint/v1beta1/query.ts +544 -0
- package/types/cosmos/mint/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/mint/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/mint/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/mint/v1beta1/tx.ts +208 -0
- package/types/cosmos/msg/textual/v1/textual.ts +1 -0
- package/types/cosmos/msg/v1/msg.ts +1 -0
- package/types/cosmos/nft/module/v1/module.ts +77 -0
- package/types/cosmos/nft/v1beta1/event.ts +429 -0
- package/types/cosmos/nft/v1beta1/genesis.ts +243 -0
- package/types/cosmos/nft/v1beta1/nft.ts +389 -0
- package/types/cosmos/nft/v1beta1/query.lcd.ts +77 -0
- package/types/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
- package/types/cosmos/nft/v1beta1/query.ts +1513 -0
- package/types/cosmos/nft/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/nft/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/nft/v1beta1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/nft/v1beta1/tx.ts +232 -0
- package/types/cosmos/params/module/v1/module.ts +77 -0
- package/types/cosmos/params/v1beta1/params.ts +262 -0
- package/types/cosmos/params/v1beta1/query.lcd.ts +35 -0
- package/types/cosmos/params/v1beta1/query.rpc.Query.ts +45 -0
- package/types/cosmos/params/v1beta1/query.ts +521 -0
- package/types/cosmos/protocolpool/module/v1/module.ts +100 -0
- package/types/cosmos/protocolpool/v1/genesis.ts +126 -0
- package/types/cosmos/protocolpool/v1/query.lcd.ts +37 -0
- package/types/cosmos/protocolpool/v1/query.rpc.Query.ts +64 -0
- package/types/cosmos/protocolpool/v1/query.ts +761 -0
- package/types/cosmos/protocolpool/v1/tx.amino.ts +29 -0
- package/types/cosmos/protocolpool/v1/tx.registry.ts +107 -0
- package/types/cosmos/protocolpool/v1/tx.rpc.msg.ts +69 -0
- package/types/cosmos/protocolpool/v1/tx.ts +1124 -0
- package/types/cosmos/protocolpool/v1/types.ts +268 -0
- package/types/cosmos/query/v1/query.ts +1 -0
- package/types/cosmos/reflection/v1/reflection.ts +178 -0
- package/types/cosmos/rpc.query.ts +90 -0
- package/types/cosmos/rpc.tx.ts +71 -0
- package/types/cosmos/slashing/module/v1/module.ts +100 -0
- package/types/cosmos/slashing/v1beta1/genesis.ts +511 -0
- package/types/cosmos/slashing/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/slashing/v1beta1/query.rpc.Query.ts +55 -0
- package/types/cosmos/slashing/v1beta1/query.ts +606 -0
- package/types/cosmos/slashing/v1beta1/slashing.ts +371 -0
- package/types/cosmos/slashing/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/slashing/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/slashing/v1beta1/tx.rpc.msg.ts +36 -0
- package/types/cosmos/slashing/v1beta1/tx.ts +377 -0
- package/types/cosmos/staking/module/v1/module.ts +165 -0
- package/types/cosmos/staking/v1beta1/authz.ts +321 -0
- package/types/cosmos/staking/v1beta1/genesis.ts +370 -0
- package/types/cosmos/staking/v1beta1/query.lcd.ts +174 -0
- package/types/cosmos/staking/v1beta1/query.rpc.Query.ts +217 -0
- package/types/cosmos/staking/v1beta1/query.ts +3187 -0
- package/types/cosmos/staking/v1beta1/staking.ts +3193 -0
- package/types/cosmos/staking/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/staking/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/staking/v1beta1/tx.rpc.msg.ts +84 -0
- package/types/cosmos/staking/v1beta1/tx.ts +1642 -0
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +208 -0
- package/types/cosmos/store/snapshots/v1/snapshot.ts +840 -0
- package/types/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/types/cosmos/store/v1beta1/commit_info.ts +369 -0
- package/types/cosmos/store/v1beta1/listening.ts +296 -0
- package/types/cosmos/tx/config/v1/config.ts +127 -0
- package/types/cosmos/tx/signing/v1beta1/signing.ts +713 -0
- package/types/cosmos/tx/v1beta1/service.lcd.ts +59 -0
- package/types/cosmos/tx/v1beta1/service.rpc.Service.ts +119 -0
- package/types/cosmos/tx/v1beta1/service.ts +2319 -0
- package/types/cosmos/tx/v1beta1/tx.ts +2168 -0
- package/types/cosmos/upgrade/module/v1/module.ts +100 -0
- package/types/cosmos/upgrade/v1beta1/query.lcd.ts +54 -0
- package/types/cosmos/upgrade/v1beta1/query.rpc.Query.ts +82 -0
- package/types/cosmos/upgrade/v1beta1/query.ts +1004 -0
- package/types/cosmos/upgrade/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/upgrade/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/upgrade/v1beta1/tx.ts +368 -0
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +623 -0
- package/types/cosmos/vesting/module/v1/module.ts +77 -0
- package/types/cosmos/vesting/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/vesting/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/vesting/v1beta1/tx.rpc.msg.ts +46 -0
- package/types/cosmos/vesting/v1beta1/tx.ts +688 -0
- package/types/cosmos/vesting/v1beta1/vesting.ts +751 -0
- package/types/cosmos_proto/bundle.ts +5 -0
- package/types/cosmos_proto/cosmos.ts +355 -0
- package/types/cosmwasm/bundle.ts +39 -0
- package/types/cosmwasm/client.ts +48 -0
- package/types/cosmwasm/lcd.ts +132 -0
- package/types/cosmwasm/rpc.query.ts +95 -0
- package/types/cosmwasm/rpc.tx.ts +76 -0
- package/types/cosmwasm/wasm/v1/authz.ts +1409 -0
- package/types/cosmwasm/wasm/v1/genesis.ts +544 -0
- package/types/cosmwasm/wasm/v1/ibc.ts +437 -0
- package/types/cosmwasm/wasm/v1/proposal_legacy.ts +2711 -0
- package/types/cosmwasm/wasm/v1/query.lcd.ts +154 -0
- package/types/cosmwasm/wasm/v1/query.rpc.Query.ts +181 -0
- package/types/cosmwasm/wasm/v1/query.ts +3339 -0
- package/types/cosmwasm/wasm/v1/tx.amino.ts +89 -0
- package/types/cosmwasm/wasm/v1/tx.registry.ts +323 -0
- package/types/cosmwasm/wasm/v1/tx.rpc.msg.ts +197 -0
- package/types/cosmwasm/wasm/v1/tx.ts +4403 -0
- package/types/cosmwasm/wasm/v1/types.ts +1193 -0
- package/types/gogoproto/bundle.ts +5 -0
- package/types/gogoproto/gogo.ts +1 -0
- package/types/google/api/annotations.ts +1 -0
- package/types/google/api/apikeys/v2/apikeys.ts +1245 -0
- package/types/google/api/apikeys/v2/resources.ts +1268 -0
- package/types/google/api/auth.ts +1175 -0
- package/types/google/api/backend.ts +691 -0
- package/types/google/api/billing.ts +333 -0
- package/types/google/api/client.ts +3100 -0
- package/types/google/api/cloudquotas/v1/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1/resources.ts +2065 -0
- package/types/google/api/cloudquotas/v1beta/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1beta/quota_adjuster_settings.ts +509 -0
- package/types/google/api/cloudquotas/v1beta/resources.ts +2069 -0
- package/types/google/api/config_change.ts +385 -0
- package/types/google/api/consumer.ts +362 -0
- package/types/google/api/context.ts +418 -0
- package/types/google/api/control.ts +141 -0
- package/types/google/api/distribution.ts +1253 -0
- package/types/google/api/documentation.ts +738 -0
- package/types/google/api/endpoint.ts +245 -0
- package/types/google/api/error_reason.ts +816 -0
- package/types/google/api/expr/conformance/v1alpha1/conformance_service.ts +1293 -0
- package/types/google/api/expr/v1alpha1/checked.ts +2259 -0
- package/types/google/api/expr/v1alpha1/eval.ts +675 -0
- package/types/google/api/expr/v1alpha1/explain.ts +257 -0
- package/types/google/api/expr/v1alpha1/syntax.ts +2983 -0
- package/types/google/api/expr/v1alpha1/value.ts +771 -0
- package/types/google/api/expr/v1beta1/decl.ts +563 -0
- package/types/google/api/expr/v1beta1/eval.ts +758 -0
- package/types/google/api/expr/v1beta1/expr.ts +1750 -0
- package/types/google/api/expr/v1beta1/source.ts +446 -0
- package/types/google/api/expr/v1beta1/value.ts +771 -0
- package/types/google/api/field_behavior.ts +136 -0
- package/types/google/api/field_info.ts +319 -0
- package/types/google/api/http.ts +1362 -0
- package/types/google/api/httpbody.ts +270 -0
- package/types/google/api/label.ts +174 -0
- package/types/google/api/launch_stage.ts +112 -0
- package/types/google/api/log.ts +201 -0
- package/types/google/api/logging.ts +355 -0
- package/types/google/api/metric.ts +1174 -0
- package/types/google/api/monitored_resource.ts +841 -0
- package/types/google/api/monitoring.ts +430 -0
- package/types/google/api/policy.ts +314 -0
- package/types/google/api/quota.ts +1040 -0
- package/types/google/api/resource.ts +769 -0
- package/types/google/api/routing.ts +1405 -0
- package/types/google/api/service.ts +790 -0
- package/types/google/api/servicecontrol/v1/check_error.ts +366 -0
- package/types/google/api/servicecontrol/v1/distribution.ts +773 -0
- package/types/google/api/servicecontrol/v1/http_request.ts +427 -0
- package/types/google/api/servicecontrol/v1/log_entry.ts +804 -0
- package/types/google/api/servicecontrol/v1/metric_value.ts +499 -0
- package/types/google/api/servicecontrol/v1/operation.ts +544 -0
- package/types/google/api/servicecontrol/v1/quota_controller.ts +1041 -0
- package/types/google/api/servicecontrol/v1/service_controller.ts +1164 -0
- package/types/google/api/servicecontrol/v2/service_controller.ts +949 -0
- package/types/google/api/servicemanagement/v1/resources.ts +1888 -0
- package/types/google/api/servicemanagement/v1/servicemanager.ts +2444 -0
- package/types/google/api/serviceusage/v1/resources.ts +629 -0
- package/types/google/api/serviceusage/v1/serviceusage.ts +1530 -0
- package/types/google/api/serviceusage/v1beta1/resources.ts +2972 -0
- package/types/google/api/serviceusage/v1beta1/serviceusage.ts +4567 -0
- package/types/google/api/source_info.ts +97 -0
- package/types/google/api/system_parameter.ts +461 -0
- package/types/google/api/usage.ts +404 -0
- package/types/google/api/visibility.ts +328 -0
- package/types/google/bundle.ts +115 -0
- package/types/google/logging/type/log_severity.ts +104 -0
- package/types/google/longrunning/operations.ts +1153 -0
- package/types/google/protobuf/any.ts +424 -0
- package/types/google/protobuf/api.ts +942 -0
- package/types/google/protobuf/descriptor.ts +7801 -0
- package/types/google/protobuf/duration.ts +284 -0
- package/types/google/protobuf/empty.ts +93 -0
- package/types/google/protobuf/field_mask.ts +694 -0
- package/types/google/protobuf/source_context.ts +105 -0
- package/types/google/protobuf/struct.ts +584 -0
- package/types/google/protobuf/timestamp.ts +373 -0
- package/types/google/protobuf/type.ts +1279 -0
- package/types/google/protobuf/wrappers.ts +1002 -0
- package/types/google/rpc/code.ts +286 -0
- package/types/google/rpc/context/attribute_context.ts +2517 -0
- package/types/google/rpc/context/audit_context.ts +188 -0
- package/types/google/rpc/error_details.ts +2467 -0
- package/types/google/rpc/http.ts +424 -0
- package/types/google/rpc/status.ts +173 -0
- package/types/helpers.ts +259 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +107 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +25 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +42 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +19 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +71 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +692 -0
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +675 -0
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +261 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +19 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +31 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +176 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +440 -0
- package/types/ibc/applications/interchain_accounts/v1/account.ts +115 -0
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +206 -0
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +262 -0
- package/types/ibc/applications/transfer/v1/authz.ts +297 -0
- package/types/ibc/applications/transfer/v1/denomtrace.ts +133 -0
- package/types/ibc/applications/transfer/v1/genesis.ts +156 -0
- package/types/ibc/applications/transfer/v1/packet.ts +186 -0
- package/types/ibc/applications/transfer/v1/query.lcd.ts +76 -0
- package/types/ibc/applications/transfer/v1/query.rpc.Query.ts +88 -0
- package/types/ibc/applications/transfer/v1/query.ts +1233 -0
- package/types/ibc/applications/transfer/v1/token.ts +347 -0
- package/types/ibc/applications/transfer/v1/transfer.ts +140 -0
- package/types/ibc/applications/transfer/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/transfer/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/transfer/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/transfer/v1/tx.ts +579 -0
- package/types/ibc/bundle.ts +265 -0
- package/types/ibc/client.ts +72 -0
- package/types/ibc/core/channel/v1/channel.ts +1455 -0
- package/types/ibc/core/channel/v1/genesis.ts +351 -0
- package/types/ibc/core/channel/v1/query.lcd.ts +135 -0
- package/types/ibc/core/channel/v1/query.rpc.Query.ts +200 -0
- package/types/ibc/core/channel/v1/query.ts +3943 -0
- package/types/ibc/core/channel/v1/tx.amino.ts +54 -0
- package/types/ibc/core/channel/v1/tx.registry.ts +197 -0
- package/types/ibc/core/channel/v1/tx.rpc.msg.ts +96 -0
- package/types/ibc/core/channel/v1/tx.ts +2558 -0
- package/types/ibc/core/channel/v2/genesis.ts +433 -0
- package/types/ibc/core/channel/v2/packet.ts +640 -0
- package/types/ibc/core/channel/v2/query.lcd.ts +77 -0
- package/types/ibc/core/channel/v2/query.rpc.Query.ts +108 -0
- package/types/ibc/core/channel/v2/query.ts +2075 -0
- package/types/ibc/core/channel/v2/tx.amino.ts +24 -0
- package/types/ibc/core/channel/v2/tx.registry.ts +89 -0
- package/types/ibc/core/channel/v2/tx.rpc.msg.ts +45 -0
- package/types/ibc/core/channel/v2/tx.ts +1003 -0
- package/types/ibc/core/client/v1/client.ts +636 -0
- package/types/ibc/core/client/v1/genesis.ts +448 -0
- package/types/ibc/core/client/v1/query.lcd.ts +102 -0
- package/types/ibc/core/client/v1/query.rpc.Query.ts +149 -0
- package/types/ibc/core/client/v1/query.ts +2588 -0
- package/types/ibc/core/client/v1/tx.amino.ts +44 -0
- package/types/ibc/core/client/v1/tx.registry.ts +161 -0
- package/types/ibc/core/client/v1/tx.rpc.msg.ts +77 -0
- package/types/ibc/core/client/v1/tx.ts +1796 -0
- package/types/ibc/core/client/v2/config.ts +115 -0
- package/types/ibc/core/client/v2/counterparty.ts +122 -0
- package/types/ibc/core/client/v2/genesis.ts +220 -0
- package/types/ibc/core/client/v2/query.lcd.ts +25 -0
- package/types/ibc/core/client/v2/query.rpc.Query.ts +42 -0
- package/types/ibc/core/client/v2/query.ts +402 -0
- package/types/ibc/core/client/v2/tx.amino.ts +14 -0
- package/types/ibc/core/client/v2/tx.registry.ts +53 -0
- package/types/ibc/core/client/v2/tx.rpc.msg.ts +29 -0
- package/types/ibc/core/client/v2/tx.ts +453 -0
- package/types/ibc/core/commitment/v1/commitment.ts +321 -0
- package/types/ibc/core/commitment/v2/commitment.ts +193 -0
- package/types/ibc/core/connection/v1/connection.ts +1056 -0
- package/types/ibc/core/connection/v1/genesis.ts +150 -0
- package/types/ibc/core/connection/v1/query.lcd.ts +61 -0
- package/types/ibc/core/connection/v1/query.rpc.Query.ts +97 -0
- package/types/ibc/core/connection/v1/query.ts +1472 -0
- package/types/ibc/core/connection/v1/tx.amino.ts +29 -0
- package/types/ibc/core/connection/v1/tx.registry.ts +107 -0
- package/types/ibc/core/connection/v1/tx.rpc.msg.ts +59 -0
- package/types/ibc/core/connection/v1/tx.ts +1456 -0
- package/types/ibc/core/types/v1/genesis.ts +191 -0
- package/types/ibc/lcd.ts +176 -0
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +2161 -0
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +1114 -0
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +891 -0
- package/types/ibc/lightclients/wasm/v1/genesis.ts +201 -0
- package/types/ibc/lightclients/wasm/v1/query.lcd.ts +34 -0
- package/types/ibc/lightclients/wasm/v1/query.rpc.Query.ts +44 -0
- package/types/ibc/lightclients/wasm/v1/query.ts +413 -0
- package/types/ibc/lightclients/wasm/v1/tx.amino.ts +19 -0
- package/types/ibc/lightclients/wasm/v1/tx.registry.ts +71 -0
- package/types/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/lightclients/wasm/v1/tx.ts +640 -0
- package/types/ibc/lightclients/wasm/v1/wasm.ts +444 -0
- package/types/ibc/rpc.query.ts +123 -0
- package/types/ibc/rpc.tx.ts +104 -0
- package/types/index.ts +25 -0
- package/types/tendermint/abci/types.ts +6565 -0
- package/types/tendermint/bundle.ts +33 -0
- package/types/tendermint/crypto/keys.ts +106 -0
- package/types/tendermint/crypto/proof.ts +576 -0
- package/types/tendermint/p2p/types.ts +523 -0
- package/types/tendermint/types/block.ts +134 -0
- package/types/tendermint/types/evidence.ts +491 -0
- package/types/tendermint/types/params.ts +839 -0
- package/types/tendermint/types/types.ts +2266 -0
- package/types/tendermint/types/validator.ts +399 -0
- package/types/tendermint/version/types.ts +228 -0
- package/types/utf8.ts +149 -0
- package/types/varint.ts +489 -0
- package/types/xion/bundle.ts +117 -0
- package/types/xion/client.ts +57 -0
- package/types/xion/feeabs/v1beta1/epoch.ts +386 -0
- package/types/xion/feeabs/v1beta1/genesis.ts +136 -0
- package/types/xion/feeabs/v1beta1/osmosisibc.ts +868 -0
- package/types/xion/feeabs/v1beta1/params.ts +189 -0
- package/types/xion/feeabs/v1beta1/proposal.ts +593 -0
- package/types/xion/feeabs/v1beta1/query.lcd.ts +37 -0
- package/types/xion/feeabs/v1beta1/query.rpc.Query.ts +64 -0
- package/types/xion/feeabs/v1beta1/query.ts +732 -0
- package/types/xion/feeabs/v1beta1/tx.amino.ts +39 -0
- package/types/xion/feeabs/v1beta1/tx.registry.ts +143 -0
- package/types/xion/feeabs/v1beta1/tx.rpc.msg.ts +72 -0
- package/types/xion/feeabs/v1beta1/tx.ts +1261 -0
- package/types/xion/globalfee/v1/genesis.ts +249 -0
- package/types/xion/globalfee/v1/query.lcd.ts +19 -0
- package/types/xion/globalfee/v1/query.rpc.Query.ts +31 -0
- package/types/xion/globalfee/v1/query.ts +178 -0
- package/types/xion/jwk/v1/audience.ts +224 -0
- package/types/xion/jwk/v1/genesis.ts +117 -0
- package/types/xion/jwk/v1/params.ts +113 -0
- package/types/xion/jwk/v1/query.lcd.ts +52 -0
- package/types/xion/jwk/v1/query.rpc.Query.ts +77 -0
- package/types/xion/jwk/v1/query.ts +1697 -0
- package/types/xion/jwk/v1/tx.amino.ts +29 -0
- package/types/xion/jwk/v1/tx.registry.ts +107 -0
- package/types/xion/jwk/v1/tx.rpc.msg.ts +53 -0
- package/types/xion/jwk/v1/tx.ts +1040 -0
- package/types/xion/lcd.ts +147 -0
- package/types/xion/mint/v1/event.ts +216 -0
- package/types/xion/mint/v1/genesis.ts +114 -0
- package/types/xion/mint/v1/mint.ts +307 -0
- package/types/xion/mint/v1/query.lcd.ts +31 -0
- package/types/xion/mint/v1/query.rpc.Query.ts +53 -0
- package/types/xion/mint/v1/query.ts +508 -0
- package/types/xion/mint/v1/tx.amino.ts +9 -0
- package/types/xion/mint/v1/tx.registry.ts +35 -0
- package/types/xion/mint/v1/tx.rpc.msg.ts +26 -0
- package/types/xion/mint/v1/tx.ts +222 -0
- package/types/xion/rpc.query.ts +105 -0
- package/types/xion/rpc.tx.ts +83 -0
- package/types/xion/v1/feegrant.ts +457 -0
- package/types/xion/v1/genesis.ts +116 -0
- package/types/xion/v1/query.rpc.Query.ts +64 -0
- package/types/xion/v1/query.ts +862 -0
- package/types/xion/v1/tx.amino.ts +24 -0
- package/types/xion/v1/tx.registry.ts +89 -0
- package/types/xion/v1/tx.rpc.msg.ts +57 -0
- package/types/xion/v1/tx.ts +793 -0
|
@@ -0,0 +1,2588 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
+
import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightAmino, ConsensusStateWithHeightSDKType, Params, ParamsAmino, ParamsSDKType } from "./client";
|
|
4
|
+
import { MerklePath, MerklePathAmino, MerklePathSDKType } from "../../commitment/v2/commitment";
|
|
5
|
+
import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any";
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
7
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
8
|
+
/**
|
|
9
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
10
|
+
* method
|
|
11
|
+
*/
|
|
12
|
+
export interface QueryClientStateRequest {
|
|
13
|
+
/** client state unique identifier */
|
|
14
|
+
clientId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface QueryClientStateRequestProtoMsg {
|
|
17
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateRequest";
|
|
18
|
+
value: Uint8Array;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
22
|
+
* method
|
|
23
|
+
* @name QueryClientStateRequestAmino
|
|
24
|
+
* @package ibc.core.client.v1
|
|
25
|
+
* @see proto type: ibc.core.client.v1.QueryClientStateRequest
|
|
26
|
+
*/
|
|
27
|
+
export interface QueryClientStateRequestAmino {
|
|
28
|
+
/**
|
|
29
|
+
* client state unique identifier
|
|
30
|
+
*/
|
|
31
|
+
client_id?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface QueryClientStateRequestAminoMsg {
|
|
34
|
+
type: "cosmos-sdk/QueryClientStateRequest";
|
|
35
|
+
value: QueryClientStateRequestAmino;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
39
|
+
* method
|
|
40
|
+
*/
|
|
41
|
+
export interface QueryClientStateRequestSDKType {
|
|
42
|
+
client_id: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
46
|
+
* method. Besides the client state, it includes a proof and the height from
|
|
47
|
+
* which the proof was retrieved.
|
|
48
|
+
*/
|
|
49
|
+
export interface QueryClientStateResponse {
|
|
50
|
+
/** client state associated with the request identifier */
|
|
51
|
+
clientState?: Any;
|
|
52
|
+
/** merkle proof of existence */
|
|
53
|
+
proof: Uint8Array;
|
|
54
|
+
/** height at which the proof was retrieved */
|
|
55
|
+
proofHeight: Height;
|
|
56
|
+
}
|
|
57
|
+
export interface QueryClientStateResponseProtoMsg {
|
|
58
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateResponse";
|
|
59
|
+
value: Uint8Array;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
63
|
+
* method. Besides the client state, it includes a proof and the height from
|
|
64
|
+
* which the proof was retrieved.
|
|
65
|
+
* @name QueryClientStateResponseAmino
|
|
66
|
+
* @package ibc.core.client.v1
|
|
67
|
+
* @see proto type: ibc.core.client.v1.QueryClientStateResponse
|
|
68
|
+
*/
|
|
69
|
+
export interface QueryClientStateResponseAmino {
|
|
70
|
+
/**
|
|
71
|
+
* client state associated with the request identifier
|
|
72
|
+
*/
|
|
73
|
+
client_state?: AnyAmino;
|
|
74
|
+
/**
|
|
75
|
+
* merkle proof of existence
|
|
76
|
+
*/
|
|
77
|
+
proof?: string;
|
|
78
|
+
/**
|
|
79
|
+
* height at which the proof was retrieved
|
|
80
|
+
*/
|
|
81
|
+
proof_height?: HeightAmino;
|
|
82
|
+
}
|
|
83
|
+
export interface QueryClientStateResponseAminoMsg {
|
|
84
|
+
type: "cosmos-sdk/QueryClientStateResponse";
|
|
85
|
+
value: QueryClientStateResponseAmino;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
89
|
+
* method. Besides the client state, it includes a proof and the height from
|
|
90
|
+
* which the proof was retrieved.
|
|
91
|
+
*/
|
|
92
|
+
export interface QueryClientStateResponseSDKType {
|
|
93
|
+
client_state?: AnySDKType;
|
|
94
|
+
proof: Uint8Array;
|
|
95
|
+
proof_height: HeightSDKType;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
99
|
+
* method
|
|
100
|
+
*/
|
|
101
|
+
export interface QueryClientStatesRequest {
|
|
102
|
+
/** pagination request */
|
|
103
|
+
pagination?: PageRequest;
|
|
104
|
+
}
|
|
105
|
+
export interface QueryClientStatesRequestProtoMsg {
|
|
106
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest";
|
|
107
|
+
value: Uint8Array;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
111
|
+
* method
|
|
112
|
+
* @name QueryClientStatesRequestAmino
|
|
113
|
+
* @package ibc.core.client.v1
|
|
114
|
+
* @see proto type: ibc.core.client.v1.QueryClientStatesRequest
|
|
115
|
+
*/
|
|
116
|
+
export interface QueryClientStatesRequestAmino {
|
|
117
|
+
/**
|
|
118
|
+
* pagination request
|
|
119
|
+
*/
|
|
120
|
+
pagination?: PageRequestAmino;
|
|
121
|
+
}
|
|
122
|
+
export interface QueryClientStatesRequestAminoMsg {
|
|
123
|
+
type: "cosmos-sdk/QueryClientStatesRequest";
|
|
124
|
+
value: QueryClientStatesRequestAmino;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
128
|
+
* method
|
|
129
|
+
*/
|
|
130
|
+
export interface QueryClientStatesRequestSDKType {
|
|
131
|
+
pagination?: PageRequestSDKType;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
135
|
+
* method.
|
|
136
|
+
*/
|
|
137
|
+
export interface QueryClientStatesResponse {
|
|
138
|
+
/** list of stored ClientStates of the chain. */
|
|
139
|
+
clientStates: IdentifiedClientState[];
|
|
140
|
+
/** pagination response */
|
|
141
|
+
pagination?: PageResponse;
|
|
142
|
+
}
|
|
143
|
+
export interface QueryClientStatesResponseProtoMsg {
|
|
144
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse";
|
|
145
|
+
value: Uint8Array;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
149
|
+
* method.
|
|
150
|
+
* @name QueryClientStatesResponseAmino
|
|
151
|
+
* @package ibc.core.client.v1
|
|
152
|
+
* @see proto type: ibc.core.client.v1.QueryClientStatesResponse
|
|
153
|
+
*/
|
|
154
|
+
export interface QueryClientStatesResponseAmino {
|
|
155
|
+
/**
|
|
156
|
+
* list of stored ClientStates of the chain.
|
|
157
|
+
*/
|
|
158
|
+
client_states?: IdentifiedClientStateAmino[];
|
|
159
|
+
/**
|
|
160
|
+
* pagination response
|
|
161
|
+
*/
|
|
162
|
+
pagination?: PageResponseAmino;
|
|
163
|
+
}
|
|
164
|
+
export interface QueryClientStatesResponseAminoMsg {
|
|
165
|
+
type: "cosmos-sdk/QueryClientStatesResponse";
|
|
166
|
+
value: QueryClientStatesResponseAmino;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
170
|
+
* method.
|
|
171
|
+
*/
|
|
172
|
+
export interface QueryClientStatesResponseSDKType {
|
|
173
|
+
client_states: IdentifiedClientStateSDKType[];
|
|
174
|
+
pagination?: PageResponseSDKType;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
178
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
179
|
+
* from which the proof was retrieved.
|
|
180
|
+
*/
|
|
181
|
+
export interface QueryConsensusStateRequest {
|
|
182
|
+
/** client identifier */
|
|
183
|
+
clientId: string;
|
|
184
|
+
/** consensus state revision number */
|
|
185
|
+
revisionNumber: bigint;
|
|
186
|
+
/** consensus state revision height */
|
|
187
|
+
revisionHeight: bigint;
|
|
188
|
+
/**
|
|
189
|
+
* latest_height overrides the height field and queries the latest stored
|
|
190
|
+
* ConsensusState
|
|
191
|
+
*/
|
|
192
|
+
latestHeight: boolean;
|
|
193
|
+
}
|
|
194
|
+
export interface QueryConsensusStateRequestProtoMsg {
|
|
195
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest";
|
|
196
|
+
value: Uint8Array;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
200
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
201
|
+
* from which the proof was retrieved.
|
|
202
|
+
* @name QueryConsensusStateRequestAmino
|
|
203
|
+
* @package ibc.core.client.v1
|
|
204
|
+
* @see proto type: ibc.core.client.v1.QueryConsensusStateRequest
|
|
205
|
+
*/
|
|
206
|
+
export interface QueryConsensusStateRequestAmino {
|
|
207
|
+
/**
|
|
208
|
+
* client identifier
|
|
209
|
+
*/
|
|
210
|
+
client_id?: string;
|
|
211
|
+
/**
|
|
212
|
+
* consensus state revision number
|
|
213
|
+
*/
|
|
214
|
+
revision_number?: string;
|
|
215
|
+
/**
|
|
216
|
+
* consensus state revision height
|
|
217
|
+
*/
|
|
218
|
+
revision_height?: string;
|
|
219
|
+
/**
|
|
220
|
+
* latest_height overrides the height field and queries the latest stored
|
|
221
|
+
* ConsensusState
|
|
222
|
+
*/
|
|
223
|
+
latest_height?: boolean;
|
|
224
|
+
}
|
|
225
|
+
export interface QueryConsensusStateRequestAminoMsg {
|
|
226
|
+
type: "cosmos-sdk/QueryConsensusStateRequest";
|
|
227
|
+
value: QueryConsensusStateRequestAmino;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
231
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
232
|
+
* from which the proof was retrieved.
|
|
233
|
+
*/
|
|
234
|
+
export interface QueryConsensusStateRequestSDKType {
|
|
235
|
+
client_id: string;
|
|
236
|
+
revision_number: bigint;
|
|
237
|
+
revision_height: bigint;
|
|
238
|
+
latest_height: boolean;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
242
|
+
* RPC method
|
|
243
|
+
*/
|
|
244
|
+
export interface QueryConsensusStateResponse {
|
|
245
|
+
/** consensus state associated with the client identifier at the given height */
|
|
246
|
+
consensusState?: Any;
|
|
247
|
+
/** merkle proof of existence */
|
|
248
|
+
proof: Uint8Array;
|
|
249
|
+
/** height at which the proof was retrieved */
|
|
250
|
+
proofHeight: Height;
|
|
251
|
+
}
|
|
252
|
+
export interface QueryConsensusStateResponseProtoMsg {
|
|
253
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse";
|
|
254
|
+
value: Uint8Array;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
258
|
+
* RPC method
|
|
259
|
+
* @name QueryConsensusStateResponseAmino
|
|
260
|
+
* @package ibc.core.client.v1
|
|
261
|
+
* @see proto type: ibc.core.client.v1.QueryConsensusStateResponse
|
|
262
|
+
*/
|
|
263
|
+
export interface QueryConsensusStateResponseAmino {
|
|
264
|
+
/**
|
|
265
|
+
* consensus state associated with the client identifier at the given height
|
|
266
|
+
*/
|
|
267
|
+
consensus_state?: AnyAmino;
|
|
268
|
+
/**
|
|
269
|
+
* merkle proof of existence
|
|
270
|
+
*/
|
|
271
|
+
proof?: string;
|
|
272
|
+
/**
|
|
273
|
+
* height at which the proof was retrieved
|
|
274
|
+
*/
|
|
275
|
+
proof_height?: HeightAmino;
|
|
276
|
+
}
|
|
277
|
+
export interface QueryConsensusStateResponseAminoMsg {
|
|
278
|
+
type: "cosmos-sdk/QueryConsensusStateResponse";
|
|
279
|
+
value: QueryConsensusStateResponseAmino;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
283
|
+
* RPC method
|
|
284
|
+
*/
|
|
285
|
+
export interface QueryConsensusStateResponseSDKType {
|
|
286
|
+
consensus_state?: AnySDKType;
|
|
287
|
+
proof: Uint8Array;
|
|
288
|
+
proof_height: HeightSDKType;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
292
|
+
* RPC method.
|
|
293
|
+
*/
|
|
294
|
+
export interface QueryConsensusStatesRequest {
|
|
295
|
+
/** client identifier */
|
|
296
|
+
clientId: string;
|
|
297
|
+
/** pagination request */
|
|
298
|
+
pagination?: PageRequest;
|
|
299
|
+
}
|
|
300
|
+
export interface QueryConsensusStatesRequestProtoMsg {
|
|
301
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest";
|
|
302
|
+
value: Uint8Array;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
306
|
+
* RPC method.
|
|
307
|
+
* @name QueryConsensusStatesRequestAmino
|
|
308
|
+
* @package ibc.core.client.v1
|
|
309
|
+
* @see proto type: ibc.core.client.v1.QueryConsensusStatesRequest
|
|
310
|
+
*/
|
|
311
|
+
export interface QueryConsensusStatesRequestAmino {
|
|
312
|
+
/**
|
|
313
|
+
* client identifier
|
|
314
|
+
*/
|
|
315
|
+
client_id?: string;
|
|
316
|
+
/**
|
|
317
|
+
* pagination request
|
|
318
|
+
*/
|
|
319
|
+
pagination?: PageRequestAmino;
|
|
320
|
+
}
|
|
321
|
+
export interface QueryConsensusStatesRequestAminoMsg {
|
|
322
|
+
type: "cosmos-sdk/QueryConsensusStatesRequest";
|
|
323
|
+
value: QueryConsensusStatesRequestAmino;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
327
|
+
* RPC method.
|
|
328
|
+
*/
|
|
329
|
+
export interface QueryConsensusStatesRequestSDKType {
|
|
330
|
+
client_id: string;
|
|
331
|
+
pagination?: PageRequestSDKType;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* QueryConsensusStatesResponse is the response type for the
|
|
335
|
+
* Query/ConsensusStates RPC method
|
|
336
|
+
*/
|
|
337
|
+
export interface QueryConsensusStatesResponse {
|
|
338
|
+
/** consensus states associated with the identifier */
|
|
339
|
+
consensusStates: ConsensusStateWithHeight[];
|
|
340
|
+
/** pagination response */
|
|
341
|
+
pagination?: PageResponse;
|
|
342
|
+
}
|
|
343
|
+
export interface QueryConsensusStatesResponseProtoMsg {
|
|
344
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse";
|
|
345
|
+
value: Uint8Array;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* QueryConsensusStatesResponse is the response type for the
|
|
349
|
+
* Query/ConsensusStates RPC method
|
|
350
|
+
* @name QueryConsensusStatesResponseAmino
|
|
351
|
+
* @package ibc.core.client.v1
|
|
352
|
+
* @see proto type: ibc.core.client.v1.QueryConsensusStatesResponse
|
|
353
|
+
*/
|
|
354
|
+
export interface QueryConsensusStatesResponseAmino {
|
|
355
|
+
/**
|
|
356
|
+
* consensus states associated with the identifier
|
|
357
|
+
*/
|
|
358
|
+
consensus_states?: ConsensusStateWithHeightAmino[];
|
|
359
|
+
/**
|
|
360
|
+
* pagination response
|
|
361
|
+
*/
|
|
362
|
+
pagination?: PageResponseAmino;
|
|
363
|
+
}
|
|
364
|
+
export interface QueryConsensusStatesResponseAminoMsg {
|
|
365
|
+
type: "cosmos-sdk/QueryConsensusStatesResponse";
|
|
366
|
+
value: QueryConsensusStatesResponseAmino;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* QueryConsensusStatesResponse is the response type for the
|
|
370
|
+
* Query/ConsensusStates RPC method
|
|
371
|
+
*/
|
|
372
|
+
export interface QueryConsensusStatesResponseSDKType {
|
|
373
|
+
consensus_states: ConsensusStateWithHeightSDKType[];
|
|
374
|
+
pagination?: PageResponseSDKType;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights
|
|
378
|
+
* RPC method.
|
|
379
|
+
*/
|
|
380
|
+
export interface QueryConsensusStateHeightsRequest {
|
|
381
|
+
/** client identifier */
|
|
382
|
+
clientId: string;
|
|
383
|
+
/** pagination request */
|
|
384
|
+
pagination?: PageRequest;
|
|
385
|
+
}
|
|
386
|
+
export interface QueryConsensusStateHeightsRequestProtoMsg {
|
|
387
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsRequest";
|
|
388
|
+
value: Uint8Array;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights
|
|
392
|
+
* RPC method.
|
|
393
|
+
* @name QueryConsensusStateHeightsRequestAmino
|
|
394
|
+
* @package ibc.core.client.v1
|
|
395
|
+
* @see proto type: ibc.core.client.v1.QueryConsensusStateHeightsRequest
|
|
396
|
+
*/
|
|
397
|
+
export interface QueryConsensusStateHeightsRequestAmino {
|
|
398
|
+
/**
|
|
399
|
+
* client identifier
|
|
400
|
+
*/
|
|
401
|
+
client_id?: string;
|
|
402
|
+
/**
|
|
403
|
+
* pagination request
|
|
404
|
+
*/
|
|
405
|
+
pagination?: PageRequestAmino;
|
|
406
|
+
}
|
|
407
|
+
export interface QueryConsensusStateHeightsRequestAminoMsg {
|
|
408
|
+
type: "cosmos-sdk/QueryConsensusStateHeightsRequest";
|
|
409
|
+
value: QueryConsensusStateHeightsRequestAmino;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights
|
|
413
|
+
* RPC method.
|
|
414
|
+
*/
|
|
415
|
+
export interface QueryConsensusStateHeightsRequestSDKType {
|
|
416
|
+
client_id: string;
|
|
417
|
+
pagination?: PageRequestSDKType;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* QueryConsensusStateHeightsResponse is the response type for the
|
|
421
|
+
* Query/ConsensusStateHeights RPC method
|
|
422
|
+
*/
|
|
423
|
+
export interface QueryConsensusStateHeightsResponse {
|
|
424
|
+
/** consensus state heights */
|
|
425
|
+
consensusStateHeights: Height[];
|
|
426
|
+
/** pagination response */
|
|
427
|
+
pagination?: PageResponse;
|
|
428
|
+
}
|
|
429
|
+
export interface QueryConsensusStateHeightsResponseProtoMsg {
|
|
430
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsResponse";
|
|
431
|
+
value: Uint8Array;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* QueryConsensusStateHeightsResponse is the response type for the
|
|
435
|
+
* Query/ConsensusStateHeights RPC method
|
|
436
|
+
* @name QueryConsensusStateHeightsResponseAmino
|
|
437
|
+
* @package ibc.core.client.v1
|
|
438
|
+
* @see proto type: ibc.core.client.v1.QueryConsensusStateHeightsResponse
|
|
439
|
+
*/
|
|
440
|
+
export interface QueryConsensusStateHeightsResponseAmino {
|
|
441
|
+
/**
|
|
442
|
+
* consensus state heights
|
|
443
|
+
*/
|
|
444
|
+
consensus_state_heights?: HeightAmino[];
|
|
445
|
+
/**
|
|
446
|
+
* pagination response
|
|
447
|
+
*/
|
|
448
|
+
pagination?: PageResponseAmino;
|
|
449
|
+
}
|
|
450
|
+
export interface QueryConsensusStateHeightsResponseAminoMsg {
|
|
451
|
+
type: "cosmos-sdk/QueryConsensusStateHeightsResponse";
|
|
452
|
+
value: QueryConsensusStateHeightsResponseAmino;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* QueryConsensusStateHeightsResponse is the response type for the
|
|
456
|
+
* Query/ConsensusStateHeights RPC method
|
|
457
|
+
*/
|
|
458
|
+
export interface QueryConsensusStateHeightsResponseSDKType {
|
|
459
|
+
consensus_state_heights: HeightSDKType[];
|
|
460
|
+
pagination?: PageResponseSDKType;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
464
|
+
* method
|
|
465
|
+
*/
|
|
466
|
+
export interface QueryClientStatusRequest {
|
|
467
|
+
/** client unique identifier */
|
|
468
|
+
clientId: string;
|
|
469
|
+
}
|
|
470
|
+
export interface QueryClientStatusRequestProtoMsg {
|
|
471
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest";
|
|
472
|
+
value: Uint8Array;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
476
|
+
* method
|
|
477
|
+
* @name QueryClientStatusRequestAmino
|
|
478
|
+
* @package ibc.core.client.v1
|
|
479
|
+
* @see proto type: ibc.core.client.v1.QueryClientStatusRequest
|
|
480
|
+
*/
|
|
481
|
+
export interface QueryClientStatusRequestAmino {
|
|
482
|
+
/**
|
|
483
|
+
* client unique identifier
|
|
484
|
+
*/
|
|
485
|
+
client_id?: string;
|
|
486
|
+
}
|
|
487
|
+
export interface QueryClientStatusRequestAminoMsg {
|
|
488
|
+
type: "cosmos-sdk/QueryClientStatusRequest";
|
|
489
|
+
value: QueryClientStatusRequestAmino;
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
493
|
+
* method
|
|
494
|
+
*/
|
|
495
|
+
export interface QueryClientStatusRequestSDKType {
|
|
496
|
+
client_id: string;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
500
|
+
* method. It returns the current status of the IBC client.
|
|
501
|
+
*/
|
|
502
|
+
export interface QueryClientStatusResponse {
|
|
503
|
+
status: string;
|
|
504
|
+
}
|
|
505
|
+
export interface QueryClientStatusResponseProtoMsg {
|
|
506
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse";
|
|
507
|
+
value: Uint8Array;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
511
|
+
* method. It returns the current status of the IBC client.
|
|
512
|
+
* @name QueryClientStatusResponseAmino
|
|
513
|
+
* @package ibc.core.client.v1
|
|
514
|
+
* @see proto type: ibc.core.client.v1.QueryClientStatusResponse
|
|
515
|
+
*/
|
|
516
|
+
export interface QueryClientStatusResponseAmino {
|
|
517
|
+
status?: string;
|
|
518
|
+
}
|
|
519
|
+
export interface QueryClientStatusResponseAminoMsg {
|
|
520
|
+
type: "cosmos-sdk/QueryClientStatusResponse";
|
|
521
|
+
value: QueryClientStatusResponseAmino;
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
525
|
+
* method. It returns the current status of the IBC client.
|
|
526
|
+
*/
|
|
527
|
+
export interface QueryClientStatusResponseSDKType {
|
|
528
|
+
status: string;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
532
|
+
* method.
|
|
533
|
+
*/
|
|
534
|
+
export interface QueryClientParamsRequest {}
|
|
535
|
+
export interface QueryClientParamsRequestProtoMsg {
|
|
536
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest";
|
|
537
|
+
value: Uint8Array;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
541
|
+
* method.
|
|
542
|
+
* @name QueryClientParamsRequestAmino
|
|
543
|
+
* @package ibc.core.client.v1
|
|
544
|
+
* @see proto type: ibc.core.client.v1.QueryClientParamsRequest
|
|
545
|
+
*/
|
|
546
|
+
export interface QueryClientParamsRequestAmino {}
|
|
547
|
+
export interface QueryClientParamsRequestAminoMsg {
|
|
548
|
+
type: "cosmos-sdk/QueryClientParamsRequest";
|
|
549
|
+
value: QueryClientParamsRequestAmino;
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
553
|
+
* method.
|
|
554
|
+
*/
|
|
555
|
+
export interface QueryClientParamsRequestSDKType {}
|
|
556
|
+
/**
|
|
557
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
558
|
+
* method.
|
|
559
|
+
*/
|
|
560
|
+
export interface QueryClientParamsResponse {
|
|
561
|
+
/** params defines the parameters of the module. */
|
|
562
|
+
params?: Params;
|
|
563
|
+
}
|
|
564
|
+
export interface QueryClientParamsResponseProtoMsg {
|
|
565
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse";
|
|
566
|
+
value: Uint8Array;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
570
|
+
* method.
|
|
571
|
+
* @name QueryClientParamsResponseAmino
|
|
572
|
+
* @package ibc.core.client.v1
|
|
573
|
+
* @see proto type: ibc.core.client.v1.QueryClientParamsResponse
|
|
574
|
+
*/
|
|
575
|
+
export interface QueryClientParamsResponseAmino {
|
|
576
|
+
/**
|
|
577
|
+
* params defines the parameters of the module.
|
|
578
|
+
*/
|
|
579
|
+
params?: ParamsAmino;
|
|
580
|
+
}
|
|
581
|
+
export interface QueryClientParamsResponseAminoMsg {
|
|
582
|
+
type: "cosmos-sdk/QueryClientParamsResponse";
|
|
583
|
+
value: QueryClientParamsResponseAmino;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
587
|
+
* method.
|
|
588
|
+
*/
|
|
589
|
+
export interface QueryClientParamsResponseSDKType {
|
|
590
|
+
params?: ParamsSDKType;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* QueryClientCreatorRequest is the request type for the Query/ClientCreator RPC
|
|
594
|
+
* method.
|
|
595
|
+
*/
|
|
596
|
+
export interface QueryClientCreatorRequest {
|
|
597
|
+
/** client unique identifier */
|
|
598
|
+
clientId: string;
|
|
599
|
+
}
|
|
600
|
+
export interface QueryClientCreatorRequestProtoMsg {
|
|
601
|
+
typeUrl: "/ibc.core.client.v1.QueryClientCreatorRequest";
|
|
602
|
+
value: Uint8Array;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* QueryClientCreatorRequest is the request type for the Query/ClientCreator RPC
|
|
606
|
+
* method.
|
|
607
|
+
* @name QueryClientCreatorRequestAmino
|
|
608
|
+
* @package ibc.core.client.v1
|
|
609
|
+
* @see proto type: ibc.core.client.v1.QueryClientCreatorRequest
|
|
610
|
+
*/
|
|
611
|
+
export interface QueryClientCreatorRequestAmino {
|
|
612
|
+
/**
|
|
613
|
+
* client unique identifier
|
|
614
|
+
*/
|
|
615
|
+
client_id?: string;
|
|
616
|
+
}
|
|
617
|
+
export interface QueryClientCreatorRequestAminoMsg {
|
|
618
|
+
type: "cosmos-sdk/QueryClientCreatorRequest";
|
|
619
|
+
value: QueryClientCreatorRequestAmino;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* QueryClientCreatorRequest is the request type for the Query/ClientCreator RPC
|
|
623
|
+
* method.
|
|
624
|
+
*/
|
|
625
|
+
export interface QueryClientCreatorRequestSDKType {
|
|
626
|
+
client_id: string;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* QueryClientCreatorResponse is the response type for the Query/ClientCreator RPC
|
|
630
|
+
* method.
|
|
631
|
+
*/
|
|
632
|
+
export interface QueryClientCreatorResponse {
|
|
633
|
+
/** creator of the client */
|
|
634
|
+
creator: string;
|
|
635
|
+
}
|
|
636
|
+
export interface QueryClientCreatorResponseProtoMsg {
|
|
637
|
+
typeUrl: "/ibc.core.client.v1.QueryClientCreatorResponse";
|
|
638
|
+
value: Uint8Array;
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* QueryClientCreatorResponse is the response type for the Query/ClientCreator RPC
|
|
642
|
+
* method.
|
|
643
|
+
* @name QueryClientCreatorResponseAmino
|
|
644
|
+
* @package ibc.core.client.v1
|
|
645
|
+
* @see proto type: ibc.core.client.v1.QueryClientCreatorResponse
|
|
646
|
+
*/
|
|
647
|
+
export interface QueryClientCreatorResponseAmino {
|
|
648
|
+
/**
|
|
649
|
+
* creator of the client
|
|
650
|
+
*/
|
|
651
|
+
creator?: string;
|
|
652
|
+
}
|
|
653
|
+
export interface QueryClientCreatorResponseAminoMsg {
|
|
654
|
+
type: "cosmos-sdk/QueryClientCreatorResponse";
|
|
655
|
+
value: QueryClientCreatorResponseAmino;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* QueryClientCreatorResponse is the response type for the Query/ClientCreator RPC
|
|
659
|
+
* method.
|
|
660
|
+
*/
|
|
661
|
+
export interface QueryClientCreatorResponseSDKType {
|
|
662
|
+
creator: string;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
|
666
|
+
* Query/UpgradedClientState RPC method
|
|
667
|
+
*/
|
|
668
|
+
export interface QueryUpgradedClientStateRequest {}
|
|
669
|
+
export interface QueryUpgradedClientStateRequestProtoMsg {
|
|
670
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest";
|
|
671
|
+
value: Uint8Array;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
|
675
|
+
* Query/UpgradedClientState RPC method
|
|
676
|
+
* @name QueryUpgradedClientStateRequestAmino
|
|
677
|
+
* @package ibc.core.client.v1
|
|
678
|
+
* @see proto type: ibc.core.client.v1.QueryUpgradedClientStateRequest
|
|
679
|
+
*/
|
|
680
|
+
export interface QueryUpgradedClientStateRequestAmino {}
|
|
681
|
+
export interface QueryUpgradedClientStateRequestAminoMsg {
|
|
682
|
+
type: "cosmos-sdk/QueryUpgradedClientStateRequest";
|
|
683
|
+
value: QueryUpgradedClientStateRequestAmino;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
|
687
|
+
* Query/UpgradedClientState RPC method
|
|
688
|
+
*/
|
|
689
|
+
export interface QueryUpgradedClientStateRequestSDKType {}
|
|
690
|
+
/**
|
|
691
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
|
692
|
+
* Query/UpgradedClientState RPC method.
|
|
693
|
+
*/
|
|
694
|
+
export interface QueryUpgradedClientStateResponse {
|
|
695
|
+
/** client state associated with the request identifier */
|
|
696
|
+
upgradedClientState?: Any;
|
|
697
|
+
}
|
|
698
|
+
export interface QueryUpgradedClientStateResponseProtoMsg {
|
|
699
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse";
|
|
700
|
+
value: Uint8Array;
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
|
704
|
+
* Query/UpgradedClientState RPC method.
|
|
705
|
+
* @name QueryUpgradedClientStateResponseAmino
|
|
706
|
+
* @package ibc.core.client.v1
|
|
707
|
+
* @see proto type: ibc.core.client.v1.QueryUpgradedClientStateResponse
|
|
708
|
+
*/
|
|
709
|
+
export interface QueryUpgradedClientStateResponseAmino {
|
|
710
|
+
/**
|
|
711
|
+
* client state associated with the request identifier
|
|
712
|
+
*/
|
|
713
|
+
upgraded_client_state?: AnyAmino;
|
|
714
|
+
}
|
|
715
|
+
export interface QueryUpgradedClientStateResponseAminoMsg {
|
|
716
|
+
type: "cosmos-sdk/QueryUpgradedClientStateResponse";
|
|
717
|
+
value: QueryUpgradedClientStateResponseAmino;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
|
721
|
+
* Query/UpgradedClientState RPC method.
|
|
722
|
+
*/
|
|
723
|
+
export interface QueryUpgradedClientStateResponseSDKType {
|
|
724
|
+
upgraded_client_state?: AnySDKType;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
728
|
+
* Query/UpgradedConsensusState RPC method
|
|
729
|
+
*/
|
|
730
|
+
export interface QueryUpgradedConsensusStateRequest {}
|
|
731
|
+
export interface QueryUpgradedConsensusStateRequestProtoMsg {
|
|
732
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest";
|
|
733
|
+
value: Uint8Array;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
737
|
+
* Query/UpgradedConsensusState RPC method
|
|
738
|
+
* @name QueryUpgradedConsensusStateRequestAmino
|
|
739
|
+
* @package ibc.core.client.v1
|
|
740
|
+
* @see proto type: ibc.core.client.v1.QueryUpgradedConsensusStateRequest
|
|
741
|
+
*/
|
|
742
|
+
export interface QueryUpgradedConsensusStateRequestAmino {}
|
|
743
|
+
export interface QueryUpgradedConsensusStateRequestAminoMsg {
|
|
744
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateRequest";
|
|
745
|
+
value: QueryUpgradedConsensusStateRequestAmino;
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
749
|
+
* Query/UpgradedConsensusState RPC method
|
|
750
|
+
*/
|
|
751
|
+
export interface QueryUpgradedConsensusStateRequestSDKType {}
|
|
752
|
+
/**
|
|
753
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
754
|
+
* Query/UpgradedConsensusState RPC method.
|
|
755
|
+
*/
|
|
756
|
+
export interface QueryUpgradedConsensusStateResponse {
|
|
757
|
+
/** Consensus state associated with the request identifier */
|
|
758
|
+
upgradedConsensusState?: Any;
|
|
759
|
+
}
|
|
760
|
+
export interface QueryUpgradedConsensusStateResponseProtoMsg {
|
|
761
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse";
|
|
762
|
+
value: Uint8Array;
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
766
|
+
* Query/UpgradedConsensusState RPC method.
|
|
767
|
+
* @name QueryUpgradedConsensusStateResponseAmino
|
|
768
|
+
* @package ibc.core.client.v1
|
|
769
|
+
* @see proto type: ibc.core.client.v1.QueryUpgradedConsensusStateResponse
|
|
770
|
+
*/
|
|
771
|
+
export interface QueryUpgradedConsensusStateResponseAmino {
|
|
772
|
+
/**
|
|
773
|
+
* Consensus state associated with the request identifier
|
|
774
|
+
*/
|
|
775
|
+
upgraded_consensus_state?: AnyAmino;
|
|
776
|
+
}
|
|
777
|
+
export interface QueryUpgradedConsensusStateResponseAminoMsg {
|
|
778
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateResponse";
|
|
779
|
+
value: QueryUpgradedConsensusStateResponseAmino;
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
783
|
+
* Query/UpgradedConsensusState RPC method.
|
|
784
|
+
*/
|
|
785
|
+
export interface QueryUpgradedConsensusStateResponseSDKType {
|
|
786
|
+
upgraded_consensus_state?: AnySDKType;
|
|
787
|
+
}
|
|
788
|
+
/** QueryVerifyMembershipRequest is the request type for the Query/VerifyMembership RPC method */
|
|
789
|
+
export interface QueryVerifyMembershipRequest {
|
|
790
|
+
/** client unique identifier. */
|
|
791
|
+
clientId: string;
|
|
792
|
+
/** the proof to be verified by the client. */
|
|
793
|
+
proof: Uint8Array;
|
|
794
|
+
/** the height of the commitment root at which the proof is verified. */
|
|
795
|
+
proofHeight: Height;
|
|
796
|
+
/** the value which is proven. */
|
|
797
|
+
value: Uint8Array;
|
|
798
|
+
/** optional time delay */
|
|
799
|
+
timeDelay: bigint;
|
|
800
|
+
/** optional block delay */
|
|
801
|
+
blockDelay: bigint;
|
|
802
|
+
/** the commitment key path. */
|
|
803
|
+
merklePath: MerklePath;
|
|
804
|
+
}
|
|
805
|
+
export interface QueryVerifyMembershipRequestProtoMsg {
|
|
806
|
+
typeUrl: "/ibc.core.client.v1.QueryVerifyMembershipRequest";
|
|
807
|
+
value: Uint8Array;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* QueryVerifyMembershipRequest is the request type for the Query/VerifyMembership RPC method
|
|
811
|
+
* @name QueryVerifyMembershipRequestAmino
|
|
812
|
+
* @package ibc.core.client.v1
|
|
813
|
+
* @see proto type: ibc.core.client.v1.QueryVerifyMembershipRequest
|
|
814
|
+
*/
|
|
815
|
+
export interface QueryVerifyMembershipRequestAmino {
|
|
816
|
+
/**
|
|
817
|
+
* client unique identifier.
|
|
818
|
+
*/
|
|
819
|
+
client_id?: string;
|
|
820
|
+
/**
|
|
821
|
+
* the proof to be verified by the client.
|
|
822
|
+
*/
|
|
823
|
+
proof?: string;
|
|
824
|
+
/**
|
|
825
|
+
* the height of the commitment root at which the proof is verified.
|
|
826
|
+
*/
|
|
827
|
+
proof_height?: HeightAmino;
|
|
828
|
+
/**
|
|
829
|
+
* the value which is proven.
|
|
830
|
+
*/
|
|
831
|
+
value?: string;
|
|
832
|
+
/**
|
|
833
|
+
* optional time delay
|
|
834
|
+
*/
|
|
835
|
+
time_delay?: string;
|
|
836
|
+
/**
|
|
837
|
+
* optional block delay
|
|
838
|
+
*/
|
|
839
|
+
block_delay?: string;
|
|
840
|
+
/**
|
|
841
|
+
* the commitment key path.
|
|
842
|
+
*/
|
|
843
|
+
merkle_path?: MerklePathAmino;
|
|
844
|
+
}
|
|
845
|
+
export interface QueryVerifyMembershipRequestAminoMsg {
|
|
846
|
+
type: "cosmos-sdk/QueryVerifyMembershipRequest";
|
|
847
|
+
value: QueryVerifyMembershipRequestAmino;
|
|
848
|
+
}
|
|
849
|
+
/** QueryVerifyMembershipRequest is the request type for the Query/VerifyMembership RPC method */
|
|
850
|
+
export interface QueryVerifyMembershipRequestSDKType {
|
|
851
|
+
client_id: string;
|
|
852
|
+
proof: Uint8Array;
|
|
853
|
+
proof_height: HeightSDKType;
|
|
854
|
+
value: Uint8Array;
|
|
855
|
+
time_delay: bigint;
|
|
856
|
+
block_delay: bigint;
|
|
857
|
+
merkle_path: MerklePathSDKType;
|
|
858
|
+
}
|
|
859
|
+
/** QueryVerifyMembershipResponse is the response type for the Query/VerifyMembership RPC method */
|
|
860
|
+
export interface QueryVerifyMembershipResponse {
|
|
861
|
+
/** boolean indicating success or failure of proof verification. */
|
|
862
|
+
success: boolean;
|
|
863
|
+
}
|
|
864
|
+
export interface QueryVerifyMembershipResponseProtoMsg {
|
|
865
|
+
typeUrl: "/ibc.core.client.v1.QueryVerifyMembershipResponse";
|
|
866
|
+
value: Uint8Array;
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* QueryVerifyMembershipResponse is the response type for the Query/VerifyMembership RPC method
|
|
870
|
+
* @name QueryVerifyMembershipResponseAmino
|
|
871
|
+
* @package ibc.core.client.v1
|
|
872
|
+
* @see proto type: ibc.core.client.v1.QueryVerifyMembershipResponse
|
|
873
|
+
*/
|
|
874
|
+
export interface QueryVerifyMembershipResponseAmino {
|
|
875
|
+
/**
|
|
876
|
+
* boolean indicating success or failure of proof verification.
|
|
877
|
+
*/
|
|
878
|
+
success?: boolean;
|
|
879
|
+
}
|
|
880
|
+
export interface QueryVerifyMembershipResponseAminoMsg {
|
|
881
|
+
type: "cosmos-sdk/QueryVerifyMembershipResponse";
|
|
882
|
+
value: QueryVerifyMembershipResponseAmino;
|
|
883
|
+
}
|
|
884
|
+
/** QueryVerifyMembershipResponse is the response type for the Query/VerifyMembership RPC method */
|
|
885
|
+
export interface QueryVerifyMembershipResponseSDKType {
|
|
886
|
+
success: boolean;
|
|
887
|
+
}
|
|
888
|
+
function createBaseQueryClientStateRequest(): QueryClientStateRequest {
|
|
889
|
+
return {
|
|
890
|
+
clientId: ""
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
export const QueryClientStateRequest = {
|
|
894
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateRequest",
|
|
895
|
+
encode(message: QueryClientStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
896
|
+
if (message.clientId !== "") {
|
|
897
|
+
writer.uint32(10).string(message.clientId);
|
|
898
|
+
}
|
|
899
|
+
return writer;
|
|
900
|
+
},
|
|
901
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateRequest {
|
|
902
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
903
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
904
|
+
const message = createBaseQueryClientStateRequest();
|
|
905
|
+
while (reader.pos < end) {
|
|
906
|
+
const tag = reader.uint32();
|
|
907
|
+
switch (tag >>> 3) {
|
|
908
|
+
case 1:
|
|
909
|
+
message.clientId = reader.string();
|
|
910
|
+
break;
|
|
911
|
+
default:
|
|
912
|
+
reader.skipType(tag & 7);
|
|
913
|
+
break;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
return message;
|
|
917
|
+
},
|
|
918
|
+
fromPartial(object: Partial<QueryClientStateRequest>): QueryClientStateRequest {
|
|
919
|
+
const message = createBaseQueryClientStateRequest();
|
|
920
|
+
message.clientId = object.clientId ?? "";
|
|
921
|
+
return message;
|
|
922
|
+
},
|
|
923
|
+
fromAmino(object: QueryClientStateRequestAmino): QueryClientStateRequest {
|
|
924
|
+
const message = createBaseQueryClientStateRequest();
|
|
925
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
926
|
+
message.clientId = object.client_id;
|
|
927
|
+
}
|
|
928
|
+
return message;
|
|
929
|
+
},
|
|
930
|
+
toAmino(message: QueryClientStateRequest): QueryClientStateRequestAmino {
|
|
931
|
+
const obj: any = {};
|
|
932
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
933
|
+
return obj;
|
|
934
|
+
},
|
|
935
|
+
fromAminoMsg(object: QueryClientStateRequestAminoMsg): QueryClientStateRequest {
|
|
936
|
+
return QueryClientStateRequest.fromAmino(object.value);
|
|
937
|
+
},
|
|
938
|
+
toAminoMsg(message: QueryClientStateRequest): QueryClientStateRequestAminoMsg {
|
|
939
|
+
return {
|
|
940
|
+
type: "cosmos-sdk/QueryClientStateRequest",
|
|
941
|
+
value: QueryClientStateRequest.toAmino(message)
|
|
942
|
+
};
|
|
943
|
+
},
|
|
944
|
+
fromProtoMsg(message: QueryClientStateRequestProtoMsg): QueryClientStateRequest {
|
|
945
|
+
return QueryClientStateRequest.decode(message.value);
|
|
946
|
+
},
|
|
947
|
+
toProto(message: QueryClientStateRequest): Uint8Array {
|
|
948
|
+
return QueryClientStateRequest.encode(message).finish();
|
|
949
|
+
},
|
|
950
|
+
toProtoMsg(message: QueryClientStateRequest): QueryClientStateRequestProtoMsg {
|
|
951
|
+
return {
|
|
952
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateRequest",
|
|
953
|
+
value: QueryClientStateRequest.encode(message).finish()
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
};
|
|
957
|
+
function createBaseQueryClientStateResponse(): QueryClientStateResponse {
|
|
958
|
+
return {
|
|
959
|
+
clientState: undefined,
|
|
960
|
+
proof: new Uint8Array(),
|
|
961
|
+
proofHeight: Height.fromPartial({})
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
export const QueryClientStateResponse = {
|
|
965
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateResponse",
|
|
966
|
+
encode(message: QueryClientStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
967
|
+
if (message.clientState !== undefined) {
|
|
968
|
+
Any.encode(message.clientState, writer.uint32(10).fork()).ldelim();
|
|
969
|
+
}
|
|
970
|
+
if (message.proof.length !== 0) {
|
|
971
|
+
writer.uint32(18).bytes(message.proof);
|
|
972
|
+
}
|
|
973
|
+
if (message.proofHeight !== undefined) {
|
|
974
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
975
|
+
}
|
|
976
|
+
return writer;
|
|
977
|
+
},
|
|
978
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateResponse {
|
|
979
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
980
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
981
|
+
const message = createBaseQueryClientStateResponse();
|
|
982
|
+
while (reader.pos < end) {
|
|
983
|
+
const tag = reader.uint32();
|
|
984
|
+
switch (tag >>> 3) {
|
|
985
|
+
case 1:
|
|
986
|
+
message.clientState = Any.decode(reader, reader.uint32());
|
|
987
|
+
break;
|
|
988
|
+
case 2:
|
|
989
|
+
message.proof = reader.bytes();
|
|
990
|
+
break;
|
|
991
|
+
case 3:
|
|
992
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
993
|
+
break;
|
|
994
|
+
default:
|
|
995
|
+
reader.skipType(tag & 7);
|
|
996
|
+
break;
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
return message;
|
|
1000
|
+
},
|
|
1001
|
+
fromPartial(object: Partial<QueryClientStateResponse>): QueryClientStateResponse {
|
|
1002
|
+
const message = createBaseQueryClientStateResponse();
|
|
1003
|
+
message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined;
|
|
1004
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
1005
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
1006
|
+
return message;
|
|
1007
|
+
},
|
|
1008
|
+
fromAmino(object: QueryClientStateResponseAmino): QueryClientStateResponse {
|
|
1009
|
+
const message = createBaseQueryClientStateResponse();
|
|
1010
|
+
if (object.client_state !== undefined && object.client_state !== null) {
|
|
1011
|
+
message.clientState = Any.fromAmino(object.client_state);
|
|
1012
|
+
}
|
|
1013
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
1014
|
+
message.proof = bytesFromBase64(object.proof);
|
|
1015
|
+
}
|
|
1016
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
1017
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
1018
|
+
}
|
|
1019
|
+
return message;
|
|
1020
|
+
},
|
|
1021
|
+
toAmino(message: QueryClientStateResponse): QueryClientStateResponseAmino {
|
|
1022
|
+
const obj: any = {};
|
|
1023
|
+
obj.client_state = message.clientState ? Any.toAmino(message.clientState) : undefined;
|
|
1024
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
1025
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1026
|
+
return obj;
|
|
1027
|
+
},
|
|
1028
|
+
fromAminoMsg(object: QueryClientStateResponseAminoMsg): QueryClientStateResponse {
|
|
1029
|
+
return QueryClientStateResponse.fromAmino(object.value);
|
|
1030
|
+
},
|
|
1031
|
+
toAminoMsg(message: QueryClientStateResponse): QueryClientStateResponseAminoMsg {
|
|
1032
|
+
return {
|
|
1033
|
+
type: "cosmos-sdk/QueryClientStateResponse",
|
|
1034
|
+
value: QueryClientStateResponse.toAmino(message)
|
|
1035
|
+
};
|
|
1036
|
+
},
|
|
1037
|
+
fromProtoMsg(message: QueryClientStateResponseProtoMsg): QueryClientStateResponse {
|
|
1038
|
+
return QueryClientStateResponse.decode(message.value);
|
|
1039
|
+
},
|
|
1040
|
+
toProto(message: QueryClientStateResponse): Uint8Array {
|
|
1041
|
+
return QueryClientStateResponse.encode(message).finish();
|
|
1042
|
+
},
|
|
1043
|
+
toProtoMsg(message: QueryClientStateResponse): QueryClientStateResponseProtoMsg {
|
|
1044
|
+
return {
|
|
1045
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateResponse",
|
|
1046
|
+
value: QueryClientStateResponse.encode(message).finish()
|
|
1047
|
+
};
|
|
1048
|
+
}
|
|
1049
|
+
};
|
|
1050
|
+
function createBaseQueryClientStatesRequest(): QueryClientStatesRequest {
|
|
1051
|
+
return {
|
|
1052
|
+
pagination: undefined
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
1055
|
+
export const QueryClientStatesRequest = {
|
|
1056
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest",
|
|
1057
|
+
encode(message: QueryClientStatesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1058
|
+
if (message.pagination !== undefined) {
|
|
1059
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
1060
|
+
}
|
|
1061
|
+
return writer;
|
|
1062
|
+
},
|
|
1063
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesRequest {
|
|
1064
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1065
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1066
|
+
const message = createBaseQueryClientStatesRequest();
|
|
1067
|
+
while (reader.pos < end) {
|
|
1068
|
+
const tag = reader.uint32();
|
|
1069
|
+
switch (tag >>> 3) {
|
|
1070
|
+
case 1:
|
|
1071
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1072
|
+
break;
|
|
1073
|
+
default:
|
|
1074
|
+
reader.skipType(tag & 7);
|
|
1075
|
+
break;
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
return message;
|
|
1079
|
+
},
|
|
1080
|
+
fromPartial(object: Partial<QueryClientStatesRequest>): QueryClientStatesRequest {
|
|
1081
|
+
const message = createBaseQueryClientStatesRequest();
|
|
1082
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1083
|
+
return message;
|
|
1084
|
+
},
|
|
1085
|
+
fromAmino(object: QueryClientStatesRequestAmino): QueryClientStatesRequest {
|
|
1086
|
+
const message = createBaseQueryClientStatesRequest();
|
|
1087
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1088
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1089
|
+
}
|
|
1090
|
+
return message;
|
|
1091
|
+
},
|
|
1092
|
+
toAmino(message: QueryClientStatesRequest): QueryClientStatesRequestAmino {
|
|
1093
|
+
const obj: any = {};
|
|
1094
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1095
|
+
return obj;
|
|
1096
|
+
},
|
|
1097
|
+
fromAminoMsg(object: QueryClientStatesRequestAminoMsg): QueryClientStatesRequest {
|
|
1098
|
+
return QueryClientStatesRequest.fromAmino(object.value);
|
|
1099
|
+
},
|
|
1100
|
+
toAminoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestAminoMsg {
|
|
1101
|
+
return {
|
|
1102
|
+
type: "cosmos-sdk/QueryClientStatesRequest",
|
|
1103
|
+
value: QueryClientStatesRequest.toAmino(message)
|
|
1104
|
+
};
|
|
1105
|
+
},
|
|
1106
|
+
fromProtoMsg(message: QueryClientStatesRequestProtoMsg): QueryClientStatesRequest {
|
|
1107
|
+
return QueryClientStatesRequest.decode(message.value);
|
|
1108
|
+
},
|
|
1109
|
+
toProto(message: QueryClientStatesRequest): Uint8Array {
|
|
1110
|
+
return QueryClientStatesRequest.encode(message).finish();
|
|
1111
|
+
},
|
|
1112
|
+
toProtoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestProtoMsg {
|
|
1113
|
+
return {
|
|
1114
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest",
|
|
1115
|
+
value: QueryClientStatesRequest.encode(message).finish()
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
};
|
|
1119
|
+
function createBaseQueryClientStatesResponse(): QueryClientStatesResponse {
|
|
1120
|
+
return {
|
|
1121
|
+
clientStates: [],
|
|
1122
|
+
pagination: undefined
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
export const QueryClientStatesResponse = {
|
|
1126
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse",
|
|
1127
|
+
encode(message: QueryClientStatesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1128
|
+
for (const v of message.clientStates) {
|
|
1129
|
+
IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1130
|
+
}
|
|
1131
|
+
if (message.pagination !== undefined) {
|
|
1132
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1133
|
+
}
|
|
1134
|
+
return writer;
|
|
1135
|
+
},
|
|
1136
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesResponse {
|
|
1137
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1138
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1139
|
+
const message = createBaseQueryClientStatesResponse();
|
|
1140
|
+
while (reader.pos < end) {
|
|
1141
|
+
const tag = reader.uint32();
|
|
1142
|
+
switch (tag >>> 3) {
|
|
1143
|
+
case 1:
|
|
1144
|
+
message.clientStates.push(IdentifiedClientState.decode(reader, reader.uint32()));
|
|
1145
|
+
break;
|
|
1146
|
+
case 2:
|
|
1147
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1148
|
+
break;
|
|
1149
|
+
default:
|
|
1150
|
+
reader.skipType(tag & 7);
|
|
1151
|
+
break;
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
return message;
|
|
1155
|
+
},
|
|
1156
|
+
fromPartial(object: Partial<QueryClientStatesResponse>): QueryClientStatesResponse {
|
|
1157
|
+
const message = createBaseQueryClientStatesResponse();
|
|
1158
|
+
message.clientStates = object.clientStates?.map(e => IdentifiedClientState.fromPartial(e)) || [];
|
|
1159
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1160
|
+
return message;
|
|
1161
|
+
},
|
|
1162
|
+
fromAmino(object: QueryClientStatesResponseAmino): QueryClientStatesResponse {
|
|
1163
|
+
const message = createBaseQueryClientStatesResponse();
|
|
1164
|
+
message.clientStates = object.client_states?.map(e => IdentifiedClientState.fromAmino(e)) || [];
|
|
1165
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1166
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1167
|
+
}
|
|
1168
|
+
return message;
|
|
1169
|
+
},
|
|
1170
|
+
toAmino(message: QueryClientStatesResponse): QueryClientStatesResponseAmino {
|
|
1171
|
+
const obj: any = {};
|
|
1172
|
+
if (message.clientStates) {
|
|
1173
|
+
obj.client_states = message.clientStates.map(e => e ? IdentifiedClientState.toAmino(e) : undefined);
|
|
1174
|
+
} else {
|
|
1175
|
+
obj.client_states = message.clientStates;
|
|
1176
|
+
}
|
|
1177
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1178
|
+
return obj;
|
|
1179
|
+
},
|
|
1180
|
+
fromAminoMsg(object: QueryClientStatesResponseAminoMsg): QueryClientStatesResponse {
|
|
1181
|
+
return QueryClientStatesResponse.fromAmino(object.value);
|
|
1182
|
+
},
|
|
1183
|
+
toAminoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseAminoMsg {
|
|
1184
|
+
return {
|
|
1185
|
+
type: "cosmos-sdk/QueryClientStatesResponse",
|
|
1186
|
+
value: QueryClientStatesResponse.toAmino(message)
|
|
1187
|
+
};
|
|
1188
|
+
},
|
|
1189
|
+
fromProtoMsg(message: QueryClientStatesResponseProtoMsg): QueryClientStatesResponse {
|
|
1190
|
+
return QueryClientStatesResponse.decode(message.value);
|
|
1191
|
+
},
|
|
1192
|
+
toProto(message: QueryClientStatesResponse): Uint8Array {
|
|
1193
|
+
return QueryClientStatesResponse.encode(message).finish();
|
|
1194
|
+
},
|
|
1195
|
+
toProtoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseProtoMsg {
|
|
1196
|
+
return {
|
|
1197
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse",
|
|
1198
|
+
value: QueryClientStatesResponse.encode(message).finish()
|
|
1199
|
+
};
|
|
1200
|
+
}
|
|
1201
|
+
};
|
|
1202
|
+
function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest {
|
|
1203
|
+
return {
|
|
1204
|
+
clientId: "",
|
|
1205
|
+
revisionNumber: BigInt(0),
|
|
1206
|
+
revisionHeight: BigInt(0),
|
|
1207
|
+
latestHeight: false
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
export const QueryConsensusStateRequest = {
|
|
1211
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest",
|
|
1212
|
+
encode(message: QueryConsensusStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1213
|
+
if (message.clientId !== "") {
|
|
1214
|
+
writer.uint32(10).string(message.clientId);
|
|
1215
|
+
}
|
|
1216
|
+
if (message.revisionNumber !== BigInt(0)) {
|
|
1217
|
+
writer.uint32(16).uint64(message.revisionNumber);
|
|
1218
|
+
}
|
|
1219
|
+
if (message.revisionHeight !== BigInt(0)) {
|
|
1220
|
+
writer.uint32(24).uint64(message.revisionHeight);
|
|
1221
|
+
}
|
|
1222
|
+
if (message.latestHeight === true) {
|
|
1223
|
+
writer.uint32(32).bool(message.latestHeight);
|
|
1224
|
+
}
|
|
1225
|
+
return writer;
|
|
1226
|
+
},
|
|
1227
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateRequest {
|
|
1228
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1229
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1230
|
+
const message = createBaseQueryConsensusStateRequest();
|
|
1231
|
+
while (reader.pos < end) {
|
|
1232
|
+
const tag = reader.uint32();
|
|
1233
|
+
switch (tag >>> 3) {
|
|
1234
|
+
case 1:
|
|
1235
|
+
message.clientId = reader.string();
|
|
1236
|
+
break;
|
|
1237
|
+
case 2:
|
|
1238
|
+
message.revisionNumber = reader.uint64();
|
|
1239
|
+
break;
|
|
1240
|
+
case 3:
|
|
1241
|
+
message.revisionHeight = reader.uint64();
|
|
1242
|
+
break;
|
|
1243
|
+
case 4:
|
|
1244
|
+
message.latestHeight = reader.bool();
|
|
1245
|
+
break;
|
|
1246
|
+
default:
|
|
1247
|
+
reader.skipType(tag & 7);
|
|
1248
|
+
break;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
return message;
|
|
1252
|
+
},
|
|
1253
|
+
fromPartial(object: Partial<QueryConsensusStateRequest>): QueryConsensusStateRequest {
|
|
1254
|
+
const message = createBaseQueryConsensusStateRequest();
|
|
1255
|
+
message.clientId = object.clientId ?? "";
|
|
1256
|
+
message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? BigInt(object.revisionNumber.toString()) : BigInt(0);
|
|
1257
|
+
message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? BigInt(object.revisionHeight.toString()) : BigInt(0);
|
|
1258
|
+
message.latestHeight = object.latestHeight ?? false;
|
|
1259
|
+
return message;
|
|
1260
|
+
},
|
|
1261
|
+
fromAmino(object: QueryConsensusStateRequestAmino): QueryConsensusStateRequest {
|
|
1262
|
+
const message = createBaseQueryConsensusStateRequest();
|
|
1263
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1264
|
+
message.clientId = object.client_id;
|
|
1265
|
+
}
|
|
1266
|
+
if (object.revision_number !== undefined && object.revision_number !== null) {
|
|
1267
|
+
message.revisionNumber = BigInt(object.revision_number);
|
|
1268
|
+
}
|
|
1269
|
+
if (object.revision_height !== undefined && object.revision_height !== null) {
|
|
1270
|
+
message.revisionHeight = BigInt(object.revision_height);
|
|
1271
|
+
}
|
|
1272
|
+
if (object.latest_height !== undefined && object.latest_height !== null) {
|
|
1273
|
+
message.latestHeight = object.latest_height;
|
|
1274
|
+
}
|
|
1275
|
+
return message;
|
|
1276
|
+
},
|
|
1277
|
+
toAmino(message: QueryConsensusStateRequest): QueryConsensusStateRequestAmino {
|
|
1278
|
+
const obj: any = {};
|
|
1279
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
1280
|
+
obj.revision_number = message.revisionNumber !== BigInt(0) ? message.revisionNumber?.toString() : undefined;
|
|
1281
|
+
obj.revision_height = message.revisionHeight !== BigInt(0) ? message.revisionHeight?.toString() : undefined;
|
|
1282
|
+
obj.latest_height = message.latestHeight === false ? undefined : message.latestHeight;
|
|
1283
|
+
return obj;
|
|
1284
|
+
},
|
|
1285
|
+
fromAminoMsg(object: QueryConsensusStateRequestAminoMsg): QueryConsensusStateRequest {
|
|
1286
|
+
return QueryConsensusStateRequest.fromAmino(object.value);
|
|
1287
|
+
},
|
|
1288
|
+
toAminoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestAminoMsg {
|
|
1289
|
+
return {
|
|
1290
|
+
type: "cosmos-sdk/QueryConsensusStateRequest",
|
|
1291
|
+
value: QueryConsensusStateRequest.toAmino(message)
|
|
1292
|
+
};
|
|
1293
|
+
},
|
|
1294
|
+
fromProtoMsg(message: QueryConsensusStateRequestProtoMsg): QueryConsensusStateRequest {
|
|
1295
|
+
return QueryConsensusStateRequest.decode(message.value);
|
|
1296
|
+
},
|
|
1297
|
+
toProto(message: QueryConsensusStateRequest): Uint8Array {
|
|
1298
|
+
return QueryConsensusStateRequest.encode(message).finish();
|
|
1299
|
+
},
|
|
1300
|
+
toProtoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestProtoMsg {
|
|
1301
|
+
return {
|
|
1302
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest",
|
|
1303
|
+
value: QueryConsensusStateRequest.encode(message).finish()
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
};
|
|
1307
|
+
function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse {
|
|
1308
|
+
return {
|
|
1309
|
+
consensusState: undefined,
|
|
1310
|
+
proof: new Uint8Array(),
|
|
1311
|
+
proofHeight: Height.fromPartial({})
|
|
1312
|
+
};
|
|
1313
|
+
}
|
|
1314
|
+
export const QueryConsensusStateResponse = {
|
|
1315
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse",
|
|
1316
|
+
encode(message: QueryConsensusStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1317
|
+
if (message.consensusState !== undefined) {
|
|
1318
|
+
Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
|
|
1319
|
+
}
|
|
1320
|
+
if (message.proof.length !== 0) {
|
|
1321
|
+
writer.uint32(18).bytes(message.proof);
|
|
1322
|
+
}
|
|
1323
|
+
if (message.proofHeight !== undefined) {
|
|
1324
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
1325
|
+
}
|
|
1326
|
+
return writer;
|
|
1327
|
+
},
|
|
1328
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateResponse {
|
|
1329
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1330
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1331
|
+
const message = createBaseQueryConsensusStateResponse();
|
|
1332
|
+
while (reader.pos < end) {
|
|
1333
|
+
const tag = reader.uint32();
|
|
1334
|
+
switch (tag >>> 3) {
|
|
1335
|
+
case 1:
|
|
1336
|
+
message.consensusState = Any.decode(reader, reader.uint32());
|
|
1337
|
+
break;
|
|
1338
|
+
case 2:
|
|
1339
|
+
message.proof = reader.bytes();
|
|
1340
|
+
break;
|
|
1341
|
+
case 3:
|
|
1342
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
1343
|
+
break;
|
|
1344
|
+
default:
|
|
1345
|
+
reader.skipType(tag & 7);
|
|
1346
|
+
break;
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
return message;
|
|
1350
|
+
},
|
|
1351
|
+
fromPartial(object: Partial<QueryConsensusStateResponse>): QueryConsensusStateResponse {
|
|
1352
|
+
const message = createBaseQueryConsensusStateResponse();
|
|
1353
|
+
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
|
1354
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
1355
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
1356
|
+
return message;
|
|
1357
|
+
},
|
|
1358
|
+
fromAmino(object: QueryConsensusStateResponseAmino): QueryConsensusStateResponse {
|
|
1359
|
+
const message = createBaseQueryConsensusStateResponse();
|
|
1360
|
+
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
|
1361
|
+
message.consensusState = Any.fromAmino(object.consensus_state);
|
|
1362
|
+
}
|
|
1363
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
1364
|
+
message.proof = bytesFromBase64(object.proof);
|
|
1365
|
+
}
|
|
1366
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
1367
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
1368
|
+
}
|
|
1369
|
+
return message;
|
|
1370
|
+
},
|
|
1371
|
+
toAmino(message: QueryConsensusStateResponse): QueryConsensusStateResponseAmino {
|
|
1372
|
+
const obj: any = {};
|
|
1373
|
+
obj.consensus_state = message.consensusState ? Any.toAmino(message.consensusState) : undefined;
|
|
1374
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
1375
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1376
|
+
return obj;
|
|
1377
|
+
},
|
|
1378
|
+
fromAminoMsg(object: QueryConsensusStateResponseAminoMsg): QueryConsensusStateResponse {
|
|
1379
|
+
return QueryConsensusStateResponse.fromAmino(object.value);
|
|
1380
|
+
},
|
|
1381
|
+
toAminoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseAminoMsg {
|
|
1382
|
+
return {
|
|
1383
|
+
type: "cosmos-sdk/QueryConsensusStateResponse",
|
|
1384
|
+
value: QueryConsensusStateResponse.toAmino(message)
|
|
1385
|
+
};
|
|
1386
|
+
},
|
|
1387
|
+
fromProtoMsg(message: QueryConsensusStateResponseProtoMsg): QueryConsensusStateResponse {
|
|
1388
|
+
return QueryConsensusStateResponse.decode(message.value);
|
|
1389
|
+
},
|
|
1390
|
+
toProto(message: QueryConsensusStateResponse): Uint8Array {
|
|
1391
|
+
return QueryConsensusStateResponse.encode(message).finish();
|
|
1392
|
+
},
|
|
1393
|
+
toProtoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseProtoMsg {
|
|
1394
|
+
return {
|
|
1395
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse",
|
|
1396
|
+
value: QueryConsensusStateResponse.encode(message).finish()
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1399
|
+
};
|
|
1400
|
+
function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest {
|
|
1401
|
+
return {
|
|
1402
|
+
clientId: "",
|
|
1403
|
+
pagination: undefined
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1406
|
+
export const QueryConsensusStatesRequest = {
|
|
1407
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest",
|
|
1408
|
+
encode(message: QueryConsensusStatesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1409
|
+
if (message.clientId !== "") {
|
|
1410
|
+
writer.uint32(10).string(message.clientId);
|
|
1411
|
+
}
|
|
1412
|
+
if (message.pagination !== undefined) {
|
|
1413
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1414
|
+
}
|
|
1415
|
+
return writer;
|
|
1416
|
+
},
|
|
1417
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesRequest {
|
|
1418
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1419
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1420
|
+
const message = createBaseQueryConsensusStatesRequest();
|
|
1421
|
+
while (reader.pos < end) {
|
|
1422
|
+
const tag = reader.uint32();
|
|
1423
|
+
switch (tag >>> 3) {
|
|
1424
|
+
case 1:
|
|
1425
|
+
message.clientId = reader.string();
|
|
1426
|
+
break;
|
|
1427
|
+
case 2:
|
|
1428
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1429
|
+
break;
|
|
1430
|
+
default:
|
|
1431
|
+
reader.skipType(tag & 7);
|
|
1432
|
+
break;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
return message;
|
|
1436
|
+
},
|
|
1437
|
+
fromPartial(object: Partial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest {
|
|
1438
|
+
const message = createBaseQueryConsensusStatesRequest();
|
|
1439
|
+
message.clientId = object.clientId ?? "";
|
|
1440
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1441
|
+
return message;
|
|
1442
|
+
},
|
|
1443
|
+
fromAmino(object: QueryConsensusStatesRequestAmino): QueryConsensusStatesRequest {
|
|
1444
|
+
const message = createBaseQueryConsensusStatesRequest();
|
|
1445
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1446
|
+
message.clientId = object.client_id;
|
|
1447
|
+
}
|
|
1448
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1449
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1450
|
+
}
|
|
1451
|
+
return message;
|
|
1452
|
+
},
|
|
1453
|
+
toAmino(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAmino {
|
|
1454
|
+
const obj: any = {};
|
|
1455
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
1456
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1457
|
+
return obj;
|
|
1458
|
+
},
|
|
1459
|
+
fromAminoMsg(object: QueryConsensusStatesRequestAminoMsg): QueryConsensusStatesRequest {
|
|
1460
|
+
return QueryConsensusStatesRequest.fromAmino(object.value);
|
|
1461
|
+
},
|
|
1462
|
+
toAminoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAminoMsg {
|
|
1463
|
+
return {
|
|
1464
|
+
type: "cosmos-sdk/QueryConsensusStatesRequest",
|
|
1465
|
+
value: QueryConsensusStatesRequest.toAmino(message)
|
|
1466
|
+
};
|
|
1467
|
+
},
|
|
1468
|
+
fromProtoMsg(message: QueryConsensusStatesRequestProtoMsg): QueryConsensusStatesRequest {
|
|
1469
|
+
return QueryConsensusStatesRequest.decode(message.value);
|
|
1470
|
+
},
|
|
1471
|
+
toProto(message: QueryConsensusStatesRequest): Uint8Array {
|
|
1472
|
+
return QueryConsensusStatesRequest.encode(message).finish();
|
|
1473
|
+
},
|
|
1474
|
+
toProtoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestProtoMsg {
|
|
1475
|
+
return {
|
|
1476
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest",
|
|
1477
|
+
value: QueryConsensusStatesRequest.encode(message).finish()
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
};
|
|
1481
|
+
function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse {
|
|
1482
|
+
return {
|
|
1483
|
+
consensusStates: [],
|
|
1484
|
+
pagination: undefined
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
export const QueryConsensusStatesResponse = {
|
|
1488
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse",
|
|
1489
|
+
encode(message: QueryConsensusStatesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1490
|
+
for (const v of message.consensusStates) {
|
|
1491
|
+
ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1492
|
+
}
|
|
1493
|
+
if (message.pagination !== undefined) {
|
|
1494
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1495
|
+
}
|
|
1496
|
+
return writer;
|
|
1497
|
+
},
|
|
1498
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesResponse {
|
|
1499
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1500
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1501
|
+
const message = createBaseQueryConsensusStatesResponse();
|
|
1502
|
+
while (reader.pos < end) {
|
|
1503
|
+
const tag = reader.uint32();
|
|
1504
|
+
switch (tag >>> 3) {
|
|
1505
|
+
case 1:
|
|
1506
|
+
message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32()));
|
|
1507
|
+
break;
|
|
1508
|
+
case 2:
|
|
1509
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1510
|
+
break;
|
|
1511
|
+
default:
|
|
1512
|
+
reader.skipType(tag & 7);
|
|
1513
|
+
break;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
return message;
|
|
1517
|
+
},
|
|
1518
|
+
fromPartial(object: Partial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse {
|
|
1519
|
+
const message = createBaseQueryConsensusStatesResponse();
|
|
1520
|
+
message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || [];
|
|
1521
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1522
|
+
return message;
|
|
1523
|
+
},
|
|
1524
|
+
fromAmino(object: QueryConsensusStatesResponseAmino): QueryConsensusStatesResponse {
|
|
1525
|
+
const message = createBaseQueryConsensusStatesResponse();
|
|
1526
|
+
message.consensusStates = object.consensus_states?.map(e => ConsensusStateWithHeight.fromAmino(e)) || [];
|
|
1527
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1528
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1529
|
+
}
|
|
1530
|
+
return message;
|
|
1531
|
+
},
|
|
1532
|
+
toAmino(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAmino {
|
|
1533
|
+
const obj: any = {};
|
|
1534
|
+
if (message.consensusStates) {
|
|
1535
|
+
obj.consensus_states = message.consensusStates.map(e => e ? ConsensusStateWithHeight.toAmino(e) : undefined);
|
|
1536
|
+
} else {
|
|
1537
|
+
obj.consensus_states = message.consensusStates;
|
|
1538
|
+
}
|
|
1539
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1540
|
+
return obj;
|
|
1541
|
+
},
|
|
1542
|
+
fromAminoMsg(object: QueryConsensusStatesResponseAminoMsg): QueryConsensusStatesResponse {
|
|
1543
|
+
return QueryConsensusStatesResponse.fromAmino(object.value);
|
|
1544
|
+
},
|
|
1545
|
+
toAminoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAminoMsg {
|
|
1546
|
+
return {
|
|
1547
|
+
type: "cosmos-sdk/QueryConsensusStatesResponse",
|
|
1548
|
+
value: QueryConsensusStatesResponse.toAmino(message)
|
|
1549
|
+
};
|
|
1550
|
+
},
|
|
1551
|
+
fromProtoMsg(message: QueryConsensusStatesResponseProtoMsg): QueryConsensusStatesResponse {
|
|
1552
|
+
return QueryConsensusStatesResponse.decode(message.value);
|
|
1553
|
+
},
|
|
1554
|
+
toProto(message: QueryConsensusStatesResponse): Uint8Array {
|
|
1555
|
+
return QueryConsensusStatesResponse.encode(message).finish();
|
|
1556
|
+
},
|
|
1557
|
+
toProtoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseProtoMsg {
|
|
1558
|
+
return {
|
|
1559
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse",
|
|
1560
|
+
value: QueryConsensusStatesResponse.encode(message).finish()
|
|
1561
|
+
};
|
|
1562
|
+
}
|
|
1563
|
+
};
|
|
1564
|
+
function createBaseQueryConsensusStateHeightsRequest(): QueryConsensusStateHeightsRequest {
|
|
1565
|
+
return {
|
|
1566
|
+
clientId: "",
|
|
1567
|
+
pagination: undefined
|
|
1568
|
+
};
|
|
1569
|
+
}
|
|
1570
|
+
export const QueryConsensusStateHeightsRequest = {
|
|
1571
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsRequest",
|
|
1572
|
+
encode(message: QueryConsensusStateHeightsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1573
|
+
if (message.clientId !== "") {
|
|
1574
|
+
writer.uint32(10).string(message.clientId);
|
|
1575
|
+
}
|
|
1576
|
+
if (message.pagination !== undefined) {
|
|
1577
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1578
|
+
}
|
|
1579
|
+
return writer;
|
|
1580
|
+
},
|
|
1581
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateHeightsRequest {
|
|
1582
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1583
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1584
|
+
const message = createBaseQueryConsensusStateHeightsRequest();
|
|
1585
|
+
while (reader.pos < end) {
|
|
1586
|
+
const tag = reader.uint32();
|
|
1587
|
+
switch (tag >>> 3) {
|
|
1588
|
+
case 1:
|
|
1589
|
+
message.clientId = reader.string();
|
|
1590
|
+
break;
|
|
1591
|
+
case 2:
|
|
1592
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1593
|
+
break;
|
|
1594
|
+
default:
|
|
1595
|
+
reader.skipType(tag & 7);
|
|
1596
|
+
break;
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
return message;
|
|
1600
|
+
},
|
|
1601
|
+
fromPartial(object: Partial<QueryConsensusStateHeightsRequest>): QueryConsensusStateHeightsRequest {
|
|
1602
|
+
const message = createBaseQueryConsensusStateHeightsRequest();
|
|
1603
|
+
message.clientId = object.clientId ?? "";
|
|
1604
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1605
|
+
return message;
|
|
1606
|
+
},
|
|
1607
|
+
fromAmino(object: QueryConsensusStateHeightsRequestAmino): QueryConsensusStateHeightsRequest {
|
|
1608
|
+
const message = createBaseQueryConsensusStateHeightsRequest();
|
|
1609
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1610
|
+
message.clientId = object.client_id;
|
|
1611
|
+
}
|
|
1612
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1613
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1614
|
+
}
|
|
1615
|
+
return message;
|
|
1616
|
+
},
|
|
1617
|
+
toAmino(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestAmino {
|
|
1618
|
+
const obj: any = {};
|
|
1619
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
1620
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1621
|
+
return obj;
|
|
1622
|
+
},
|
|
1623
|
+
fromAminoMsg(object: QueryConsensusStateHeightsRequestAminoMsg): QueryConsensusStateHeightsRequest {
|
|
1624
|
+
return QueryConsensusStateHeightsRequest.fromAmino(object.value);
|
|
1625
|
+
},
|
|
1626
|
+
toAminoMsg(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestAminoMsg {
|
|
1627
|
+
return {
|
|
1628
|
+
type: "cosmos-sdk/QueryConsensusStateHeightsRequest",
|
|
1629
|
+
value: QueryConsensusStateHeightsRequest.toAmino(message)
|
|
1630
|
+
};
|
|
1631
|
+
},
|
|
1632
|
+
fromProtoMsg(message: QueryConsensusStateHeightsRequestProtoMsg): QueryConsensusStateHeightsRequest {
|
|
1633
|
+
return QueryConsensusStateHeightsRequest.decode(message.value);
|
|
1634
|
+
},
|
|
1635
|
+
toProto(message: QueryConsensusStateHeightsRequest): Uint8Array {
|
|
1636
|
+
return QueryConsensusStateHeightsRequest.encode(message).finish();
|
|
1637
|
+
},
|
|
1638
|
+
toProtoMsg(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestProtoMsg {
|
|
1639
|
+
return {
|
|
1640
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsRequest",
|
|
1641
|
+
value: QueryConsensusStateHeightsRequest.encode(message).finish()
|
|
1642
|
+
};
|
|
1643
|
+
}
|
|
1644
|
+
};
|
|
1645
|
+
function createBaseQueryConsensusStateHeightsResponse(): QueryConsensusStateHeightsResponse {
|
|
1646
|
+
return {
|
|
1647
|
+
consensusStateHeights: [],
|
|
1648
|
+
pagination: undefined
|
|
1649
|
+
};
|
|
1650
|
+
}
|
|
1651
|
+
export const QueryConsensusStateHeightsResponse = {
|
|
1652
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsResponse",
|
|
1653
|
+
encode(message: QueryConsensusStateHeightsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1654
|
+
for (const v of message.consensusStateHeights) {
|
|
1655
|
+
Height.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1656
|
+
}
|
|
1657
|
+
if (message.pagination !== undefined) {
|
|
1658
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1659
|
+
}
|
|
1660
|
+
return writer;
|
|
1661
|
+
},
|
|
1662
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateHeightsResponse {
|
|
1663
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1664
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1665
|
+
const message = createBaseQueryConsensusStateHeightsResponse();
|
|
1666
|
+
while (reader.pos < end) {
|
|
1667
|
+
const tag = reader.uint32();
|
|
1668
|
+
switch (tag >>> 3) {
|
|
1669
|
+
case 1:
|
|
1670
|
+
message.consensusStateHeights.push(Height.decode(reader, reader.uint32()));
|
|
1671
|
+
break;
|
|
1672
|
+
case 2:
|
|
1673
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1674
|
+
break;
|
|
1675
|
+
default:
|
|
1676
|
+
reader.skipType(tag & 7);
|
|
1677
|
+
break;
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
return message;
|
|
1681
|
+
},
|
|
1682
|
+
fromPartial(object: Partial<QueryConsensusStateHeightsResponse>): QueryConsensusStateHeightsResponse {
|
|
1683
|
+
const message = createBaseQueryConsensusStateHeightsResponse();
|
|
1684
|
+
message.consensusStateHeights = object.consensusStateHeights?.map(e => Height.fromPartial(e)) || [];
|
|
1685
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1686
|
+
return message;
|
|
1687
|
+
},
|
|
1688
|
+
fromAmino(object: QueryConsensusStateHeightsResponseAmino): QueryConsensusStateHeightsResponse {
|
|
1689
|
+
const message = createBaseQueryConsensusStateHeightsResponse();
|
|
1690
|
+
message.consensusStateHeights = object.consensus_state_heights?.map(e => Height.fromAmino(e)) || [];
|
|
1691
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1692
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1693
|
+
}
|
|
1694
|
+
return message;
|
|
1695
|
+
},
|
|
1696
|
+
toAmino(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseAmino {
|
|
1697
|
+
const obj: any = {};
|
|
1698
|
+
if (message.consensusStateHeights) {
|
|
1699
|
+
obj.consensus_state_heights = message.consensusStateHeights.map(e => e ? Height.toAmino(e) : undefined);
|
|
1700
|
+
} else {
|
|
1701
|
+
obj.consensus_state_heights = message.consensusStateHeights;
|
|
1702
|
+
}
|
|
1703
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1704
|
+
return obj;
|
|
1705
|
+
},
|
|
1706
|
+
fromAminoMsg(object: QueryConsensusStateHeightsResponseAminoMsg): QueryConsensusStateHeightsResponse {
|
|
1707
|
+
return QueryConsensusStateHeightsResponse.fromAmino(object.value);
|
|
1708
|
+
},
|
|
1709
|
+
toAminoMsg(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseAminoMsg {
|
|
1710
|
+
return {
|
|
1711
|
+
type: "cosmos-sdk/QueryConsensusStateHeightsResponse",
|
|
1712
|
+
value: QueryConsensusStateHeightsResponse.toAmino(message)
|
|
1713
|
+
};
|
|
1714
|
+
},
|
|
1715
|
+
fromProtoMsg(message: QueryConsensusStateHeightsResponseProtoMsg): QueryConsensusStateHeightsResponse {
|
|
1716
|
+
return QueryConsensusStateHeightsResponse.decode(message.value);
|
|
1717
|
+
},
|
|
1718
|
+
toProto(message: QueryConsensusStateHeightsResponse): Uint8Array {
|
|
1719
|
+
return QueryConsensusStateHeightsResponse.encode(message).finish();
|
|
1720
|
+
},
|
|
1721
|
+
toProtoMsg(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseProtoMsg {
|
|
1722
|
+
return {
|
|
1723
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsResponse",
|
|
1724
|
+
value: QueryConsensusStateHeightsResponse.encode(message).finish()
|
|
1725
|
+
};
|
|
1726
|
+
}
|
|
1727
|
+
};
|
|
1728
|
+
function createBaseQueryClientStatusRequest(): QueryClientStatusRequest {
|
|
1729
|
+
return {
|
|
1730
|
+
clientId: ""
|
|
1731
|
+
};
|
|
1732
|
+
}
|
|
1733
|
+
export const QueryClientStatusRequest = {
|
|
1734
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest",
|
|
1735
|
+
encode(message: QueryClientStatusRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1736
|
+
if (message.clientId !== "") {
|
|
1737
|
+
writer.uint32(10).string(message.clientId);
|
|
1738
|
+
}
|
|
1739
|
+
return writer;
|
|
1740
|
+
},
|
|
1741
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusRequest {
|
|
1742
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1743
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1744
|
+
const message = createBaseQueryClientStatusRequest();
|
|
1745
|
+
while (reader.pos < end) {
|
|
1746
|
+
const tag = reader.uint32();
|
|
1747
|
+
switch (tag >>> 3) {
|
|
1748
|
+
case 1:
|
|
1749
|
+
message.clientId = reader.string();
|
|
1750
|
+
break;
|
|
1751
|
+
default:
|
|
1752
|
+
reader.skipType(tag & 7);
|
|
1753
|
+
break;
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
return message;
|
|
1757
|
+
},
|
|
1758
|
+
fromPartial(object: Partial<QueryClientStatusRequest>): QueryClientStatusRequest {
|
|
1759
|
+
const message = createBaseQueryClientStatusRequest();
|
|
1760
|
+
message.clientId = object.clientId ?? "";
|
|
1761
|
+
return message;
|
|
1762
|
+
},
|
|
1763
|
+
fromAmino(object: QueryClientStatusRequestAmino): QueryClientStatusRequest {
|
|
1764
|
+
const message = createBaseQueryClientStatusRequest();
|
|
1765
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1766
|
+
message.clientId = object.client_id;
|
|
1767
|
+
}
|
|
1768
|
+
return message;
|
|
1769
|
+
},
|
|
1770
|
+
toAmino(message: QueryClientStatusRequest): QueryClientStatusRequestAmino {
|
|
1771
|
+
const obj: any = {};
|
|
1772
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
1773
|
+
return obj;
|
|
1774
|
+
},
|
|
1775
|
+
fromAminoMsg(object: QueryClientStatusRequestAminoMsg): QueryClientStatusRequest {
|
|
1776
|
+
return QueryClientStatusRequest.fromAmino(object.value);
|
|
1777
|
+
},
|
|
1778
|
+
toAminoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestAminoMsg {
|
|
1779
|
+
return {
|
|
1780
|
+
type: "cosmos-sdk/QueryClientStatusRequest",
|
|
1781
|
+
value: QueryClientStatusRequest.toAmino(message)
|
|
1782
|
+
};
|
|
1783
|
+
},
|
|
1784
|
+
fromProtoMsg(message: QueryClientStatusRequestProtoMsg): QueryClientStatusRequest {
|
|
1785
|
+
return QueryClientStatusRequest.decode(message.value);
|
|
1786
|
+
},
|
|
1787
|
+
toProto(message: QueryClientStatusRequest): Uint8Array {
|
|
1788
|
+
return QueryClientStatusRequest.encode(message).finish();
|
|
1789
|
+
},
|
|
1790
|
+
toProtoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestProtoMsg {
|
|
1791
|
+
return {
|
|
1792
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest",
|
|
1793
|
+
value: QueryClientStatusRequest.encode(message).finish()
|
|
1794
|
+
};
|
|
1795
|
+
}
|
|
1796
|
+
};
|
|
1797
|
+
function createBaseQueryClientStatusResponse(): QueryClientStatusResponse {
|
|
1798
|
+
return {
|
|
1799
|
+
status: ""
|
|
1800
|
+
};
|
|
1801
|
+
}
|
|
1802
|
+
export const QueryClientStatusResponse = {
|
|
1803
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse",
|
|
1804
|
+
encode(message: QueryClientStatusResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1805
|
+
if (message.status !== "") {
|
|
1806
|
+
writer.uint32(10).string(message.status);
|
|
1807
|
+
}
|
|
1808
|
+
return writer;
|
|
1809
|
+
},
|
|
1810
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusResponse {
|
|
1811
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1812
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1813
|
+
const message = createBaseQueryClientStatusResponse();
|
|
1814
|
+
while (reader.pos < end) {
|
|
1815
|
+
const tag = reader.uint32();
|
|
1816
|
+
switch (tag >>> 3) {
|
|
1817
|
+
case 1:
|
|
1818
|
+
message.status = reader.string();
|
|
1819
|
+
break;
|
|
1820
|
+
default:
|
|
1821
|
+
reader.skipType(tag & 7);
|
|
1822
|
+
break;
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
return message;
|
|
1826
|
+
},
|
|
1827
|
+
fromPartial(object: Partial<QueryClientStatusResponse>): QueryClientStatusResponse {
|
|
1828
|
+
const message = createBaseQueryClientStatusResponse();
|
|
1829
|
+
message.status = object.status ?? "";
|
|
1830
|
+
return message;
|
|
1831
|
+
},
|
|
1832
|
+
fromAmino(object: QueryClientStatusResponseAmino): QueryClientStatusResponse {
|
|
1833
|
+
const message = createBaseQueryClientStatusResponse();
|
|
1834
|
+
if (object.status !== undefined && object.status !== null) {
|
|
1835
|
+
message.status = object.status;
|
|
1836
|
+
}
|
|
1837
|
+
return message;
|
|
1838
|
+
},
|
|
1839
|
+
toAmino(message: QueryClientStatusResponse): QueryClientStatusResponseAmino {
|
|
1840
|
+
const obj: any = {};
|
|
1841
|
+
obj.status = message.status === "" ? undefined : message.status;
|
|
1842
|
+
return obj;
|
|
1843
|
+
},
|
|
1844
|
+
fromAminoMsg(object: QueryClientStatusResponseAminoMsg): QueryClientStatusResponse {
|
|
1845
|
+
return QueryClientStatusResponse.fromAmino(object.value);
|
|
1846
|
+
},
|
|
1847
|
+
toAminoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseAminoMsg {
|
|
1848
|
+
return {
|
|
1849
|
+
type: "cosmos-sdk/QueryClientStatusResponse",
|
|
1850
|
+
value: QueryClientStatusResponse.toAmino(message)
|
|
1851
|
+
};
|
|
1852
|
+
},
|
|
1853
|
+
fromProtoMsg(message: QueryClientStatusResponseProtoMsg): QueryClientStatusResponse {
|
|
1854
|
+
return QueryClientStatusResponse.decode(message.value);
|
|
1855
|
+
},
|
|
1856
|
+
toProto(message: QueryClientStatusResponse): Uint8Array {
|
|
1857
|
+
return QueryClientStatusResponse.encode(message).finish();
|
|
1858
|
+
},
|
|
1859
|
+
toProtoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseProtoMsg {
|
|
1860
|
+
return {
|
|
1861
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse",
|
|
1862
|
+
value: QueryClientStatusResponse.encode(message).finish()
|
|
1863
|
+
};
|
|
1864
|
+
}
|
|
1865
|
+
};
|
|
1866
|
+
function createBaseQueryClientParamsRequest(): QueryClientParamsRequest {
|
|
1867
|
+
return {};
|
|
1868
|
+
}
|
|
1869
|
+
export const QueryClientParamsRequest = {
|
|
1870
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest",
|
|
1871
|
+
encode(_: QueryClientParamsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1872
|
+
return writer;
|
|
1873
|
+
},
|
|
1874
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsRequest {
|
|
1875
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1876
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1877
|
+
const message = createBaseQueryClientParamsRequest();
|
|
1878
|
+
while (reader.pos < end) {
|
|
1879
|
+
const tag = reader.uint32();
|
|
1880
|
+
switch (tag >>> 3) {
|
|
1881
|
+
default:
|
|
1882
|
+
reader.skipType(tag & 7);
|
|
1883
|
+
break;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
return message;
|
|
1887
|
+
},
|
|
1888
|
+
fromPartial(_: Partial<QueryClientParamsRequest>): QueryClientParamsRequest {
|
|
1889
|
+
const message = createBaseQueryClientParamsRequest();
|
|
1890
|
+
return message;
|
|
1891
|
+
},
|
|
1892
|
+
fromAmino(_: QueryClientParamsRequestAmino): QueryClientParamsRequest {
|
|
1893
|
+
const message = createBaseQueryClientParamsRequest();
|
|
1894
|
+
return message;
|
|
1895
|
+
},
|
|
1896
|
+
toAmino(_: QueryClientParamsRequest): QueryClientParamsRequestAmino {
|
|
1897
|
+
const obj: any = {};
|
|
1898
|
+
return obj;
|
|
1899
|
+
},
|
|
1900
|
+
fromAminoMsg(object: QueryClientParamsRequestAminoMsg): QueryClientParamsRequest {
|
|
1901
|
+
return QueryClientParamsRequest.fromAmino(object.value);
|
|
1902
|
+
},
|
|
1903
|
+
toAminoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestAminoMsg {
|
|
1904
|
+
return {
|
|
1905
|
+
type: "cosmos-sdk/QueryClientParamsRequest",
|
|
1906
|
+
value: QueryClientParamsRequest.toAmino(message)
|
|
1907
|
+
};
|
|
1908
|
+
},
|
|
1909
|
+
fromProtoMsg(message: QueryClientParamsRequestProtoMsg): QueryClientParamsRequest {
|
|
1910
|
+
return QueryClientParamsRequest.decode(message.value);
|
|
1911
|
+
},
|
|
1912
|
+
toProto(message: QueryClientParamsRequest): Uint8Array {
|
|
1913
|
+
return QueryClientParamsRequest.encode(message).finish();
|
|
1914
|
+
},
|
|
1915
|
+
toProtoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestProtoMsg {
|
|
1916
|
+
return {
|
|
1917
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest",
|
|
1918
|
+
value: QueryClientParamsRequest.encode(message).finish()
|
|
1919
|
+
};
|
|
1920
|
+
}
|
|
1921
|
+
};
|
|
1922
|
+
function createBaseQueryClientParamsResponse(): QueryClientParamsResponse {
|
|
1923
|
+
return {
|
|
1924
|
+
params: undefined
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
export const QueryClientParamsResponse = {
|
|
1928
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse",
|
|
1929
|
+
encode(message: QueryClientParamsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1930
|
+
if (message.params !== undefined) {
|
|
1931
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
1932
|
+
}
|
|
1933
|
+
return writer;
|
|
1934
|
+
},
|
|
1935
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsResponse {
|
|
1936
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1937
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1938
|
+
const message = createBaseQueryClientParamsResponse();
|
|
1939
|
+
while (reader.pos < end) {
|
|
1940
|
+
const tag = reader.uint32();
|
|
1941
|
+
switch (tag >>> 3) {
|
|
1942
|
+
case 1:
|
|
1943
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
1944
|
+
break;
|
|
1945
|
+
default:
|
|
1946
|
+
reader.skipType(tag & 7);
|
|
1947
|
+
break;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
return message;
|
|
1951
|
+
},
|
|
1952
|
+
fromPartial(object: Partial<QueryClientParamsResponse>): QueryClientParamsResponse {
|
|
1953
|
+
const message = createBaseQueryClientParamsResponse();
|
|
1954
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
1955
|
+
return message;
|
|
1956
|
+
},
|
|
1957
|
+
fromAmino(object: QueryClientParamsResponseAmino): QueryClientParamsResponse {
|
|
1958
|
+
const message = createBaseQueryClientParamsResponse();
|
|
1959
|
+
if (object.params !== undefined && object.params !== null) {
|
|
1960
|
+
message.params = Params.fromAmino(object.params);
|
|
1961
|
+
}
|
|
1962
|
+
return message;
|
|
1963
|
+
},
|
|
1964
|
+
toAmino(message: QueryClientParamsResponse): QueryClientParamsResponseAmino {
|
|
1965
|
+
const obj: any = {};
|
|
1966
|
+
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
1967
|
+
return obj;
|
|
1968
|
+
},
|
|
1969
|
+
fromAminoMsg(object: QueryClientParamsResponseAminoMsg): QueryClientParamsResponse {
|
|
1970
|
+
return QueryClientParamsResponse.fromAmino(object.value);
|
|
1971
|
+
},
|
|
1972
|
+
toAminoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseAminoMsg {
|
|
1973
|
+
return {
|
|
1974
|
+
type: "cosmos-sdk/QueryClientParamsResponse",
|
|
1975
|
+
value: QueryClientParamsResponse.toAmino(message)
|
|
1976
|
+
};
|
|
1977
|
+
},
|
|
1978
|
+
fromProtoMsg(message: QueryClientParamsResponseProtoMsg): QueryClientParamsResponse {
|
|
1979
|
+
return QueryClientParamsResponse.decode(message.value);
|
|
1980
|
+
},
|
|
1981
|
+
toProto(message: QueryClientParamsResponse): Uint8Array {
|
|
1982
|
+
return QueryClientParamsResponse.encode(message).finish();
|
|
1983
|
+
},
|
|
1984
|
+
toProtoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseProtoMsg {
|
|
1985
|
+
return {
|
|
1986
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse",
|
|
1987
|
+
value: QueryClientParamsResponse.encode(message).finish()
|
|
1988
|
+
};
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1991
|
+
function createBaseQueryClientCreatorRequest(): QueryClientCreatorRequest {
|
|
1992
|
+
return {
|
|
1993
|
+
clientId: ""
|
|
1994
|
+
};
|
|
1995
|
+
}
|
|
1996
|
+
export const QueryClientCreatorRequest = {
|
|
1997
|
+
typeUrl: "/ibc.core.client.v1.QueryClientCreatorRequest",
|
|
1998
|
+
encode(message: QueryClientCreatorRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1999
|
+
if (message.clientId !== "") {
|
|
2000
|
+
writer.uint32(10).string(message.clientId);
|
|
2001
|
+
}
|
|
2002
|
+
return writer;
|
|
2003
|
+
},
|
|
2004
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientCreatorRequest {
|
|
2005
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2006
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2007
|
+
const message = createBaseQueryClientCreatorRequest();
|
|
2008
|
+
while (reader.pos < end) {
|
|
2009
|
+
const tag = reader.uint32();
|
|
2010
|
+
switch (tag >>> 3) {
|
|
2011
|
+
case 1:
|
|
2012
|
+
message.clientId = reader.string();
|
|
2013
|
+
break;
|
|
2014
|
+
default:
|
|
2015
|
+
reader.skipType(tag & 7);
|
|
2016
|
+
break;
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
return message;
|
|
2020
|
+
},
|
|
2021
|
+
fromPartial(object: Partial<QueryClientCreatorRequest>): QueryClientCreatorRequest {
|
|
2022
|
+
const message = createBaseQueryClientCreatorRequest();
|
|
2023
|
+
message.clientId = object.clientId ?? "";
|
|
2024
|
+
return message;
|
|
2025
|
+
},
|
|
2026
|
+
fromAmino(object: QueryClientCreatorRequestAmino): QueryClientCreatorRequest {
|
|
2027
|
+
const message = createBaseQueryClientCreatorRequest();
|
|
2028
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
2029
|
+
message.clientId = object.client_id;
|
|
2030
|
+
}
|
|
2031
|
+
return message;
|
|
2032
|
+
},
|
|
2033
|
+
toAmino(message: QueryClientCreatorRequest): QueryClientCreatorRequestAmino {
|
|
2034
|
+
const obj: any = {};
|
|
2035
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
2036
|
+
return obj;
|
|
2037
|
+
},
|
|
2038
|
+
fromAminoMsg(object: QueryClientCreatorRequestAminoMsg): QueryClientCreatorRequest {
|
|
2039
|
+
return QueryClientCreatorRequest.fromAmino(object.value);
|
|
2040
|
+
},
|
|
2041
|
+
toAminoMsg(message: QueryClientCreatorRequest): QueryClientCreatorRequestAminoMsg {
|
|
2042
|
+
return {
|
|
2043
|
+
type: "cosmos-sdk/QueryClientCreatorRequest",
|
|
2044
|
+
value: QueryClientCreatorRequest.toAmino(message)
|
|
2045
|
+
};
|
|
2046
|
+
},
|
|
2047
|
+
fromProtoMsg(message: QueryClientCreatorRequestProtoMsg): QueryClientCreatorRequest {
|
|
2048
|
+
return QueryClientCreatorRequest.decode(message.value);
|
|
2049
|
+
},
|
|
2050
|
+
toProto(message: QueryClientCreatorRequest): Uint8Array {
|
|
2051
|
+
return QueryClientCreatorRequest.encode(message).finish();
|
|
2052
|
+
},
|
|
2053
|
+
toProtoMsg(message: QueryClientCreatorRequest): QueryClientCreatorRequestProtoMsg {
|
|
2054
|
+
return {
|
|
2055
|
+
typeUrl: "/ibc.core.client.v1.QueryClientCreatorRequest",
|
|
2056
|
+
value: QueryClientCreatorRequest.encode(message).finish()
|
|
2057
|
+
};
|
|
2058
|
+
}
|
|
2059
|
+
};
|
|
2060
|
+
function createBaseQueryClientCreatorResponse(): QueryClientCreatorResponse {
|
|
2061
|
+
return {
|
|
2062
|
+
creator: ""
|
|
2063
|
+
};
|
|
2064
|
+
}
|
|
2065
|
+
export const QueryClientCreatorResponse = {
|
|
2066
|
+
typeUrl: "/ibc.core.client.v1.QueryClientCreatorResponse",
|
|
2067
|
+
encode(message: QueryClientCreatorResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2068
|
+
if (message.creator !== "") {
|
|
2069
|
+
writer.uint32(10).string(message.creator);
|
|
2070
|
+
}
|
|
2071
|
+
return writer;
|
|
2072
|
+
},
|
|
2073
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientCreatorResponse {
|
|
2074
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2075
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2076
|
+
const message = createBaseQueryClientCreatorResponse();
|
|
2077
|
+
while (reader.pos < end) {
|
|
2078
|
+
const tag = reader.uint32();
|
|
2079
|
+
switch (tag >>> 3) {
|
|
2080
|
+
case 1:
|
|
2081
|
+
message.creator = reader.string();
|
|
2082
|
+
break;
|
|
2083
|
+
default:
|
|
2084
|
+
reader.skipType(tag & 7);
|
|
2085
|
+
break;
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
return message;
|
|
2089
|
+
},
|
|
2090
|
+
fromPartial(object: Partial<QueryClientCreatorResponse>): QueryClientCreatorResponse {
|
|
2091
|
+
const message = createBaseQueryClientCreatorResponse();
|
|
2092
|
+
message.creator = object.creator ?? "";
|
|
2093
|
+
return message;
|
|
2094
|
+
},
|
|
2095
|
+
fromAmino(object: QueryClientCreatorResponseAmino): QueryClientCreatorResponse {
|
|
2096
|
+
const message = createBaseQueryClientCreatorResponse();
|
|
2097
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
2098
|
+
message.creator = object.creator;
|
|
2099
|
+
}
|
|
2100
|
+
return message;
|
|
2101
|
+
},
|
|
2102
|
+
toAmino(message: QueryClientCreatorResponse): QueryClientCreatorResponseAmino {
|
|
2103
|
+
const obj: any = {};
|
|
2104
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
2105
|
+
return obj;
|
|
2106
|
+
},
|
|
2107
|
+
fromAminoMsg(object: QueryClientCreatorResponseAminoMsg): QueryClientCreatorResponse {
|
|
2108
|
+
return QueryClientCreatorResponse.fromAmino(object.value);
|
|
2109
|
+
},
|
|
2110
|
+
toAminoMsg(message: QueryClientCreatorResponse): QueryClientCreatorResponseAminoMsg {
|
|
2111
|
+
return {
|
|
2112
|
+
type: "cosmos-sdk/QueryClientCreatorResponse",
|
|
2113
|
+
value: QueryClientCreatorResponse.toAmino(message)
|
|
2114
|
+
};
|
|
2115
|
+
},
|
|
2116
|
+
fromProtoMsg(message: QueryClientCreatorResponseProtoMsg): QueryClientCreatorResponse {
|
|
2117
|
+
return QueryClientCreatorResponse.decode(message.value);
|
|
2118
|
+
},
|
|
2119
|
+
toProto(message: QueryClientCreatorResponse): Uint8Array {
|
|
2120
|
+
return QueryClientCreatorResponse.encode(message).finish();
|
|
2121
|
+
},
|
|
2122
|
+
toProtoMsg(message: QueryClientCreatorResponse): QueryClientCreatorResponseProtoMsg {
|
|
2123
|
+
return {
|
|
2124
|
+
typeUrl: "/ibc.core.client.v1.QueryClientCreatorResponse",
|
|
2125
|
+
value: QueryClientCreatorResponse.encode(message).finish()
|
|
2126
|
+
};
|
|
2127
|
+
}
|
|
2128
|
+
};
|
|
2129
|
+
function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest {
|
|
2130
|
+
return {};
|
|
2131
|
+
}
|
|
2132
|
+
export const QueryUpgradedClientStateRequest = {
|
|
2133
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest",
|
|
2134
|
+
encode(_: QueryUpgradedClientStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2135
|
+
return writer;
|
|
2136
|
+
},
|
|
2137
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateRequest {
|
|
2138
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2139
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2140
|
+
const message = createBaseQueryUpgradedClientStateRequest();
|
|
2141
|
+
while (reader.pos < end) {
|
|
2142
|
+
const tag = reader.uint32();
|
|
2143
|
+
switch (tag >>> 3) {
|
|
2144
|
+
default:
|
|
2145
|
+
reader.skipType(tag & 7);
|
|
2146
|
+
break;
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
return message;
|
|
2150
|
+
},
|
|
2151
|
+
fromPartial(_: Partial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest {
|
|
2152
|
+
const message = createBaseQueryUpgradedClientStateRequest();
|
|
2153
|
+
return message;
|
|
2154
|
+
},
|
|
2155
|
+
fromAmino(_: QueryUpgradedClientStateRequestAmino): QueryUpgradedClientStateRequest {
|
|
2156
|
+
const message = createBaseQueryUpgradedClientStateRequest();
|
|
2157
|
+
return message;
|
|
2158
|
+
},
|
|
2159
|
+
toAmino(_: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAmino {
|
|
2160
|
+
const obj: any = {};
|
|
2161
|
+
return obj;
|
|
2162
|
+
},
|
|
2163
|
+
fromAminoMsg(object: QueryUpgradedClientStateRequestAminoMsg): QueryUpgradedClientStateRequest {
|
|
2164
|
+
return QueryUpgradedClientStateRequest.fromAmino(object.value);
|
|
2165
|
+
},
|
|
2166
|
+
toAminoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAminoMsg {
|
|
2167
|
+
return {
|
|
2168
|
+
type: "cosmos-sdk/QueryUpgradedClientStateRequest",
|
|
2169
|
+
value: QueryUpgradedClientStateRequest.toAmino(message)
|
|
2170
|
+
};
|
|
2171
|
+
},
|
|
2172
|
+
fromProtoMsg(message: QueryUpgradedClientStateRequestProtoMsg): QueryUpgradedClientStateRequest {
|
|
2173
|
+
return QueryUpgradedClientStateRequest.decode(message.value);
|
|
2174
|
+
},
|
|
2175
|
+
toProto(message: QueryUpgradedClientStateRequest): Uint8Array {
|
|
2176
|
+
return QueryUpgradedClientStateRequest.encode(message).finish();
|
|
2177
|
+
},
|
|
2178
|
+
toProtoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestProtoMsg {
|
|
2179
|
+
return {
|
|
2180
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest",
|
|
2181
|
+
value: QueryUpgradedClientStateRequest.encode(message).finish()
|
|
2182
|
+
};
|
|
2183
|
+
}
|
|
2184
|
+
};
|
|
2185
|
+
function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse {
|
|
2186
|
+
return {
|
|
2187
|
+
upgradedClientState: undefined
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
export const QueryUpgradedClientStateResponse = {
|
|
2191
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse",
|
|
2192
|
+
encode(message: QueryUpgradedClientStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2193
|
+
if (message.upgradedClientState !== undefined) {
|
|
2194
|
+
Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim();
|
|
2195
|
+
}
|
|
2196
|
+
return writer;
|
|
2197
|
+
},
|
|
2198
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateResponse {
|
|
2199
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2200
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2201
|
+
const message = createBaseQueryUpgradedClientStateResponse();
|
|
2202
|
+
while (reader.pos < end) {
|
|
2203
|
+
const tag = reader.uint32();
|
|
2204
|
+
switch (tag >>> 3) {
|
|
2205
|
+
case 1:
|
|
2206
|
+
message.upgradedClientState = Any.decode(reader, reader.uint32());
|
|
2207
|
+
break;
|
|
2208
|
+
default:
|
|
2209
|
+
reader.skipType(tag & 7);
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
return message;
|
|
2214
|
+
},
|
|
2215
|
+
fromPartial(object: Partial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse {
|
|
2216
|
+
const message = createBaseQueryUpgradedClientStateResponse();
|
|
2217
|
+
message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined;
|
|
2218
|
+
return message;
|
|
2219
|
+
},
|
|
2220
|
+
fromAmino(object: QueryUpgradedClientStateResponseAmino): QueryUpgradedClientStateResponse {
|
|
2221
|
+
const message = createBaseQueryUpgradedClientStateResponse();
|
|
2222
|
+
if (object.upgraded_client_state !== undefined && object.upgraded_client_state !== null) {
|
|
2223
|
+
message.upgradedClientState = Any.fromAmino(object.upgraded_client_state);
|
|
2224
|
+
}
|
|
2225
|
+
return message;
|
|
2226
|
+
},
|
|
2227
|
+
toAmino(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAmino {
|
|
2228
|
+
const obj: any = {};
|
|
2229
|
+
obj.upgraded_client_state = message.upgradedClientState ? Any.toAmino(message.upgradedClientState) : undefined;
|
|
2230
|
+
return obj;
|
|
2231
|
+
},
|
|
2232
|
+
fromAminoMsg(object: QueryUpgradedClientStateResponseAminoMsg): QueryUpgradedClientStateResponse {
|
|
2233
|
+
return QueryUpgradedClientStateResponse.fromAmino(object.value);
|
|
2234
|
+
},
|
|
2235
|
+
toAminoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAminoMsg {
|
|
2236
|
+
return {
|
|
2237
|
+
type: "cosmos-sdk/QueryUpgradedClientStateResponse",
|
|
2238
|
+
value: QueryUpgradedClientStateResponse.toAmino(message)
|
|
2239
|
+
};
|
|
2240
|
+
},
|
|
2241
|
+
fromProtoMsg(message: QueryUpgradedClientStateResponseProtoMsg): QueryUpgradedClientStateResponse {
|
|
2242
|
+
return QueryUpgradedClientStateResponse.decode(message.value);
|
|
2243
|
+
},
|
|
2244
|
+
toProto(message: QueryUpgradedClientStateResponse): Uint8Array {
|
|
2245
|
+
return QueryUpgradedClientStateResponse.encode(message).finish();
|
|
2246
|
+
},
|
|
2247
|
+
toProtoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseProtoMsg {
|
|
2248
|
+
return {
|
|
2249
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse",
|
|
2250
|
+
value: QueryUpgradedClientStateResponse.encode(message).finish()
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
};
|
|
2254
|
+
function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest {
|
|
2255
|
+
return {};
|
|
2256
|
+
}
|
|
2257
|
+
export const QueryUpgradedConsensusStateRequest = {
|
|
2258
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest",
|
|
2259
|
+
encode(_: QueryUpgradedConsensusStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2260
|
+
return writer;
|
|
2261
|
+
},
|
|
2262
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest {
|
|
2263
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2264
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2265
|
+
const message = createBaseQueryUpgradedConsensusStateRequest();
|
|
2266
|
+
while (reader.pos < end) {
|
|
2267
|
+
const tag = reader.uint32();
|
|
2268
|
+
switch (tag >>> 3) {
|
|
2269
|
+
default:
|
|
2270
|
+
reader.skipType(tag & 7);
|
|
2271
|
+
break;
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
return message;
|
|
2275
|
+
},
|
|
2276
|
+
fromPartial(_: Partial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest {
|
|
2277
|
+
const message = createBaseQueryUpgradedConsensusStateRequest();
|
|
2278
|
+
return message;
|
|
2279
|
+
},
|
|
2280
|
+
fromAmino(_: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest {
|
|
2281
|
+
const message = createBaseQueryUpgradedConsensusStateRequest();
|
|
2282
|
+
return message;
|
|
2283
|
+
},
|
|
2284
|
+
toAmino(_: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino {
|
|
2285
|
+
const obj: any = {};
|
|
2286
|
+
return obj;
|
|
2287
|
+
},
|
|
2288
|
+
fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest {
|
|
2289
|
+
return QueryUpgradedConsensusStateRequest.fromAmino(object.value);
|
|
2290
|
+
},
|
|
2291
|
+
toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg {
|
|
2292
|
+
return {
|
|
2293
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateRequest",
|
|
2294
|
+
value: QueryUpgradedConsensusStateRequest.toAmino(message)
|
|
2295
|
+
};
|
|
2296
|
+
},
|
|
2297
|
+
fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest {
|
|
2298
|
+
return QueryUpgradedConsensusStateRequest.decode(message.value);
|
|
2299
|
+
},
|
|
2300
|
+
toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array {
|
|
2301
|
+
return QueryUpgradedConsensusStateRequest.encode(message).finish();
|
|
2302
|
+
},
|
|
2303
|
+
toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg {
|
|
2304
|
+
return {
|
|
2305
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest",
|
|
2306
|
+
value: QueryUpgradedConsensusStateRequest.encode(message).finish()
|
|
2307
|
+
};
|
|
2308
|
+
}
|
|
2309
|
+
};
|
|
2310
|
+
function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse {
|
|
2311
|
+
return {
|
|
2312
|
+
upgradedConsensusState: undefined
|
|
2313
|
+
};
|
|
2314
|
+
}
|
|
2315
|
+
export const QueryUpgradedConsensusStateResponse = {
|
|
2316
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse",
|
|
2317
|
+
encode(message: QueryUpgradedConsensusStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2318
|
+
if (message.upgradedConsensusState !== undefined) {
|
|
2319
|
+
Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim();
|
|
2320
|
+
}
|
|
2321
|
+
return writer;
|
|
2322
|
+
},
|
|
2323
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse {
|
|
2324
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2325
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2326
|
+
const message = createBaseQueryUpgradedConsensusStateResponse();
|
|
2327
|
+
while (reader.pos < end) {
|
|
2328
|
+
const tag = reader.uint32();
|
|
2329
|
+
switch (tag >>> 3) {
|
|
2330
|
+
case 1:
|
|
2331
|
+
message.upgradedConsensusState = Any.decode(reader, reader.uint32());
|
|
2332
|
+
break;
|
|
2333
|
+
default:
|
|
2334
|
+
reader.skipType(tag & 7);
|
|
2335
|
+
break;
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
return message;
|
|
2339
|
+
},
|
|
2340
|
+
fromPartial(object: Partial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse {
|
|
2341
|
+
const message = createBaseQueryUpgradedConsensusStateResponse();
|
|
2342
|
+
message.upgradedConsensusState = object.upgradedConsensusState !== undefined && object.upgradedConsensusState !== null ? Any.fromPartial(object.upgradedConsensusState) : undefined;
|
|
2343
|
+
return message;
|
|
2344
|
+
},
|
|
2345
|
+
fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse {
|
|
2346
|
+
const message = createBaseQueryUpgradedConsensusStateResponse();
|
|
2347
|
+
if (object.upgraded_consensus_state !== undefined && object.upgraded_consensus_state !== null) {
|
|
2348
|
+
message.upgradedConsensusState = Any.fromAmino(object.upgraded_consensus_state);
|
|
2349
|
+
}
|
|
2350
|
+
return message;
|
|
2351
|
+
},
|
|
2352
|
+
toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino {
|
|
2353
|
+
const obj: any = {};
|
|
2354
|
+
obj.upgraded_consensus_state = message.upgradedConsensusState ? Any.toAmino(message.upgradedConsensusState) : undefined;
|
|
2355
|
+
return obj;
|
|
2356
|
+
},
|
|
2357
|
+
fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse {
|
|
2358
|
+
return QueryUpgradedConsensusStateResponse.fromAmino(object.value);
|
|
2359
|
+
},
|
|
2360
|
+
toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg {
|
|
2361
|
+
return {
|
|
2362
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateResponse",
|
|
2363
|
+
value: QueryUpgradedConsensusStateResponse.toAmino(message)
|
|
2364
|
+
};
|
|
2365
|
+
},
|
|
2366
|
+
fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse {
|
|
2367
|
+
return QueryUpgradedConsensusStateResponse.decode(message.value);
|
|
2368
|
+
},
|
|
2369
|
+
toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array {
|
|
2370
|
+
return QueryUpgradedConsensusStateResponse.encode(message).finish();
|
|
2371
|
+
},
|
|
2372
|
+
toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg {
|
|
2373
|
+
return {
|
|
2374
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse",
|
|
2375
|
+
value: QueryUpgradedConsensusStateResponse.encode(message).finish()
|
|
2376
|
+
};
|
|
2377
|
+
}
|
|
2378
|
+
};
|
|
2379
|
+
function createBaseQueryVerifyMembershipRequest(): QueryVerifyMembershipRequest {
|
|
2380
|
+
return {
|
|
2381
|
+
clientId: "",
|
|
2382
|
+
proof: new Uint8Array(),
|
|
2383
|
+
proofHeight: Height.fromPartial({}),
|
|
2384
|
+
value: new Uint8Array(),
|
|
2385
|
+
timeDelay: BigInt(0),
|
|
2386
|
+
blockDelay: BigInt(0),
|
|
2387
|
+
merklePath: MerklePath.fromPartial({})
|
|
2388
|
+
};
|
|
2389
|
+
}
|
|
2390
|
+
export const QueryVerifyMembershipRequest = {
|
|
2391
|
+
typeUrl: "/ibc.core.client.v1.QueryVerifyMembershipRequest",
|
|
2392
|
+
encode(message: QueryVerifyMembershipRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2393
|
+
if (message.clientId !== "") {
|
|
2394
|
+
writer.uint32(10).string(message.clientId);
|
|
2395
|
+
}
|
|
2396
|
+
if (message.proof.length !== 0) {
|
|
2397
|
+
writer.uint32(18).bytes(message.proof);
|
|
2398
|
+
}
|
|
2399
|
+
if (message.proofHeight !== undefined) {
|
|
2400
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
2401
|
+
}
|
|
2402
|
+
if (message.value.length !== 0) {
|
|
2403
|
+
writer.uint32(42).bytes(message.value);
|
|
2404
|
+
}
|
|
2405
|
+
if (message.timeDelay !== BigInt(0)) {
|
|
2406
|
+
writer.uint32(48).uint64(message.timeDelay);
|
|
2407
|
+
}
|
|
2408
|
+
if (message.blockDelay !== BigInt(0)) {
|
|
2409
|
+
writer.uint32(56).uint64(message.blockDelay);
|
|
2410
|
+
}
|
|
2411
|
+
if (message.merklePath !== undefined) {
|
|
2412
|
+
MerklePath.encode(message.merklePath, writer.uint32(66).fork()).ldelim();
|
|
2413
|
+
}
|
|
2414
|
+
return writer;
|
|
2415
|
+
},
|
|
2416
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryVerifyMembershipRequest {
|
|
2417
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2418
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2419
|
+
const message = createBaseQueryVerifyMembershipRequest();
|
|
2420
|
+
while (reader.pos < end) {
|
|
2421
|
+
const tag = reader.uint32();
|
|
2422
|
+
switch (tag >>> 3) {
|
|
2423
|
+
case 1:
|
|
2424
|
+
message.clientId = reader.string();
|
|
2425
|
+
break;
|
|
2426
|
+
case 2:
|
|
2427
|
+
message.proof = reader.bytes();
|
|
2428
|
+
break;
|
|
2429
|
+
case 3:
|
|
2430
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
2431
|
+
break;
|
|
2432
|
+
case 5:
|
|
2433
|
+
message.value = reader.bytes();
|
|
2434
|
+
break;
|
|
2435
|
+
case 6:
|
|
2436
|
+
message.timeDelay = reader.uint64();
|
|
2437
|
+
break;
|
|
2438
|
+
case 7:
|
|
2439
|
+
message.blockDelay = reader.uint64();
|
|
2440
|
+
break;
|
|
2441
|
+
case 8:
|
|
2442
|
+
message.merklePath = MerklePath.decode(reader, reader.uint32());
|
|
2443
|
+
break;
|
|
2444
|
+
default:
|
|
2445
|
+
reader.skipType(tag & 7);
|
|
2446
|
+
break;
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
return message;
|
|
2450
|
+
},
|
|
2451
|
+
fromPartial(object: Partial<QueryVerifyMembershipRequest>): QueryVerifyMembershipRequest {
|
|
2452
|
+
const message = createBaseQueryVerifyMembershipRequest();
|
|
2453
|
+
message.clientId = object.clientId ?? "";
|
|
2454
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
2455
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
2456
|
+
message.value = object.value ?? new Uint8Array();
|
|
2457
|
+
message.timeDelay = object.timeDelay !== undefined && object.timeDelay !== null ? BigInt(object.timeDelay.toString()) : BigInt(0);
|
|
2458
|
+
message.blockDelay = object.blockDelay !== undefined && object.blockDelay !== null ? BigInt(object.blockDelay.toString()) : BigInt(0);
|
|
2459
|
+
message.merklePath = object.merklePath !== undefined && object.merklePath !== null ? MerklePath.fromPartial(object.merklePath) : undefined;
|
|
2460
|
+
return message;
|
|
2461
|
+
},
|
|
2462
|
+
fromAmino(object: QueryVerifyMembershipRequestAmino): QueryVerifyMembershipRequest {
|
|
2463
|
+
const message = createBaseQueryVerifyMembershipRequest();
|
|
2464
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
2465
|
+
message.clientId = object.client_id;
|
|
2466
|
+
}
|
|
2467
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
2468
|
+
message.proof = bytesFromBase64(object.proof);
|
|
2469
|
+
}
|
|
2470
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
2471
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
2472
|
+
}
|
|
2473
|
+
if (object.value !== undefined && object.value !== null) {
|
|
2474
|
+
message.value = bytesFromBase64(object.value);
|
|
2475
|
+
}
|
|
2476
|
+
if (object.time_delay !== undefined && object.time_delay !== null) {
|
|
2477
|
+
message.timeDelay = BigInt(object.time_delay);
|
|
2478
|
+
}
|
|
2479
|
+
if (object.block_delay !== undefined && object.block_delay !== null) {
|
|
2480
|
+
message.blockDelay = BigInt(object.block_delay);
|
|
2481
|
+
}
|
|
2482
|
+
if (object.merkle_path !== undefined && object.merkle_path !== null) {
|
|
2483
|
+
message.merklePath = MerklePath.fromAmino(object.merkle_path);
|
|
2484
|
+
}
|
|
2485
|
+
return message;
|
|
2486
|
+
},
|
|
2487
|
+
toAmino(message: QueryVerifyMembershipRequest): QueryVerifyMembershipRequestAmino {
|
|
2488
|
+
const obj: any = {};
|
|
2489
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
2490
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
2491
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
2492
|
+
obj.value = message.value ? base64FromBytes(message.value) : undefined;
|
|
2493
|
+
obj.time_delay = message.timeDelay !== BigInt(0) ? message.timeDelay?.toString() : undefined;
|
|
2494
|
+
obj.block_delay = message.blockDelay !== BigInt(0) ? message.blockDelay?.toString() : undefined;
|
|
2495
|
+
obj.merkle_path = message.merklePath ? MerklePath.toAmino(message.merklePath) : undefined;
|
|
2496
|
+
return obj;
|
|
2497
|
+
},
|
|
2498
|
+
fromAminoMsg(object: QueryVerifyMembershipRequestAminoMsg): QueryVerifyMembershipRequest {
|
|
2499
|
+
return QueryVerifyMembershipRequest.fromAmino(object.value);
|
|
2500
|
+
},
|
|
2501
|
+
toAminoMsg(message: QueryVerifyMembershipRequest): QueryVerifyMembershipRequestAminoMsg {
|
|
2502
|
+
return {
|
|
2503
|
+
type: "cosmos-sdk/QueryVerifyMembershipRequest",
|
|
2504
|
+
value: QueryVerifyMembershipRequest.toAmino(message)
|
|
2505
|
+
};
|
|
2506
|
+
},
|
|
2507
|
+
fromProtoMsg(message: QueryVerifyMembershipRequestProtoMsg): QueryVerifyMembershipRequest {
|
|
2508
|
+
return QueryVerifyMembershipRequest.decode(message.value);
|
|
2509
|
+
},
|
|
2510
|
+
toProto(message: QueryVerifyMembershipRequest): Uint8Array {
|
|
2511
|
+
return QueryVerifyMembershipRequest.encode(message).finish();
|
|
2512
|
+
},
|
|
2513
|
+
toProtoMsg(message: QueryVerifyMembershipRequest): QueryVerifyMembershipRequestProtoMsg {
|
|
2514
|
+
return {
|
|
2515
|
+
typeUrl: "/ibc.core.client.v1.QueryVerifyMembershipRequest",
|
|
2516
|
+
value: QueryVerifyMembershipRequest.encode(message).finish()
|
|
2517
|
+
};
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
function createBaseQueryVerifyMembershipResponse(): QueryVerifyMembershipResponse {
|
|
2521
|
+
return {
|
|
2522
|
+
success: false
|
|
2523
|
+
};
|
|
2524
|
+
}
|
|
2525
|
+
export const QueryVerifyMembershipResponse = {
|
|
2526
|
+
typeUrl: "/ibc.core.client.v1.QueryVerifyMembershipResponse",
|
|
2527
|
+
encode(message: QueryVerifyMembershipResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2528
|
+
if (message.success === true) {
|
|
2529
|
+
writer.uint32(8).bool(message.success);
|
|
2530
|
+
}
|
|
2531
|
+
return writer;
|
|
2532
|
+
},
|
|
2533
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryVerifyMembershipResponse {
|
|
2534
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2535
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2536
|
+
const message = createBaseQueryVerifyMembershipResponse();
|
|
2537
|
+
while (reader.pos < end) {
|
|
2538
|
+
const tag = reader.uint32();
|
|
2539
|
+
switch (tag >>> 3) {
|
|
2540
|
+
case 1:
|
|
2541
|
+
message.success = reader.bool();
|
|
2542
|
+
break;
|
|
2543
|
+
default:
|
|
2544
|
+
reader.skipType(tag & 7);
|
|
2545
|
+
break;
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
return message;
|
|
2549
|
+
},
|
|
2550
|
+
fromPartial(object: Partial<QueryVerifyMembershipResponse>): QueryVerifyMembershipResponse {
|
|
2551
|
+
const message = createBaseQueryVerifyMembershipResponse();
|
|
2552
|
+
message.success = object.success ?? false;
|
|
2553
|
+
return message;
|
|
2554
|
+
},
|
|
2555
|
+
fromAmino(object: QueryVerifyMembershipResponseAmino): QueryVerifyMembershipResponse {
|
|
2556
|
+
const message = createBaseQueryVerifyMembershipResponse();
|
|
2557
|
+
if (object.success !== undefined && object.success !== null) {
|
|
2558
|
+
message.success = object.success;
|
|
2559
|
+
}
|
|
2560
|
+
return message;
|
|
2561
|
+
},
|
|
2562
|
+
toAmino(message: QueryVerifyMembershipResponse): QueryVerifyMembershipResponseAmino {
|
|
2563
|
+
const obj: any = {};
|
|
2564
|
+
obj.success = message.success === false ? undefined : message.success;
|
|
2565
|
+
return obj;
|
|
2566
|
+
},
|
|
2567
|
+
fromAminoMsg(object: QueryVerifyMembershipResponseAminoMsg): QueryVerifyMembershipResponse {
|
|
2568
|
+
return QueryVerifyMembershipResponse.fromAmino(object.value);
|
|
2569
|
+
},
|
|
2570
|
+
toAminoMsg(message: QueryVerifyMembershipResponse): QueryVerifyMembershipResponseAminoMsg {
|
|
2571
|
+
return {
|
|
2572
|
+
type: "cosmos-sdk/QueryVerifyMembershipResponse",
|
|
2573
|
+
value: QueryVerifyMembershipResponse.toAmino(message)
|
|
2574
|
+
};
|
|
2575
|
+
},
|
|
2576
|
+
fromProtoMsg(message: QueryVerifyMembershipResponseProtoMsg): QueryVerifyMembershipResponse {
|
|
2577
|
+
return QueryVerifyMembershipResponse.decode(message.value);
|
|
2578
|
+
},
|
|
2579
|
+
toProto(message: QueryVerifyMembershipResponse): Uint8Array {
|
|
2580
|
+
return QueryVerifyMembershipResponse.encode(message).finish();
|
|
2581
|
+
},
|
|
2582
|
+
toProtoMsg(message: QueryVerifyMembershipResponse): QueryVerifyMembershipResponseProtoMsg {
|
|
2583
|
+
return {
|
|
2584
|
+
typeUrl: "/ibc.core.client.v1.QueryVerifyMembershipResponse",
|
|
2585
|
+
value: QueryVerifyMembershipResponse.encode(message).finish()
|
|
2586
|
+
};
|
|
2587
|
+
}
|
|
2588
|
+
};
|