juno-network 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/cosmos/client.js +11 -5
- package/main/codegen/cosmwasm/client.js +11 -5
- package/main/codegen/ibc/client.js +11 -5
- package/package.json +3 -3
- package/types/codegen/JunoSwap.client.d.ts +120 -0
- package/types/codegen/JunoSwap.types.d.ts +124 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +12 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +51 -0
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +105 -0
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +25 -0
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +11 -0
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +49 -0
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +171 -0
- package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +23 -0
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +25 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +53 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +118 -0
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +47 -0
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +24 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +197 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +21 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
- package/types/codegen/cosmos/bundle.d.ts +6233 -0
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +45 -0
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +34 -0
- package/types/codegen/cosmos/client.d.ts +473 -0
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +25 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +60 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +13 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +89 -0
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +14 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +84 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +56 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +56 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +14 -0
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/group/v1/events.d.ts +115 -0
- package/types/codegen/cosmos/group/v1/genesis.d.ts +38 -0
- package/types/codegen/cosmos/group/v1/query.d.ts +350 -0
- package/types/codegen/cosmos/group/v1/query.lcd.d.ts +20 -0
- package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +35 -0
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +419 -0
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +296 -0
- package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +324 -0
- package/types/codegen/cosmos/lcd.d.ts +28 -0
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +38 -0
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +78 -0
- package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +42 -0
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +30 -0
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +47 -0
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +166 -0
- package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +23 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +117 -0
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +90 -0
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +31 -0
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +71 -0
- package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +13 -0
- package/types/codegen/cosmos/rpc.query.d.ts +97 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +70 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +85 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +52 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +23 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +88 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +97 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
- package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
- package/types/codegen/cosmwasm/client.d.ts +120 -0
- package/types/codegen/cosmwasm/lcd.d.ts +33 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
- package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
- package/types/codegen/gogoproto/bundle.d.ts +1 -0
- package/types/codegen/gogoproto/gogo.d.ts +1 -0
- package/types/codegen/google/api/annotations.d.ts +1 -0
- package/types/codegen/google/api/http.d.ts +375 -0
- package/types/codegen/google/bundle.d.ts +1545 -0
- package/types/codegen/google/protobuf/any.d.ts +237 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
- package/types/codegen/google/protobuf/duration.d.ts +161 -0
- package/types/codegen/google/protobuf/empty.d.ts +33 -0
- package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
- package/types/codegen/google/protobuf/struct.d.ts +148 -0
- package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
- package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
- package/types/codegen/ibc/bundle.d.ts +3781 -0
- package/types/codegen/ibc/client.d.ts +559 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +37 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +11 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +21 -0
- package/types/codegen/ibc/lcd.d.ts +46 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
- package/types/codegen/ibc/rpc.query.d.ts +148 -0
- package/types/codegen/ibc/rpc.tx.d.ts +44 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +18 -0
- package/types/codegen/juno/bundle.d.ts +226 -0
- package/types/codegen/juno/lcd.d.ts +31 -0
- package/types/codegen/juno/mint/genesis.d.ts +22 -0
- package/types/codegen/juno/mint/mint.d.ts +44 -0
- package/types/codegen/juno/mint/query.d.ts +99 -0
- package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
- package/types/codegen/juno/mint/query.rpc.query.d.ts +21 -0
- package/types/codegen/juno/rpc.query.d.ts +104 -0
- package/types/codegen/tendermint/abci/types.d.ts +902 -0
- package/types/codegen/tendermint/bundle.d.ts +2065 -0
- package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
- package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
- package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
- package/types/codegen/tendermint/p2p/types.d.ts +87 -0
- package/types/codegen/tendermint/types/block.d.ts +21 -0
- package/types/codegen/tendermint/types/evidence.d.ts +70 -0
- package/types/codegen/tendermint/types/params.d.ts +181 -0
- package/types/codegen/tendermint/types/types.d.ts +326 -0
- package/types/codegen/tendermint/types/validator.d.ts +48 -0
- package/types/codegen/tendermint/version/types.d.ts +48 -0
- package/types/index.d.ts +1 -0
@@ -0,0 +1,264 @@
|
|
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
|
+
export interface QueryConnectionRequest {
|
12
|
+
/** connection unique identifier */
|
13
|
+
connectionId: string;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* QueryConnectionRequest is the request type for the Query/Connection RPC
|
17
|
+
* method
|
18
|
+
*/
|
19
|
+
export interface QueryConnectionRequestSDKType {
|
20
|
+
/** connection unique identifier */
|
21
|
+
connection_id: string;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
25
|
+
* method. Besides the connection end, it includes a proof and the height from
|
26
|
+
* which the proof was retrieved.
|
27
|
+
*/
|
28
|
+
export interface QueryConnectionResponse {
|
29
|
+
/** connection associated with the request identifier */
|
30
|
+
connection: ConnectionEnd;
|
31
|
+
/** merkle proof of existence */
|
32
|
+
proof: Uint8Array;
|
33
|
+
/** height at which the proof was retrieved */
|
34
|
+
proofHeight: Height;
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
38
|
+
* method. Besides the connection end, it includes a proof and the height from
|
39
|
+
* which the proof was retrieved.
|
40
|
+
*/
|
41
|
+
export interface QueryConnectionResponseSDKType {
|
42
|
+
/** connection associated with the request identifier */
|
43
|
+
connection: ConnectionEndSDKType;
|
44
|
+
/** merkle proof of existence */
|
45
|
+
proof: Uint8Array;
|
46
|
+
/** height at which the proof was retrieved */
|
47
|
+
proof_height: HeightSDKType;
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
51
|
+
* method
|
52
|
+
*/
|
53
|
+
export interface QueryConnectionsRequest {
|
54
|
+
pagination?: PageRequest;
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* QueryConnectionsRequest is the request type for the Query/Connections RPC
|
58
|
+
* method
|
59
|
+
*/
|
60
|
+
export interface QueryConnectionsRequestSDKType {
|
61
|
+
pagination?: PageRequestSDKType;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
65
|
+
* method.
|
66
|
+
*/
|
67
|
+
export interface QueryConnectionsResponse {
|
68
|
+
/** list of stored connections of the chain. */
|
69
|
+
connections: IdentifiedConnection[];
|
70
|
+
/** pagination response */
|
71
|
+
pagination?: PageResponse;
|
72
|
+
/** query block height */
|
73
|
+
height: Height;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* QueryConnectionsResponse is the response type for the Query/Connections RPC
|
77
|
+
* method.
|
78
|
+
*/
|
79
|
+
export interface QueryConnectionsResponseSDKType {
|
80
|
+
/** list of stored connections of the chain. */
|
81
|
+
connections: IdentifiedConnectionSDKType[];
|
82
|
+
/** pagination response */
|
83
|
+
pagination?: PageResponseSDKType;
|
84
|
+
/** query block height */
|
85
|
+
height: HeightSDKType;
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* QueryClientConnectionsRequest is the request type for the
|
89
|
+
* Query/ClientConnections RPC method
|
90
|
+
*/
|
91
|
+
export interface QueryClientConnectionsRequest {
|
92
|
+
/** client identifier associated with a connection */
|
93
|
+
clientId: string;
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* QueryClientConnectionsRequest is the request type for the
|
97
|
+
* Query/ClientConnections RPC method
|
98
|
+
*/
|
99
|
+
export interface QueryClientConnectionsRequestSDKType {
|
100
|
+
/** client identifier associated with a connection */
|
101
|
+
client_id: string;
|
102
|
+
}
|
103
|
+
/**
|
104
|
+
* QueryClientConnectionsResponse is the response type for the
|
105
|
+
* Query/ClientConnections RPC method
|
106
|
+
*/
|
107
|
+
export interface QueryClientConnectionsResponse {
|
108
|
+
/** slice of all the connection paths associated with a client. */
|
109
|
+
connectionPaths: string[];
|
110
|
+
/** merkle proof of existence */
|
111
|
+
proof: Uint8Array;
|
112
|
+
/** height at which the proof was generated */
|
113
|
+
proofHeight: Height;
|
114
|
+
}
|
115
|
+
/**
|
116
|
+
* QueryClientConnectionsResponse is the response type for the
|
117
|
+
* Query/ClientConnections RPC method
|
118
|
+
*/
|
119
|
+
export interface QueryClientConnectionsResponseSDKType {
|
120
|
+
/** slice of all the connection paths associated with a client. */
|
121
|
+
connection_paths: string[];
|
122
|
+
/** merkle proof of existence */
|
123
|
+
proof: Uint8Array;
|
124
|
+
/** height at which the proof was generated */
|
125
|
+
proof_height: HeightSDKType;
|
126
|
+
}
|
127
|
+
/**
|
128
|
+
* QueryConnectionClientStateRequest is the request type for the
|
129
|
+
* Query/ConnectionClientState RPC method
|
130
|
+
*/
|
131
|
+
export interface QueryConnectionClientStateRequest {
|
132
|
+
/** connection identifier */
|
133
|
+
connectionId: string;
|
134
|
+
}
|
135
|
+
/**
|
136
|
+
* QueryConnectionClientStateRequest is the request type for the
|
137
|
+
* Query/ConnectionClientState RPC method
|
138
|
+
*/
|
139
|
+
export interface QueryConnectionClientStateRequestSDKType {
|
140
|
+
/** connection identifier */
|
141
|
+
connection_id: string;
|
142
|
+
}
|
143
|
+
/**
|
144
|
+
* QueryConnectionClientStateResponse is the response type for the
|
145
|
+
* Query/ConnectionClientState RPC method
|
146
|
+
*/
|
147
|
+
export interface QueryConnectionClientStateResponse {
|
148
|
+
/** client state associated with the channel */
|
149
|
+
identifiedClientState: IdentifiedClientState;
|
150
|
+
/** merkle proof of existence */
|
151
|
+
proof: Uint8Array;
|
152
|
+
/** height at which the proof was retrieved */
|
153
|
+
proofHeight: Height;
|
154
|
+
}
|
155
|
+
/**
|
156
|
+
* QueryConnectionClientStateResponse is the response type for the
|
157
|
+
* Query/ConnectionClientState RPC method
|
158
|
+
*/
|
159
|
+
export interface QueryConnectionClientStateResponseSDKType {
|
160
|
+
/** client state associated with the channel */
|
161
|
+
identified_client_state: IdentifiedClientStateSDKType;
|
162
|
+
/** merkle proof of existence */
|
163
|
+
proof: Uint8Array;
|
164
|
+
/** height at which the proof was retrieved */
|
165
|
+
proof_height: HeightSDKType;
|
166
|
+
}
|
167
|
+
/**
|
168
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
169
|
+
* Query/ConnectionConsensusState RPC method
|
170
|
+
*/
|
171
|
+
export interface QueryConnectionConsensusStateRequest {
|
172
|
+
/** connection identifier */
|
173
|
+
connectionId: string;
|
174
|
+
revisionNumber: Long;
|
175
|
+
revisionHeight: Long;
|
176
|
+
}
|
177
|
+
/**
|
178
|
+
* QueryConnectionConsensusStateRequest is the request type for the
|
179
|
+
* Query/ConnectionConsensusState RPC method
|
180
|
+
*/
|
181
|
+
export interface QueryConnectionConsensusStateRequestSDKType {
|
182
|
+
/** connection identifier */
|
183
|
+
connection_id: string;
|
184
|
+
revision_number: Long;
|
185
|
+
revision_height: Long;
|
186
|
+
}
|
187
|
+
/**
|
188
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
189
|
+
* Query/ConnectionConsensusState RPC method
|
190
|
+
*/
|
191
|
+
export interface QueryConnectionConsensusStateResponse {
|
192
|
+
/** consensus state associated with the channel */
|
193
|
+
consensusState: Any;
|
194
|
+
/** client ID associated with the consensus state */
|
195
|
+
clientId: string;
|
196
|
+
/** merkle proof of existence */
|
197
|
+
proof: Uint8Array;
|
198
|
+
/** height at which the proof was retrieved */
|
199
|
+
proofHeight: Height;
|
200
|
+
}
|
201
|
+
/**
|
202
|
+
* QueryConnectionConsensusStateResponse is the response type for the
|
203
|
+
* Query/ConnectionConsensusState RPC method
|
204
|
+
*/
|
205
|
+
export interface QueryConnectionConsensusStateResponseSDKType {
|
206
|
+
/** consensus state associated with the channel */
|
207
|
+
consensus_state: AnySDKType;
|
208
|
+
/** client ID associated with the consensus state */
|
209
|
+
client_id: string;
|
210
|
+
/** merkle proof of existence */
|
211
|
+
proof: Uint8Array;
|
212
|
+
/** height at which the proof was retrieved */
|
213
|
+
proof_height: HeightSDKType;
|
214
|
+
}
|
215
|
+
export declare const QueryConnectionRequest: {
|
216
|
+
encode(message: QueryConnectionRequest, writer?: _m0.Writer): _m0.Writer;
|
217
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest;
|
218
|
+
fromPartial(object: DeepPartial<QueryConnectionRequest>): QueryConnectionRequest;
|
219
|
+
};
|
220
|
+
export declare const QueryConnectionResponse: {
|
221
|
+
encode(message: QueryConnectionResponse, writer?: _m0.Writer): _m0.Writer;
|
222
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponseSDKType;
|
223
|
+
fromPartial(object: DeepPartial<QueryConnectionResponse>): QueryConnectionResponse;
|
224
|
+
};
|
225
|
+
export declare const QueryConnectionsRequest: {
|
226
|
+
encode(message: QueryConnectionsRequest, writer?: _m0.Writer): _m0.Writer;
|
227
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest;
|
228
|
+
fromPartial(object: DeepPartial<QueryConnectionsRequest>): QueryConnectionsRequest;
|
229
|
+
};
|
230
|
+
export declare const QueryConnectionsResponse: {
|
231
|
+
encode(message: QueryConnectionsResponse, writer?: _m0.Writer): _m0.Writer;
|
232
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponseSDKType;
|
233
|
+
fromPartial(object: DeepPartial<QueryConnectionsResponse>): QueryConnectionsResponse;
|
234
|
+
};
|
235
|
+
export declare const QueryClientConnectionsRequest: {
|
236
|
+
encode(message: QueryClientConnectionsRequest, writer?: _m0.Writer): _m0.Writer;
|
237
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest;
|
238
|
+
fromPartial(object: DeepPartial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest;
|
239
|
+
};
|
240
|
+
export declare const QueryClientConnectionsResponse: {
|
241
|
+
encode(message: QueryClientConnectionsResponse, writer?: _m0.Writer): _m0.Writer;
|
242
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponseSDKType;
|
243
|
+
fromPartial(object: DeepPartial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse;
|
244
|
+
};
|
245
|
+
export declare const QueryConnectionClientStateRequest: {
|
246
|
+
encode(message: QueryConnectionClientStateRequest, writer?: _m0.Writer): _m0.Writer;
|
247
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest;
|
248
|
+
fromPartial(object: DeepPartial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest;
|
249
|
+
};
|
250
|
+
export declare const QueryConnectionClientStateResponse: {
|
251
|
+
encode(message: QueryConnectionClientStateResponse, writer?: _m0.Writer): _m0.Writer;
|
252
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponseSDKType;
|
253
|
+
fromPartial(object: DeepPartial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse;
|
254
|
+
};
|
255
|
+
export declare const QueryConnectionConsensusStateRequest: {
|
256
|
+
encode(message: QueryConnectionConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
|
257
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest;
|
258
|
+
fromPartial(object: DeepPartial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest;
|
259
|
+
};
|
260
|
+
export declare const QueryConnectionConsensusStateResponse: {
|
261
|
+
encode(message: QueryConnectionConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
|
262
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponseSDKType;
|
263
|
+
fromPartial(object: DeepPartial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse;
|
264
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
2
|
+
import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query";
|
3
|
+
export declare class LCDQueryClient {
|
4
|
+
req: LCDClient;
|
5
|
+
constructor({ requestClient }: {
|
6
|
+
requestClient: LCDClient;
|
7
|
+
});
|
8
|
+
connection(params: QueryConnectionRequest): Promise<QueryConnectionResponseSDKType>;
|
9
|
+
connections(params?: QueryConnectionsRequest): Promise<QueryConnectionsResponseSDKType>;
|
10
|
+
clientConnections(params: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponseSDKType>;
|
11
|
+
connectionClientState(params: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponseSDKType>;
|
12
|
+
connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponseSDKType>;
|
13
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
3
|
+
import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query";
|
4
|
+
/** Query defines the RPC service */
|
5
|
+
export interface Query {
|
6
|
+
connection(request: QueryConnectionRequest): Promise<QueryConnectionResponseSDKType>;
|
7
|
+
connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponseSDKType>;
|
8
|
+
clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponseSDKType>;
|
9
|
+
connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponseSDKType>;
|
10
|
+
connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponseSDKType>;
|
11
|
+
}
|
12
|
+
export declare class QueryClientImpl implements Query {
|
13
|
+
private readonly rpc;
|
14
|
+
constructor(rpc: Rpc);
|
15
|
+
connection(request: QueryConnectionRequest): Promise<QueryConnectionResponseSDKType>;
|
16
|
+
connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponseSDKType>;
|
17
|
+
clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponseSDKType>;
|
18
|
+
connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponseSDKType>;
|
19
|
+
connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponseSDKType>;
|
20
|
+
}
|
21
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
22
|
+
connection(request: QueryConnectionRequest): Promise<QueryConnectionResponseSDKType>;
|
23
|
+
connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponseSDKType>;
|
24
|
+
clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponseSDKType>;
|
25
|
+
connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponseSDKType>;
|
26
|
+
connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponseSDKType>;
|
27
|
+
};
|
@@ -0,0 +1,103 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { AminoHeight } from "@osmonauts/helpers";
|
3
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx";
|
4
|
+
export interface AminoMsgConnectionOpenInit extends AminoMsg {
|
5
|
+
type: "cosmos-sdk/MsgConnectionOpenInit";
|
6
|
+
value: {
|
7
|
+
client_id: string;
|
8
|
+
counterparty: {
|
9
|
+
client_id: string;
|
10
|
+
connection_id: string;
|
11
|
+
prefix: {
|
12
|
+
key_prefix: Uint8Array;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
version: {
|
16
|
+
identifier: string;
|
17
|
+
features: string[];
|
18
|
+
};
|
19
|
+
delay_period: string;
|
20
|
+
signer: string;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export interface AminoMsgConnectionOpenTry extends AminoMsg {
|
24
|
+
type: "cosmos-sdk/MsgConnectionOpenTry";
|
25
|
+
value: {
|
26
|
+
client_id: string;
|
27
|
+
previous_connection_id: string;
|
28
|
+
client_state: {
|
29
|
+
type_url: string;
|
30
|
+
value: Uint8Array;
|
31
|
+
};
|
32
|
+
counterparty: {
|
33
|
+
client_id: string;
|
34
|
+
connection_id: string;
|
35
|
+
prefix: {
|
36
|
+
key_prefix: Uint8Array;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
delay_period: string;
|
40
|
+
counterparty_versions: {
|
41
|
+
identifier: string;
|
42
|
+
features: string[];
|
43
|
+
}[];
|
44
|
+
proof_height: AminoHeight;
|
45
|
+
proof_init: Uint8Array;
|
46
|
+
proof_client: Uint8Array;
|
47
|
+
proof_consensus: Uint8Array;
|
48
|
+
consensus_height: AminoHeight;
|
49
|
+
signer: string;
|
50
|
+
};
|
51
|
+
}
|
52
|
+
export interface AminoMsgConnectionOpenAck extends AminoMsg {
|
53
|
+
type: "cosmos-sdk/MsgConnectionOpenAck";
|
54
|
+
value: {
|
55
|
+
connection_id: string;
|
56
|
+
counterparty_connection_id: string;
|
57
|
+
version: {
|
58
|
+
identifier: string;
|
59
|
+
features: string[];
|
60
|
+
};
|
61
|
+
client_state: {
|
62
|
+
type_url: string;
|
63
|
+
value: Uint8Array;
|
64
|
+
};
|
65
|
+
proof_height: AminoHeight;
|
66
|
+
proof_try: Uint8Array;
|
67
|
+
proof_client: Uint8Array;
|
68
|
+
proof_consensus: Uint8Array;
|
69
|
+
consensus_height: AminoHeight;
|
70
|
+
signer: string;
|
71
|
+
};
|
72
|
+
}
|
73
|
+
export interface AminoMsgConnectionOpenConfirm extends AminoMsg {
|
74
|
+
type: "cosmos-sdk/MsgConnectionOpenConfirm";
|
75
|
+
value: {
|
76
|
+
connection_id: string;
|
77
|
+
proof_ack: Uint8Array;
|
78
|
+
proof_height: AminoHeight;
|
79
|
+
signer: string;
|
80
|
+
};
|
81
|
+
}
|
82
|
+
export declare const AminoConverter: {
|
83
|
+
"/ibc.core.connection.v1.MsgConnectionOpenInit": {
|
84
|
+
aminoType: string;
|
85
|
+
toAmino: ({ clientId, counterparty, version, delayPeriod, signer }: MsgConnectionOpenInit) => AminoMsgConnectionOpenInit["value"];
|
86
|
+
fromAmino: ({ client_id, counterparty, version, delay_period, signer }: AminoMsgConnectionOpenInit["value"]) => MsgConnectionOpenInit;
|
87
|
+
};
|
88
|
+
"/ibc.core.connection.v1.MsgConnectionOpenTry": {
|
89
|
+
aminoType: string;
|
90
|
+
toAmino: ({ clientId, previousConnectionId, clientState, counterparty, delayPeriod, counterpartyVersions, proofHeight, proofInit, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenTry) => AminoMsgConnectionOpenTry["value"];
|
91
|
+
fromAmino: ({ client_id, previous_connection_id, client_state, counterparty, delay_period, counterparty_versions, proof_height, proof_init, proof_client, proof_consensus, consensus_height, signer }: AminoMsgConnectionOpenTry["value"]) => MsgConnectionOpenTry;
|
92
|
+
};
|
93
|
+
"/ibc.core.connection.v1.MsgConnectionOpenAck": {
|
94
|
+
aminoType: string;
|
95
|
+
toAmino: ({ connectionId, counterpartyConnectionId, version, clientState, proofHeight, proofTry, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenAck) => AminoMsgConnectionOpenAck["value"];
|
96
|
+
fromAmino: ({ connection_id, counterparty_connection_id, version, client_state, proof_height, proof_try, proof_client, proof_consensus, consensus_height, signer }: AminoMsgConnectionOpenAck["value"]) => MsgConnectionOpenAck;
|
97
|
+
};
|
98
|
+
"/ibc.core.connection.v1.MsgConnectionOpenConfirm": {
|
99
|
+
aminoType: string;
|
100
|
+
toAmino: ({ connectionId, proofAck, proofHeight, signer }: MsgConnectionOpenConfirm) => AminoMsgConnectionOpenConfirm["value"];
|
101
|
+
fromAmino: ({ connection_id, proof_ack, proof_height, signer }: AminoMsgConnectionOpenConfirm["value"]) => MsgConnectionOpenConfirm;
|
102
|
+
};
|
103
|
+
};
|
@@ -0,0 +1,225 @@
|
|
1
|
+
import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection";
|
2
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
3
|
+
import { Height, HeightSDKType } from "../../client/v1/client";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
6
|
+
/**
|
7
|
+
* MsgConnectionOpenInit defines the msg sent by an account on Chain A to
|
8
|
+
* initialize a connection with Chain B.
|
9
|
+
*/
|
10
|
+
export interface MsgConnectionOpenInit {
|
11
|
+
clientId: string;
|
12
|
+
counterparty: Counterparty;
|
13
|
+
version: Version;
|
14
|
+
delayPeriod: Long;
|
15
|
+
signer: string;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* MsgConnectionOpenInit defines the msg sent by an account on Chain A to
|
19
|
+
* initialize a connection with Chain B.
|
20
|
+
*/
|
21
|
+
export interface MsgConnectionOpenInitSDKType {
|
22
|
+
client_id: string;
|
23
|
+
counterparty: CounterpartySDKType;
|
24
|
+
version: VersionSDKType;
|
25
|
+
delay_period: Long;
|
26
|
+
signer: string;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
|
30
|
+
* type.
|
31
|
+
*/
|
32
|
+
export interface MsgConnectionOpenInitResponse {
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
|
36
|
+
* type.
|
37
|
+
*/
|
38
|
+
export interface MsgConnectionOpenInitResponseSDKType {
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
|
42
|
+
* connection on Chain B.
|
43
|
+
*/
|
44
|
+
export interface MsgConnectionOpenTry {
|
45
|
+
clientId: string;
|
46
|
+
/**
|
47
|
+
* in the case of crossing hello's, when both chains call OpenInit, we need
|
48
|
+
* the connection identifier of the previous connection in state INIT
|
49
|
+
*/
|
50
|
+
previousConnectionId: string;
|
51
|
+
clientState: Any;
|
52
|
+
counterparty: Counterparty;
|
53
|
+
delayPeriod: Long;
|
54
|
+
counterpartyVersions: Version[];
|
55
|
+
proofHeight: Height;
|
56
|
+
/**
|
57
|
+
* proof of the initialization the connection on Chain A: `UNITIALIZED ->
|
58
|
+
* INIT`
|
59
|
+
*/
|
60
|
+
proofInit: Uint8Array;
|
61
|
+
/** proof of client state included in message */
|
62
|
+
proofClient: Uint8Array;
|
63
|
+
/** proof of client consensus state */
|
64
|
+
proofConsensus: Uint8Array;
|
65
|
+
consensusHeight: Height;
|
66
|
+
signer: string;
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
|
70
|
+
* connection on Chain B.
|
71
|
+
*/
|
72
|
+
export interface MsgConnectionOpenTrySDKType {
|
73
|
+
client_id: string;
|
74
|
+
/**
|
75
|
+
* in the case of crossing hello's, when both chains call OpenInit, we need
|
76
|
+
* the connection identifier of the previous connection in state INIT
|
77
|
+
*/
|
78
|
+
previous_connection_id: string;
|
79
|
+
client_state: AnySDKType;
|
80
|
+
counterparty: CounterpartySDKType;
|
81
|
+
delay_period: Long;
|
82
|
+
counterparty_versions: VersionSDKType[];
|
83
|
+
proof_height: HeightSDKType;
|
84
|
+
/**
|
85
|
+
* proof of the initialization the connection on Chain A: `UNITIALIZED ->
|
86
|
+
* INIT`
|
87
|
+
*/
|
88
|
+
proof_init: Uint8Array;
|
89
|
+
/** proof of client state included in message */
|
90
|
+
proof_client: Uint8Array;
|
91
|
+
/** proof of client consensus state */
|
92
|
+
proof_consensus: Uint8Array;
|
93
|
+
consensus_height: HeightSDKType;
|
94
|
+
signer: string;
|
95
|
+
}
|
96
|
+
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
97
|
+
export interface MsgConnectionOpenTryResponse {
|
98
|
+
}
|
99
|
+
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
100
|
+
export interface MsgConnectionOpenTryResponseSDKType {
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
|
104
|
+
* acknowledge the change of connection state to TRYOPEN on Chain B.
|
105
|
+
*/
|
106
|
+
export interface MsgConnectionOpenAck {
|
107
|
+
connectionId: string;
|
108
|
+
counterpartyConnectionId: string;
|
109
|
+
version: Version;
|
110
|
+
clientState: Any;
|
111
|
+
proofHeight: Height;
|
112
|
+
/**
|
113
|
+
* proof of the initialization the connection on Chain B: `UNITIALIZED ->
|
114
|
+
* TRYOPEN`
|
115
|
+
*/
|
116
|
+
proofTry: Uint8Array;
|
117
|
+
/** proof of client state included in message */
|
118
|
+
proofClient: Uint8Array;
|
119
|
+
/** proof of client consensus state */
|
120
|
+
proofConsensus: Uint8Array;
|
121
|
+
consensusHeight: Height;
|
122
|
+
signer: string;
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
|
126
|
+
* acknowledge the change of connection state to TRYOPEN on Chain B.
|
127
|
+
*/
|
128
|
+
export interface MsgConnectionOpenAckSDKType {
|
129
|
+
connection_id: string;
|
130
|
+
counterparty_connection_id: string;
|
131
|
+
version: VersionSDKType;
|
132
|
+
client_state: AnySDKType;
|
133
|
+
proof_height: HeightSDKType;
|
134
|
+
/**
|
135
|
+
* proof of the initialization the connection on Chain B: `UNITIALIZED ->
|
136
|
+
* TRYOPEN`
|
137
|
+
*/
|
138
|
+
proof_try: Uint8Array;
|
139
|
+
/** proof of client state included in message */
|
140
|
+
proof_client: Uint8Array;
|
141
|
+
/** proof of client consensus state */
|
142
|
+
proof_consensus: Uint8Array;
|
143
|
+
consensus_height: HeightSDKType;
|
144
|
+
signer: string;
|
145
|
+
}
|
146
|
+
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
147
|
+
export interface MsgConnectionOpenAckResponse {
|
148
|
+
}
|
149
|
+
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
150
|
+
export interface MsgConnectionOpenAckResponseSDKType {
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
|
154
|
+
* acknowledge the change of connection state to OPEN on Chain A.
|
155
|
+
*/
|
156
|
+
export interface MsgConnectionOpenConfirm {
|
157
|
+
connectionId: string;
|
158
|
+
/** proof for the change of the connection state on Chain A: `INIT -> OPEN` */
|
159
|
+
proofAck: Uint8Array;
|
160
|
+
proofHeight: Height;
|
161
|
+
signer: string;
|
162
|
+
}
|
163
|
+
/**
|
164
|
+
* MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
|
165
|
+
* acknowledge the change of connection state to OPEN on Chain A.
|
166
|
+
*/
|
167
|
+
export interface MsgConnectionOpenConfirmSDKType {
|
168
|
+
connection_id: string;
|
169
|
+
/** proof for the change of the connection state on Chain A: `INIT -> OPEN` */
|
170
|
+
proof_ack: Uint8Array;
|
171
|
+
proof_height: HeightSDKType;
|
172
|
+
signer: string;
|
173
|
+
}
|
174
|
+
/**
|
175
|
+
* MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
|
176
|
+
* response type.
|
177
|
+
*/
|
178
|
+
export interface MsgConnectionOpenConfirmResponse {
|
179
|
+
}
|
180
|
+
/**
|
181
|
+
* MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
|
182
|
+
* response type.
|
183
|
+
*/
|
184
|
+
export interface MsgConnectionOpenConfirmResponseSDKType {
|
185
|
+
}
|
186
|
+
export declare const MsgConnectionOpenInit: {
|
187
|
+
encode(message: MsgConnectionOpenInit, writer?: _m0.Writer): _m0.Writer;
|
188
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit;
|
189
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenInit>): MsgConnectionOpenInit;
|
190
|
+
};
|
191
|
+
export declare const MsgConnectionOpenInitResponse: {
|
192
|
+
encode(_: MsgConnectionOpenInitResponse, writer?: _m0.Writer): _m0.Writer;
|
193
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponseSDKType;
|
194
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenInitResponse>): MsgConnectionOpenInitResponse;
|
195
|
+
};
|
196
|
+
export declare const MsgConnectionOpenTry: {
|
197
|
+
encode(message: MsgConnectionOpenTry, writer?: _m0.Writer): _m0.Writer;
|
198
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry;
|
199
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenTry>): MsgConnectionOpenTry;
|
200
|
+
};
|
201
|
+
export declare const MsgConnectionOpenTryResponse: {
|
202
|
+
encode(_: MsgConnectionOpenTryResponse, writer?: _m0.Writer): _m0.Writer;
|
203
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponseSDKType;
|
204
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenTryResponse>): MsgConnectionOpenTryResponse;
|
205
|
+
};
|
206
|
+
export declare const MsgConnectionOpenAck: {
|
207
|
+
encode(message: MsgConnectionOpenAck, writer?: _m0.Writer): _m0.Writer;
|
208
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck;
|
209
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenAck>): MsgConnectionOpenAck;
|
210
|
+
};
|
211
|
+
export declare const MsgConnectionOpenAckResponse: {
|
212
|
+
encode(_: MsgConnectionOpenAckResponse, writer?: _m0.Writer): _m0.Writer;
|
213
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponseSDKType;
|
214
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenAckResponse>): MsgConnectionOpenAckResponse;
|
215
|
+
};
|
216
|
+
export declare const MsgConnectionOpenConfirm: {
|
217
|
+
encode(message: MsgConnectionOpenConfirm, writer?: _m0.Writer): _m0.Writer;
|
218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm;
|
219
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenConfirm>): MsgConnectionOpenConfirm;
|
220
|
+
};
|
221
|
+
export declare const MsgConnectionOpenConfirmResponse: {
|
222
|
+
encode(_: MsgConnectionOpenConfirmResponse, writer?: _m0.Writer): _m0.Writer;
|
223
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponseSDKType;
|
224
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenConfirmResponse>): MsgConnectionOpenConfirmResponse;
|
225
|
+
};
|