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,233 @@
|
|
1
|
+
import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
4
|
+
/**
|
5
|
+
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
|
6
|
+
* method.
|
7
|
+
*/
|
8
|
+
export interface QueryCurrentPlanRequest {
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
|
12
|
+
* method.
|
13
|
+
*/
|
14
|
+
export interface QueryCurrentPlanRequestSDKType {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC
|
18
|
+
* method.
|
19
|
+
*/
|
20
|
+
export interface QueryCurrentPlanResponse {
|
21
|
+
/** plan is the current upgrade plan. */
|
22
|
+
plan: Plan;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC
|
26
|
+
* method.
|
27
|
+
*/
|
28
|
+
export interface QueryCurrentPlanResponseSDKType {
|
29
|
+
/** plan is the current upgrade plan. */
|
30
|
+
plan: PlanSDKType;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC
|
34
|
+
* method.
|
35
|
+
*/
|
36
|
+
export interface QueryAppliedPlanRequest {
|
37
|
+
/** name is the name of the applied plan to query for. */
|
38
|
+
name: string;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC
|
42
|
+
* method.
|
43
|
+
*/
|
44
|
+
export interface QueryAppliedPlanRequestSDKType {
|
45
|
+
/** name is the name of the applied plan to query for. */
|
46
|
+
name: string;
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC
|
50
|
+
* method.
|
51
|
+
*/
|
52
|
+
export interface QueryAppliedPlanResponse {
|
53
|
+
/** height is the block height at which the plan was applied. */
|
54
|
+
height: Long;
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC
|
58
|
+
* method.
|
59
|
+
*/
|
60
|
+
export interface QueryAppliedPlanResponseSDKType {
|
61
|
+
/** height is the block height at which the plan was applied. */
|
62
|
+
height: Long;
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState
|
66
|
+
* RPC method.
|
67
|
+
*/
|
68
|
+
/** @deprecated */
|
69
|
+
export interface QueryUpgradedConsensusStateRequest {
|
70
|
+
/**
|
71
|
+
* last height of the current chain must be sent in request
|
72
|
+
* as this is the height under which next consensus state is stored
|
73
|
+
*/
|
74
|
+
lastHeight: Long;
|
75
|
+
}
|
76
|
+
/**
|
77
|
+
* QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState
|
78
|
+
* RPC method.
|
79
|
+
*/
|
80
|
+
/** @deprecated */
|
81
|
+
export interface QueryUpgradedConsensusStateRequestSDKType {
|
82
|
+
/**
|
83
|
+
* last height of the current chain must be sent in request
|
84
|
+
* as this is the height under which next consensus state is stored
|
85
|
+
*/
|
86
|
+
last_height: Long;
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState
|
90
|
+
* RPC method.
|
91
|
+
*/
|
92
|
+
/** @deprecated */
|
93
|
+
export interface QueryUpgradedConsensusStateResponse {
|
94
|
+
/** Since: cosmos-sdk 0.43 */
|
95
|
+
upgradedConsensusState: Uint8Array;
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState
|
99
|
+
* RPC method.
|
100
|
+
*/
|
101
|
+
/** @deprecated */
|
102
|
+
export interface QueryUpgradedConsensusStateResponseSDKType {
|
103
|
+
/** Since: cosmos-sdk 0.43 */
|
104
|
+
upgraded_consensus_state: Uint8Array;
|
105
|
+
}
|
106
|
+
/**
|
107
|
+
* QueryModuleVersionsRequest is the request type for the Query/ModuleVersions
|
108
|
+
* RPC method.
|
109
|
+
*
|
110
|
+
* Since: cosmos-sdk 0.43
|
111
|
+
*/
|
112
|
+
export interface QueryModuleVersionsRequest {
|
113
|
+
/**
|
114
|
+
* module_name is a field to query a specific module
|
115
|
+
* consensus version from state. Leaving this empty will
|
116
|
+
* fetch the full list of module versions from state
|
117
|
+
*/
|
118
|
+
moduleName?: string;
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* QueryModuleVersionsRequest is the request type for the Query/ModuleVersions
|
122
|
+
* RPC method.
|
123
|
+
*
|
124
|
+
* Since: cosmos-sdk 0.43
|
125
|
+
*/
|
126
|
+
export interface QueryModuleVersionsRequestSDKType {
|
127
|
+
/**
|
128
|
+
* module_name is a field to query a specific module
|
129
|
+
* consensus version from state. Leaving this empty will
|
130
|
+
* fetch the full list of module versions from state
|
131
|
+
*/
|
132
|
+
module_name?: string;
|
133
|
+
}
|
134
|
+
/**
|
135
|
+
* QueryModuleVersionsResponse is the response type for the Query/ModuleVersions
|
136
|
+
* RPC method.
|
137
|
+
*
|
138
|
+
* Since: cosmos-sdk 0.43
|
139
|
+
*/
|
140
|
+
export interface QueryModuleVersionsResponse {
|
141
|
+
/** module_versions is a list of module names with their consensus versions. */
|
142
|
+
moduleVersions: ModuleVersion[];
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* QueryModuleVersionsResponse is the response type for the Query/ModuleVersions
|
146
|
+
* RPC method.
|
147
|
+
*
|
148
|
+
* Since: cosmos-sdk 0.43
|
149
|
+
*/
|
150
|
+
export interface QueryModuleVersionsResponseSDKType {
|
151
|
+
/** module_versions is a list of module names with their consensus versions. */
|
152
|
+
module_versions: ModuleVersionSDKType[];
|
153
|
+
}
|
154
|
+
/**
|
155
|
+
* QueryAuthorityRequest is the request type for Query/Authority
|
156
|
+
*
|
157
|
+
* Since: cosmos-sdk 0.46
|
158
|
+
*/
|
159
|
+
export interface QueryAuthorityRequest {
|
160
|
+
}
|
161
|
+
/**
|
162
|
+
* QueryAuthorityRequest is the request type for Query/Authority
|
163
|
+
*
|
164
|
+
* Since: cosmos-sdk 0.46
|
165
|
+
*/
|
166
|
+
export interface QueryAuthorityRequestSDKType {
|
167
|
+
}
|
168
|
+
/**
|
169
|
+
* QueryAuthorityResponse is the response type for Query/Authority
|
170
|
+
*
|
171
|
+
* Since: cosmos-sdk 0.46
|
172
|
+
*/
|
173
|
+
export interface QueryAuthorityResponse {
|
174
|
+
address: string;
|
175
|
+
}
|
176
|
+
/**
|
177
|
+
* QueryAuthorityResponse is the response type for Query/Authority
|
178
|
+
*
|
179
|
+
* Since: cosmos-sdk 0.46
|
180
|
+
*/
|
181
|
+
export interface QueryAuthorityResponseSDKType {
|
182
|
+
address: string;
|
183
|
+
}
|
184
|
+
export declare const QueryCurrentPlanRequest: {
|
185
|
+
encode(_: QueryCurrentPlanRequest, writer?: _m0.Writer): _m0.Writer;
|
186
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest;
|
187
|
+
fromPartial(_: DeepPartial<QueryCurrentPlanRequest>): QueryCurrentPlanRequest;
|
188
|
+
};
|
189
|
+
export declare const QueryCurrentPlanResponse: {
|
190
|
+
encode(message: QueryCurrentPlanResponse, writer?: _m0.Writer): _m0.Writer;
|
191
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponseSDKType;
|
192
|
+
fromPartial(object: DeepPartial<QueryCurrentPlanResponse>): QueryCurrentPlanResponse;
|
193
|
+
};
|
194
|
+
export declare const QueryAppliedPlanRequest: {
|
195
|
+
encode(message: QueryAppliedPlanRequest, writer?: _m0.Writer): _m0.Writer;
|
196
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest;
|
197
|
+
fromPartial(object: DeepPartial<QueryAppliedPlanRequest>): QueryAppliedPlanRequest;
|
198
|
+
};
|
199
|
+
export declare const QueryAppliedPlanResponse: {
|
200
|
+
encode(message: QueryAppliedPlanResponse, writer?: _m0.Writer): _m0.Writer;
|
201
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponseSDKType;
|
202
|
+
fromPartial(object: DeepPartial<QueryAppliedPlanResponse>): QueryAppliedPlanResponse;
|
203
|
+
};
|
204
|
+
export declare const QueryUpgradedConsensusStateRequest: {
|
205
|
+
encode(message: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
|
206
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest;
|
207
|
+
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest;
|
208
|
+
};
|
209
|
+
export declare const QueryUpgradedConsensusStateResponse: {
|
210
|
+
encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
|
211
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType;
|
212
|
+
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse;
|
213
|
+
};
|
214
|
+
export declare const QueryModuleVersionsRequest: {
|
215
|
+
encode(message: QueryModuleVersionsRequest, writer?: _m0.Writer): _m0.Writer;
|
216
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest;
|
217
|
+
fromPartial(object: DeepPartial<QueryModuleVersionsRequest>): QueryModuleVersionsRequest;
|
218
|
+
};
|
219
|
+
export declare const QueryModuleVersionsResponse: {
|
220
|
+
encode(message: QueryModuleVersionsResponse, writer?: _m0.Writer): _m0.Writer;
|
221
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponseSDKType;
|
222
|
+
fromPartial(object: DeepPartial<QueryModuleVersionsResponse>): QueryModuleVersionsResponse;
|
223
|
+
};
|
224
|
+
export declare const QueryAuthorityRequest: {
|
225
|
+
encode(_: QueryAuthorityRequest, writer?: _m0.Writer): _m0.Writer;
|
226
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest;
|
227
|
+
fromPartial(_: DeepPartial<QueryAuthorityRequest>): QueryAuthorityRequest;
|
228
|
+
};
|
229
|
+
export declare const QueryAuthorityResponse: {
|
230
|
+
encode(message: QueryAuthorityResponse, writer?: _m0.Writer): _m0.Writer;
|
231
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponseSDKType;
|
232
|
+
fromPartial(object: DeepPartial<QueryAuthorityResponse>): QueryAuthorityResponse;
|
233
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
2
|
+
import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query";
|
3
|
+
export declare class LCDQueryClient {
|
4
|
+
req: LCDClient;
|
5
|
+
constructor({ requestClient }: {
|
6
|
+
requestClient: LCDClient;
|
7
|
+
});
|
8
|
+
currentPlan(_params?: QueryCurrentPlanRequest): Promise<QueryCurrentPlanResponseSDKType>;
|
9
|
+
appliedPlan(params: QueryAppliedPlanRequest): Promise<QueryAppliedPlanResponseSDKType>;
|
10
|
+
upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponseSDKType>;
|
11
|
+
moduleVersions(params: QueryModuleVersionsRequest): Promise<QueryModuleVersionsResponseSDKType>;
|
12
|
+
authority(_params?: QueryAuthorityRequest): Promise<QueryAuthorityResponseSDKType>;
|
13
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
3
|
+
import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query";
|
4
|
+
/** Query defines the RPC service */
|
5
|
+
export interface Query {
|
6
|
+
currentPlan(request?: QueryCurrentPlanRequest): Promise<QueryCurrentPlanResponseSDKType>;
|
7
|
+
appliedPlan(request: QueryAppliedPlanRequest): Promise<QueryAppliedPlanResponseSDKType>;
|
8
|
+
upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponseSDKType>;
|
9
|
+
moduleVersions(request: QueryModuleVersionsRequest): Promise<QueryModuleVersionsResponseSDKType>;
|
10
|
+
authority(request?: QueryAuthorityRequest): Promise<QueryAuthorityResponseSDKType>;
|
11
|
+
}
|
12
|
+
export declare class QueryClientImpl implements Query {
|
13
|
+
private readonly rpc;
|
14
|
+
constructor(rpc: Rpc);
|
15
|
+
currentPlan(request?: QueryCurrentPlanRequest): Promise<QueryCurrentPlanResponseSDKType>;
|
16
|
+
appliedPlan(request: QueryAppliedPlanRequest): Promise<QueryAppliedPlanResponseSDKType>;
|
17
|
+
upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponseSDKType>;
|
18
|
+
moduleVersions(request: QueryModuleVersionsRequest): Promise<QueryModuleVersionsResponseSDKType>;
|
19
|
+
authority(request?: QueryAuthorityRequest): Promise<QueryAuthorityResponseSDKType>;
|
20
|
+
}
|
21
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
22
|
+
currentPlan(request?: QueryCurrentPlanRequest): Promise<QueryCurrentPlanResponseSDKType>;
|
23
|
+
appliedPlan(request: QueryAppliedPlanRequest): Promise<QueryAppliedPlanResponseSDKType>;
|
24
|
+
upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponseSDKType>;
|
25
|
+
moduleVersions(request: QueryModuleVersionsRequest): Promise<QueryModuleVersionsResponseSDKType>;
|
26
|
+
authority(request?: QueryAuthorityRequest): Promise<QueryAuthorityResponseSDKType>;
|
27
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx";
|
3
|
+
export interface AminoMsgSoftwareUpgrade extends AminoMsg {
|
4
|
+
type: "cosmos-sdk/MsgSoftwareUpgrade";
|
5
|
+
value: {
|
6
|
+
authority: string;
|
7
|
+
plan: {
|
8
|
+
name: string;
|
9
|
+
time: {
|
10
|
+
seconds: string;
|
11
|
+
nanos: number;
|
12
|
+
};
|
13
|
+
height: string;
|
14
|
+
info: string;
|
15
|
+
upgraded_client_state: {
|
16
|
+
type_url: string;
|
17
|
+
value: Uint8Array;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
};
|
21
|
+
}
|
22
|
+
export interface AminoMsgCancelUpgrade extends AminoMsg {
|
23
|
+
type: "cosmos-sdk/MsgCancelUpgrade";
|
24
|
+
value: {
|
25
|
+
authority: string;
|
26
|
+
};
|
27
|
+
}
|
28
|
+
export declare const AminoConverter: {
|
29
|
+
"/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": {
|
30
|
+
aminoType: string;
|
31
|
+
toAmino: ({ authority, plan }: MsgSoftwareUpgrade) => AminoMsgSoftwareUpgrade["value"];
|
32
|
+
fromAmino: ({ authority, plan }: AminoMsgSoftwareUpgrade["value"]) => MsgSoftwareUpgrade;
|
33
|
+
};
|
34
|
+
"/cosmos.upgrade.v1beta1.MsgCancelUpgrade": {
|
35
|
+
aminoType: string;
|
36
|
+
toAmino: ({ authority }: MsgCancelUpgrade) => AminoMsgCancelUpgrade["value"];
|
37
|
+
fromAmino: ({ authority }: AminoMsgCancelUpgrade["value"]) => MsgCancelUpgrade;
|
38
|
+
};
|
39
|
+
};
|
@@ -0,0 +1,91 @@
|
|
1
|
+
import { Plan, PlanSDKType } from "./upgrade";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/**
|
5
|
+
* MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.
|
6
|
+
*
|
7
|
+
* Since: cosmos-sdk 0.46
|
8
|
+
*/
|
9
|
+
export interface MsgSoftwareUpgrade {
|
10
|
+
/** authority is the address of the governance account. */
|
11
|
+
authority: string;
|
12
|
+
/** plan is the upgrade plan. */
|
13
|
+
plan: Plan;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.
|
17
|
+
*
|
18
|
+
* Since: cosmos-sdk 0.46
|
19
|
+
*/
|
20
|
+
export interface MsgSoftwareUpgradeSDKType {
|
21
|
+
/** authority is the address of the governance account. */
|
22
|
+
authority: string;
|
23
|
+
/** plan is the upgrade plan. */
|
24
|
+
plan: PlanSDKType;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.
|
28
|
+
*
|
29
|
+
* Since: cosmos-sdk 0.46
|
30
|
+
*/
|
31
|
+
export interface MsgSoftwareUpgradeResponse {
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.
|
35
|
+
*
|
36
|
+
* Since: cosmos-sdk 0.46
|
37
|
+
*/
|
38
|
+
export interface MsgSoftwareUpgradeResponseSDKType {
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* MsgCancelUpgrade is the Msg/CancelUpgrade request type.
|
42
|
+
*
|
43
|
+
* Since: cosmos-sdk 0.46
|
44
|
+
*/
|
45
|
+
export interface MsgCancelUpgrade {
|
46
|
+
/** authority is the address of the governance account. */
|
47
|
+
authority: string;
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* MsgCancelUpgrade is the Msg/CancelUpgrade request type.
|
51
|
+
*
|
52
|
+
* Since: cosmos-sdk 0.46
|
53
|
+
*/
|
54
|
+
export interface MsgCancelUpgradeSDKType {
|
55
|
+
/** authority is the address of the governance account. */
|
56
|
+
authority: string;
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
* MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.
|
60
|
+
*
|
61
|
+
* Since: cosmos-sdk 0.46
|
62
|
+
*/
|
63
|
+
export interface MsgCancelUpgradeResponse {
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.
|
67
|
+
*
|
68
|
+
* Since: cosmos-sdk 0.46
|
69
|
+
*/
|
70
|
+
export interface MsgCancelUpgradeResponseSDKType {
|
71
|
+
}
|
72
|
+
export declare const MsgSoftwareUpgrade: {
|
73
|
+
encode(message: MsgSoftwareUpgrade, writer?: _m0.Writer): _m0.Writer;
|
74
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade;
|
75
|
+
fromPartial(object: DeepPartial<MsgSoftwareUpgrade>): MsgSoftwareUpgrade;
|
76
|
+
};
|
77
|
+
export declare const MsgSoftwareUpgradeResponse: {
|
78
|
+
encode(_: MsgSoftwareUpgradeResponse, writer?: _m0.Writer): _m0.Writer;
|
79
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponseSDKType;
|
80
|
+
fromPartial(_: DeepPartial<MsgSoftwareUpgradeResponse>): MsgSoftwareUpgradeResponse;
|
81
|
+
};
|
82
|
+
export declare const MsgCancelUpgrade: {
|
83
|
+
encode(message: MsgCancelUpgrade, writer?: _m0.Writer): _m0.Writer;
|
84
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade;
|
85
|
+
fromPartial(object: DeepPartial<MsgCancelUpgrade>): MsgCancelUpgrade;
|
86
|
+
};
|
87
|
+
export declare const MsgCancelUpgradeResponse: {
|
88
|
+
encode(_: MsgCancelUpgradeResponse, writer?: _m0.Writer): _m0.Writer;
|
89
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponseSDKType;
|
90
|
+
fromPartial(_: DeepPartial<MsgCancelUpgradeResponse>): MsgCancelUpgradeResponse;
|
91
|
+
};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
2
|
+
import { MsgSoftwareUpgrade, MsgCancelUpgrade } 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
|
+
softwareUpgrade(value: MsgSoftwareUpgrade): {
|
8
|
+
typeUrl: string;
|
9
|
+
value: Uint8Array;
|
10
|
+
};
|
11
|
+
cancelUpgrade(value: MsgCancelUpgrade): {
|
12
|
+
typeUrl: string;
|
13
|
+
value: Uint8Array;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
withTypeUrl: {
|
17
|
+
softwareUpgrade(value: MsgSoftwareUpgrade): {
|
18
|
+
typeUrl: string;
|
19
|
+
value: MsgSoftwareUpgrade;
|
20
|
+
};
|
21
|
+
cancelUpgrade(value: MsgCancelUpgrade): {
|
22
|
+
typeUrl: string;
|
23
|
+
value: MsgCancelUpgrade;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
fromPartial: {
|
27
|
+
softwareUpgrade(value: MsgSoftwareUpgrade): {
|
28
|
+
typeUrl: string;
|
29
|
+
value: MsgSoftwareUpgrade;
|
30
|
+
};
|
31
|
+
cancelUpgrade(value: MsgCancelUpgrade): {
|
32
|
+
typeUrl: string;
|
33
|
+
value: MsgCancelUpgrade;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponseSDKType, MsgCancelUpgrade, MsgCancelUpgradeResponseSDKType } from "./tx";
|
3
|
+
/** Msg defines the RPC service */
|
4
|
+
export interface Msg {
|
5
|
+
softwareUpgrade(request: MsgSoftwareUpgrade): Promise<MsgSoftwareUpgradeResponseSDKType>;
|
6
|
+
cancelUpgrade(request: MsgCancelUpgrade): Promise<MsgCancelUpgradeResponseSDKType>;
|
7
|
+
}
|
8
|
+
export declare class MsgClientImpl implements Msg {
|
9
|
+
private readonly rpc;
|
10
|
+
constructor(rpc: Rpc);
|
11
|
+
softwareUpgrade(request: MsgSoftwareUpgrade): Promise<MsgSoftwareUpgradeResponseSDKType>;
|
12
|
+
cancelUpgrade(request: MsgCancelUpgrade): Promise<MsgCancelUpgradeResponseSDKType>;
|
13
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/** Plan specifies information about a planned upgrade and when it should occur. */
|
5
|
+
export interface Plan {
|
6
|
+
/**
|
7
|
+
* Sets the name for the upgrade. This name will be used by the upgraded
|
8
|
+
* version of the software to apply any special "on-upgrade" commands during
|
9
|
+
* the first BeginBlock method after the upgrade is applied. It is also used
|
10
|
+
* to detect whether a software version can handle a given upgrade. If no
|
11
|
+
* upgrade handler with this name has been set in the software, it will be
|
12
|
+
* assumed that the software is out-of-date when the upgrade Time or Height is
|
13
|
+
* reached and the software will exit.
|
14
|
+
*/
|
15
|
+
name: string;
|
16
|
+
/**
|
17
|
+
* Deprecated: Time based upgrades have been deprecated. Time based upgrade logic
|
18
|
+
* has been removed from the SDK.
|
19
|
+
* If this field is not empty, an error will be thrown.
|
20
|
+
*/
|
21
|
+
/** @deprecated */
|
22
|
+
time: Date;
|
23
|
+
/**
|
24
|
+
* The height at which the upgrade must be performed.
|
25
|
+
* Only used if Time is not set.
|
26
|
+
*/
|
27
|
+
height: Long;
|
28
|
+
/**
|
29
|
+
* Any application specific upgrade info to be included on-chain
|
30
|
+
* such as a git commit that validators could automatically upgrade to
|
31
|
+
*/
|
32
|
+
info: string;
|
33
|
+
/**
|
34
|
+
* Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been
|
35
|
+
* moved to the IBC module in the sub module 02-client.
|
36
|
+
* If this field is not empty, an error will be thrown.
|
37
|
+
*/
|
38
|
+
/** @deprecated */
|
39
|
+
upgradedClientState: Any;
|
40
|
+
}
|
41
|
+
/** Plan specifies information about a planned upgrade and when it should occur. */
|
42
|
+
export interface PlanSDKType {
|
43
|
+
/**
|
44
|
+
* Sets the name for the upgrade. This name will be used by the upgraded
|
45
|
+
* version of the software to apply any special "on-upgrade" commands during
|
46
|
+
* the first BeginBlock method after the upgrade is applied. It is also used
|
47
|
+
* to detect whether a software version can handle a given upgrade. If no
|
48
|
+
* upgrade handler with this name has been set in the software, it will be
|
49
|
+
* assumed that the software is out-of-date when the upgrade Time or Height is
|
50
|
+
* reached and the software will exit.
|
51
|
+
*/
|
52
|
+
name: string;
|
53
|
+
/**
|
54
|
+
* Deprecated: Time based upgrades have been deprecated. Time based upgrade logic
|
55
|
+
* has been removed from the SDK.
|
56
|
+
* If this field is not empty, an error will be thrown.
|
57
|
+
*/
|
58
|
+
/** @deprecated */
|
59
|
+
time: Date;
|
60
|
+
/**
|
61
|
+
* The height at which the upgrade must be performed.
|
62
|
+
* Only used if Time is not set.
|
63
|
+
*/
|
64
|
+
height: Long;
|
65
|
+
/**
|
66
|
+
* Any application specific upgrade info to be included on-chain
|
67
|
+
* such as a git commit that validators could automatically upgrade to
|
68
|
+
*/
|
69
|
+
info: string;
|
70
|
+
/**
|
71
|
+
* Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been
|
72
|
+
* moved to the IBC module in the sub module 02-client.
|
73
|
+
* If this field is not empty, an error will be thrown.
|
74
|
+
*/
|
75
|
+
/** @deprecated */
|
76
|
+
upgraded_client_state: AnySDKType;
|
77
|
+
}
|
78
|
+
/**
|
79
|
+
* SoftwareUpgradeProposal is a gov Content type for initiating a software
|
80
|
+
* upgrade.
|
81
|
+
* Deprecated: This legacy proposal is deprecated in favor of Msg-based gov
|
82
|
+
* proposals, see MsgSoftwareUpgrade.
|
83
|
+
*/
|
84
|
+
/** @deprecated */
|
85
|
+
export interface SoftwareUpgradeProposal {
|
86
|
+
title: string;
|
87
|
+
description: string;
|
88
|
+
plan: Plan;
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* SoftwareUpgradeProposal is a gov Content type for initiating a software
|
92
|
+
* upgrade.
|
93
|
+
* Deprecated: This legacy proposal is deprecated in favor of Msg-based gov
|
94
|
+
* proposals, see MsgSoftwareUpgrade.
|
95
|
+
*/
|
96
|
+
/** @deprecated */
|
97
|
+
export interface SoftwareUpgradeProposalSDKType {
|
98
|
+
title: string;
|
99
|
+
description: string;
|
100
|
+
plan: PlanSDKType;
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software
|
104
|
+
* upgrade.
|
105
|
+
* Deprecated: This legacy proposal is deprecated in favor of Msg-based gov
|
106
|
+
* proposals, see MsgCancelUpgrade.
|
107
|
+
*/
|
108
|
+
/** @deprecated */
|
109
|
+
export interface CancelSoftwareUpgradeProposal {
|
110
|
+
title: string;
|
111
|
+
description: string;
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software
|
115
|
+
* upgrade.
|
116
|
+
* Deprecated: This legacy proposal is deprecated in favor of Msg-based gov
|
117
|
+
* proposals, see MsgCancelUpgrade.
|
118
|
+
*/
|
119
|
+
/** @deprecated */
|
120
|
+
export interface CancelSoftwareUpgradeProposalSDKType {
|
121
|
+
title: string;
|
122
|
+
description: string;
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* ModuleVersion specifies a module and its consensus version.
|
126
|
+
*
|
127
|
+
* Since: cosmos-sdk 0.43
|
128
|
+
*/
|
129
|
+
export interface ModuleVersion {
|
130
|
+
/** name of the app module */
|
131
|
+
name: string;
|
132
|
+
/** consensus version of the app module */
|
133
|
+
version: Long;
|
134
|
+
}
|
135
|
+
/**
|
136
|
+
* ModuleVersion specifies a module and its consensus version.
|
137
|
+
*
|
138
|
+
* Since: cosmos-sdk 0.43
|
139
|
+
*/
|
140
|
+
export interface ModuleVersionSDKType {
|
141
|
+
/** name of the app module */
|
142
|
+
name: string;
|
143
|
+
/** consensus version of the app module */
|
144
|
+
version: Long;
|
145
|
+
}
|
146
|
+
export declare const Plan: {
|
147
|
+
encode(message: Plan, writer?: _m0.Writer): _m0.Writer;
|
148
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Plan;
|
149
|
+
fromPartial(object: DeepPartial<Plan>): Plan;
|
150
|
+
};
|
151
|
+
export declare const SoftwareUpgradeProposal: {
|
152
|
+
encode(message: SoftwareUpgradeProposal, writer?: _m0.Writer): _m0.Writer;
|
153
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal;
|
154
|
+
fromPartial(object: DeepPartial<SoftwareUpgradeProposal>): SoftwareUpgradeProposal;
|
155
|
+
};
|
156
|
+
export declare const CancelSoftwareUpgradeProposal: {
|
157
|
+
encode(message: CancelSoftwareUpgradeProposal, writer?: _m0.Writer): _m0.Writer;
|
158
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal;
|
159
|
+
fromPartial(object: DeepPartial<CancelSoftwareUpgradeProposal>): CancelSoftwareUpgradeProposal;
|
160
|
+
};
|
161
|
+
export declare const ModuleVersion: {
|
162
|
+
encode(message: ModuleVersion, writer?: _m0.Writer): _m0.Writer;
|
163
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion;
|
164
|
+
fromPartial(object: DeepPartial<ModuleVersion>): ModuleVersion;
|
165
|
+
};
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx";
|
3
|
+
export interface AminoMsgCreateVestingAccount extends AminoMsg {
|
4
|
+
type: "cosmos-sdk/MsgCreateVestingAccount";
|
5
|
+
value: {
|
6
|
+
from_address: string;
|
7
|
+
to_address: string;
|
8
|
+
amount: {
|
9
|
+
denom: string;
|
10
|
+
amount: string;
|
11
|
+
}[];
|
12
|
+
end_time: string;
|
13
|
+
delayed: boolean;
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export interface AminoMsgCreatePermanentLockedAccount extends AminoMsg {
|
17
|
+
type: "cosmos-sdk/MsgCreatePermanentLockedAccount";
|
18
|
+
value: {
|
19
|
+
from_address: string;
|
20
|
+
to_address: string;
|
21
|
+
amount: {
|
22
|
+
denom: string;
|
23
|
+
amount: string;
|
24
|
+
}[];
|
25
|
+
};
|
26
|
+
}
|
27
|
+
export interface AminoMsgCreatePeriodicVestingAccount extends AminoMsg {
|
28
|
+
type: "cosmos-sdk/MsgCreatePeriodicVestingAccount";
|
29
|
+
value: {
|
30
|
+
from_address: string;
|
31
|
+
to_address: string;
|
32
|
+
start_time: string;
|
33
|
+
vesting_periods: {
|
34
|
+
length: string;
|
35
|
+
amount: {
|
36
|
+
denom: string;
|
37
|
+
amount: string;
|
38
|
+
}[];
|
39
|
+
}[];
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export declare const AminoConverter: {
|
43
|
+
"/cosmos.vesting.v1beta1.MsgCreateVestingAccount": {
|
44
|
+
aminoType: string;
|
45
|
+
toAmino: ({ from_address, to_address, amount, end_time, delayed }: MsgCreateVestingAccount) => AminoMsgCreateVestingAccount["value"];
|
46
|
+
fromAmino: ({ from_address, to_address, amount, end_time, delayed }: AminoMsgCreateVestingAccount["value"]) => MsgCreateVestingAccount;
|
47
|
+
};
|
48
|
+
"/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": {
|
49
|
+
aminoType: string;
|
50
|
+
toAmino: ({ from_address, to_address, amount }: MsgCreatePermanentLockedAccount) => AminoMsgCreatePermanentLockedAccount["value"];
|
51
|
+
fromAmino: ({ from_address, to_address, amount }: AminoMsgCreatePermanentLockedAccount["value"]) => MsgCreatePermanentLockedAccount;
|
52
|
+
};
|
53
|
+
"/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": {
|
54
|
+
aminoType: string;
|
55
|
+
toAmino: ({ from_address, to_address, start_time, vesting_periods }: MsgCreatePeriodicVestingAccount) => AminoMsgCreatePeriodicVestingAccount["value"];
|
56
|
+
fromAmino: ({ from_address, to_address, start_time, vesting_periods }: AminoMsgCreatePeriodicVestingAccount["value"]) => MsgCreatePeriodicVestingAccount;
|
57
|
+
};
|
58
|
+
};
|