@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,1472 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
+
import { ConnectionEnd, ConnectionEndAmino, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionAmino, IdentifiedConnectionSDKType } from "./connection";
|
|
4
|
+
import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, Params, ParamsAmino, ParamsSDKType } from "../../client/v1/client";
|
|
5
|
+
import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any";
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
7
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
8
|
+
/**
|
|
9
|
+
* QueryConnectionRequest is the request type for the Query/Connection RPC
|
|
10
|
+
* method
|
|
11
|
+
*/
|
|
12
|
+
export interface QueryConnectionRequest {
|
|
13
|
+
/** connection unique identifier */
|
|
14
|
+
connectionId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface QueryConnectionRequestProtoMsg {
|
|
17
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest";
|
|
18
|
+
value: Uint8Array;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* QueryConnectionRequest is the request type for the Query/Connection RPC
|
|
22
|
+
* method
|
|
23
|
+
* @name QueryConnectionRequestAmino
|
|
24
|
+
* @package ibc.core.connection.v1
|
|
25
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
export interface QueryConnectionRequestAmino {
|
|
28
|
+
/**
|
|
29
|
+
* connection unique identifier
|
|
30
|
+
*/
|
|
31
|
+
connection_id?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface QueryConnectionRequestAminoMsg {
|
|
34
|
+
type: "cosmos-sdk/QueryConnectionRequest";
|
|
35
|
+
value: QueryConnectionRequestAmino;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* QueryConnectionRequest is the request type for the Query/Connection RPC
|
|
39
|
+
* method
|
|
40
|
+
*/
|
|
41
|
+
export interface QueryConnectionRequestSDKType {
|
|
42
|
+
connection_id: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
|
46
|
+
* method. Besides the connection end, it includes a proof and the height from
|
|
47
|
+
* which the proof was retrieved.
|
|
48
|
+
*/
|
|
49
|
+
export interface QueryConnectionResponse {
|
|
50
|
+
/** connection associated with the request identifier */
|
|
51
|
+
connection?: ConnectionEnd;
|
|
52
|
+
/** merkle proof of existence */
|
|
53
|
+
proof: Uint8Array;
|
|
54
|
+
/** height at which the proof was retrieved */
|
|
55
|
+
proofHeight: Height;
|
|
56
|
+
}
|
|
57
|
+
export interface QueryConnectionResponseProtoMsg {
|
|
58
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse";
|
|
59
|
+
value: Uint8Array;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
|
63
|
+
* method. Besides the connection end, it includes a proof and the height from
|
|
64
|
+
* which the proof was retrieved.
|
|
65
|
+
* @name QueryConnectionResponseAmino
|
|
66
|
+
* @package ibc.core.connection.v1
|
|
67
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionResponse
|
|
68
|
+
*/
|
|
69
|
+
export interface QueryConnectionResponseAmino {
|
|
70
|
+
/**
|
|
71
|
+
* connection associated with the request identifier
|
|
72
|
+
*/
|
|
73
|
+
connection?: ConnectionEndAmino;
|
|
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 QueryConnectionResponseAminoMsg {
|
|
84
|
+
type: "cosmos-sdk/QueryConnectionResponse";
|
|
85
|
+
value: QueryConnectionResponseAmino;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
|
89
|
+
* method. Besides the connection end, it includes a proof and the height from
|
|
90
|
+
* which the proof was retrieved.
|
|
91
|
+
*/
|
|
92
|
+
export interface QueryConnectionResponseSDKType {
|
|
93
|
+
connection?: ConnectionEndSDKType;
|
|
94
|
+
proof: Uint8Array;
|
|
95
|
+
proof_height: HeightSDKType;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
|
99
|
+
* method
|
|
100
|
+
*/
|
|
101
|
+
export interface QueryConnectionsRequest {
|
|
102
|
+
pagination?: PageRequest;
|
|
103
|
+
}
|
|
104
|
+
export interface QueryConnectionsRequestProtoMsg {
|
|
105
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest";
|
|
106
|
+
value: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
|
110
|
+
* method
|
|
111
|
+
* @name QueryConnectionsRequestAmino
|
|
112
|
+
* @package ibc.core.connection.v1
|
|
113
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionsRequest
|
|
114
|
+
*/
|
|
115
|
+
export interface QueryConnectionsRequestAmino {
|
|
116
|
+
pagination?: PageRequestAmino;
|
|
117
|
+
}
|
|
118
|
+
export interface QueryConnectionsRequestAminoMsg {
|
|
119
|
+
type: "cosmos-sdk/QueryConnectionsRequest";
|
|
120
|
+
value: QueryConnectionsRequestAmino;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
|
124
|
+
* method
|
|
125
|
+
*/
|
|
126
|
+
export interface QueryConnectionsRequestSDKType {
|
|
127
|
+
pagination?: PageRequestSDKType;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
|
131
|
+
* method.
|
|
132
|
+
*/
|
|
133
|
+
export interface QueryConnectionsResponse {
|
|
134
|
+
/** list of stored connections of the chain. */
|
|
135
|
+
connections: IdentifiedConnection[];
|
|
136
|
+
/** pagination response */
|
|
137
|
+
pagination?: PageResponse;
|
|
138
|
+
/** query block height */
|
|
139
|
+
height: Height;
|
|
140
|
+
}
|
|
141
|
+
export interface QueryConnectionsResponseProtoMsg {
|
|
142
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse";
|
|
143
|
+
value: Uint8Array;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
|
147
|
+
* method.
|
|
148
|
+
* @name QueryConnectionsResponseAmino
|
|
149
|
+
* @package ibc.core.connection.v1
|
|
150
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionsResponse
|
|
151
|
+
*/
|
|
152
|
+
export interface QueryConnectionsResponseAmino {
|
|
153
|
+
/**
|
|
154
|
+
* list of stored connections of the chain.
|
|
155
|
+
*/
|
|
156
|
+
connections?: IdentifiedConnectionAmino[];
|
|
157
|
+
/**
|
|
158
|
+
* pagination response
|
|
159
|
+
*/
|
|
160
|
+
pagination?: PageResponseAmino;
|
|
161
|
+
/**
|
|
162
|
+
* query block height
|
|
163
|
+
*/
|
|
164
|
+
height?: HeightAmino;
|
|
165
|
+
}
|
|
166
|
+
export interface QueryConnectionsResponseAminoMsg {
|
|
167
|
+
type: "cosmos-sdk/QueryConnectionsResponse";
|
|
168
|
+
value: QueryConnectionsResponseAmino;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
|
172
|
+
* method.
|
|
173
|
+
*/
|
|
174
|
+
export interface QueryConnectionsResponseSDKType {
|
|
175
|
+
connections: IdentifiedConnectionSDKType[];
|
|
176
|
+
pagination?: PageResponseSDKType;
|
|
177
|
+
height: HeightSDKType;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* QueryClientConnectionsRequest is the request type for the
|
|
181
|
+
* Query/ClientConnections RPC method
|
|
182
|
+
*/
|
|
183
|
+
export interface QueryClientConnectionsRequest {
|
|
184
|
+
/** client identifier associated with a connection */
|
|
185
|
+
clientId: string;
|
|
186
|
+
}
|
|
187
|
+
export interface QueryClientConnectionsRequestProtoMsg {
|
|
188
|
+
typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest";
|
|
189
|
+
value: Uint8Array;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* QueryClientConnectionsRequest is the request type for the
|
|
193
|
+
* Query/ClientConnections RPC method
|
|
194
|
+
* @name QueryClientConnectionsRequestAmino
|
|
195
|
+
* @package ibc.core.connection.v1
|
|
196
|
+
* @see proto type: ibc.core.connection.v1.QueryClientConnectionsRequest
|
|
197
|
+
*/
|
|
198
|
+
export interface QueryClientConnectionsRequestAmino {
|
|
199
|
+
/**
|
|
200
|
+
* client identifier associated with a connection
|
|
201
|
+
*/
|
|
202
|
+
client_id?: string;
|
|
203
|
+
}
|
|
204
|
+
export interface QueryClientConnectionsRequestAminoMsg {
|
|
205
|
+
type: "cosmos-sdk/QueryClientConnectionsRequest";
|
|
206
|
+
value: QueryClientConnectionsRequestAmino;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* QueryClientConnectionsRequest is the request type for the
|
|
210
|
+
* Query/ClientConnections RPC method
|
|
211
|
+
*/
|
|
212
|
+
export interface QueryClientConnectionsRequestSDKType {
|
|
213
|
+
client_id: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* QueryClientConnectionsResponse is the response type for the
|
|
217
|
+
* Query/ClientConnections RPC method
|
|
218
|
+
*/
|
|
219
|
+
export interface QueryClientConnectionsResponse {
|
|
220
|
+
/** slice of all the connection paths associated with a client. */
|
|
221
|
+
connectionPaths: string[];
|
|
222
|
+
/** merkle proof of existence */
|
|
223
|
+
proof: Uint8Array;
|
|
224
|
+
/** height at which the proof was generated */
|
|
225
|
+
proofHeight: Height;
|
|
226
|
+
}
|
|
227
|
+
export interface QueryClientConnectionsResponseProtoMsg {
|
|
228
|
+
typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse";
|
|
229
|
+
value: Uint8Array;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* QueryClientConnectionsResponse is the response type for the
|
|
233
|
+
* Query/ClientConnections RPC method
|
|
234
|
+
* @name QueryClientConnectionsResponseAmino
|
|
235
|
+
* @package ibc.core.connection.v1
|
|
236
|
+
* @see proto type: ibc.core.connection.v1.QueryClientConnectionsResponse
|
|
237
|
+
*/
|
|
238
|
+
export interface QueryClientConnectionsResponseAmino {
|
|
239
|
+
/**
|
|
240
|
+
* slice of all the connection paths associated with a client.
|
|
241
|
+
*/
|
|
242
|
+
connection_paths?: string[];
|
|
243
|
+
/**
|
|
244
|
+
* merkle proof of existence
|
|
245
|
+
*/
|
|
246
|
+
proof?: string;
|
|
247
|
+
/**
|
|
248
|
+
* height at which the proof was generated
|
|
249
|
+
*/
|
|
250
|
+
proof_height?: HeightAmino;
|
|
251
|
+
}
|
|
252
|
+
export interface QueryClientConnectionsResponseAminoMsg {
|
|
253
|
+
type: "cosmos-sdk/QueryClientConnectionsResponse";
|
|
254
|
+
value: QueryClientConnectionsResponseAmino;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* QueryClientConnectionsResponse is the response type for the
|
|
258
|
+
* Query/ClientConnections RPC method
|
|
259
|
+
*/
|
|
260
|
+
export interface QueryClientConnectionsResponseSDKType {
|
|
261
|
+
connection_paths: string[];
|
|
262
|
+
proof: Uint8Array;
|
|
263
|
+
proof_height: HeightSDKType;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* QueryConnectionClientStateRequest is the request type for the
|
|
267
|
+
* Query/ConnectionClientState RPC method
|
|
268
|
+
*/
|
|
269
|
+
export interface QueryConnectionClientStateRequest {
|
|
270
|
+
/** connection identifier */
|
|
271
|
+
connectionId: string;
|
|
272
|
+
}
|
|
273
|
+
export interface QueryConnectionClientStateRequestProtoMsg {
|
|
274
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest";
|
|
275
|
+
value: Uint8Array;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* QueryConnectionClientStateRequest is the request type for the
|
|
279
|
+
* Query/ConnectionClientState RPC method
|
|
280
|
+
* @name QueryConnectionClientStateRequestAmino
|
|
281
|
+
* @package ibc.core.connection.v1
|
|
282
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionClientStateRequest
|
|
283
|
+
*/
|
|
284
|
+
export interface QueryConnectionClientStateRequestAmino {
|
|
285
|
+
/**
|
|
286
|
+
* connection identifier
|
|
287
|
+
*/
|
|
288
|
+
connection_id?: string;
|
|
289
|
+
}
|
|
290
|
+
export interface QueryConnectionClientStateRequestAminoMsg {
|
|
291
|
+
type: "cosmos-sdk/QueryConnectionClientStateRequest";
|
|
292
|
+
value: QueryConnectionClientStateRequestAmino;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* QueryConnectionClientStateRequest is the request type for the
|
|
296
|
+
* Query/ConnectionClientState RPC method
|
|
297
|
+
*/
|
|
298
|
+
export interface QueryConnectionClientStateRequestSDKType {
|
|
299
|
+
connection_id: string;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* QueryConnectionClientStateResponse is the response type for the
|
|
303
|
+
* Query/ConnectionClientState RPC method
|
|
304
|
+
*/
|
|
305
|
+
export interface QueryConnectionClientStateResponse {
|
|
306
|
+
/** client state associated with the channel */
|
|
307
|
+
identifiedClientState?: IdentifiedClientState;
|
|
308
|
+
/** merkle proof of existence */
|
|
309
|
+
proof: Uint8Array;
|
|
310
|
+
/** height at which the proof was retrieved */
|
|
311
|
+
proofHeight: Height;
|
|
312
|
+
}
|
|
313
|
+
export interface QueryConnectionClientStateResponseProtoMsg {
|
|
314
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse";
|
|
315
|
+
value: Uint8Array;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* QueryConnectionClientStateResponse is the response type for the
|
|
319
|
+
* Query/ConnectionClientState RPC method
|
|
320
|
+
* @name QueryConnectionClientStateResponseAmino
|
|
321
|
+
* @package ibc.core.connection.v1
|
|
322
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionClientStateResponse
|
|
323
|
+
*/
|
|
324
|
+
export interface QueryConnectionClientStateResponseAmino {
|
|
325
|
+
/**
|
|
326
|
+
* client state associated with the channel
|
|
327
|
+
*/
|
|
328
|
+
identified_client_state?: IdentifiedClientStateAmino;
|
|
329
|
+
/**
|
|
330
|
+
* merkle proof of existence
|
|
331
|
+
*/
|
|
332
|
+
proof?: string;
|
|
333
|
+
/**
|
|
334
|
+
* height at which the proof was retrieved
|
|
335
|
+
*/
|
|
336
|
+
proof_height?: HeightAmino;
|
|
337
|
+
}
|
|
338
|
+
export interface QueryConnectionClientStateResponseAminoMsg {
|
|
339
|
+
type: "cosmos-sdk/QueryConnectionClientStateResponse";
|
|
340
|
+
value: QueryConnectionClientStateResponseAmino;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* QueryConnectionClientStateResponse is the response type for the
|
|
344
|
+
* Query/ConnectionClientState RPC method
|
|
345
|
+
*/
|
|
346
|
+
export interface QueryConnectionClientStateResponseSDKType {
|
|
347
|
+
identified_client_state?: IdentifiedClientStateSDKType;
|
|
348
|
+
proof: Uint8Array;
|
|
349
|
+
proof_height: HeightSDKType;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
|
353
|
+
* Query/ConnectionConsensusState RPC method
|
|
354
|
+
*/
|
|
355
|
+
export interface QueryConnectionConsensusStateRequest {
|
|
356
|
+
/** connection identifier */
|
|
357
|
+
connectionId: string;
|
|
358
|
+
revisionNumber: bigint;
|
|
359
|
+
revisionHeight: bigint;
|
|
360
|
+
}
|
|
361
|
+
export interface QueryConnectionConsensusStateRequestProtoMsg {
|
|
362
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest";
|
|
363
|
+
value: Uint8Array;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
|
367
|
+
* Query/ConnectionConsensusState RPC method
|
|
368
|
+
* @name QueryConnectionConsensusStateRequestAmino
|
|
369
|
+
* @package ibc.core.connection.v1
|
|
370
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionConsensusStateRequest
|
|
371
|
+
*/
|
|
372
|
+
export interface QueryConnectionConsensusStateRequestAmino {
|
|
373
|
+
/**
|
|
374
|
+
* connection identifier
|
|
375
|
+
*/
|
|
376
|
+
connection_id?: string;
|
|
377
|
+
revision_number?: string;
|
|
378
|
+
revision_height?: string;
|
|
379
|
+
}
|
|
380
|
+
export interface QueryConnectionConsensusStateRequestAminoMsg {
|
|
381
|
+
type: "cosmos-sdk/QueryConnectionConsensusStateRequest";
|
|
382
|
+
value: QueryConnectionConsensusStateRequestAmino;
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
|
386
|
+
* Query/ConnectionConsensusState RPC method
|
|
387
|
+
*/
|
|
388
|
+
export interface QueryConnectionConsensusStateRequestSDKType {
|
|
389
|
+
connection_id: string;
|
|
390
|
+
revision_number: bigint;
|
|
391
|
+
revision_height: bigint;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
|
395
|
+
* Query/ConnectionConsensusState RPC method
|
|
396
|
+
*/
|
|
397
|
+
export interface QueryConnectionConsensusStateResponse {
|
|
398
|
+
/** consensus state associated with the channel */
|
|
399
|
+
consensusState?: Any;
|
|
400
|
+
/** client ID associated with the consensus state */
|
|
401
|
+
clientId: string;
|
|
402
|
+
/** merkle proof of existence */
|
|
403
|
+
proof: Uint8Array;
|
|
404
|
+
/** height at which the proof was retrieved */
|
|
405
|
+
proofHeight: Height;
|
|
406
|
+
}
|
|
407
|
+
export interface QueryConnectionConsensusStateResponseProtoMsg {
|
|
408
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse";
|
|
409
|
+
value: Uint8Array;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
|
413
|
+
* Query/ConnectionConsensusState RPC method
|
|
414
|
+
* @name QueryConnectionConsensusStateResponseAmino
|
|
415
|
+
* @package ibc.core.connection.v1
|
|
416
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionConsensusStateResponse
|
|
417
|
+
*/
|
|
418
|
+
export interface QueryConnectionConsensusStateResponseAmino {
|
|
419
|
+
/**
|
|
420
|
+
* consensus state associated with the channel
|
|
421
|
+
*/
|
|
422
|
+
consensus_state?: AnyAmino;
|
|
423
|
+
/**
|
|
424
|
+
* client ID associated with the consensus state
|
|
425
|
+
*/
|
|
426
|
+
client_id?: string;
|
|
427
|
+
/**
|
|
428
|
+
* merkle proof of existence
|
|
429
|
+
*/
|
|
430
|
+
proof?: string;
|
|
431
|
+
/**
|
|
432
|
+
* height at which the proof was retrieved
|
|
433
|
+
*/
|
|
434
|
+
proof_height?: HeightAmino;
|
|
435
|
+
}
|
|
436
|
+
export interface QueryConnectionConsensusStateResponseAminoMsg {
|
|
437
|
+
type: "cosmos-sdk/QueryConnectionConsensusStateResponse";
|
|
438
|
+
value: QueryConnectionConsensusStateResponseAmino;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
|
442
|
+
* Query/ConnectionConsensusState RPC method
|
|
443
|
+
*/
|
|
444
|
+
export interface QueryConnectionConsensusStateResponseSDKType {
|
|
445
|
+
consensus_state?: AnySDKType;
|
|
446
|
+
client_id: string;
|
|
447
|
+
proof: Uint8Array;
|
|
448
|
+
proof_height: HeightSDKType;
|
|
449
|
+
}
|
|
450
|
+
/** QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method. */
|
|
451
|
+
export interface QueryConnectionParamsRequest {}
|
|
452
|
+
export interface QueryConnectionParamsRequestProtoMsg {
|
|
453
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionParamsRequest";
|
|
454
|
+
value: Uint8Array;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method.
|
|
458
|
+
* @name QueryConnectionParamsRequestAmino
|
|
459
|
+
* @package ibc.core.connection.v1
|
|
460
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionParamsRequest
|
|
461
|
+
*/
|
|
462
|
+
export interface QueryConnectionParamsRequestAmino {}
|
|
463
|
+
export interface QueryConnectionParamsRequestAminoMsg {
|
|
464
|
+
type: "cosmos-sdk/QueryConnectionParamsRequest";
|
|
465
|
+
value: QueryConnectionParamsRequestAmino;
|
|
466
|
+
}
|
|
467
|
+
/** QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method. */
|
|
468
|
+
export interface QueryConnectionParamsRequestSDKType {}
|
|
469
|
+
/** QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. */
|
|
470
|
+
export interface QueryConnectionParamsResponse {
|
|
471
|
+
/** params defines the parameters of the module. */
|
|
472
|
+
params?: Params;
|
|
473
|
+
}
|
|
474
|
+
export interface QueryConnectionParamsResponseProtoMsg {
|
|
475
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionParamsResponse";
|
|
476
|
+
value: Uint8Array;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method.
|
|
480
|
+
* @name QueryConnectionParamsResponseAmino
|
|
481
|
+
* @package ibc.core.connection.v1
|
|
482
|
+
* @see proto type: ibc.core.connection.v1.QueryConnectionParamsResponse
|
|
483
|
+
*/
|
|
484
|
+
export interface QueryConnectionParamsResponseAmino {
|
|
485
|
+
/**
|
|
486
|
+
* params defines the parameters of the module.
|
|
487
|
+
*/
|
|
488
|
+
params?: ParamsAmino;
|
|
489
|
+
}
|
|
490
|
+
export interface QueryConnectionParamsResponseAminoMsg {
|
|
491
|
+
type: "cosmos-sdk/QueryConnectionParamsResponse";
|
|
492
|
+
value: QueryConnectionParamsResponseAmino;
|
|
493
|
+
}
|
|
494
|
+
/** QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. */
|
|
495
|
+
export interface QueryConnectionParamsResponseSDKType {
|
|
496
|
+
params?: ParamsSDKType;
|
|
497
|
+
}
|
|
498
|
+
function createBaseQueryConnectionRequest(): QueryConnectionRequest {
|
|
499
|
+
return {
|
|
500
|
+
connectionId: ""
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
export const QueryConnectionRequest = {
|
|
504
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest",
|
|
505
|
+
encode(message: QueryConnectionRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
506
|
+
if (message.connectionId !== "") {
|
|
507
|
+
writer.uint32(10).string(message.connectionId);
|
|
508
|
+
}
|
|
509
|
+
return writer;
|
|
510
|
+
},
|
|
511
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionRequest {
|
|
512
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
513
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
514
|
+
const message = createBaseQueryConnectionRequest();
|
|
515
|
+
while (reader.pos < end) {
|
|
516
|
+
const tag = reader.uint32();
|
|
517
|
+
switch (tag >>> 3) {
|
|
518
|
+
case 1:
|
|
519
|
+
message.connectionId = reader.string();
|
|
520
|
+
break;
|
|
521
|
+
default:
|
|
522
|
+
reader.skipType(tag & 7);
|
|
523
|
+
break;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
return message;
|
|
527
|
+
},
|
|
528
|
+
fromPartial(object: Partial<QueryConnectionRequest>): QueryConnectionRequest {
|
|
529
|
+
const message = createBaseQueryConnectionRequest();
|
|
530
|
+
message.connectionId = object.connectionId ?? "";
|
|
531
|
+
return message;
|
|
532
|
+
},
|
|
533
|
+
fromAmino(object: QueryConnectionRequestAmino): QueryConnectionRequest {
|
|
534
|
+
const message = createBaseQueryConnectionRequest();
|
|
535
|
+
if (object.connection_id !== undefined && object.connection_id !== null) {
|
|
536
|
+
message.connectionId = object.connection_id;
|
|
537
|
+
}
|
|
538
|
+
return message;
|
|
539
|
+
},
|
|
540
|
+
toAmino(message: QueryConnectionRequest): QueryConnectionRequestAmino {
|
|
541
|
+
const obj: any = {};
|
|
542
|
+
obj.connection_id = message.connectionId === "" ? undefined : message.connectionId;
|
|
543
|
+
return obj;
|
|
544
|
+
},
|
|
545
|
+
fromAminoMsg(object: QueryConnectionRequestAminoMsg): QueryConnectionRequest {
|
|
546
|
+
return QueryConnectionRequest.fromAmino(object.value);
|
|
547
|
+
},
|
|
548
|
+
toAminoMsg(message: QueryConnectionRequest): QueryConnectionRequestAminoMsg {
|
|
549
|
+
return {
|
|
550
|
+
type: "cosmos-sdk/QueryConnectionRequest",
|
|
551
|
+
value: QueryConnectionRequest.toAmino(message)
|
|
552
|
+
};
|
|
553
|
+
},
|
|
554
|
+
fromProtoMsg(message: QueryConnectionRequestProtoMsg): QueryConnectionRequest {
|
|
555
|
+
return QueryConnectionRequest.decode(message.value);
|
|
556
|
+
},
|
|
557
|
+
toProto(message: QueryConnectionRequest): Uint8Array {
|
|
558
|
+
return QueryConnectionRequest.encode(message).finish();
|
|
559
|
+
},
|
|
560
|
+
toProtoMsg(message: QueryConnectionRequest): QueryConnectionRequestProtoMsg {
|
|
561
|
+
return {
|
|
562
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest",
|
|
563
|
+
value: QueryConnectionRequest.encode(message).finish()
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
function createBaseQueryConnectionResponse(): QueryConnectionResponse {
|
|
568
|
+
return {
|
|
569
|
+
connection: undefined,
|
|
570
|
+
proof: new Uint8Array(),
|
|
571
|
+
proofHeight: Height.fromPartial({})
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
export const QueryConnectionResponse = {
|
|
575
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse",
|
|
576
|
+
encode(message: QueryConnectionResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
577
|
+
if (message.connection !== undefined) {
|
|
578
|
+
ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim();
|
|
579
|
+
}
|
|
580
|
+
if (message.proof.length !== 0) {
|
|
581
|
+
writer.uint32(18).bytes(message.proof);
|
|
582
|
+
}
|
|
583
|
+
if (message.proofHeight !== undefined) {
|
|
584
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
585
|
+
}
|
|
586
|
+
return writer;
|
|
587
|
+
},
|
|
588
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionResponse {
|
|
589
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
590
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
591
|
+
const message = createBaseQueryConnectionResponse();
|
|
592
|
+
while (reader.pos < end) {
|
|
593
|
+
const tag = reader.uint32();
|
|
594
|
+
switch (tag >>> 3) {
|
|
595
|
+
case 1:
|
|
596
|
+
message.connection = ConnectionEnd.decode(reader, reader.uint32());
|
|
597
|
+
break;
|
|
598
|
+
case 2:
|
|
599
|
+
message.proof = reader.bytes();
|
|
600
|
+
break;
|
|
601
|
+
case 3:
|
|
602
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
603
|
+
break;
|
|
604
|
+
default:
|
|
605
|
+
reader.skipType(tag & 7);
|
|
606
|
+
break;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
return message;
|
|
610
|
+
},
|
|
611
|
+
fromPartial(object: Partial<QueryConnectionResponse>): QueryConnectionResponse {
|
|
612
|
+
const message = createBaseQueryConnectionResponse();
|
|
613
|
+
message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined;
|
|
614
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
615
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
616
|
+
return message;
|
|
617
|
+
},
|
|
618
|
+
fromAmino(object: QueryConnectionResponseAmino): QueryConnectionResponse {
|
|
619
|
+
const message = createBaseQueryConnectionResponse();
|
|
620
|
+
if (object.connection !== undefined && object.connection !== null) {
|
|
621
|
+
message.connection = ConnectionEnd.fromAmino(object.connection);
|
|
622
|
+
}
|
|
623
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
624
|
+
message.proof = bytesFromBase64(object.proof);
|
|
625
|
+
}
|
|
626
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
627
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
628
|
+
}
|
|
629
|
+
return message;
|
|
630
|
+
},
|
|
631
|
+
toAmino(message: QueryConnectionResponse): QueryConnectionResponseAmino {
|
|
632
|
+
const obj: any = {};
|
|
633
|
+
obj.connection = message.connection ? ConnectionEnd.toAmino(message.connection) : undefined;
|
|
634
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
635
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
636
|
+
return obj;
|
|
637
|
+
},
|
|
638
|
+
fromAminoMsg(object: QueryConnectionResponseAminoMsg): QueryConnectionResponse {
|
|
639
|
+
return QueryConnectionResponse.fromAmino(object.value);
|
|
640
|
+
},
|
|
641
|
+
toAminoMsg(message: QueryConnectionResponse): QueryConnectionResponseAminoMsg {
|
|
642
|
+
return {
|
|
643
|
+
type: "cosmos-sdk/QueryConnectionResponse",
|
|
644
|
+
value: QueryConnectionResponse.toAmino(message)
|
|
645
|
+
};
|
|
646
|
+
},
|
|
647
|
+
fromProtoMsg(message: QueryConnectionResponseProtoMsg): QueryConnectionResponse {
|
|
648
|
+
return QueryConnectionResponse.decode(message.value);
|
|
649
|
+
},
|
|
650
|
+
toProto(message: QueryConnectionResponse): Uint8Array {
|
|
651
|
+
return QueryConnectionResponse.encode(message).finish();
|
|
652
|
+
},
|
|
653
|
+
toProtoMsg(message: QueryConnectionResponse): QueryConnectionResponseProtoMsg {
|
|
654
|
+
return {
|
|
655
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse",
|
|
656
|
+
value: QueryConnectionResponse.encode(message).finish()
|
|
657
|
+
};
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
function createBaseQueryConnectionsRequest(): QueryConnectionsRequest {
|
|
661
|
+
return {
|
|
662
|
+
pagination: undefined
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
export const QueryConnectionsRequest = {
|
|
666
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest",
|
|
667
|
+
encode(message: QueryConnectionsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
668
|
+
if (message.pagination !== undefined) {
|
|
669
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
670
|
+
}
|
|
671
|
+
return writer;
|
|
672
|
+
},
|
|
673
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionsRequest {
|
|
674
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
675
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
676
|
+
const message = createBaseQueryConnectionsRequest();
|
|
677
|
+
while (reader.pos < end) {
|
|
678
|
+
const tag = reader.uint32();
|
|
679
|
+
switch (tag >>> 3) {
|
|
680
|
+
case 1:
|
|
681
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
682
|
+
break;
|
|
683
|
+
default:
|
|
684
|
+
reader.skipType(tag & 7);
|
|
685
|
+
break;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
return message;
|
|
689
|
+
},
|
|
690
|
+
fromPartial(object: Partial<QueryConnectionsRequest>): QueryConnectionsRequest {
|
|
691
|
+
const message = createBaseQueryConnectionsRequest();
|
|
692
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
693
|
+
return message;
|
|
694
|
+
},
|
|
695
|
+
fromAmino(object: QueryConnectionsRequestAmino): QueryConnectionsRequest {
|
|
696
|
+
const message = createBaseQueryConnectionsRequest();
|
|
697
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
698
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
699
|
+
}
|
|
700
|
+
return message;
|
|
701
|
+
},
|
|
702
|
+
toAmino(message: QueryConnectionsRequest): QueryConnectionsRequestAmino {
|
|
703
|
+
const obj: any = {};
|
|
704
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
705
|
+
return obj;
|
|
706
|
+
},
|
|
707
|
+
fromAminoMsg(object: QueryConnectionsRequestAminoMsg): QueryConnectionsRequest {
|
|
708
|
+
return QueryConnectionsRequest.fromAmino(object.value);
|
|
709
|
+
},
|
|
710
|
+
toAminoMsg(message: QueryConnectionsRequest): QueryConnectionsRequestAminoMsg {
|
|
711
|
+
return {
|
|
712
|
+
type: "cosmos-sdk/QueryConnectionsRequest",
|
|
713
|
+
value: QueryConnectionsRequest.toAmino(message)
|
|
714
|
+
};
|
|
715
|
+
},
|
|
716
|
+
fromProtoMsg(message: QueryConnectionsRequestProtoMsg): QueryConnectionsRequest {
|
|
717
|
+
return QueryConnectionsRequest.decode(message.value);
|
|
718
|
+
},
|
|
719
|
+
toProto(message: QueryConnectionsRequest): Uint8Array {
|
|
720
|
+
return QueryConnectionsRequest.encode(message).finish();
|
|
721
|
+
},
|
|
722
|
+
toProtoMsg(message: QueryConnectionsRequest): QueryConnectionsRequestProtoMsg {
|
|
723
|
+
return {
|
|
724
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest",
|
|
725
|
+
value: QueryConnectionsRequest.encode(message).finish()
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
function createBaseQueryConnectionsResponse(): QueryConnectionsResponse {
|
|
730
|
+
return {
|
|
731
|
+
connections: [],
|
|
732
|
+
pagination: undefined,
|
|
733
|
+
height: Height.fromPartial({})
|
|
734
|
+
};
|
|
735
|
+
}
|
|
736
|
+
export const QueryConnectionsResponse = {
|
|
737
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse",
|
|
738
|
+
encode(message: QueryConnectionsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
739
|
+
for (const v of message.connections) {
|
|
740
|
+
IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
741
|
+
}
|
|
742
|
+
if (message.pagination !== undefined) {
|
|
743
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
744
|
+
}
|
|
745
|
+
if (message.height !== undefined) {
|
|
746
|
+
Height.encode(message.height, writer.uint32(26).fork()).ldelim();
|
|
747
|
+
}
|
|
748
|
+
return writer;
|
|
749
|
+
},
|
|
750
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionsResponse {
|
|
751
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
752
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
753
|
+
const message = createBaseQueryConnectionsResponse();
|
|
754
|
+
while (reader.pos < end) {
|
|
755
|
+
const tag = reader.uint32();
|
|
756
|
+
switch (tag >>> 3) {
|
|
757
|
+
case 1:
|
|
758
|
+
message.connections.push(IdentifiedConnection.decode(reader, reader.uint32()));
|
|
759
|
+
break;
|
|
760
|
+
case 2:
|
|
761
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
762
|
+
break;
|
|
763
|
+
case 3:
|
|
764
|
+
message.height = Height.decode(reader, reader.uint32());
|
|
765
|
+
break;
|
|
766
|
+
default:
|
|
767
|
+
reader.skipType(tag & 7);
|
|
768
|
+
break;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
return message;
|
|
772
|
+
},
|
|
773
|
+
fromPartial(object: Partial<QueryConnectionsResponse>): QueryConnectionsResponse {
|
|
774
|
+
const message = createBaseQueryConnectionsResponse();
|
|
775
|
+
message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || [];
|
|
776
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
777
|
+
message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined;
|
|
778
|
+
return message;
|
|
779
|
+
},
|
|
780
|
+
fromAmino(object: QueryConnectionsResponseAmino): QueryConnectionsResponse {
|
|
781
|
+
const message = createBaseQueryConnectionsResponse();
|
|
782
|
+
message.connections = object.connections?.map(e => IdentifiedConnection.fromAmino(e)) || [];
|
|
783
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
784
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
785
|
+
}
|
|
786
|
+
if (object.height !== undefined && object.height !== null) {
|
|
787
|
+
message.height = Height.fromAmino(object.height);
|
|
788
|
+
}
|
|
789
|
+
return message;
|
|
790
|
+
},
|
|
791
|
+
toAmino(message: QueryConnectionsResponse): QueryConnectionsResponseAmino {
|
|
792
|
+
const obj: any = {};
|
|
793
|
+
if (message.connections) {
|
|
794
|
+
obj.connections = message.connections.map(e => e ? IdentifiedConnection.toAmino(e) : undefined);
|
|
795
|
+
} else {
|
|
796
|
+
obj.connections = message.connections;
|
|
797
|
+
}
|
|
798
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
799
|
+
obj.height = message.height ? Height.toAmino(message.height) : {};
|
|
800
|
+
return obj;
|
|
801
|
+
},
|
|
802
|
+
fromAminoMsg(object: QueryConnectionsResponseAminoMsg): QueryConnectionsResponse {
|
|
803
|
+
return QueryConnectionsResponse.fromAmino(object.value);
|
|
804
|
+
},
|
|
805
|
+
toAminoMsg(message: QueryConnectionsResponse): QueryConnectionsResponseAminoMsg {
|
|
806
|
+
return {
|
|
807
|
+
type: "cosmos-sdk/QueryConnectionsResponse",
|
|
808
|
+
value: QueryConnectionsResponse.toAmino(message)
|
|
809
|
+
};
|
|
810
|
+
},
|
|
811
|
+
fromProtoMsg(message: QueryConnectionsResponseProtoMsg): QueryConnectionsResponse {
|
|
812
|
+
return QueryConnectionsResponse.decode(message.value);
|
|
813
|
+
},
|
|
814
|
+
toProto(message: QueryConnectionsResponse): Uint8Array {
|
|
815
|
+
return QueryConnectionsResponse.encode(message).finish();
|
|
816
|
+
},
|
|
817
|
+
toProtoMsg(message: QueryConnectionsResponse): QueryConnectionsResponseProtoMsg {
|
|
818
|
+
return {
|
|
819
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse",
|
|
820
|
+
value: QueryConnectionsResponse.encode(message).finish()
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
};
|
|
824
|
+
function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest {
|
|
825
|
+
return {
|
|
826
|
+
clientId: ""
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
export const QueryClientConnectionsRequest = {
|
|
830
|
+
typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest",
|
|
831
|
+
encode(message: QueryClientConnectionsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
832
|
+
if (message.clientId !== "") {
|
|
833
|
+
writer.uint32(10).string(message.clientId);
|
|
834
|
+
}
|
|
835
|
+
return writer;
|
|
836
|
+
},
|
|
837
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientConnectionsRequest {
|
|
838
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
839
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
840
|
+
const message = createBaseQueryClientConnectionsRequest();
|
|
841
|
+
while (reader.pos < end) {
|
|
842
|
+
const tag = reader.uint32();
|
|
843
|
+
switch (tag >>> 3) {
|
|
844
|
+
case 1:
|
|
845
|
+
message.clientId = reader.string();
|
|
846
|
+
break;
|
|
847
|
+
default:
|
|
848
|
+
reader.skipType(tag & 7);
|
|
849
|
+
break;
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
return message;
|
|
853
|
+
},
|
|
854
|
+
fromPartial(object: Partial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest {
|
|
855
|
+
const message = createBaseQueryClientConnectionsRequest();
|
|
856
|
+
message.clientId = object.clientId ?? "";
|
|
857
|
+
return message;
|
|
858
|
+
},
|
|
859
|
+
fromAmino(object: QueryClientConnectionsRequestAmino): QueryClientConnectionsRequest {
|
|
860
|
+
const message = createBaseQueryClientConnectionsRequest();
|
|
861
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
862
|
+
message.clientId = object.client_id;
|
|
863
|
+
}
|
|
864
|
+
return message;
|
|
865
|
+
},
|
|
866
|
+
toAmino(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestAmino {
|
|
867
|
+
const obj: any = {};
|
|
868
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
869
|
+
return obj;
|
|
870
|
+
},
|
|
871
|
+
fromAminoMsg(object: QueryClientConnectionsRequestAminoMsg): QueryClientConnectionsRequest {
|
|
872
|
+
return QueryClientConnectionsRequest.fromAmino(object.value);
|
|
873
|
+
},
|
|
874
|
+
toAminoMsg(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestAminoMsg {
|
|
875
|
+
return {
|
|
876
|
+
type: "cosmos-sdk/QueryClientConnectionsRequest",
|
|
877
|
+
value: QueryClientConnectionsRequest.toAmino(message)
|
|
878
|
+
};
|
|
879
|
+
},
|
|
880
|
+
fromProtoMsg(message: QueryClientConnectionsRequestProtoMsg): QueryClientConnectionsRequest {
|
|
881
|
+
return QueryClientConnectionsRequest.decode(message.value);
|
|
882
|
+
},
|
|
883
|
+
toProto(message: QueryClientConnectionsRequest): Uint8Array {
|
|
884
|
+
return QueryClientConnectionsRequest.encode(message).finish();
|
|
885
|
+
},
|
|
886
|
+
toProtoMsg(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestProtoMsg {
|
|
887
|
+
return {
|
|
888
|
+
typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest",
|
|
889
|
+
value: QueryClientConnectionsRequest.encode(message).finish()
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
};
|
|
893
|
+
function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse {
|
|
894
|
+
return {
|
|
895
|
+
connectionPaths: [],
|
|
896
|
+
proof: new Uint8Array(),
|
|
897
|
+
proofHeight: Height.fromPartial({})
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
export const QueryClientConnectionsResponse = {
|
|
901
|
+
typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse",
|
|
902
|
+
encode(message: QueryClientConnectionsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
903
|
+
for (const v of message.connectionPaths) {
|
|
904
|
+
writer.uint32(10).string(v!);
|
|
905
|
+
}
|
|
906
|
+
if (message.proof.length !== 0) {
|
|
907
|
+
writer.uint32(18).bytes(message.proof);
|
|
908
|
+
}
|
|
909
|
+
if (message.proofHeight !== undefined) {
|
|
910
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
911
|
+
}
|
|
912
|
+
return writer;
|
|
913
|
+
},
|
|
914
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientConnectionsResponse {
|
|
915
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
916
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
917
|
+
const message = createBaseQueryClientConnectionsResponse();
|
|
918
|
+
while (reader.pos < end) {
|
|
919
|
+
const tag = reader.uint32();
|
|
920
|
+
switch (tag >>> 3) {
|
|
921
|
+
case 1:
|
|
922
|
+
message.connectionPaths.push(reader.string());
|
|
923
|
+
break;
|
|
924
|
+
case 2:
|
|
925
|
+
message.proof = reader.bytes();
|
|
926
|
+
break;
|
|
927
|
+
case 3:
|
|
928
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
929
|
+
break;
|
|
930
|
+
default:
|
|
931
|
+
reader.skipType(tag & 7);
|
|
932
|
+
break;
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
return message;
|
|
936
|
+
},
|
|
937
|
+
fromPartial(object: Partial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse {
|
|
938
|
+
const message = createBaseQueryClientConnectionsResponse();
|
|
939
|
+
message.connectionPaths = object.connectionPaths?.map(e => e) || [];
|
|
940
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
941
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
942
|
+
return message;
|
|
943
|
+
},
|
|
944
|
+
fromAmino(object: QueryClientConnectionsResponseAmino): QueryClientConnectionsResponse {
|
|
945
|
+
const message = createBaseQueryClientConnectionsResponse();
|
|
946
|
+
message.connectionPaths = object.connection_paths?.map(e => e) || [];
|
|
947
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
948
|
+
message.proof = bytesFromBase64(object.proof);
|
|
949
|
+
}
|
|
950
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
951
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
952
|
+
}
|
|
953
|
+
return message;
|
|
954
|
+
},
|
|
955
|
+
toAmino(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseAmino {
|
|
956
|
+
const obj: any = {};
|
|
957
|
+
if (message.connectionPaths) {
|
|
958
|
+
obj.connection_paths = message.connectionPaths.map(e => e);
|
|
959
|
+
} else {
|
|
960
|
+
obj.connection_paths = message.connectionPaths;
|
|
961
|
+
}
|
|
962
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
963
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
964
|
+
return obj;
|
|
965
|
+
},
|
|
966
|
+
fromAminoMsg(object: QueryClientConnectionsResponseAminoMsg): QueryClientConnectionsResponse {
|
|
967
|
+
return QueryClientConnectionsResponse.fromAmino(object.value);
|
|
968
|
+
},
|
|
969
|
+
toAminoMsg(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseAminoMsg {
|
|
970
|
+
return {
|
|
971
|
+
type: "cosmos-sdk/QueryClientConnectionsResponse",
|
|
972
|
+
value: QueryClientConnectionsResponse.toAmino(message)
|
|
973
|
+
};
|
|
974
|
+
},
|
|
975
|
+
fromProtoMsg(message: QueryClientConnectionsResponseProtoMsg): QueryClientConnectionsResponse {
|
|
976
|
+
return QueryClientConnectionsResponse.decode(message.value);
|
|
977
|
+
},
|
|
978
|
+
toProto(message: QueryClientConnectionsResponse): Uint8Array {
|
|
979
|
+
return QueryClientConnectionsResponse.encode(message).finish();
|
|
980
|
+
},
|
|
981
|
+
toProtoMsg(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseProtoMsg {
|
|
982
|
+
return {
|
|
983
|
+
typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse",
|
|
984
|
+
value: QueryClientConnectionsResponse.encode(message).finish()
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
};
|
|
988
|
+
function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest {
|
|
989
|
+
return {
|
|
990
|
+
connectionId: ""
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
export const QueryConnectionClientStateRequest = {
|
|
994
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest",
|
|
995
|
+
encode(message: QueryConnectionClientStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
996
|
+
if (message.connectionId !== "") {
|
|
997
|
+
writer.uint32(10).string(message.connectionId);
|
|
998
|
+
}
|
|
999
|
+
return writer;
|
|
1000
|
+
},
|
|
1001
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionClientStateRequest {
|
|
1002
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1003
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1004
|
+
const message = createBaseQueryConnectionClientStateRequest();
|
|
1005
|
+
while (reader.pos < end) {
|
|
1006
|
+
const tag = reader.uint32();
|
|
1007
|
+
switch (tag >>> 3) {
|
|
1008
|
+
case 1:
|
|
1009
|
+
message.connectionId = reader.string();
|
|
1010
|
+
break;
|
|
1011
|
+
default:
|
|
1012
|
+
reader.skipType(tag & 7);
|
|
1013
|
+
break;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
return message;
|
|
1017
|
+
},
|
|
1018
|
+
fromPartial(object: Partial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest {
|
|
1019
|
+
const message = createBaseQueryConnectionClientStateRequest();
|
|
1020
|
+
message.connectionId = object.connectionId ?? "";
|
|
1021
|
+
return message;
|
|
1022
|
+
},
|
|
1023
|
+
fromAmino(object: QueryConnectionClientStateRequestAmino): QueryConnectionClientStateRequest {
|
|
1024
|
+
const message = createBaseQueryConnectionClientStateRequest();
|
|
1025
|
+
if (object.connection_id !== undefined && object.connection_id !== null) {
|
|
1026
|
+
message.connectionId = object.connection_id;
|
|
1027
|
+
}
|
|
1028
|
+
return message;
|
|
1029
|
+
},
|
|
1030
|
+
toAmino(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestAmino {
|
|
1031
|
+
const obj: any = {};
|
|
1032
|
+
obj.connection_id = message.connectionId === "" ? undefined : message.connectionId;
|
|
1033
|
+
return obj;
|
|
1034
|
+
},
|
|
1035
|
+
fromAminoMsg(object: QueryConnectionClientStateRequestAminoMsg): QueryConnectionClientStateRequest {
|
|
1036
|
+
return QueryConnectionClientStateRequest.fromAmino(object.value);
|
|
1037
|
+
},
|
|
1038
|
+
toAminoMsg(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestAminoMsg {
|
|
1039
|
+
return {
|
|
1040
|
+
type: "cosmos-sdk/QueryConnectionClientStateRequest",
|
|
1041
|
+
value: QueryConnectionClientStateRequest.toAmino(message)
|
|
1042
|
+
};
|
|
1043
|
+
},
|
|
1044
|
+
fromProtoMsg(message: QueryConnectionClientStateRequestProtoMsg): QueryConnectionClientStateRequest {
|
|
1045
|
+
return QueryConnectionClientStateRequest.decode(message.value);
|
|
1046
|
+
},
|
|
1047
|
+
toProto(message: QueryConnectionClientStateRequest): Uint8Array {
|
|
1048
|
+
return QueryConnectionClientStateRequest.encode(message).finish();
|
|
1049
|
+
},
|
|
1050
|
+
toProtoMsg(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestProtoMsg {
|
|
1051
|
+
return {
|
|
1052
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest",
|
|
1053
|
+
value: QueryConnectionClientStateRequest.encode(message).finish()
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
};
|
|
1057
|
+
function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse {
|
|
1058
|
+
return {
|
|
1059
|
+
identifiedClientState: undefined,
|
|
1060
|
+
proof: new Uint8Array(),
|
|
1061
|
+
proofHeight: Height.fromPartial({})
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
export const QueryConnectionClientStateResponse = {
|
|
1065
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse",
|
|
1066
|
+
encode(message: QueryConnectionClientStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1067
|
+
if (message.identifiedClientState !== undefined) {
|
|
1068
|
+
IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim();
|
|
1069
|
+
}
|
|
1070
|
+
if (message.proof.length !== 0) {
|
|
1071
|
+
writer.uint32(18).bytes(message.proof);
|
|
1072
|
+
}
|
|
1073
|
+
if (message.proofHeight !== undefined) {
|
|
1074
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
1075
|
+
}
|
|
1076
|
+
return writer;
|
|
1077
|
+
},
|
|
1078
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionClientStateResponse {
|
|
1079
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1080
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1081
|
+
const message = createBaseQueryConnectionClientStateResponse();
|
|
1082
|
+
while (reader.pos < end) {
|
|
1083
|
+
const tag = reader.uint32();
|
|
1084
|
+
switch (tag >>> 3) {
|
|
1085
|
+
case 1:
|
|
1086
|
+
message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32());
|
|
1087
|
+
break;
|
|
1088
|
+
case 2:
|
|
1089
|
+
message.proof = reader.bytes();
|
|
1090
|
+
break;
|
|
1091
|
+
case 3:
|
|
1092
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
1093
|
+
break;
|
|
1094
|
+
default:
|
|
1095
|
+
reader.skipType(tag & 7);
|
|
1096
|
+
break;
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
return message;
|
|
1100
|
+
},
|
|
1101
|
+
fromPartial(object: Partial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse {
|
|
1102
|
+
const message = createBaseQueryConnectionClientStateResponse();
|
|
1103
|
+
message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined;
|
|
1104
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
1105
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
1106
|
+
return message;
|
|
1107
|
+
},
|
|
1108
|
+
fromAmino(object: QueryConnectionClientStateResponseAmino): QueryConnectionClientStateResponse {
|
|
1109
|
+
const message = createBaseQueryConnectionClientStateResponse();
|
|
1110
|
+
if (object.identified_client_state !== undefined && object.identified_client_state !== null) {
|
|
1111
|
+
message.identifiedClientState = IdentifiedClientState.fromAmino(object.identified_client_state);
|
|
1112
|
+
}
|
|
1113
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
1114
|
+
message.proof = bytesFromBase64(object.proof);
|
|
1115
|
+
}
|
|
1116
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
1117
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
1118
|
+
}
|
|
1119
|
+
return message;
|
|
1120
|
+
},
|
|
1121
|
+
toAmino(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseAmino {
|
|
1122
|
+
const obj: any = {};
|
|
1123
|
+
obj.identified_client_state = message.identifiedClientState ? IdentifiedClientState.toAmino(message.identifiedClientState) : undefined;
|
|
1124
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
1125
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1126
|
+
return obj;
|
|
1127
|
+
},
|
|
1128
|
+
fromAminoMsg(object: QueryConnectionClientStateResponseAminoMsg): QueryConnectionClientStateResponse {
|
|
1129
|
+
return QueryConnectionClientStateResponse.fromAmino(object.value);
|
|
1130
|
+
},
|
|
1131
|
+
toAminoMsg(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseAminoMsg {
|
|
1132
|
+
return {
|
|
1133
|
+
type: "cosmos-sdk/QueryConnectionClientStateResponse",
|
|
1134
|
+
value: QueryConnectionClientStateResponse.toAmino(message)
|
|
1135
|
+
};
|
|
1136
|
+
},
|
|
1137
|
+
fromProtoMsg(message: QueryConnectionClientStateResponseProtoMsg): QueryConnectionClientStateResponse {
|
|
1138
|
+
return QueryConnectionClientStateResponse.decode(message.value);
|
|
1139
|
+
},
|
|
1140
|
+
toProto(message: QueryConnectionClientStateResponse): Uint8Array {
|
|
1141
|
+
return QueryConnectionClientStateResponse.encode(message).finish();
|
|
1142
|
+
},
|
|
1143
|
+
toProtoMsg(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseProtoMsg {
|
|
1144
|
+
return {
|
|
1145
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse",
|
|
1146
|
+
value: QueryConnectionClientStateResponse.encode(message).finish()
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
};
|
|
1150
|
+
function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest {
|
|
1151
|
+
return {
|
|
1152
|
+
connectionId: "",
|
|
1153
|
+
revisionNumber: BigInt(0),
|
|
1154
|
+
revisionHeight: BigInt(0)
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
export const QueryConnectionConsensusStateRequest = {
|
|
1158
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest",
|
|
1159
|
+
encode(message: QueryConnectionConsensusStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1160
|
+
if (message.connectionId !== "") {
|
|
1161
|
+
writer.uint32(10).string(message.connectionId);
|
|
1162
|
+
}
|
|
1163
|
+
if (message.revisionNumber !== BigInt(0)) {
|
|
1164
|
+
writer.uint32(16).uint64(message.revisionNumber);
|
|
1165
|
+
}
|
|
1166
|
+
if (message.revisionHeight !== BigInt(0)) {
|
|
1167
|
+
writer.uint32(24).uint64(message.revisionHeight);
|
|
1168
|
+
}
|
|
1169
|
+
return writer;
|
|
1170
|
+
},
|
|
1171
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest {
|
|
1172
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1173
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1174
|
+
const message = createBaseQueryConnectionConsensusStateRequest();
|
|
1175
|
+
while (reader.pos < end) {
|
|
1176
|
+
const tag = reader.uint32();
|
|
1177
|
+
switch (tag >>> 3) {
|
|
1178
|
+
case 1:
|
|
1179
|
+
message.connectionId = reader.string();
|
|
1180
|
+
break;
|
|
1181
|
+
case 2:
|
|
1182
|
+
message.revisionNumber = reader.uint64();
|
|
1183
|
+
break;
|
|
1184
|
+
case 3:
|
|
1185
|
+
message.revisionHeight = reader.uint64();
|
|
1186
|
+
break;
|
|
1187
|
+
default:
|
|
1188
|
+
reader.skipType(tag & 7);
|
|
1189
|
+
break;
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
return message;
|
|
1193
|
+
},
|
|
1194
|
+
fromPartial(object: Partial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest {
|
|
1195
|
+
const message = createBaseQueryConnectionConsensusStateRequest();
|
|
1196
|
+
message.connectionId = object.connectionId ?? "";
|
|
1197
|
+
message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? BigInt(object.revisionNumber.toString()) : BigInt(0);
|
|
1198
|
+
message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? BigInt(object.revisionHeight.toString()) : BigInt(0);
|
|
1199
|
+
return message;
|
|
1200
|
+
},
|
|
1201
|
+
fromAmino(object: QueryConnectionConsensusStateRequestAmino): QueryConnectionConsensusStateRequest {
|
|
1202
|
+
const message = createBaseQueryConnectionConsensusStateRequest();
|
|
1203
|
+
if (object.connection_id !== undefined && object.connection_id !== null) {
|
|
1204
|
+
message.connectionId = object.connection_id;
|
|
1205
|
+
}
|
|
1206
|
+
if (object.revision_number !== undefined && object.revision_number !== null) {
|
|
1207
|
+
message.revisionNumber = BigInt(object.revision_number);
|
|
1208
|
+
}
|
|
1209
|
+
if (object.revision_height !== undefined && object.revision_height !== null) {
|
|
1210
|
+
message.revisionHeight = BigInt(object.revision_height);
|
|
1211
|
+
}
|
|
1212
|
+
return message;
|
|
1213
|
+
},
|
|
1214
|
+
toAmino(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestAmino {
|
|
1215
|
+
const obj: any = {};
|
|
1216
|
+
obj.connection_id = message.connectionId === "" ? undefined : message.connectionId;
|
|
1217
|
+
obj.revision_number = message.revisionNumber !== BigInt(0) ? message.revisionNumber?.toString() : undefined;
|
|
1218
|
+
obj.revision_height = message.revisionHeight !== BigInt(0) ? message.revisionHeight?.toString() : undefined;
|
|
1219
|
+
return obj;
|
|
1220
|
+
},
|
|
1221
|
+
fromAminoMsg(object: QueryConnectionConsensusStateRequestAminoMsg): QueryConnectionConsensusStateRequest {
|
|
1222
|
+
return QueryConnectionConsensusStateRequest.fromAmino(object.value);
|
|
1223
|
+
},
|
|
1224
|
+
toAminoMsg(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestAminoMsg {
|
|
1225
|
+
return {
|
|
1226
|
+
type: "cosmos-sdk/QueryConnectionConsensusStateRequest",
|
|
1227
|
+
value: QueryConnectionConsensusStateRequest.toAmino(message)
|
|
1228
|
+
};
|
|
1229
|
+
},
|
|
1230
|
+
fromProtoMsg(message: QueryConnectionConsensusStateRequestProtoMsg): QueryConnectionConsensusStateRequest {
|
|
1231
|
+
return QueryConnectionConsensusStateRequest.decode(message.value);
|
|
1232
|
+
},
|
|
1233
|
+
toProto(message: QueryConnectionConsensusStateRequest): Uint8Array {
|
|
1234
|
+
return QueryConnectionConsensusStateRequest.encode(message).finish();
|
|
1235
|
+
},
|
|
1236
|
+
toProtoMsg(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestProtoMsg {
|
|
1237
|
+
return {
|
|
1238
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest",
|
|
1239
|
+
value: QueryConnectionConsensusStateRequest.encode(message).finish()
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
};
|
|
1243
|
+
function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse {
|
|
1244
|
+
return {
|
|
1245
|
+
consensusState: undefined,
|
|
1246
|
+
clientId: "",
|
|
1247
|
+
proof: new Uint8Array(),
|
|
1248
|
+
proofHeight: Height.fromPartial({})
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
export const QueryConnectionConsensusStateResponse = {
|
|
1252
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse",
|
|
1253
|
+
encode(message: QueryConnectionConsensusStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1254
|
+
if (message.consensusState !== undefined) {
|
|
1255
|
+
Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
|
|
1256
|
+
}
|
|
1257
|
+
if (message.clientId !== "") {
|
|
1258
|
+
writer.uint32(18).string(message.clientId);
|
|
1259
|
+
}
|
|
1260
|
+
if (message.proof.length !== 0) {
|
|
1261
|
+
writer.uint32(26).bytes(message.proof);
|
|
1262
|
+
}
|
|
1263
|
+
if (message.proofHeight !== undefined) {
|
|
1264
|
+
Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
|
|
1265
|
+
}
|
|
1266
|
+
return writer;
|
|
1267
|
+
},
|
|
1268
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse {
|
|
1269
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1270
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1271
|
+
const message = createBaseQueryConnectionConsensusStateResponse();
|
|
1272
|
+
while (reader.pos < end) {
|
|
1273
|
+
const tag = reader.uint32();
|
|
1274
|
+
switch (tag >>> 3) {
|
|
1275
|
+
case 1:
|
|
1276
|
+
message.consensusState = Any.decode(reader, reader.uint32());
|
|
1277
|
+
break;
|
|
1278
|
+
case 2:
|
|
1279
|
+
message.clientId = reader.string();
|
|
1280
|
+
break;
|
|
1281
|
+
case 3:
|
|
1282
|
+
message.proof = reader.bytes();
|
|
1283
|
+
break;
|
|
1284
|
+
case 4:
|
|
1285
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
1286
|
+
break;
|
|
1287
|
+
default:
|
|
1288
|
+
reader.skipType(tag & 7);
|
|
1289
|
+
break;
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
return message;
|
|
1293
|
+
},
|
|
1294
|
+
fromPartial(object: Partial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse {
|
|
1295
|
+
const message = createBaseQueryConnectionConsensusStateResponse();
|
|
1296
|
+
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
|
1297
|
+
message.clientId = object.clientId ?? "";
|
|
1298
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
1299
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
1300
|
+
return message;
|
|
1301
|
+
},
|
|
1302
|
+
fromAmino(object: QueryConnectionConsensusStateResponseAmino): QueryConnectionConsensusStateResponse {
|
|
1303
|
+
const message = createBaseQueryConnectionConsensusStateResponse();
|
|
1304
|
+
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
|
1305
|
+
message.consensusState = Any.fromAmino(object.consensus_state);
|
|
1306
|
+
}
|
|
1307
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1308
|
+
message.clientId = object.client_id;
|
|
1309
|
+
}
|
|
1310
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
1311
|
+
message.proof = bytesFromBase64(object.proof);
|
|
1312
|
+
}
|
|
1313
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
1314
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
1315
|
+
}
|
|
1316
|
+
return message;
|
|
1317
|
+
},
|
|
1318
|
+
toAmino(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseAmino {
|
|
1319
|
+
const obj: any = {};
|
|
1320
|
+
obj.consensus_state = message.consensusState ? Any.toAmino(message.consensusState) : undefined;
|
|
1321
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
1322
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
1323
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1324
|
+
return obj;
|
|
1325
|
+
},
|
|
1326
|
+
fromAminoMsg(object: QueryConnectionConsensusStateResponseAminoMsg): QueryConnectionConsensusStateResponse {
|
|
1327
|
+
return QueryConnectionConsensusStateResponse.fromAmino(object.value);
|
|
1328
|
+
},
|
|
1329
|
+
toAminoMsg(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseAminoMsg {
|
|
1330
|
+
return {
|
|
1331
|
+
type: "cosmos-sdk/QueryConnectionConsensusStateResponse",
|
|
1332
|
+
value: QueryConnectionConsensusStateResponse.toAmino(message)
|
|
1333
|
+
};
|
|
1334
|
+
},
|
|
1335
|
+
fromProtoMsg(message: QueryConnectionConsensusStateResponseProtoMsg): QueryConnectionConsensusStateResponse {
|
|
1336
|
+
return QueryConnectionConsensusStateResponse.decode(message.value);
|
|
1337
|
+
},
|
|
1338
|
+
toProto(message: QueryConnectionConsensusStateResponse): Uint8Array {
|
|
1339
|
+
return QueryConnectionConsensusStateResponse.encode(message).finish();
|
|
1340
|
+
},
|
|
1341
|
+
toProtoMsg(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseProtoMsg {
|
|
1342
|
+
return {
|
|
1343
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse",
|
|
1344
|
+
value: QueryConnectionConsensusStateResponse.encode(message).finish()
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
};
|
|
1348
|
+
function createBaseQueryConnectionParamsRequest(): QueryConnectionParamsRequest {
|
|
1349
|
+
return {};
|
|
1350
|
+
}
|
|
1351
|
+
export const QueryConnectionParamsRequest = {
|
|
1352
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionParamsRequest",
|
|
1353
|
+
encode(_: QueryConnectionParamsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1354
|
+
return writer;
|
|
1355
|
+
},
|
|
1356
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionParamsRequest {
|
|
1357
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1358
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1359
|
+
const message = createBaseQueryConnectionParamsRequest();
|
|
1360
|
+
while (reader.pos < end) {
|
|
1361
|
+
const tag = reader.uint32();
|
|
1362
|
+
switch (tag >>> 3) {
|
|
1363
|
+
default:
|
|
1364
|
+
reader.skipType(tag & 7);
|
|
1365
|
+
break;
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
return message;
|
|
1369
|
+
},
|
|
1370
|
+
fromPartial(_: Partial<QueryConnectionParamsRequest>): QueryConnectionParamsRequest {
|
|
1371
|
+
const message = createBaseQueryConnectionParamsRequest();
|
|
1372
|
+
return message;
|
|
1373
|
+
},
|
|
1374
|
+
fromAmino(_: QueryConnectionParamsRequestAmino): QueryConnectionParamsRequest {
|
|
1375
|
+
const message = createBaseQueryConnectionParamsRequest();
|
|
1376
|
+
return message;
|
|
1377
|
+
},
|
|
1378
|
+
toAmino(_: QueryConnectionParamsRequest): QueryConnectionParamsRequestAmino {
|
|
1379
|
+
const obj: any = {};
|
|
1380
|
+
return obj;
|
|
1381
|
+
},
|
|
1382
|
+
fromAminoMsg(object: QueryConnectionParamsRequestAminoMsg): QueryConnectionParamsRequest {
|
|
1383
|
+
return QueryConnectionParamsRequest.fromAmino(object.value);
|
|
1384
|
+
},
|
|
1385
|
+
toAminoMsg(message: QueryConnectionParamsRequest): QueryConnectionParamsRequestAminoMsg {
|
|
1386
|
+
return {
|
|
1387
|
+
type: "cosmos-sdk/QueryConnectionParamsRequest",
|
|
1388
|
+
value: QueryConnectionParamsRequest.toAmino(message)
|
|
1389
|
+
};
|
|
1390
|
+
},
|
|
1391
|
+
fromProtoMsg(message: QueryConnectionParamsRequestProtoMsg): QueryConnectionParamsRequest {
|
|
1392
|
+
return QueryConnectionParamsRequest.decode(message.value);
|
|
1393
|
+
},
|
|
1394
|
+
toProto(message: QueryConnectionParamsRequest): Uint8Array {
|
|
1395
|
+
return QueryConnectionParamsRequest.encode(message).finish();
|
|
1396
|
+
},
|
|
1397
|
+
toProtoMsg(message: QueryConnectionParamsRequest): QueryConnectionParamsRequestProtoMsg {
|
|
1398
|
+
return {
|
|
1399
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionParamsRequest",
|
|
1400
|
+
value: QueryConnectionParamsRequest.encode(message).finish()
|
|
1401
|
+
};
|
|
1402
|
+
}
|
|
1403
|
+
};
|
|
1404
|
+
function createBaseQueryConnectionParamsResponse(): QueryConnectionParamsResponse {
|
|
1405
|
+
return {
|
|
1406
|
+
params: undefined
|
|
1407
|
+
};
|
|
1408
|
+
}
|
|
1409
|
+
export const QueryConnectionParamsResponse = {
|
|
1410
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionParamsResponse",
|
|
1411
|
+
encode(message: QueryConnectionParamsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1412
|
+
if (message.params !== undefined) {
|
|
1413
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
1414
|
+
}
|
|
1415
|
+
return writer;
|
|
1416
|
+
},
|
|
1417
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionParamsResponse {
|
|
1418
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1419
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1420
|
+
const message = createBaseQueryConnectionParamsResponse();
|
|
1421
|
+
while (reader.pos < end) {
|
|
1422
|
+
const tag = reader.uint32();
|
|
1423
|
+
switch (tag >>> 3) {
|
|
1424
|
+
case 1:
|
|
1425
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
1426
|
+
break;
|
|
1427
|
+
default:
|
|
1428
|
+
reader.skipType(tag & 7);
|
|
1429
|
+
break;
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
return message;
|
|
1433
|
+
},
|
|
1434
|
+
fromPartial(object: Partial<QueryConnectionParamsResponse>): QueryConnectionParamsResponse {
|
|
1435
|
+
const message = createBaseQueryConnectionParamsResponse();
|
|
1436
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
1437
|
+
return message;
|
|
1438
|
+
},
|
|
1439
|
+
fromAmino(object: QueryConnectionParamsResponseAmino): QueryConnectionParamsResponse {
|
|
1440
|
+
const message = createBaseQueryConnectionParamsResponse();
|
|
1441
|
+
if (object.params !== undefined && object.params !== null) {
|
|
1442
|
+
message.params = Params.fromAmino(object.params);
|
|
1443
|
+
}
|
|
1444
|
+
return message;
|
|
1445
|
+
},
|
|
1446
|
+
toAmino(message: QueryConnectionParamsResponse): QueryConnectionParamsResponseAmino {
|
|
1447
|
+
const obj: any = {};
|
|
1448
|
+
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
1449
|
+
return obj;
|
|
1450
|
+
},
|
|
1451
|
+
fromAminoMsg(object: QueryConnectionParamsResponseAminoMsg): QueryConnectionParamsResponse {
|
|
1452
|
+
return QueryConnectionParamsResponse.fromAmino(object.value);
|
|
1453
|
+
},
|
|
1454
|
+
toAminoMsg(message: QueryConnectionParamsResponse): QueryConnectionParamsResponseAminoMsg {
|
|
1455
|
+
return {
|
|
1456
|
+
type: "cosmos-sdk/QueryConnectionParamsResponse",
|
|
1457
|
+
value: QueryConnectionParamsResponse.toAmino(message)
|
|
1458
|
+
};
|
|
1459
|
+
},
|
|
1460
|
+
fromProtoMsg(message: QueryConnectionParamsResponseProtoMsg): QueryConnectionParamsResponse {
|
|
1461
|
+
return QueryConnectionParamsResponse.decode(message.value);
|
|
1462
|
+
},
|
|
1463
|
+
toProto(message: QueryConnectionParamsResponse): Uint8Array {
|
|
1464
|
+
return QueryConnectionParamsResponse.encode(message).finish();
|
|
1465
|
+
},
|
|
1466
|
+
toProtoMsg(message: QueryConnectionParamsResponse): QueryConnectionParamsResponseProtoMsg {
|
|
1467
|
+
return {
|
|
1468
|
+
typeUrl: "/ibc.core.connection.v1.QueryConnectionParamsResponse",
|
|
1469
|
+
value: QueryConnectionParamsResponse.encode(message).finish()
|
|
1470
|
+
};
|
|
1471
|
+
}
|
|
1472
|
+
};
|