juno-network 0.14.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/main/codegen/confio/proofs.js +29 -3
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/bundle.js +47 -47
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +21 -4
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -4
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/lcd.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -2
- package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -2
- package/main/codegen/cosmos/tx/v1beta1/service.js +17 -4
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +7 -1
- package/main/codegen/cosmwasm/bundle.js +10 -10
- package/main/codegen/cosmwasm/lcd.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/types.js +19 -4
- package/main/codegen/gaia/bundle.js +28 -0
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
- package/main/codegen/gaia/lcd.js +167 -0
- package/main/codegen/gaia/rpc.query.js +134 -0
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +63 -8
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/main/codegen/ibc/bundle.js +56 -56
- package/main/codegen/ibc/core/channel/v1/channel.js +21 -4
- package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/connection.js +13 -3
- package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/main/codegen/ibc/lcd.js +1 -1
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -3
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -3
- package/main/codegen/index.js +30 -19
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/lcd.js +1 -1
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +15 -15
- package/main/codegen/osmosis/lcd.js +1 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +49 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +112 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +10 -0
- package/main/codegen/router/bundle.js +8 -8
- package/main/codegen/router/lcd.js +1 -1
- package/main/codegen/tendermint/abci/types.js +33 -4
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +18 -4
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +29 -2
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/bundle.js +47 -47
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/lcd.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +7 -1
- package/module/codegen/cosmwasm/bundle.js +10 -10
- package/module/codegen/cosmwasm/lcd.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -2
- package/module/codegen/gaia/bundle.js +17 -0
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
- package/module/codegen/gaia/lcd.js +57 -0
- package/module/codegen/gaia/rpc.query.js +39 -0
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +63 -6
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/module/codegen/ibc/bundle.js +56 -56
- package/module/codegen/ibc/core/channel/v1/channel.js +21 -2
- package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/connection.js +13 -2
- package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/module/codegen/ibc/lcd.js +1 -1
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -2
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -2
- package/module/codegen/index.js +2 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/lcd.js +1 -1
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +15 -15
- package/module/codegen/osmosis/lcd.js +1 -1
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +51 -8
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +106 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +7 -1
- package/module/codegen/router/bundle.js +8 -8
- package/module/codegen/router/lcd.js +1 -1
- package/module/codegen/tendermint/abci/types.js +33 -4
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +19 -3
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +4 -4
- package/src/codegen/confio/proofs.ts +80 -8
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
- package/src/codegen/cosmos/bundle.ts +76 -76
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/gov/v1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/lcd.ts +1 -1
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -1
- package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
- package/src/codegen/cosmos_proto/cosmos.ts +37 -2
- package/src/codegen/cosmwasm/bundle.ts +14 -14
- package/src/codegen/cosmwasm/lcd.ts +1 -1
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +2 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +17 -1
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +129 -0
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -1
- package/src/codegen/cosmwasm/wasm/v1/query.ts +39 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +21 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +73 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +79 -6
- package/src/codegen/gaia/bundle.ts +18 -0
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
- package/src/codegen/gaia/lcd.ts +59 -0
- package/src/codegen/gaia/rpc.query.ts +41 -0
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +9 -9
- package/src/codegen/google/protobuf/any.ts +31 -0
- package/src/codegen/google/protobuf/descriptor.ts +641 -15
- package/src/codegen/google/protobuf/duration.ts +15 -1
- package/src/codegen/google/protobuf/timestamp.ts +13 -1
- package/src/codegen/helpers.ts +17 -17
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +7 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +15 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +20 -1
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +7 -0
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +105 -6
- package/src/codegen/ibc/core/channel/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/core/channel/v1/query.ts +118 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +5 -0
- package/src/codegen/ibc/core/client/v1/client.ts +32 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +13 -1
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/core/client/v1/query.ts +35 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +32 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +78 -4
- package/src/codegen/ibc/core/connection/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/core/connection/v1/query.ts +31 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +26 -1
- package/src/codegen/ibc/lcd.ts +1 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +3 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +41 -0
- package/src/codegen/index.ts +3 -2
- package/src/codegen/juno/bundle.ts +32 -32
- package/src/codegen/juno/feeshare/v1/feeshare.ts +14 -0
- package/src/codegen/juno/feeshare/v1/genesis.ts +16 -0
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -1
- package/src/codegen/juno/feeshare/v1/query.ts +25 -0
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +28 -0
- package/src/codegen/juno/lcd.ts +1 -1
- package/src/codegen/juno/mint/genesis.ts +3 -0
- package/src/codegen/juno/mint/mint.ts +7 -1
- package/src/codegen/juno/mint/query.lcd.ts +1 -1
- package/src/codegen/juno/mint/query.ts +3 -0
- package/src/codegen/osmosis/bundle.ts +24 -24
- package/src/codegen/osmosis/lcd.ts +1 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +81 -24
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +23 -2
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +9 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +151 -2
- package/src/codegen/router/bundle.ts +12 -12
- package/src/codegen/router/lcd.ts +1 -1
- package/src/codegen/router/v1/genesis.ts +7 -0
- package/src/codegen/router/v1/query.lcd.ts +1 -1
- package/src/codegen/router/v1/query.ts +1 -0
- package/src/codegen/tendermint/abci/types.ts +109 -8
- package/src/codegen/tendermint/bundle.ts +21 -21
- package/src/codegen/tendermint/crypto/proof.ts +4 -1
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +36 -0
- package/src/codegen/tendermint/types/types.ts +50 -6
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/confio/proofs.d.ts +64 -8
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +7 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +6 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +10 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +5 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +37 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +9 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +34 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +62 -1
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +35 -1
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +63 -0
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +8 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +5 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +28 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +21 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1/gov.d.ts +69 -4
- package/types/codegen/cosmos/gov/v1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -2
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +74 -5
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +27 -2
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +41 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +58 -2
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +6 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +57 -2
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +58 -4
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +152 -3
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +14 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +3 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +30 -1
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +34 -2
- package/types/codegen/cosmwasm/bundle.d.ts +10 -10
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +18 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +1 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +14 -1
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +78 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +29 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +21 -21
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +47 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +58 -6
- package/types/codegen/gaia/bundle.d.ts +174 -0
- package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
- package/types/codegen/gaia/lcd.d.ts +33 -0
- package/types/codegen/gaia/rpc.query.d.ts +105 -0
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +30 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +566 -12
- package/types/codegen/google/protobuf/duration.d.ts +14 -1
- package/types/codegen/google/protobuf/timestamp.d.ts +12 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +6 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +13 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +14 -1
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +4 -0
- package/types/codegen/ibc/bundle.d.ts +773 -773
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +76 -6
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/channel/v1/query.d.ts +71 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +4 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +24 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +8 -1
- package/types/codegen/ibc/core/client/v1/query.d.ts +25 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +21 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +61 -4
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/connection/v1/query.d.ts +20 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +18 -1
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +2 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +31 -0
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +2 -1
- package/types/codegen/juno/bundle.d.ts +141 -141
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +12 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +20 -0
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +9 -9
- package/types/codegen/juno/feeshare/v1/tx.d.ts +23 -0
- package/types/codegen/juno/mint/genesis.d.ts +2 -0
- package/types/codegen/juno/mint/mint.d.ts +5 -1
- package/types/codegen/juno/mint/query.d.ts +3 -0
- package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/bundle.d.ts +163 -116
- package/types/codegen/osmosis/client.d.ts +29 -4
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +35 -16
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +13 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +3 -1
- package/types/codegen/router/bundle.d.ts +27 -27
- package/types/codegen/router/v1/genesis.d.ts +6 -0
- package/types/codegen/router/v1/query.d.ts +1 -0
- package/types/codegen/router/v1/query.lcd.d.ts +1 -1
- package/types/codegen/tendermint/abci/types.d.ts +78 -8
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +3 -1
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +32 -0
- package/types/codegen/tendermint/types/types.d.ts +36 -5
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client";
|
2
|
-
import { Long, DeepPartial } from "../../../../helpers";
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "../../../../helpers";
|
4
4
|
/** GenesisState defines the ibc client submodule's genesis state. */
|
5
5
|
|
6
6
|
export interface GenesisState {
|
@@ -23,11 +23,20 @@ export interface GenesisState {
|
|
23
23
|
/** GenesisState defines the ibc client submodule's genesis state. */
|
24
24
|
|
25
25
|
export interface GenesisStateSDKType {
|
26
|
+
/** client states with their corresponding identifiers */
|
26
27
|
clients: IdentifiedClientStateSDKType[];
|
28
|
+
/** consensus states from each client */
|
29
|
+
|
27
30
|
clients_consensus: ClientConsensusStatesSDKType[];
|
31
|
+
/** metadata from each client */
|
32
|
+
|
28
33
|
clients_metadata: IdentifiedGenesisMetadataSDKType[];
|
29
34
|
params?: ParamsSDKType;
|
35
|
+
/** create localhost on initialization */
|
36
|
+
|
30
37
|
create_localhost: boolean;
|
38
|
+
/** the sequence for the next generated client identifier */
|
39
|
+
|
31
40
|
next_client_sequence: Long;
|
32
41
|
}
|
33
42
|
/**
|
@@ -48,7 +57,10 @@ export interface GenesisMetadata {
|
|
48
57
|
*/
|
49
58
|
|
50
59
|
export interface GenesisMetadataSDKType {
|
60
|
+
/** store key of metadata without clientID-prefix */
|
51
61
|
key: Uint8Array;
|
62
|
+
/** metadata value */
|
63
|
+
|
52
64
|
value: Uint8Array;
|
53
65
|
}
|
54
66
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { setPaginationParams } from "../../../../helpers";
|
2
|
-
import { LCDClient } from "@
|
2
|
+
import { LCDClient } from "@cosmology/lcd";
|
3
3
|
import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query";
|
4
4
|
export class LCDQueryClient {
|
5
5
|
req: LCDClient;
|
@@ -18,6 +18,7 @@ export interface QueryClientStateRequest {
|
|
18
18
|
*/
|
19
19
|
|
20
20
|
export interface QueryClientStateRequestSDKType {
|
21
|
+
/** client state unique identifier */
|
21
22
|
client_id: string;
|
22
23
|
}
|
23
24
|
/**
|
@@ -43,8 +44,13 @@ export interface QueryClientStateResponse {
|
|
43
44
|
*/
|
44
45
|
|
45
46
|
export interface QueryClientStateResponseSDKType {
|
47
|
+
/** client state associated with the request identifier */
|
46
48
|
client_state?: AnySDKType;
|
49
|
+
/** merkle proof of existence */
|
50
|
+
|
47
51
|
proof: Uint8Array;
|
52
|
+
/** height at which the proof was retrieved */
|
53
|
+
|
48
54
|
proof_height?: HeightSDKType;
|
49
55
|
}
|
50
56
|
/**
|
@@ -62,6 +68,7 @@ export interface QueryClientStatesRequest {
|
|
62
68
|
*/
|
63
69
|
|
64
70
|
export interface QueryClientStatesRequestSDKType {
|
71
|
+
/** pagination request */
|
65
72
|
pagination?: PageRequestSDKType;
|
66
73
|
}
|
67
74
|
/**
|
@@ -82,7 +89,10 @@ export interface QueryClientStatesResponse {
|
|
82
89
|
*/
|
83
90
|
|
84
91
|
export interface QueryClientStatesResponseSDKType {
|
92
|
+
/** list of stored ClientStates of the chain. */
|
85
93
|
client_states: IdentifiedClientStateSDKType[];
|
94
|
+
/** pagination response */
|
95
|
+
|
86
96
|
pagination?: PageResponseSDKType;
|
87
97
|
}
|
88
98
|
/**
|
@@ -114,9 +124,19 @@ export interface QueryConsensusStateRequest {
|
|
114
124
|
*/
|
115
125
|
|
116
126
|
export interface QueryConsensusStateRequestSDKType {
|
127
|
+
/** client identifier */
|
117
128
|
client_id: string;
|
129
|
+
/** consensus state revision number */
|
130
|
+
|
118
131
|
revision_number: Long;
|
132
|
+
/** consensus state revision height */
|
133
|
+
|
119
134
|
revision_height: Long;
|
135
|
+
/**
|
136
|
+
* latest_height overrrides the height field and queries the latest stored
|
137
|
+
* ConsensusState
|
138
|
+
*/
|
139
|
+
|
120
140
|
latest_height: boolean;
|
121
141
|
}
|
122
142
|
/**
|
@@ -140,8 +160,13 @@ export interface QueryConsensusStateResponse {
|
|
140
160
|
*/
|
141
161
|
|
142
162
|
export interface QueryConsensusStateResponseSDKType {
|
163
|
+
/** consensus state associated with the client identifier at the given height */
|
143
164
|
consensus_state?: AnySDKType;
|
165
|
+
/** merkle proof of existence */
|
166
|
+
|
144
167
|
proof: Uint8Array;
|
168
|
+
/** height at which the proof was retrieved */
|
169
|
+
|
145
170
|
proof_height?: HeightSDKType;
|
146
171
|
}
|
147
172
|
/**
|
@@ -162,7 +187,10 @@ export interface QueryConsensusStatesRequest {
|
|
162
187
|
*/
|
163
188
|
|
164
189
|
export interface QueryConsensusStatesRequestSDKType {
|
190
|
+
/** client identifier */
|
165
191
|
client_id: string;
|
192
|
+
/** pagination request */
|
193
|
+
|
166
194
|
pagination?: PageRequestSDKType;
|
167
195
|
}
|
168
196
|
/**
|
@@ -183,7 +211,10 @@ export interface QueryConsensusStatesResponse {
|
|
183
211
|
*/
|
184
212
|
|
185
213
|
export interface QueryConsensusStatesResponseSDKType {
|
214
|
+
/** consensus states associated with the identifier */
|
186
215
|
consensus_states: ConsensusStateWithHeightSDKType[];
|
216
|
+
/** pagination response */
|
217
|
+
|
187
218
|
pagination?: PageResponseSDKType;
|
188
219
|
}
|
189
220
|
/**
|
@@ -201,6 +232,7 @@ export interface QueryClientStatusRequest {
|
|
201
232
|
*/
|
202
233
|
|
203
234
|
export interface QueryClientStatusRequestSDKType {
|
235
|
+
/** client unique identifier */
|
204
236
|
client_id: string;
|
205
237
|
}
|
206
238
|
/**
|
@@ -246,6 +278,7 @@ export interface QueryClientParamsResponse {
|
|
246
278
|
*/
|
247
279
|
|
248
280
|
export interface QueryClientParamsResponseSDKType {
|
281
|
+
/** params defines the parameters of the module. */
|
249
282
|
params?: ParamsSDKType;
|
250
283
|
}
|
251
284
|
/**
|
@@ -275,6 +308,7 @@ export interface QueryUpgradedClientStateResponse {
|
|
275
308
|
*/
|
276
309
|
|
277
310
|
export interface QueryUpgradedClientStateResponseSDKType {
|
311
|
+
/** client state associated with the request identifier */
|
278
312
|
upgraded_client_state?: AnySDKType;
|
279
313
|
}
|
280
314
|
/**
|
@@ -304,6 +338,7 @@ export interface QueryUpgradedConsensusStateResponse {
|
|
304
338
|
*/
|
305
339
|
|
306
340
|
export interface QueryUpgradedConsensusStateResponseSDKType {
|
341
|
+
/** Consensus state associated with the request identifier */
|
307
342
|
upgraded_consensus_state?: AnySDKType;
|
308
343
|
}
|
309
344
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
2
2
|
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx";
|
3
|
-
export interface
|
3
|
+
export interface AminoMsgCreateClient extends AminoMsg {
|
4
4
|
type: "cosmos-sdk/MsgCreateClient";
|
5
5
|
value: {
|
6
6
|
client_state: {
|
@@ -14,7 +14,7 @@ export interface MsgCreateClientAminoType extends AminoMsg {
|
|
14
14
|
signer: string;
|
15
15
|
};
|
16
16
|
}
|
17
|
-
export interface
|
17
|
+
export interface AminoMsgUpdateClient extends AminoMsg {
|
18
18
|
type: "cosmos-sdk/MsgUpdateClient";
|
19
19
|
value: {
|
20
20
|
client_id: string;
|
@@ -25,7 +25,7 @@ export interface MsgUpdateClientAminoType extends AminoMsg {
|
|
25
25
|
signer: string;
|
26
26
|
};
|
27
27
|
}
|
28
|
-
export interface
|
28
|
+
export interface AminoMsgUpgradeClient extends AminoMsg {
|
29
29
|
type: "cosmos-sdk/MsgUpgradeClient";
|
30
30
|
value: {
|
31
31
|
client_id: string;
|
@@ -42,7 +42,7 @@ export interface MsgUpgradeClientAminoType extends AminoMsg {
|
|
42
42
|
signer: string;
|
43
43
|
};
|
44
44
|
}
|
45
|
-
export interface
|
45
|
+
export interface AminoMsgSubmitMisbehaviour extends AminoMsg {
|
46
46
|
type: "cosmos-sdk/MsgSubmitMisbehaviour";
|
47
47
|
value: {
|
48
48
|
client_id: string;
|
@@ -60,7 +60,7 @@ export const AminoConverter = {
|
|
60
60
|
clientState,
|
61
61
|
consensusState,
|
62
62
|
signer
|
63
|
-
}: MsgCreateClient):
|
63
|
+
}: MsgCreateClient): AminoMsgCreateClient["value"] => {
|
64
64
|
return {
|
65
65
|
client_state: {
|
66
66
|
type_url: clientState.typeUrl,
|
@@ -77,7 +77,7 @@ export const AminoConverter = {
|
|
77
77
|
client_state,
|
78
78
|
consensus_state,
|
79
79
|
signer
|
80
|
-
}:
|
80
|
+
}: AminoMsgCreateClient["value"]): MsgCreateClient => {
|
81
81
|
return {
|
82
82
|
clientState: {
|
83
83
|
typeUrl: client_state.type_url,
|
@@ -97,7 +97,7 @@ export const AminoConverter = {
|
|
97
97
|
clientId,
|
98
98
|
header,
|
99
99
|
signer
|
100
|
-
}: MsgUpdateClient):
|
100
|
+
}: MsgUpdateClient): AminoMsgUpdateClient["value"] => {
|
101
101
|
return {
|
102
102
|
client_id: clientId,
|
103
103
|
header: {
|
@@ -111,7 +111,7 @@ export const AminoConverter = {
|
|
111
111
|
client_id,
|
112
112
|
header,
|
113
113
|
signer
|
114
|
-
}:
|
114
|
+
}: AminoMsgUpdateClient["value"]): MsgUpdateClient => {
|
115
115
|
return {
|
116
116
|
clientId: client_id,
|
117
117
|
header: {
|
@@ -131,7 +131,7 @@ export const AminoConverter = {
|
|
131
131
|
proofUpgradeClient,
|
132
132
|
proofUpgradeConsensusState,
|
133
133
|
signer
|
134
|
-
}: MsgUpgradeClient):
|
134
|
+
}: MsgUpgradeClient): AminoMsgUpgradeClient["value"] => {
|
135
135
|
return {
|
136
136
|
client_id: clientId,
|
137
137
|
client_state: {
|
@@ -154,7 +154,7 @@ export const AminoConverter = {
|
|
154
154
|
proof_upgrade_client,
|
155
155
|
proof_upgrade_consensus_state,
|
156
156
|
signer
|
157
|
-
}:
|
157
|
+
}: AminoMsgUpgradeClient["value"]): MsgUpgradeClient => {
|
158
158
|
return {
|
159
159
|
clientId: client_id,
|
160
160
|
clientState: {
|
@@ -177,7 +177,7 @@ export const AminoConverter = {
|
|
177
177
|
clientId,
|
178
178
|
misbehaviour,
|
179
179
|
signer
|
180
|
-
}: MsgSubmitMisbehaviour):
|
180
|
+
}: MsgSubmitMisbehaviour): AminoMsgSubmitMisbehaviour["value"] => {
|
181
181
|
return {
|
182
182
|
client_id: clientId,
|
183
183
|
misbehaviour: {
|
@@ -191,7 +191,7 @@ export const AminoConverter = {
|
|
191
191
|
client_id,
|
192
192
|
misbehaviour,
|
193
193
|
signer
|
194
|
-
}:
|
194
|
+
}: AminoMsgSubmitMisbehaviour["value"]): MsgSubmitMisbehaviour => {
|
195
195
|
return {
|
196
196
|
clientId: client_id,
|
197
197
|
misbehaviour: {
|
@@ -19,8 +19,16 @@ export interface MsgCreateClient {
|
|
19
19
|
/** MsgCreateClient defines a message to create an IBC client */
|
20
20
|
|
21
21
|
export interface MsgCreateClientSDKType {
|
22
|
+
/** light client state */
|
22
23
|
client_state?: AnySDKType;
|
24
|
+
/**
|
25
|
+
* consensus state associated with the client that corresponds to a given
|
26
|
+
* height.
|
27
|
+
*/
|
28
|
+
|
23
29
|
consensus_state?: AnySDKType;
|
30
|
+
/** signer address */
|
31
|
+
|
24
32
|
signer: string;
|
25
33
|
}
|
26
34
|
/** MsgCreateClientResponse defines the Msg/CreateClient response type. */
|
@@ -50,8 +58,13 @@ export interface MsgUpdateClient {
|
|
50
58
|
*/
|
51
59
|
|
52
60
|
export interface MsgUpdateClientSDKType {
|
61
|
+
/** client unique identifier */
|
53
62
|
client_id: string;
|
63
|
+
/** header to update the light client */
|
64
|
+
|
54
65
|
header?: AnySDKType;
|
66
|
+
/** signer address */
|
67
|
+
|
55
68
|
signer: string;
|
56
69
|
}
|
57
70
|
/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */
|
@@ -93,11 +106,25 @@ export interface MsgUpgradeClient {
|
|
93
106
|
*/
|
94
107
|
|
95
108
|
export interface MsgUpgradeClientSDKType {
|
109
|
+
/** client unique identifier */
|
96
110
|
client_id: string;
|
111
|
+
/** upgraded client state */
|
112
|
+
|
97
113
|
client_state?: AnySDKType;
|
114
|
+
/**
|
115
|
+
* upgraded consensus state, only contains enough information to serve as a
|
116
|
+
* basis of trust in update logic
|
117
|
+
*/
|
118
|
+
|
98
119
|
consensus_state?: AnySDKType;
|
120
|
+
/** proof that old chain committed to new client */
|
121
|
+
|
99
122
|
proof_upgrade_client: Uint8Array;
|
123
|
+
/** proof that old chain committed to new consensus state */
|
124
|
+
|
100
125
|
proof_upgrade_consensus_state: Uint8Array;
|
126
|
+
/** signer address */
|
127
|
+
|
101
128
|
signer: string;
|
102
129
|
}
|
103
130
|
/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */
|
@@ -127,8 +154,13 @@ export interface MsgSubmitMisbehaviour {
|
|
127
154
|
*/
|
128
155
|
|
129
156
|
export interface MsgSubmitMisbehaviourSDKType {
|
157
|
+
/** client unique identifier */
|
130
158
|
client_id: string;
|
159
|
+
/** misbehaviour used for freezing the light client */
|
160
|
+
|
131
161
|
misbehaviour?: AnySDKType;
|
162
|
+
/** signer address */
|
163
|
+
|
132
164
|
signer: string;
|
133
165
|
}
|
134
166
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment";
|
2
|
-
import { Long, DeepPartial } from "../../../../helpers";
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "../../../../helpers";
|
4
4
|
/**
|
5
5
|
* State defines if a connection is in one of the following states:
|
6
6
|
* INIT, TRYOPEN, OPEN or UNINITIALIZED.
|
@@ -23,7 +23,28 @@ export enum State {
|
|
23
23
|
STATE_OPEN = 3,
|
24
24
|
UNRECOGNIZED = -1,
|
25
25
|
}
|
26
|
-
|
26
|
+
/**
|
27
|
+
* State defines if a connection is in one of the following states:
|
28
|
+
* INIT, TRYOPEN, OPEN or UNINITIALIZED.
|
29
|
+
*/
|
30
|
+
|
31
|
+
export enum StateSDKType {
|
32
|
+
/** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
|
33
|
+
STATE_UNINITIALIZED_UNSPECIFIED = 0,
|
34
|
+
|
35
|
+
/** STATE_INIT - A connection end has just started the opening handshake. */
|
36
|
+
STATE_INIT = 1,
|
37
|
+
|
38
|
+
/**
|
39
|
+
* STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
|
40
|
+
* chain.
|
41
|
+
*/
|
42
|
+
STATE_TRYOPEN = 2,
|
43
|
+
|
44
|
+
/** STATE_OPEN - A connection end has completed the handshake. */
|
45
|
+
STATE_OPEN = 3,
|
46
|
+
UNRECOGNIZED = -1,
|
47
|
+
}
|
27
48
|
export function stateFromJSON(object: any): State {
|
28
49
|
switch (object) {
|
29
50
|
case 0:
|
@@ -105,10 +126,26 @@ export interface ConnectionEnd {
|
|
105
126
|
*/
|
106
127
|
|
107
128
|
export interface ConnectionEndSDKType {
|
129
|
+
/** client associated with this connection. */
|
108
130
|
client_id: string;
|
131
|
+
/**
|
132
|
+
* IBC version which can be utilised to determine encodings or protocols for
|
133
|
+
* channels or packets utilising this connection.
|
134
|
+
*/
|
135
|
+
|
109
136
|
versions: VersionSDKType[];
|
110
|
-
state
|
137
|
+
/** current state of the connection end. */
|
138
|
+
|
139
|
+
state: StateSDKType;
|
140
|
+
/** counterparty chain associated with this connection. */
|
141
|
+
|
111
142
|
counterparty?: CounterpartySDKType;
|
143
|
+
/**
|
144
|
+
* delay period that must pass before a consensus state can be used for
|
145
|
+
* packet-verification NOTE: delay period logic is only implemented by some
|
146
|
+
* clients.
|
147
|
+
*/
|
148
|
+
|
112
149
|
delay_period: Long;
|
113
150
|
}
|
114
151
|
/**
|
@@ -144,11 +181,25 @@ export interface IdentifiedConnection {
|
|
144
181
|
*/
|
145
182
|
|
146
183
|
export interface IdentifiedConnectionSDKType {
|
184
|
+
/** connection identifier. */
|
147
185
|
id: string;
|
186
|
+
/** client associated with this connection. */
|
187
|
+
|
148
188
|
client_id: string;
|
189
|
+
/**
|
190
|
+
* IBC version which can be utilised to determine encodings or protocols for
|
191
|
+
* channels or packets utilising this connection
|
192
|
+
*/
|
193
|
+
|
149
194
|
versions: VersionSDKType[];
|
150
|
-
state
|
195
|
+
/** current state of the connection end. */
|
196
|
+
|
197
|
+
state: StateSDKType;
|
198
|
+
/** counterparty chain associated with this connection. */
|
199
|
+
|
151
200
|
counterparty?: CounterpartySDKType;
|
201
|
+
/** delay period associated with this connection. */
|
202
|
+
|
152
203
|
delay_period: Long;
|
153
204
|
}
|
154
205
|
/** Counterparty defines the counterparty chain associated with a connection end. */
|
@@ -172,8 +223,19 @@ export interface Counterparty {
|
|
172
223
|
/** Counterparty defines the counterparty chain associated with a connection end. */
|
173
224
|
|
174
225
|
export interface CounterpartySDKType {
|
226
|
+
/**
|
227
|
+
* identifies the client on the counterparty chain associated with a given
|
228
|
+
* connection.
|
229
|
+
*/
|
175
230
|
client_id: string;
|
231
|
+
/**
|
232
|
+
* identifies the connection end on the counterparty chain associated with a
|
233
|
+
* given connection.
|
234
|
+
*/
|
235
|
+
|
176
236
|
connection_id: string;
|
237
|
+
/** commitment merkle prefix of the counterparty chain. */
|
238
|
+
|
177
239
|
prefix?: MerklePrefixSDKType;
|
178
240
|
}
|
179
241
|
/** ClientPaths define all the connection paths for a client state. */
|
@@ -185,6 +247,7 @@ export interface ClientPaths {
|
|
185
247
|
/** ClientPaths define all the connection paths for a client state. */
|
186
248
|
|
187
249
|
export interface ClientPathsSDKType {
|
250
|
+
/** list of connection paths */
|
188
251
|
paths: string[];
|
189
252
|
}
|
190
253
|
/** ConnectionPaths define all the connection paths for a given client state. */
|
@@ -199,7 +262,10 @@ export interface ConnectionPaths {
|
|
199
262
|
/** ConnectionPaths define all the connection paths for a given client state. */
|
200
263
|
|
201
264
|
export interface ConnectionPathsSDKType {
|
265
|
+
/** client state unique identifier */
|
202
266
|
client_id: string;
|
267
|
+
/** list of connection paths */
|
268
|
+
|
203
269
|
paths: string[];
|
204
270
|
}
|
205
271
|
/**
|
@@ -220,7 +286,10 @@ export interface Version {
|
|
220
286
|
*/
|
221
287
|
|
222
288
|
export interface VersionSDKType {
|
289
|
+
/** unique version identifier */
|
223
290
|
identifier: string;
|
291
|
+
/** list of features compatible with the specified identifier */
|
292
|
+
|
224
293
|
features: string[];
|
225
294
|
}
|
226
295
|
/** Params defines the set of Connection parameters. */
|
@@ -236,6 +305,11 @@ export interface Params {
|
|
236
305
|
/** Params defines the set of Connection parameters. */
|
237
306
|
|
238
307
|
export interface ParamsSDKType {
|
308
|
+
/**
|
309
|
+
* maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
|
310
|
+
* largest amount of time that the chain might reasonably take to produce the next block under normal operating
|
311
|
+
* conditions. A safe choice is 3-5x the expected time per block.
|
312
|
+
*/
|
239
313
|
max_expected_time_per_block: Long;
|
240
314
|
}
|
241
315
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection";
|
2
|
-
import { Long, DeepPartial } from "../../../../helpers";
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "../../../../helpers";
|
4
4
|
/** GenesisState defines the ibc connection submodule's genesis state. */
|
5
5
|
|
6
6
|
export interface GenesisState {
|
@@ -16,6 +16,8 @@ export interface GenesisState {
|
|
16
16
|
export interface GenesisStateSDKType {
|
17
17
|
connections: IdentifiedConnectionSDKType[];
|
18
18
|
client_connection_paths: ConnectionPathsSDKType[];
|
19
|
+
/** the sequence for the next generated connection identifier */
|
20
|
+
|
19
21
|
next_connection_sequence: Long;
|
20
22
|
params?: ParamsSDKType;
|
21
23
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { setPaginationParams } from "../../../../helpers";
|
2
|
-
import { LCDClient } from "@
|
2
|
+
import { LCDClient } from "@cosmology/lcd";
|
3
3
|
import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query";
|
4
4
|
export class LCDQueryClient {
|
5
5
|
req: LCDClient;
|
@@ -19,6 +19,7 @@ export interface QueryConnectionRequest {
|
|
19
19
|
*/
|
20
20
|
|
21
21
|
export interface QueryConnectionRequestSDKType {
|
22
|
+
/** connection unique identifier */
|
22
23
|
connection_id: string;
|
23
24
|
}
|
24
25
|
/**
|
@@ -44,8 +45,13 @@ export interface QueryConnectionResponse {
|
|
44
45
|
*/
|
45
46
|
|
46
47
|
export interface QueryConnectionResponseSDKType {
|
48
|
+
/** connection associated with the request identifier */
|
47
49
|
connection?: ConnectionEndSDKType;
|
50
|
+
/** merkle proof of existence */
|
51
|
+
|
48
52
|
proof: Uint8Array;
|
53
|
+
/** height at which the proof was retrieved */
|
54
|
+
|
49
55
|
proof_height?: HeightSDKType;
|
50
56
|
}
|
51
57
|
/**
|
@@ -85,8 +91,13 @@ export interface QueryConnectionsResponse {
|
|
85
91
|
*/
|
86
92
|
|
87
93
|
export interface QueryConnectionsResponseSDKType {
|
94
|
+
/** list of stored connections of the chain. */
|
88
95
|
connections: IdentifiedConnectionSDKType[];
|
96
|
+
/** pagination response */
|
97
|
+
|
89
98
|
pagination?: PageResponseSDKType;
|
99
|
+
/** query block height */
|
100
|
+
|
90
101
|
height?: HeightSDKType;
|
91
102
|
}
|
92
103
|
/**
|
@@ -104,6 +115,7 @@ export interface QueryClientConnectionsRequest {
|
|
104
115
|
*/
|
105
116
|
|
106
117
|
export interface QueryClientConnectionsRequestSDKType {
|
118
|
+
/** client identifier associated with a connection */
|
107
119
|
client_id: string;
|
108
120
|
}
|
109
121
|
/**
|
@@ -127,8 +139,13 @@ export interface QueryClientConnectionsResponse {
|
|
127
139
|
*/
|
128
140
|
|
129
141
|
export interface QueryClientConnectionsResponseSDKType {
|
142
|
+
/** slice of all the connection paths associated with a client. */
|
130
143
|
connection_paths: string[];
|
144
|
+
/** merkle proof of existence */
|
145
|
+
|
131
146
|
proof: Uint8Array;
|
147
|
+
/** height at which the proof was generated */
|
148
|
+
|
132
149
|
proof_height?: HeightSDKType;
|
133
150
|
}
|
134
151
|
/**
|
@@ -146,6 +163,7 @@ export interface QueryConnectionClientStateRequest {
|
|
146
163
|
*/
|
147
164
|
|
148
165
|
export interface QueryConnectionClientStateRequestSDKType {
|
166
|
+
/** connection identifier */
|
149
167
|
connection_id: string;
|
150
168
|
}
|
151
169
|
/**
|
@@ -169,8 +187,13 @@ export interface QueryConnectionClientStateResponse {
|
|
169
187
|
*/
|
170
188
|
|
171
189
|
export interface QueryConnectionClientStateResponseSDKType {
|
190
|
+
/** client state associated with the channel */
|
172
191
|
identified_client_state?: IdentifiedClientStateSDKType;
|
192
|
+
/** merkle proof of existence */
|
193
|
+
|
173
194
|
proof: Uint8Array;
|
195
|
+
/** height at which the proof was retrieved */
|
196
|
+
|
174
197
|
proof_height?: HeightSDKType;
|
175
198
|
}
|
176
199
|
/**
|
@@ -190,6 +213,7 @@ export interface QueryConnectionConsensusStateRequest {
|
|
190
213
|
*/
|
191
214
|
|
192
215
|
export interface QueryConnectionConsensusStateRequestSDKType {
|
216
|
+
/** connection identifier */
|
193
217
|
connection_id: string;
|
194
218
|
revision_number: Long;
|
195
219
|
revision_height: Long;
|
@@ -218,9 +242,16 @@ export interface QueryConnectionConsensusStateResponse {
|
|
218
242
|
*/
|
219
243
|
|
220
244
|
export interface QueryConnectionConsensusStateResponseSDKType {
|
245
|
+
/** consensus state associated with the channel */
|
221
246
|
consensus_state?: AnySDKType;
|
247
|
+
/** client ID associated with the consensus state */
|
248
|
+
|
222
249
|
client_id: string;
|
250
|
+
/** merkle proof of existence */
|
251
|
+
|
223
252
|
proof: Uint8Array;
|
253
|
+
/** height at which the proof was retrieved */
|
254
|
+
|
224
255
|
proof_height?: HeightSDKType;
|
225
256
|
}
|
226
257
|
|