juno-network 0.5.3 → 0.6.0
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/README.md +0 -2
- package/main/codegen/JunoSwap.client.js +44 -42
- package/module/codegen/JunoSwap.client.js +180 -0
- package/module/codegen/JunoSwap.types.js +1 -0
- package/module/codegen/confio/proofs.js +1152 -0
- package/module/codegen/contracts.js +18 -0
- package/module/codegen/cosmos/app/v1alpha1/config.js +148 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +227 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +104 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.query.js +20 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +297 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +82 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +806 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +236 -0
- package/module/codegen/cosmos/authz/v1beta1/event.js +135 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +49 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +365 -0
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +76 -0
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.query.js +53 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +309 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +49 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +461 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +137 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +972 -0
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +147 -0
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.query.js +123 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +195 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +57 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +754 -0
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +139 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +155 -0
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +235 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1281 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +712 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +225 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +104 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1091 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +72 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +55 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +209 -0
- package/module/codegen/cosmos/bundle.js +190 -0
- package/module/codegen/cosmos/capability/v1beta1/capability.js +199 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +150 -0
- package/module/codegen/cosmos/client.js +44 -0
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +61 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +27 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +129 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +95 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +88 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +270 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +59 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +105 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +95 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +95 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +728 -0
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +585 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.js +880 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +101 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.query.js +119 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +88 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +382 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +99 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +102 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +255 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +137 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +365 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +429 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +50 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +54 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +247 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +89 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +68 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +111 -0
- package/module/codegen/cosmos/gov/v1/gov.js +750 -0
- package/module/codegen/cosmos/gov/v1/query.js +859 -0
- package/module/codegen/cosmos/gov/v1/query.lcd.js +112 -0
- package/module/codegen/cosmos/gov/v1/query.rpc.query.js +108 -0
- package/module/codegen/cosmos/gov/v1/tx.amino.js +167 -0
- package/module/codegen/cosmos/gov/v1/tx.js +545 -0
- package/module/codegen/cosmos/gov/v1/tx.registry.js +120 -0
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +48 -0
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +111 -0
- package/module/codegen/cosmos/gov/v1beta1/gov.js +801 -0
- package/module/codegen/cosmos/gov/v1beta1/query.js +859 -0
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +112 -0
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.query.js +108 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +128 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.js +424 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +99 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/cosmos/group/v1/events.js +549 -0
- package/module/codegen/cosmos/group/v1/genesis.js +175 -0
- package/module/codegen/cosmos/group/v1/query.js +1769 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +167 -0
- package/module/codegen/cosmos/group/v1/query.rpc.query.js +104 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +429 -0
- package/module/codegen/cosmos/group/v1/tx.js +1969 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +509 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +111 -0
- package/module/codegen/cosmos/group/v1/types.js +1350 -0
- package/module/codegen/cosmos/lcd.js +50 -0
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +73 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +193 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +308 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +32 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +264 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +163 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +242 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +917 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +88 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +141 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/orm/v1/orm.js +305 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +225 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +175 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +317 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +38 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/rpc.query.js +34 -0
- package/module/codegen/cosmos/rpc.tx.js +25 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +317 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +355 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +43 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +234 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +19 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +105 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +204 -0
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +178 -0
- package/module/codegen/cosmos/staking/v1beta1/query.js +1469 -0
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +196 -0
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.query.js +174 -0
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1446 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +216 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.js +598 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +120 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +48 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +378 -0
- package/module/codegen/cosmos/tx/v1beta1/service.js +714 -0
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +62 -0
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.svc.js +75 -0
- package/module/codegen/cosmos/tx/v1beta1/tx.js +903 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +445 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +66 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +75 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +59 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +174 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +57 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +273 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +440 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +480 -0
- package/module/codegen/cosmos_proto/bundle.js +8 -0
- package/module/codegen/cosmos_proto/cosmos.js +194 -0
- package/module/codegen/cosmwasm/bundle.js +31 -0
- package/module/codegen/cosmwasm/client.js +39 -0
- package/module/codegen/cosmwasm/lcd.js +57 -0
- package/module/codegen/cosmwasm/rpc.query.js +39 -0
- package/module/codegen/cosmwasm/rpc.tx.js +30 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +358 -0
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +127 -0
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +772 -0
- package/module/codegen/cosmwasm/wasm/v1/query.js +1046 -0
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +128 -0
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.query.js +123 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +189 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.js +711 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +141 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +55 -0
- package/module/codegen/cosmwasm/wasm/v1/types.js +668 -0
- package/module/codegen/gogoproto/bundle.js +8 -0
- package/module/codegen/gogoproto/gogo.js +1 -0
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +328 -0
- package/module/codegen/google/bundle.js +19 -0
- package/module/codegen/google/protobuf/any.js +58 -0
- package/module/codegen/google/protobuf/descriptor.js +2775 -0
- package/module/codegen/google/protobuf/duration.js +119 -0
- package/module/codegen/google/protobuf/empty.js +35 -0
- package/module/codegen/google/protobuf/field_mask.js +48 -0
- package/module/codegen/google/protobuf/struct.js +310 -0
- package/module/codegen/google/protobuf/timestamp.js +143 -0
- package/module/codegen/google/protobuf/wrappers.js +426 -0
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +69 -0
- package/module/codegen/ibc/applications/transfer/v1/query.js +276 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +46 -0
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.query.js +55 -0
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +115 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +58 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.js +150 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +36 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +20 -0
- package/module/codegen/ibc/applications/transfer/v2/packet.js +78 -0
- package/module/codegen/ibc/bundle.js +120 -0
- package/module/codegen/ibc/client.js +45 -0
- package/module/codegen/ibc/core/channel/v1/channel.js +646 -0
- package/module/codegen/ibc/core/channel/v1/genesis.js +188 -0
- package/module/codegen/ibc/core/channel/v1/query.js +1759 -0
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +162 -0
- package/module/codegen/ibc/core/channel/v1/query.rpc.query.js +165 -0
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +530 -0
- package/module/codegen/ibc/core/channel/v1/tx.js +1218 -0
- package/module/codegen/ibc/core/channel/v1/tx.registry.js +225 -0
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +83 -0
- package/module/codegen/ibc/core/client/v1/client.js +433 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +215 -0
- package/module/codegen/ibc/core/client/v1/query.js +814 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +104 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.query.js +110 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +436 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +99 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/commitment/v1/commitment.js +190 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +537 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +81 -0
- package/module/codegen/ibc/core/connection/v1/query.js +608 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +65 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.query.js +77 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +269 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +603 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +99 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/port/v1/query.js +182 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.query.js +20 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +87 -0
- package/module/codegen/ibc/lcd.js +76 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +59 -0
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1166 -0
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1166 -0
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +424 -0
- package/module/codegen/ibc/rpc.query.js +52 -0
- package/module/codegen/ibc/rpc.tx.js +43 -0
- package/module/codegen/ics23/bundle.js +8 -0
- package/module/codegen/index.js +18 -0
- package/module/codegen/juno/bundle.js +20 -0
- package/module/codegen/juno/lcd.js +55 -0
- package/module/codegen/juno/mint/genesis.js +57 -0
- package/module/codegen/juno/mint/mint.js +137 -0
- package/module/codegen/juno/mint/query.js +243 -0
- package/module/codegen/juno/mint/query.lcd.js +35 -0
- package/module/codegen/juno/mint/query.rpc.query.js +53 -0
- package/module/codegen/juno/rpc.query.js +37 -0
- package/module/codegen/tendermint/abci/types.js +3341 -0
- package/module/codegen/tendermint/bundle.js +36 -0
- package/module/codegen/tendermint/crypto/keys.js +58 -0
- package/module/codegen/tendermint/crypto/proof.js +317 -0
- package/module/codegen/tendermint/libs/bits/types.js +71 -0
- package/module/codegen/tendermint/p2p/types.js +386 -0
- package/module/codegen/tendermint/types/block.js +78 -0
- package/module/codegen/tendermint/types/evidence.js +281 -0
- package/module/codegen/tendermint/types/params.js +361 -0
- package/module/codegen/tendermint/types/types.js +1172 -0
- package/module/codegen/tendermint/types/validator.js +202 -0
- package/module/codegen/tendermint/version/types.js +119 -0
- package/module/index.js +1 -0
- package/package.json +8 -3
- package/src/codegen/JunoSwap.client.ts +299 -0
- package/src/codegen/JunoSwap.types.ts +143 -0
- package/src/codegen/confio/proofs.ts +1521 -0
- package/src/codegen/contracts.ts +13 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +172 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +308 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +26 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +112 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +316 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +88 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +72 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +90 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +865 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +306 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +180 -0
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +58 -0
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +79 -0
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +68 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +464 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +131 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +127 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +51 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +396 -0
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +68 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +666 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +194 -0
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +150 -0
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +155 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1301 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +110 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +35 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +230 -0
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1106 -0
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +145 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +282 -0
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +254 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1708 -0
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +759 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +242 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +112 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +74 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +80 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1181 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +266 -0
- package/src/codegen/cosmos/bundle.ts +214 -0
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +216 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +168 -0
- package/src/codegen/cosmos/client.ts +51 -0
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +69 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +37 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +25 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +136 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +130 -0
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +129 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +349 -0
- package/src/codegen/cosmos/crypto/multisig/keys.ts +78 -0
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +142 -0
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +124 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +122 -0
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +945 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +800 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +104 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +149 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1187 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +120 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +59 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +473 -0
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +107 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +72 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +37 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +283 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +56 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +144 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +421 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +71 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +48 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +467 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +75 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +91 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +38 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +269 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +71 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +156 -0
- package/src/codegen/cosmos/gov/v1/gov.ts +983 -0
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1/query.rpc.query.ts +134 -0
- package/src/codegen/cosmos/gov/v1/query.ts +1114 -0
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +226 -0
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +66 -0
- package/src/codegen/cosmos/gov/v1/tx.ts +661 -0
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +156 -0
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +1064 -0
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +134 -0
- package/src/codegen/cosmos/gov/v1beta1/query.ts +1114 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +174 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +57 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +518 -0
- package/src/codegen/cosmos/group/v1/events.ts +600 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +208 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +159 -0
- package/src/codegen/cosmos/group/v1/query.rpc.query.ts +147 -0
- package/src/codegen/cosmos/group/v1/query.ts +1945 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +585 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +512 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +157 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2197 -0
- package/src/codegen/cosmos/group/v1/types.ts +1577 -0
- package/src/codegen/cosmos/lcd.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +81 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +218 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +46 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +339 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +279 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +174 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +279 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +86 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +88 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +976 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +25 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +156 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +392 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +289 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +187 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +40 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.query.ts +37 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +348 -0
- package/src/codegen/cosmos/rpc.query.ts +36 -0
- package/src/codegen/cosmos/rpc.tx.ts +28 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +45 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +47 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +394 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +268 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +110 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +265 -0
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +253 -0
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +199 -0
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +222 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1970 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1957 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +294 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +68 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +735 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +528 -0
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +65 -0
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +94 -0
- package/src/codegen/cosmos/tx/v1beta1/service.ts +984 -0
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +1497 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +69 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +99 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +631 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +86 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +40 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +245 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +432 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +157 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +127 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +50 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +475 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +527 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -0
- package/src/codegen/cosmos_proto/cosmos.ts +289 -0
- package/src/codegen/cosmwasm/bundle.ts +34 -0
- package/src/codegen/cosmwasm/client.ts +44 -0
- package/src/codegen/cosmwasm/lcd.ts +59 -0
- package/src/codegen/cosmwasm/rpc.query.ts +41 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +33 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +433 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +180 -0
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +1083 -0
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +131 -0
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +152 -0
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1378 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +252 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +142 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +75 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +944 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +861 -0
- package/src/codegen/gogoproto/bundle.ts +3 -0
- package/src/codegen/gogoproto/gogo.ts +1 -0
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +683 -0
- package/src/codegen/google/bundle.ts +19 -0
- package/src/codegen/google/protobuf/any.ts +291 -0
- package/src/codegen/google/protobuf/descriptor.ts +4317 -0
- package/src/codegen/google/protobuf/duration.ts +215 -0
- package/src/codegen/google/protobuf/empty.ts +62 -0
- package/src/codegen/google/protobuf/field_mask.ts +459 -0
- package/src/codegen/google/protobuf/struct.ts +420 -0
- package/src/codegen/google/protobuf/timestamp.ts +259 -0
- package/src/codegen/google/protobuf/wrappers.ts +587 -0
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +66 -0
- package/src/codegen/ibc/applications/transfer/v1/query.ts +369 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +182 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +217 -0
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +115 -0
- package/src/codegen/ibc/bundle.ts +125 -0
- package/src/codegen/ibc/client.ts +53 -0
- package/src/codegen/ibc/core/channel/v1/channel.ts +923 -0
- package/src/codegen/ibc/core/channel/v1/genesis.ts +231 -0
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
- package/src/codegen/ibc/core/channel/v1/query.rpc.query.ts +214 -0
- package/src/codegen/ibc/core/channel/v1/query.ts +2444 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +116 -0
- package/src/codegen/ibc/core/channel/v1/tx.ts +1492 -0
- package/src/codegen/ibc/core/client/v1/client.ts +629 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +288 -0
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
- package/src/codegen/ibc/core/client/v1/query.rpc.query.ts +138 -0
- package/src/codegen/ibc/core/client/v1/query.ts +1130 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +55 -0
- package/src/codegen/ibc/core/client/v1/tx.ts +603 -0
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +758 -0
- package/src/codegen/ibc/core/connection/v1/genesis.ts +98 -0
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
- package/src/codegen/ibc/core/connection/v1/query.rpc.query.ts +97 -0
- package/src/codegen/ibc/core/connection/v1/query.ts +836 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +56 -0
- package/src/codegen/ibc/core/connection/v1/tx.ts +795 -0
- package/src/codegen/ibc/core/port/v1/query.rpc.query.ts +26 -0
- package/src/codegen/ibc/core/port/v1/query.ts +204 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +98 -0
- package/src/codegen/ibc/lcd.ts +78 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +82 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1499 -0
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1499 -0
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +626 -0
- package/src/codegen/ibc/rpc.query.ts +54 -0
- package/src/codegen/ibc/rpc.tx.ts +46 -0
- package/src/codegen/ics23/bundle.ts +3 -0
- package/src/codegen/index.ts +19 -0
- package/src/codegen/juno/bundle.ts +18 -0
- package/src/codegen/juno/lcd.ts +57 -0
- package/src/codegen/juno/mint/genesis.ts +76 -0
- package/src/codegen/juno/mint/mint.ts +172 -0
- package/src/codegen/juno/mint/query.lcd.ts +38 -0
- package/src/codegen/juno/mint/query.rpc.query.ts +64 -0
- package/src/codegen/juno/mint/query.ts +312 -0
- package/src/codegen/juno/rpc.query.ts +39 -0
- package/src/codegen/tendermint/abci/types.ts +3943 -0
- package/src/codegen/tendermint/bundle.ts +32 -0
- package/src/codegen/tendermint/crypto/keys.ts +69 -0
- package/src/codegen/tendermint/crypto/proof.ts +375 -0
- package/src/codegen/tendermint/libs/bits/types.ts +77 -0
- package/src/codegen/tendermint/p2p/types.ts +438 -0
- package/src/codegen/tendermint/types/block.ts +91 -0
- package/src/codegen/tendermint/types/evidence.ts +325 -0
- package/src/codegen/tendermint/types/params.ts +521 -0
- package/src/codegen/tendermint/types/types.ts +1399 -0
- package/src/codegen/tendermint/types/validator.ts +228 -0
- package/src/codegen/tendermint/version/types.ts +152 -0
- package/src/index.ts +1 -0
- package/types/codegen/JunoSwap.client.d.ts +29 -27
- package/types/codegen/JunoSwap.types.d.ts +43 -25
|
@@ -0,0 +1,836 @@
|
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
+
import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionSDKType } from "./connection";
|
|
3
|
+
import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client";
|
|
4
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
5
|
+
import * as _m0 from "protobufjs/minimal";
|
|
6
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
|
7
|
+
/**
|
|
8
|
+
* QueryConnectionRequest is the request type for the Query/Connection RPC
|
|
9
|
+
* method
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface QueryConnectionRequest {
|
|
13
|
+
/** connection unique identifier */
|
|
14
|
+
connectionId: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* QueryConnectionRequest is the request type for the Query/Connection RPC
|
|
18
|
+
* method
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export interface QueryConnectionRequestSDKType {
|
|
22
|
+
/** connection unique identifier */
|
|
23
|
+
connection_id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
|
27
|
+
* method. Besides the connection end, it includes a proof and the height from
|
|
28
|
+
* which the proof was retrieved.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
export interface QueryConnectionResponse {
|
|
32
|
+
/** connection associated with the request identifier */
|
|
33
|
+
connection: ConnectionEnd;
|
|
34
|
+
/** merkle proof of existence */
|
|
35
|
+
|
|
36
|
+
proof: Uint8Array;
|
|
37
|
+
/** height at which the proof was retrieved */
|
|
38
|
+
|
|
39
|
+
proofHeight: Height;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
|
43
|
+
* method. Besides the connection end, it includes a proof and the height from
|
|
44
|
+
* which the proof was retrieved.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
export interface QueryConnectionResponseSDKType {
|
|
48
|
+
/** connection associated with the request identifier */
|
|
49
|
+
connection: ConnectionEndSDKType;
|
|
50
|
+
/** merkle proof of existence */
|
|
51
|
+
|
|
52
|
+
proof: Uint8Array;
|
|
53
|
+
/** height at which the proof was retrieved */
|
|
54
|
+
|
|
55
|
+
proof_height: HeightSDKType;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
|
59
|
+
* method
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export interface QueryConnectionsRequest {
|
|
63
|
+
pagination?: PageRequest;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
|
67
|
+
* method
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
export interface QueryConnectionsRequestSDKType {
|
|
71
|
+
pagination?: PageRequestSDKType;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
|
75
|
+
* method.
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
export interface QueryConnectionsResponse {
|
|
79
|
+
/** list of stored connections of the chain. */
|
|
80
|
+
connections: IdentifiedConnection[];
|
|
81
|
+
/** pagination response */
|
|
82
|
+
|
|
83
|
+
pagination?: PageResponse;
|
|
84
|
+
/** query block height */
|
|
85
|
+
|
|
86
|
+
height: Height;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
|
90
|
+
* method.
|
|
91
|
+
*/
|
|
92
|
+
|
|
93
|
+
export interface QueryConnectionsResponseSDKType {
|
|
94
|
+
/** list of stored connections of the chain. */
|
|
95
|
+
connections: IdentifiedConnectionSDKType[];
|
|
96
|
+
/** pagination response */
|
|
97
|
+
|
|
98
|
+
pagination?: PageResponseSDKType;
|
|
99
|
+
/** query block height */
|
|
100
|
+
|
|
101
|
+
height: HeightSDKType;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* QueryClientConnectionsRequest is the request type for the
|
|
105
|
+
* Query/ClientConnections RPC method
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
export interface QueryClientConnectionsRequest {
|
|
109
|
+
/** client identifier associated with a connection */
|
|
110
|
+
clientId: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* QueryClientConnectionsRequest is the request type for the
|
|
114
|
+
* Query/ClientConnections RPC method
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
export interface QueryClientConnectionsRequestSDKType {
|
|
118
|
+
/** client identifier associated with a connection */
|
|
119
|
+
client_id: string;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* QueryClientConnectionsResponse is the response type for the
|
|
123
|
+
* Query/ClientConnections RPC method
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
export interface QueryClientConnectionsResponse {
|
|
127
|
+
/** slice of all the connection paths associated with a client. */
|
|
128
|
+
connectionPaths: string[];
|
|
129
|
+
/** merkle proof of existence */
|
|
130
|
+
|
|
131
|
+
proof: Uint8Array;
|
|
132
|
+
/** height at which the proof was generated */
|
|
133
|
+
|
|
134
|
+
proofHeight: Height;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* QueryClientConnectionsResponse is the response type for the
|
|
138
|
+
* Query/ClientConnections RPC method
|
|
139
|
+
*/
|
|
140
|
+
|
|
141
|
+
export interface QueryClientConnectionsResponseSDKType {
|
|
142
|
+
/** slice of all the connection paths associated with a client. */
|
|
143
|
+
connection_paths: string[];
|
|
144
|
+
/** merkle proof of existence */
|
|
145
|
+
|
|
146
|
+
proof: Uint8Array;
|
|
147
|
+
/** height at which the proof was generated */
|
|
148
|
+
|
|
149
|
+
proof_height: HeightSDKType;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* QueryConnectionClientStateRequest is the request type for the
|
|
153
|
+
* Query/ConnectionClientState RPC method
|
|
154
|
+
*/
|
|
155
|
+
|
|
156
|
+
export interface QueryConnectionClientStateRequest {
|
|
157
|
+
/** connection identifier */
|
|
158
|
+
connectionId: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* QueryConnectionClientStateRequest is the request type for the
|
|
162
|
+
* Query/ConnectionClientState RPC method
|
|
163
|
+
*/
|
|
164
|
+
|
|
165
|
+
export interface QueryConnectionClientStateRequestSDKType {
|
|
166
|
+
/** connection identifier */
|
|
167
|
+
connection_id: string;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* QueryConnectionClientStateResponse is the response type for the
|
|
171
|
+
* Query/ConnectionClientState RPC method
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
export interface QueryConnectionClientStateResponse {
|
|
175
|
+
/** client state associated with the channel */
|
|
176
|
+
identifiedClientState: IdentifiedClientState;
|
|
177
|
+
/** merkle proof of existence */
|
|
178
|
+
|
|
179
|
+
proof: Uint8Array;
|
|
180
|
+
/** height at which the proof was retrieved */
|
|
181
|
+
|
|
182
|
+
proofHeight: Height;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* QueryConnectionClientStateResponse is the response type for the
|
|
186
|
+
* Query/ConnectionClientState RPC method
|
|
187
|
+
*/
|
|
188
|
+
|
|
189
|
+
export interface QueryConnectionClientStateResponseSDKType {
|
|
190
|
+
/** client state associated with the channel */
|
|
191
|
+
identified_client_state: IdentifiedClientStateSDKType;
|
|
192
|
+
/** merkle proof of existence */
|
|
193
|
+
|
|
194
|
+
proof: Uint8Array;
|
|
195
|
+
/** height at which the proof was retrieved */
|
|
196
|
+
|
|
197
|
+
proof_height: HeightSDKType;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
|
201
|
+
* Query/ConnectionConsensusState RPC method
|
|
202
|
+
*/
|
|
203
|
+
|
|
204
|
+
export interface QueryConnectionConsensusStateRequest {
|
|
205
|
+
/** connection identifier */
|
|
206
|
+
connectionId: string;
|
|
207
|
+
revisionNumber: Long;
|
|
208
|
+
revisionHeight: Long;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
|
212
|
+
* Query/ConnectionConsensusState RPC method
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
export interface QueryConnectionConsensusStateRequestSDKType {
|
|
216
|
+
/** connection identifier */
|
|
217
|
+
connection_id: string;
|
|
218
|
+
revision_number: Long;
|
|
219
|
+
revision_height: Long;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
|
223
|
+
* Query/ConnectionConsensusState RPC method
|
|
224
|
+
*/
|
|
225
|
+
|
|
226
|
+
export interface QueryConnectionConsensusStateResponse {
|
|
227
|
+
/** consensus state associated with the channel */
|
|
228
|
+
consensusState: Any;
|
|
229
|
+
/** client ID associated with the consensus state */
|
|
230
|
+
|
|
231
|
+
clientId: string;
|
|
232
|
+
/** merkle proof of existence */
|
|
233
|
+
|
|
234
|
+
proof: Uint8Array;
|
|
235
|
+
/** height at which the proof was retrieved */
|
|
236
|
+
|
|
237
|
+
proofHeight: Height;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
|
241
|
+
* Query/ConnectionConsensusState RPC method
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
export interface QueryConnectionConsensusStateResponseSDKType {
|
|
245
|
+
/** consensus state associated with the channel */
|
|
246
|
+
consensus_state: AnySDKType;
|
|
247
|
+
/** client ID associated with the consensus state */
|
|
248
|
+
|
|
249
|
+
client_id: string;
|
|
250
|
+
/** merkle proof of existence */
|
|
251
|
+
|
|
252
|
+
proof: Uint8Array;
|
|
253
|
+
/** height at which the proof was retrieved */
|
|
254
|
+
|
|
255
|
+
proof_height: HeightSDKType;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
function createBaseQueryConnectionRequest(): QueryConnectionRequest {
|
|
259
|
+
return {
|
|
260
|
+
connectionId: ""
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export const QueryConnectionRequest = {
|
|
265
|
+
encode(message: QueryConnectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
266
|
+
if (message.connectionId !== "") {
|
|
267
|
+
writer.uint32(10).string(message.connectionId);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
return writer;
|
|
271
|
+
},
|
|
272
|
+
|
|
273
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest {
|
|
274
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
275
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
276
|
+
const message = createBaseQueryConnectionRequest();
|
|
277
|
+
|
|
278
|
+
while (reader.pos < end) {
|
|
279
|
+
const tag = reader.uint32();
|
|
280
|
+
|
|
281
|
+
switch (tag >>> 3) {
|
|
282
|
+
case 1:
|
|
283
|
+
message.connectionId = reader.string();
|
|
284
|
+
break;
|
|
285
|
+
|
|
286
|
+
default:
|
|
287
|
+
reader.skipType(tag & 7);
|
|
288
|
+
break;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
return message;
|
|
293
|
+
},
|
|
294
|
+
|
|
295
|
+
fromPartial(object: DeepPartial<QueryConnectionRequest>): QueryConnectionRequest {
|
|
296
|
+
const message = createBaseQueryConnectionRequest();
|
|
297
|
+
message.connectionId = object.connectionId ?? "";
|
|
298
|
+
return message;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
function createBaseQueryConnectionResponse(): QueryConnectionResponse {
|
|
304
|
+
return {
|
|
305
|
+
connection: undefined,
|
|
306
|
+
proof: new Uint8Array(),
|
|
307
|
+
proofHeight: undefined
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export const QueryConnectionResponse = {
|
|
312
|
+
encode(message: QueryConnectionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
313
|
+
if (message.connection !== undefined) {
|
|
314
|
+
ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim();
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
if (message.proof.length !== 0) {
|
|
318
|
+
writer.uint32(18).bytes(message.proof);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (message.proofHeight !== undefined) {
|
|
322
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
return writer;
|
|
326
|
+
},
|
|
327
|
+
|
|
328
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse {
|
|
329
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
330
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
331
|
+
const message = createBaseQueryConnectionResponse();
|
|
332
|
+
|
|
333
|
+
while (reader.pos < end) {
|
|
334
|
+
const tag = reader.uint32();
|
|
335
|
+
|
|
336
|
+
switch (tag >>> 3) {
|
|
337
|
+
case 1:
|
|
338
|
+
message.connection = ConnectionEnd.decode(reader, reader.uint32());
|
|
339
|
+
break;
|
|
340
|
+
|
|
341
|
+
case 2:
|
|
342
|
+
message.proof = reader.bytes();
|
|
343
|
+
break;
|
|
344
|
+
|
|
345
|
+
case 3:
|
|
346
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
347
|
+
break;
|
|
348
|
+
|
|
349
|
+
default:
|
|
350
|
+
reader.skipType(tag & 7);
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
return message;
|
|
356
|
+
},
|
|
357
|
+
|
|
358
|
+
fromPartial(object: DeepPartial<QueryConnectionResponse>): QueryConnectionResponse {
|
|
359
|
+
const message = createBaseQueryConnectionResponse();
|
|
360
|
+
message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined;
|
|
361
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
362
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
363
|
+
return message;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
function createBaseQueryConnectionsRequest(): QueryConnectionsRequest {
|
|
369
|
+
return {
|
|
370
|
+
pagination: undefined
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export const QueryConnectionsRequest = {
|
|
375
|
+
encode(message: QueryConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
376
|
+
if (message.pagination !== undefined) {
|
|
377
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
return writer;
|
|
381
|
+
},
|
|
382
|
+
|
|
383
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest {
|
|
384
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
385
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
386
|
+
const message = createBaseQueryConnectionsRequest();
|
|
387
|
+
|
|
388
|
+
while (reader.pos < end) {
|
|
389
|
+
const tag = reader.uint32();
|
|
390
|
+
|
|
391
|
+
switch (tag >>> 3) {
|
|
392
|
+
case 1:
|
|
393
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
394
|
+
break;
|
|
395
|
+
|
|
396
|
+
default:
|
|
397
|
+
reader.skipType(tag & 7);
|
|
398
|
+
break;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
return message;
|
|
403
|
+
},
|
|
404
|
+
|
|
405
|
+
fromPartial(object: DeepPartial<QueryConnectionsRequest>): QueryConnectionsRequest {
|
|
406
|
+
const message = createBaseQueryConnectionsRequest();
|
|
407
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
408
|
+
return message;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
function createBaseQueryConnectionsResponse(): QueryConnectionsResponse {
|
|
414
|
+
return {
|
|
415
|
+
connections: [],
|
|
416
|
+
pagination: undefined,
|
|
417
|
+
height: undefined
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export const QueryConnectionsResponse = {
|
|
422
|
+
encode(message: QueryConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
423
|
+
for (const v of message.connections) {
|
|
424
|
+
IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
if (message.pagination !== undefined) {
|
|
428
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
if (message.height !== undefined) {
|
|
432
|
+
Height.encode(message.height, writer.uint32(26).fork()).ldelim();
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
return writer;
|
|
436
|
+
},
|
|
437
|
+
|
|
438
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse {
|
|
439
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
440
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
441
|
+
const message = createBaseQueryConnectionsResponse();
|
|
442
|
+
|
|
443
|
+
while (reader.pos < end) {
|
|
444
|
+
const tag = reader.uint32();
|
|
445
|
+
|
|
446
|
+
switch (tag >>> 3) {
|
|
447
|
+
case 1:
|
|
448
|
+
message.connections.push(IdentifiedConnection.decode(reader, reader.uint32()));
|
|
449
|
+
break;
|
|
450
|
+
|
|
451
|
+
case 2:
|
|
452
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
453
|
+
break;
|
|
454
|
+
|
|
455
|
+
case 3:
|
|
456
|
+
message.height = Height.decode(reader, reader.uint32());
|
|
457
|
+
break;
|
|
458
|
+
|
|
459
|
+
default:
|
|
460
|
+
reader.skipType(tag & 7);
|
|
461
|
+
break;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
return message;
|
|
466
|
+
},
|
|
467
|
+
|
|
468
|
+
fromPartial(object: DeepPartial<QueryConnectionsResponse>): QueryConnectionsResponse {
|
|
469
|
+
const message = createBaseQueryConnectionsResponse();
|
|
470
|
+
message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || [];
|
|
471
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
472
|
+
message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined;
|
|
473
|
+
return message;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest {
|
|
479
|
+
return {
|
|
480
|
+
clientId: ""
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export const QueryClientConnectionsRequest = {
|
|
485
|
+
encode(message: QueryClientConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
486
|
+
if (message.clientId !== "") {
|
|
487
|
+
writer.uint32(10).string(message.clientId);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
return writer;
|
|
491
|
+
},
|
|
492
|
+
|
|
493
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest {
|
|
494
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
495
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
496
|
+
const message = createBaseQueryClientConnectionsRequest();
|
|
497
|
+
|
|
498
|
+
while (reader.pos < end) {
|
|
499
|
+
const tag = reader.uint32();
|
|
500
|
+
|
|
501
|
+
switch (tag >>> 3) {
|
|
502
|
+
case 1:
|
|
503
|
+
message.clientId = reader.string();
|
|
504
|
+
break;
|
|
505
|
+
|
|
506
|
+
default:
|
|
507
|
+
reader.skipType(tag & 7);
|
|
508
|
+
break;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
return message;
|
|
513
|
+
},
|
|
514
|
+
|
|
515
|
+
fromPartial(object: DeepPartial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest {
|
|
516
|
+
const message = createBaseQueryClientConnectionsRequest();
|
|
517
|
+
message.clientId = object.clientId ?? "";
|
|
518
|
+
return message;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse {
|
|
524
|
+
return {
|
|
525
|
+
connectionPaths: [],
|
|
526
|
+
proof: new Uint8Array(),
|
|
527
|
+
proofHeight: undefined
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export const QueryClientConnectionsResponse = {
|
|
532
|
+
encode(message: QueryClientConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
533
|
+
for (const v of message.connectionPaths) {
|
|
534
|
+
writer.uint32(10).string(v!);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
if (message.proof.length !== 0) {
|
|
538
|
+
writer.uint32(18).bytes(message.proof);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
if (message.proofHeight !== undefined) {
|
|
542
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
return writer;
|
|
546
|
+
},
|
|
547
|
+
|
|
548
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse {
|
|
549
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
550
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
551
|
+
const message = createBaseQueryClientConnectionsResponse();
|
|
552
|
+
|
|
553
|
+
while (reader.pos < end) {
|
|
554
|
+
const tag = reader.uint32();
|
|
555
|
+
|
|
556
|
+
switch (tag >>> 3) {
|
|
557
|
+
case 1:
|
|
558
|
+
message.connectionPaths.push(reader.string());
|
|
559
|
+
break;
|
|
560
|
+
|
|
561
|
+
case 2:
|
|
562
|
+
message.proof = reader.bytes();
|
|
563
|
+
break;
|
|
564
|
+
|
|
565
|
+
case 3:
|
|
566
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
567
|
+
break;
|
|
568
|
+
|
|
569
|
+
default:
|
|
570
|
+
reader.skipType(tag & 7);
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
return message;
|
|
576
|
+
},
|
|
577
|
+
|
|
578
|
+
fromPartial(object: DeepPartial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse {
|
|
579
|
+
const message = createBaseQueryClientConnectionsResponse();
|
|
580
|
+
message.connectionPaths = object.connectionPaths?.map(e => e) || [];
|
|
581
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
582
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
583
|
+
return message;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest {
|
|
589
|
+
return {
|
|
590
|
+
connectionId: ""
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export const QueryConnectionClientStateRequest = {
|
|
595
|
+
encode(message: QueryConnectionClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
596
|
+
if (message.connectionId !== "") {
|
|
597
|
+
writer.uint32(10).string(message.connectionId);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
return writer;
|
|
601
|
+
},
|
|
602
|
+
|
|
603
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest {
|
|
604
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
605
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
606
|
+
const message = createBaseQueryConnectionClientStateRequest();
|
|
607
|
+
|
|
608
|
+
while (reader.pos < end) {
|
|
609
|
+
const tag = reader.uint32();
|
|
610
|
+
|
|
611
|
+
switch (tag >>> 3) {
|
|
612
|
+
case 1:
|
|
613
|
+
message.connectionId = reader.string();
|
|
614
|
+
break;
|
|
615
|
+
|
|
616
|
+
default:
|
|
617
|
+
reader.skipType(tag & 7);
|
|
618
|
+
break;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
return message;
|
|
623
|
+
},
|
|
624
|
+
|
|
625
|
+
fromPartial(object: DeepPartial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest {
|
|
626
|
+
const message = createBaseQueryConnectionClientStateRequest();
|
|
627
|
+
message.connectionId = object.connectionId ?? "";
|
|
628
|
+
return message;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse {
|
|
634
|
+
return {
|
|
635
|
+
identifiedClientState: undefined,
|
|
636
|
+
proof: new Uint8Array(),
|
|
637
|
+
proofHeight: undefined
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export const QueryConnectionClientStateResponse = {
|
|
642
|
+
encode(message: QueryConnectionClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
643
|
+
if (message.identifiedClientState !== undefined) {
|
|
644
|
+
IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim();
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
if (message.proof.length !== 0) {
|
|
648
|
+
writer.uint32(18).bytes(message.proof);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
if (message.proofHeight !== undefined) {
|
|
652
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
return writer;
|
|
656
|
+
},
|
|
657
|
+
|
|
658
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse {
|
|
659
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
660
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
661
|
+
const message = createBaseQueryConnectionClientStateResponse();
|
|
662
|
+
|
|
663
|
+
while (reader.pos < end) {
|
|
664
|
+
const tag = reader.uint32();
|
|
665
|
+
|
|
666
|
+
switch (tag >>> 3) {
|
|
667
|
+
case 1:
|
|
668
|
+
message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32());
|
|
669
|
+
break;
|
|
670
|
+
|
|
671
|
+
case 2:
|
|
672
|
+
message.proof = reader.bytes();
|
|
673
|
+
break;
|
|
674
|
+
|
|
675
|
+
case 3:
|
|
676
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
677
|
+
break;
|
|
678
|
+
|
|
679
|
+
default:
|
|
680
|
+
reader.skipType(tag & 7);
|
|
681
|
+
break;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
return message;
|
|
686
|
+
},
|
|
687
|
+
|
|
688
|
+
fromPartial(object: DeepPartial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse {
|
|
689
|
+
const message = createBaseQueryConnectionClientStateResponse();
|
|
690
|
+
message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined;
|
|
691
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
692
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
693
|
+
return message;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest {
|
|
699
|
+
return {
|
|
700
|
+
connectionId: "",
|
|
701
|
+
revisionNumber: Long.UZERO,
|
|
702
|
+
revisionHeight: Long.UZERO
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export const QueryConnectionConsensusStateRequest = {
|
|
707
|
+
encode(message: QueryConnectionConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
708
|
+
if (message.connectionId !== "") {
|
|
709
|
+
writer.uint32(10).string(message.connectionId);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
if (!message.revisionNumber.isZero()) {
|
|
713
|
+
writer.uint32(16).uint64(message.revisionNumber);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
if (!message.revisionHeight.isZero()) {
|
|
717
|
+
writer.uint32(24).uint64(message.revisionHeight);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
return writer;
|
|
721
|
+
},
|
|
722
|
+
|
|
723
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest {
|
|
724
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
725
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
726
|
+
const message = createBaseQueryConnectionConsensusStateRequest();
|
|
727
|
+
|
|
728
|
+
while (reader.pos < end) {
|
|
729
|
+
const tag = reader.uint32();
|
|
730
|
+
|
|
731
|
+
switch (tag >>> 3) {
|
|
732
|
+
case 1:
|
|
733
|
+
message.connectionId = reader.string();
|
|
734
|
+
break;
|
|
735
|
+
|
|
736
|
+
case 2:
|
|
737
|
+
message.revisionNumber = (reader.uint64() as Long);
|
|
738
|
+
break;
|
|
739
|
+
|
|
740
|
+
case 3:
|
|
741
|
+
message.revisionHeight = (reader.uint64() as Long);
|
|
742
|
+
break;
|
|
743
|
+
|
|
744
|
+
default:
|
|
745
|
+
reader.skipType(tag & 7);
|
|
746
|
+
break;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
return message;
|
|
751
|
+
},
|
|
752
|
+
|
|
753
|
+
fromPartial(object: DeepPartial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest {
|
|
754
|
+
const message = createBaseQueryConnectionConsensusStateRequest();
|
|
755
|
+
message.connectionId = object.connectionId ?? "";
|
|
756
|
+
message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO;
|
|
757
|
+
message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO;
|
|
758
|
+
return message;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse {
|
|
764
|
+
return {
|
|
765
|
+
consensusState: undefined,
|
|
766
|
+
clientId: "",
|
|
767
|
+
proof: new Uint8Array(),
|
|
768
|
+
proofHeight: undefined
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export const QueryConnectionConsensusStateResponse = {
|
|
773
|
+
encode(message: QueryConnectionConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
774
|
+
if (message.consensusState !== undefined) {
|
|
775
|
+
Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (message.clientId !== "") {
|
|
779
|
+
writer.uint32(18).string(message.clientId);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
if (message.proof.length !== 0) {
|
|
783
|
+
writer.uint32(26).bytes(message.proof);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
if (message.proofHeight !== undefined) {
|
|
787
|
+
Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
return writer;
|
|
791
|
+
},
|
|
792
|
+
|
|
793
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse {
|
|
794
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
795
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
796
|
+
const message = createBaseQueryConnectionConsensusStateResponse();
|
|
797
|
+
|
|
798
|
+
while (reader.pos < end) {
|
|
799
|
+
const tag = reader.uint32();
|
|
800
|
+
|
|
801
|
+
switch (tag >>> 3) {
|
|
802
|
+
case 1:
|
|
803
|
+
message.consensusState = Any.decode(reader, reader.uint32());
|
|
804
|
+
break;
|
|
805
|
+
|
|
806
|
+
case 2:
|
|
807
|
+
message.clientId = reader.string();
|
|
808
|
+
break;
|
|
809
|
+
|
|
810
|
+
case 3:
|
|
811
|
+
message.proof = reader.bytes();
|
|
812
|
+
break;
|
|
813
|
+
|
|
814
|
+
case 4:
|
|
815
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
816
|
+
break;
|
|
817
|
+
|
|
818
|
+
default:
|
|
819
|
+
reader.skipType(tag & 7);
|
|
820
|
+
break;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
return message;
|
|
825
|
+
},
|
|
826
|
+
|
|
827
|
+
fromPartial(object: DeepPartial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse {
|
|
828
|
+
const message = createBaseQueryConnectionConsensusStateResponse();
|
|
829
|
+
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
|
830
|
+
message.clientId = object.clientId ?? "";
|
|
831
|
+
message.proof = object.proof ?? new Uint8Array();
|
|
832
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
833
|
+
return message;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
};
|