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,187 @@
|
|
1
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/** MsgCreateClient defines a message to create an IBC client */
|
5
|
+
export interface MsgCreateClient {
|
6
|
+
/** light client state */
|
7
|
+
clientState: Any;
|
8
|
+
/**
|
9
|
+
* consensus state associated with the client that corresponds to a given
|
10
|
+
* height.
|
11
|
+
*/
|
12
|
+
consensusState: Any;
|
13
|
+
/** signer address */
|
14
|
+
signer: string;
|
15
|
+
}
|
16
|
+
/** MsgCreateClient defines a message to create an IBC client */
|
17
|
+
export interface MsgCreateClientSDKType {
|
18
|
+
/** light client state */
|
19
|
+
client_state: AnySDKType;
|
20
|
+
/**
|
21
|
+
* consensus state associated with the client that corresponds to a given
|
22
|
+
* height.
|
23
|
+
*/
|
24
|
+
consensus_state: AnySDKType;
|
25
|
+
/** signer address */
|
26
|
+
signer: string;
|
27
|
+
}
|
28
|
+
/** MsgCreateClientResponse defines the Msg/CreateClient response type. */
|
29
|
+
export interface MsgCreateClientResponse {
|
30
|
+
}
|
31
|
+
/** MsgCreateClientResponse defines the Msg/CreateClient response type. */
|
32
|
+
export interface MsgCreateClientResponseSDKType {
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
|
36
|
+
* the given header.
|
37
|
+
*/
|
38
|
+
export interface MsgUpdateClient {
|
39
|
+
/** client unique identifier */
|
40
|
+
clientId: string;
|
41
|
+
/** header to update the light client */
|
42
|
+
header: Any;
|
43
|
+
/** signer address */
|
44
|
+
signer: string;
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
|
48
|
+
* the given header.
|
49
|
+
*/
|
50
|
+
export interface MsgUpdateClientSDKType {
|
51
|
+
/** client unique identifier */
|
52
|
+
client_id: string;
|
53
|
+
/** header to update the light client */
|
54
|
+
header: AnySDKType;
|
55
|
+
/** signer address */
|
56
|
+
signer: string;
|
57
|
+
}
|
58
|
+
/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */
|
59
|
+
export interface MsgUpdateClientResponse {
|
60
|
+
}
|
61
|
+
/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */
|
62
|
+
export interface MsgUpdateClientResponseSDKType {
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client
|
66
|
+
* state
|
67
|
+
*/
|
68
|
+
export interface MsgUpgradeClient {
|
69
|
+
/** client unique identifier */
|
70
|
+
clientId: string;
|
71
|
+
/** upgraded client state */
|
72
|
+
clientState: Any;
|
73
|
+
/**
|
74
|
+
* upgraded consensus state, only contains enough information to serve as a
|
75
|
+
* basis of trust in update logic
|
76
|
+
*/
|
77
|
+
consensusState: Any;
|
78
|
+
/** proof that old chain committed to new client */
|
79
|
+
proofUpgradeClient: Uint8Array;
|
80
|
+
/** proof that old chain committed to new consensus state */
|
81
|
+
proofUpgradeConsensusState: Uint8Array;
|
82
|
+
/** signer address */
|
83
|
+
signer: string;
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client
|
87
|
+
* state
|
88
|
+
*/
|
89
|
+
export interface MsgUpgradeClientSDKType {
|
90
|
+
/** client unique identifier */
|
91
|
+
client_id: string;
|
92
|
+
/** upgraded client state */
|
93
|
+
client_state: AnySDKType;
|
94
|
+
/**
|
95
|
+
* upgraded consensus state, only contains enough information to serve as a
|
96
|
+
* basis of trust in update logic
|
97
|
+
*/
|
98
|
+
consensus_state: AnySDKType;
|
99
|
+
/** proof that old chain committed to new client */
|
100
|
+
proof_upgrade_client: Uint8Array;
|
101
|
+
/** proof that old chain committed to new consensus state */
|
102
|
+
proof_upgrade_consensus_state: Uint8Array;
|
103
|
+
/** signer address */
|
104
|
+
signer: string;
|
105
|
+
}
|
106
|
+
/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */
|
107
|
+
export interface MsgUpgradeClientResponse {
|
108
|
+
}
|
109
|
+
/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */
|
110
|
+
export interface MsgUpgradeClientResponseSDKType {
|
111
|
+
}
|
112
|
+
/**
|
113
|
+
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
|
114
|
+
* light client misbehaviour.
|
115
|
+
*/
|
116
|
+
export interface MsgSubmitMisbehaviour {
|
117
|
+
/** client unique identifier */
|
118
|
+
clientId: string;
|
119
|
+
/** misbehaviour used for freezing the light client */
|
120
|
+
misbehaviour: Any;
|
121
|
+
/** signer address */
|
122
|
+
signer: string;
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
|
126
|
+
* light client misbehaviour.
|
127
|
+
*/
|
128
|
+
export interface MsgSubmitMisbehaviourSDKType {
|
129
|
+
/** client unique identifier */
|
130
|
+
client_id: string;
|
131
|
+
/** misbehaviour used for freezing the light client */
|
132
|
+
misbehaviour: AnySDKType;
|
133
|
+
/** signer address */
|
134
|
+
signer: string;
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
|
138
|
+
* type.
|
139
|
+
*/
|
140
|
+
export interface MsgSubmitMisbehaviourResponse {
|
141
|
+
}
|
142
|
+
/**
|
143
|
+
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
|
144
|
+
* type.
|
145
|
+
*/
|
146
|
+
export interface MsgSubmitMisbehaviourResponseSDKType {
|
147
|
+
}
|
148
|
+
export declare const MsgCreateClient: {
|
149
|
+
encode(message: MsgCreateClient, writer?: _m0.Writer): _m0.Writer;
|
150
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient;
|
151
|
+
fromPartial(object: DeepPartial<MsgCreateClient>): MsgCreateClient;
|
152
|
+
};
|
153
|
+
export declare const MsgCreateClientResponse: {
|
154
|
+
encode(_: MsgCreateClientResponse, writer?: _m0.Writer): _m0.Writer;
|
155
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponseSDKType;
|
156
|
+
fromPartial(_: DeepPartial<MsgCreateClientResponse>): MsgCreateClientResponse;
|
157
|
+
};
|
158
|
+
export declare const MsgUpdateClient: {
|
159
|
+
encode(message: MsgUpdateClient, writer?: _m0.Writer): _m0.Writer;
|
160
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient;
|
161
|
+
fromPartial(object: DeepPartial<MsgUpdateClient>): MsgUpdateClient;
|
162
|
+
};
|
163
|
+
export declare const MsgUpdateClientResponse: {
|
164
|
+
encode(_: MsgUpdateClientResponse, writer?: _m0.Writer): _m0.Writer;
|
165
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponseSDKType;
|
166
|
+
fromPartial(_: DeepPartial<MsgUpdateClientResponse>): MsgUpdateClientResponse;
|
167
|
+
};
|
168
|
+
export declare const MsgUpgradeClient: {
|
169
|
+
encode(message: MsgUpgradeClient, writer?: _m0.Writer): _m0.Writer;
|
170
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient;
|
171
|
+
fromPartial(object: DeepPartial<MsgUpgradeClient>): MsgUpgradeClient;
|
172
|
+
};
|
173
|
+
export declare const MsgUpgradeClientResponse: {
|
174
|
+
encode(_: MsgUpgradeClientResponse, writer?: _m0.Writer): _m0.Writer;
|
175
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponseSDKType;
|
176
|
+
fromPartial(_: DeepPartial<MsgUpgradeClientResponse>): MsgUpgradeClientResponse;
|
177
|
+
};
|
178
|
+
export declare const MsgSubmitMisbehaviour: {
|
179
|
+
encode(message: MsgSubmitMisbehaviour, writer?: _m0.Writer): _m0.Writer;
|
180
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour;
|
181
|
+
fromPartial(object: DeepPartial<MsgSubmitMisbehaviour>): MsgSubmitMisbehaviour;
|
182
|
+
};
|
183
|
+
export declare const MsgSubmitMisbehaviourResponse: {
|
184
|
+
encode(_: MsgSubmitMisbehaviourResponse, writer?: _m0.Writer): _m0.Writer;
|
185
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponseSDKType;
|
186
|
+
fromPartial(_: DeepPartial<MsgSubmitMisbehaviourResponse>): MsgSubmitMisbehaviourResponse;
|
187
|
+
};
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
2
|
+
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx";
|
3
|
+
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
|
4
|
+
export declare const load: (protoRegistry: Registry) => void;
|
5
|
+
export declare const MessageComposer: {
|
6
|
+
encoded: {
|
7
|
+
createClient(value: MsgCreateClient): {
|
8
|
+
typeUrl: string;
|
9
|
+
value: Uint8Array;
|
10
|
+
};
|
11
|
+
updateClient(value: MsgUpdateClient): {
|
12
|
+
typeUrl: string;
|
13
|
+
value: Uint8Array;
|
14
|
+
};
|
15
|
+
upgradeClient(value: MsgUpgradeClient): {
|
16
|
+
typeUrl: string;
|
17
|
+
value: Uint8Array;
|
18
|
+
};
|
19
|
+
submitMisbehaviour(value: MsgSubmitMisbehaviour): {
|
20
|
+
typeUrl: string;
|
21
|
+
value: Uint8Array;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
withTypeUrl: {
|
25
|
+
createClient(value: MsgCreateClient): {
|
26
|
+
typeUrl: string;
|
27
|
+
value: MsgCreateClient;
|
28
|
+
};
|
29
|
+
updateClient(value: MsgUpdateClient): {
|
30
|
+
typeUrl: string;
|
31
|
+
value: MsgUpdateClient;
|
32
|
+
};
|
33
|
+
upgradeClient(value: MsgUpgradeClient): {
|
34
|
+
typeUrl: string;
|
35
|
+
value: MsgUpgradeClient;
|
36
|
+
};
|
37
|
+
submitMisbehaviour(value: MsgSubmitMisbehaviour): {
|
38
|
+
typeUrl: string;
|
39
|
+
value: MsgSubmitMisbehaviour;
|
40
|
+
};
|
41
|
+
};
|
42
|
+
fromPartial: {
|
43
|
+
createClient(value: MsgCreateClient): {
|
44
|
+
typeUrl: string;
|
45
|
+
value: MsgCreateClient;
|
46
|
+
};
|
47
|
+
updateClient(value: MsgUpdateClient): {
|
48
|
+
typeUrl: string;
|
49
|
+
value: MsgUpdateClient;
|
50
|
+
};
|
51
|
+
upgradeClient(value: MsgUpgradeClient): {
|
52
|
+
typeUrl: string;
|
53
|
+
value: MsgUpgradeClient;
|
54
|
+
};
|
55
|
+
submitMisbehaviour(value: MsgSubmitMisbehaviour): {
|
56
|
+
typeUrl: string;
|
57
|
+
value: MsgSubmitMisbehaviour;
|
58
|
+
};
|
59
|
+
};
|
60
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { MsgCreateClient, MsgCreateClientResponseSDKType, MsgUpdateClient, MsgUpdateClientResponseSDKType, MsgUpgradeClient, MsgUpgradeClientResponseSDKType, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponseSDKType } from "./tx";
|
3
|
+
/** Msg defines the RPC service */
|
4
|
+
export interface Msg {
|
5
|
+
createClient(request: MsgCreateClient): Promise<MsgCreateClientResponseSDKType>;
|
6
|
+
updateClient(request: MsgUpdateClient): Promise<MsgUpdateClientResponseSDKType>;
|
7
|
+
upgradeClient(request: MsgUpgradeClient): Promise<MsgUpgradeClientResponseSDKType>;
|
8
|
+
submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise<MsgSubmitMisbehaviourResponseSDKType>;
|
9
|
+
}
|
10
|
+
export declare class MsgClientImpl implements Msg {
|
11
|
+
private readonly rpc;
|
12
|
+
constructor(rpc: Rpc);
|
13
|
+
createClient(request: MsgCreateClient): Promise<MsgCreateClientResponseSDKType>;
|
14
|
+
updateClient(request: MsgUpdateClient): Promise<MsgUpdateClientResponseSDKType>;
|
15
|
+
upgradeClient(request: MsgUpgradeClient): Promise<MsgUpgradeClientResponseSDKType>;
|
16
|
+
submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise<MsgSubmitMisbehaviourResponseSDKType>;
|
17
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/**
|
5
|
+
* MerkleRoot defines a merkle root hash.
|
6
|
+
* In the Cosmos SDK, the AppHash of a block header becomes the root.
|
7
|
+
*/
|
8
|
+
export interface MerkleRoot {
|
9
|
+
hash: Uint8Array;
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* MerkleRoot defines a merkle root hash.
|
13
|
+
* In the Cosmos SDK, the AppHash of a block header becomes the root.
|
14
|
+
*/
|
15
|
+
export interface MerkleRootSDKType {
|
16
|
+
hash: Uint8Array;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* MerklePrefix is merkle path prefixed to the key.
|
20
|
+
* The constructed key from the Path and the key will be append(Path.KeyPath,
|
21
|
+
* append(Path.KeyPrefix, key...))
|
22
|
+
*/
|
23
|
+
export interface MerklePrefix {
|
24
|
+
keyPrefix: Uint8Array;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* MerklePrefix is merkle path prefixed to the key.
|
28
|
+
* The constructed key from the Path and the key will be append(Path.KeyPath,
|
29
|
+
* append(Path.KeyPrefix, key...))
|
30
|
+
*/
|
31
|
+
export interface MerklePrefixSDKType {
|
32
|
+
key_prefix: Uint8Array;
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* MerklePath is the path used to verify commitment proofs, which can be an
|
36
|
+
* arbitrary structured object (defined by a commitment type).
|
37
|
+
* MerklePath is represented from root-to-leaf
|
38
|
+
*/
|
39
|
+
export interface MerklePath {
|
40
|
+
keyPath: string[];
|
41
|
+
}
|
42
|
+
/**
|
43
|
+
* MerklePath is the path used to verify commitment proofs, which can be an
|
44
|
+
* arbitrary structured object (defined by a commitment type).
|
45
|
+
* MerklePath is represented from root-to-leaf
|
46
|
+
*/
|
47
|
+
export interface MerklePathSDKType {
|
48
|
+
key_path: string[];
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* MerkleProof is a wrapper type over a chain of CommitmentProofs.
|
52
|
+
* It demonstrates membership or non-membership for an element or set of
|
53
|
+
* elements, verifiable in conjunction with a known commitment root. Proofs
|
54
|
+
* should be succinct.
|
55
|
+
* MerkleProofs are ordered from leaf-to-root
|
56
|
+
*/
|
57
|
+
export interface MerkleProof {
|
58
|
+
proofs: CommitmentProof[];
|
59
|
+
}
|
60
|
+
/**
|
61
|
+
* MerkleProof is a wrapper type over a chain of CommitmentProofs.
|
62
|
+
* It demonstrates membership or non-membership for an element or set of
|
63
|
+
* elements, verifiable in conjunction with a known commitment root. Proofs
|
64
|
+
* should be succinct.
|
65
|
+
* MerkleProofs are ordered from leaf-to-root
|
66
|
+
*/
|
67
|
+
export interface MerkleProofSDKType {
|
68
|
+
proofs: CommitmentProofSDKType[];
|
69
|
+
}
|
70
|
+
export declare const MerkleRoot: {
|
71
|
+
encode(message: MerkleRoot, writer?: _m0.Writer): _m0.Writer;
|
72
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MerkleRoot;
|
73
|
+
fromPartial(object: DeepPartial<MerkleRoot>): MerkleRoot;
|
74
|
+
};
|
75
|
+
export declare const MerklePrefix: {
|
76
|
+
encode(message: MerklePrefix, writer?: _m0.Writer): _m0.Writer;
|
77
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MerklePrefix;
|
78
|
+
fromPartial(object: DeepPartial<MerklePrefix>): MerklePrefix;
|
79
|
+
};
|
80
|
+
export declare const MerklePath: {
|
81
|
+
encode(message: MerklePath, writer?: _m0.Writer): _m0.Writer;
|
82
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MerklePath;
|
83
|
+
fromPartial(object: DeepPartial<MerklePath>): MerklePath;
|
84
|
+
};
|
85
|
+
export declare const MerkleProof: {
|
86
|
+
encode(message: MerkleProof, writer?: _m0.Writer): _m0.Writer;
|
87
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MerkleProof;
|
88
|
+
fromPartial(object: DeepPartial<MerkleProof>): MerkleProof;
|
89
|
+
};
|
@@ -0,0 +1,260 @@
|
|
1
|
+
import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/**
|
5
|
+
* State defines if a connection is in one of the following states:
|
6
|
+
* INIT, TRYOPEN, OPEN or UNINITIALIZED.
|
7
|
+
*/
|
8
|
+
export declare enum State {
|
9
|
+
/** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
|
10
|
+
STATE_UNINITIALIZED_UNSPECIFIED = 0,
|
11
|
+
/** STATE_INIT - A connection end has just started the opening handshake. */
|
12
|
+
STATE_INIT = 1,
|
13
|
+
/**
|
14
|
+
* STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
|
15
|
+
* chain.
|
16
|
+
*/
|
17
|
+
STATE_TRYOPEN = 2,
|
18
|
+
/** STATE_OPEN - A connection end has completed the handshake. */
|
19
|
+
STATE_OPEN = 3,
|
20
|
+
UNRECOGNIZED = -1
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* State defines if a connection is in one of the following states:
|
24
|
+
* INIT, TRYOPEN, OPEN or UNINITIALIZED.
|
25
|
+
*/
|
26
|
+
export declare enum StateSDKType {
|
27
|
+
/** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
|
28
|
+
STATE_UNINITIALIZED_UNSPECIFIED = 0,
|
29
|
+
/** STATE_INIT - A connection end has just started the opening handshake. */
|
30
|
+
STATE_INIT = 1,
|
31
|
+
/**
|
32
|
+
* STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
|
33
|
+
* chain.
|
34
|
+
*/
|
35
|
+
STATE_TRYOPEN = 2,
|
36
|
+
/** STATE_OPEN - A connection end has completed the handshake. */
|
37
|
+
STATE_OPEN = 3,
|
38
|
+
UNRECOGNIZED = -1
|
39
|
+
}
|
40
|
+
export declare function stateFromJSON(object: any): State;
|
41
|
+
export declare function stateToJSON(object: State): string;
|
42
|
+
/**
|
43
|
+
* ConnectionEnd defines a stateful object on a chain connected to another
|
44
|
+
* separate one.
|
45
|
+
* NOTE: there must only be 2 defined ConnectionEnds to establish
|
46
|
+
* a connection between two chains.
|
47
|
+
*/
|
48
|
+
export interface ConnectionEnd {
|
49
|
+
/** client associated with this connection. */
|
50
|
+
clientId: string;
|
51
|
+
/**
|
52
|
+
* IBC version which can be utilised to determine encodings or protocols for
|
53
|
+
* channels or packets utilising this connection.
|
54
|
+
*/
|
55
|
+
versions: Version[];
|
56
|
+
/** current state of the connection end. */
|
57
|
+
state: State;
|
58
|
+
/** counterparty chain associated with this connection. */
|
59
|
+
counterparty: Counterparty;
|
60
|
+
/**
|
61
|
+
* delay period that must pass before a consensus state can be used for
|
62
|
+
* packet-verification NOTE: delay period logic is only implemented by some
|
63
|
+
* clients.
|
64
|
+
*/
|
65
|
+
delayPeriod: Long;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* ConnectionEnd defines a stateful object on a chain connected to another
|
69
|
+
* separate one.
|
70
|
+
* NOTE: there must only be 2 defined ConnectionEnds to establish
|
71
|
+
* a connection between two chains.
|
72
|
+
*/
|
73
|
+
export interface ConnectionEndSDKType {
|
74
|
+
/** client associated with this connection. */
|
75
|
+
client_id: string;
|
76
|
+
/**
|
77
|
+
* IBC version which can be utilised to determine encodings or protocols for
|
78
|
+
* channels or packets utilising this connection.
|
79
|
+
*/
|
80
|
+
versions: VersionSDKType[];
|
81
|
+
/** current state of the connection end. */
|
82
|
+
state: StateSDKType;
|
83
|
+
/** counterparty chain associated with this connection. */
|
84
|
+
counterparty: CounterpartySDKType;
|
85
|
+
/**
|
86
|
+
* delay period that must pass before a consensus state can be used for
|
87
|
+
* packet-verification NOTE: delay period logic is only implemented by some
|
88
|
+
* clients.
|
89
|
+
*/
|
90
|
+
delay_period: Long;
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* IdentifiedConnection defines a connection with additional connection
|
94
|
+
* identifier field.
|
95
|
+
*/
|
96
|
+
export interface IdentifiedConnection {
|
97
|
+
/** connection identifier. */
|
98
|
+
id: string;
|
99
|
+
/** client associated with this connection. */
|
100
|
+
clientId: string;
|
101
|
+
/**
|
102
|
+
* IBC version which can be utilised to determine encodings or protocols for
|
103
|
+
* channels or packets utilising this connection
|
104
|
+
*/
|
105
|
+
versions: Version[];
|
106
|
+
/** current state of the connection end. */
|
107
|
+
state: State;
|
108
|
+
/** counterparty chain associated with this connection. */
|
109
|
+
counterparty: Counterparty;
|
110
|
+
/** delay period associated with this connection. */
|
111
|
+
delayPeriod: Long;
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* IdentifiedConnection defines a connection with additional connection
|
115
|
+
* identifier field.
|
116
|
+
*/
|
117
|
+
export interface IdentifiedConnectionSDKType {
|
118
|
+
/** connection identifier. */
|
119
|
+
id: string;
|
120
|
+
/** client associated with this connection. */
|
121
|
+
client_id: string;
|
122
|
+
/**
|
123
|
+
* IBC version which can be utilised to determine encodings or protocols for
|
124
|
+
* channels or packets utilising this connection
|
125
|
+
*/
|
126
|
+
versions: VersionSDKType[];
|
127
|
+
/** current state of the connection end. */
|
128
|
+
state: StateSDKType;
|
129
|
+
/** counterparty chain associated with this connection. */
|
130
|
+
counterparty: CounterpartySDKType;
|
131
|
+
/** delay period associated with this connection. */
|
132
|
+
delay_period: Long;
|
133
|
+
}
|
134
|
+
/** Counterparty defines the counterparty chain associated with a connection end. */
|
135
|
+
export interface Counterparty {
|
136
|
+
/**
|
137
|
+
* identifies the client on the counterparty chain associated with a given
|
138
|
+
* connection.
|
139
|
+
*/
|
140
|
+
clientId: string;
|
141
|
+
/**
|
142
|
+
* identifies the connection end on the counterparty chain associated with a
|
143
|
+
* given connection.
|
144
|
+
*/
|
145
|
+
connectionId: string;
|
146
|
+
/** commitment merkle prefix of the counterparty chain. */
|
147
|
+
prefix: MerklePrefix;
|
148
|
+
}
|
149
|
+
/** Counterparty defines the counterparty chain associated with a connection end. */
|
150
|
+
export interface CounterpartySDKType {
|
151
|
+
/**
|
152
|
+
* identifies the client on the counterparty chain associated with a given
|
153
|
+
* connection.
|
154
|
+
*/
|
155
|
+
client_id: string;
|
156
|
+
/**
|
157
|
+
* identifies the connection end on the counterparty chain associated with a
|
158
|
+
* given connection.
|
159
|
+
*/
|
160
|
+
connection_id: string;
|
161
|
+
/** commitment merkle prefix of the counterparty chain. */
|
162
|
+
prefix: MerklePrefixSDKType;
|
163
|
+
}
|
164
|
+
/** ClientPaths define all the connection paths for a client state. */
|
165
|
+
export interface ClientPaths {
|
166
|
+
/** list of connection paths */
|
167
|
+
paths: string[];
|
168
|
+
}
|
169
|
+
/** ClientPaths define all the connection paths for a client state. */
|
170
|
+
export interface ClientPathsSDKType {
|
171
|
+
/** list of connection paths */
|
172
|
+
paths: string[];
|
173
|
+
}
|
174
|
+
/** ConnectionPaths define all the connection paths for a given client state. */
|
175
|
+
export interface ConnectionPaths {
|
176
|
+
/** client state unique identifier */
|
177
|
+
clientId: string;
|
178
|
+
/** list of connection paths */
|
179
|
+
paths: string[];
|
180
|
+
}
|
181
|
+
/** ConnectionPaths define all the connection paths for a given client state. */
|
182
|
+
export interface ConnectionPathsSDKType {
|
183
|
+
/** client state unique identifier */
|
184
|
+
client_id: string;
|
185
|
+
/** list of connection paths */
|
186
|
+
paths: string[];
|
187
|
+
}
|
188
|
+
/**
|
189
|
+
* Version defines the versioning scheme used to negotiate the IBC verison in
|
190
|
+
* the connection handshake.
|
191
|
+
*/
|
192
|
+
export interface Version {
|
193
|
+
/** unique version identifier */
|
194
|
+
identifier: string;
|
195
|
+
/** list of features compatible with the specified identifier */
|
196
|
+
features: string[];
|
197
|
+
}
|
198
|
+
/**
|
199
|
+
* Version defines the versioning scheme used to negotiate the IBC verison in
|
200
|
+
* the connection handshake.
|
201
|
+
*/
|
202
|
+
export interface VersionSDKType {
|
203
|
+
/** unique version identifier */
|
204
|
+
identifier: string;
|
205
|
+
/** list of features compatible with the specified identifier */
|
206
|
+
features: string[];
|
207
|
+
}
|
208
|
+
/** Params defines the set of Connection parameters. */
|
209
|
+
export interface Params {
|
210
|
+
/**
|
211
|
+
* maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
|
212
|
+
* largest amount of time that the chain might reasonably take to produce the next block under normal operating
|
213
|
+
* conditions. A safe choice is 3-5x the expected time per block.
|
214
|
+
*/
|
215
|
+
maxExpectedTimePerBlock: Long;
|
216
|
+
}
|
217
|
+
/** Params defines the set of Connection parameters. */
|
218
|
+
export interface ParamsSDKType {
|
219
|
+
/**
|
220
|
+
* maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
|
221
|
+
* largest amount of time that the chain might reasonably take to produce the next block under normal operating
|
222
|
+
* conditions. A safe choice is 3-5x the expected time per block.
|
223
|
+
*/
|
224
|
+
max_expected_time_per_block: Long;
|
225
|
+
}
|
226
|
+
export declare const ConnectionEnd: {
|
227
|
+
encode(message: ConnectionEnd, writer?: _m0.Writer): _m0.Writer;
|
228
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd;
|
229
|
+
fromPartial(object: DeepPartial<ConnectionEnd>): ConnectionEnd;
|
230
|
+
};
|
231
|
+
export declare const IdentifiedConnection: {
|
232
|
+
encode(message: IdentifiedConnection, writer?: _m0.Writer): _m0.Writer;
|
233
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection;
|
234
|
+
fromPartial(object: DeepPartial<IdentifiedConnection>): IdentifiedConnection;
|
235
|
+
};
|
236
|
+
export declare const Counterparty: {
|
237
|
+
encode(message: Counterparty, writer?: _m0.Writer): _m0.Writer;
|
238
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty;
|
239
|
+
fromPartial(object: DeepPartial<Counterparty>): Counterparty;
|
240
|
+
};
|
241
|
+
export declare const ClientPaths: {
|
242
|
+
encode(message: ClientPaths, writer?: _m0.Writer): _m0.Writer;
|
243
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths;
|
244
|
+
fromPartial(object: DeepPartial<ClientPaths>): ClientPaths;
|
245
|
+
};
|
246
|
+
export declare const ConnectionPaths: {
|
247
|
+
encode(message: ConnectionPaths, writer?: _m0.Writer): _m0.Writer;
|
248
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths;
|
249
|
+
fromPartial(object: DeepPartial<ConnectionPaths>): ConnectionPaths;
|
250
|
+
};
|
251
|
+
export declare const Version: {
|
252
|
+
encode(message: Version, writer?: _m0.Writer): _m0.Writer;
|
253
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Version;
|
254
|
+
fromPartial(object: DeepPartial<Version>): Version;
|
255
|
+
};
|
256
|
+
export declare const Params: {
|
257
|
+
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
258
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
259
|
+
fromPartial(object: DeepPartial<Params>): Params;
|
260
|
+
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/** GenesisState defines the ibc connection submodule's genesis state. */
|
5
|
+
export interface GenesisState {
|
6
|
+
connections: IdentifiedConnection[];
|
7
|
+
clientConnectionPaths: ConnectionPaths[];
|
8
|
+
/** the sequence for the next generated connection identifier */
|
9
|
+
nextConnectionSequence: Long;
|
10
|
+
params: Params;
|
11
|
+
}
|
12
|
+
/** GenesisState defines the ibc connection submodule's genesis state. */
|
13
|
+
export interface GenesisStateSDKType {
|
14
|
+
connections: IdentifiedConnectionSDKType[];
|
15
|
+
client_connection_paths: ConnectionPathsSDKType[];
|
16
|
+
/** the sequence for the next generated connection identifier */
|
17
|
+
next_connection_sequence: Long;
|
18
|
+
params: ParamsSDKType;
|
19
|
+
}
|
20
|
+
export declare const GenesisState: {
|
21
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
22
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
23
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
24
|
+
};
|