juno-network 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/codegen/JunoSwap.client.js +1 -1
- package/main/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/bundle.js +8 -8
- package/main/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/rpc.query.js +8 -8
- package/main/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
- package/main/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +8 -8
- package/main/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmwasm/bundle.js +1 -1
- package/main/codegen/cosmwasm/rpc.query.js +9 -9
- package/main/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/google/protobuf/descriptor.js +18 -18
- package/main/codegen/helpers.js +29 -18
- package/main/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
- package/main/codegen/ibc/bundle.js +4 -4
- package/main/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/rpc.query.js +12 -12
- package/main/codegen/juno/bundle.js +1 -1
- package/main/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/juno/rpc.query.js +9 -9
- package/module/codegen/JunoSwap.client.js +1 -1
- package/module/codegen/contracts.js +1 -1
- package/module/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/bundle.js +8 -8
- package/module/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/rpc.query.js +8 -8
- package/module/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
- package/module/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +2 -2
- package/module/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmwasm/bundle.js +1 -1
- package/module/codegen/cosmwasm/rpc.query.js +9 -9
- package/module/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/google/protobuf/descriptor.js +18 -18
- package/module/codegen/helpers.js +18 -10
- package/module/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
- package/module/codegen/ibc/bundle.js +4 -4
- package/module/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/rpc.query.js +12 -12
- package/module/codegen/index.js +1 -1
- package/module/codegen/juno/bundle.js +1 -1
- package/module/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/juno/rpc.query.js +9 -9
- package/package.json +3 -3
- package/src/codegen/JunoSwap.client.ts +1 -1
- package/src/codegen/JunoSwap.types.ts +1 -1
- package/src/codegen/contracts.ts +1 -1
- package/src/codegen/cosmos/authz/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/bank/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/bundle.ts +8 -8
- package/src/codegen/cosmos/distribution/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/gov/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/gov/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/rpc.query.ts +8 -8
- package/src/codegen/cosmos/staking/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +4 -4
- package/src/codegen/cosmos/tx/v1beta1/{service.rpc.svc.ts → service.rpc.Service.ts} +2 -2
- package/src/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmwasm/bundle.ts +1 -1
- package/src/codegen/cosmwasm/rpc.query.ts +9 -9
- package/src/codegen/cosmwasm/wasm/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/google/protobuf/descriptor.ts +18 -18
- package/src/codegen/helpers.ts +24 -16
- package/src/codegen/ibc/applications/transfer/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +1 -1
- package/src/codegen/ibc/bundle.ts +4 -4
- package/src/codegen/ibc/core/channel/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/core/client/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/core/connection/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/rpc.query.ts +12 -12
- package/src/codegen/index.ts +1 -1
- package/src/codegen/juno/bundle.ts +1 -1
- package/src/codegen/juno/mint/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/juno/rpc.query.ts +9 -9
- package/types/codegen/JunoSwap.client.d.ts +122 -0
- package/types/codegen/JunoSwap.types.d.ts +142 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +12 -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 +32 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -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 +57 -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 +15 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -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/client.d.ts +473 -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 +51 -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 +33 -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 +44 -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 +27 -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 +44 -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 +25 -0
- package/types/codegen/cosmos/lcd.d.ts +28 -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/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 +80 -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 +33 -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.Service.d.ts +36 -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 +43 -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 +24 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -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 +48 -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 +27 -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/bundle.d.ts +1413 -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/timestamp.d.ts +205 -0
- package/types/codegen/helpers.d.ts +82 -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 +24 -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 +12 -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 +88 -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 +42 -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 +50 -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 +21 -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 +41 -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 +24 -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 +24 -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,473 @@
|
|
|
1
|
+
import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing";
|
|
2
|
+
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
+
export declare const cosmosAminoConverters: {
|
|
4
|
+
"/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": {
|
|
5
|
+
aminoType: string;
|
|
6
|
+
toAmino: ({ authority, plan }: import("./upgrade/v1beta1/tx").MsgSoftwareUpgrade) => {
|
|
7
|
+
authority: string;
|
|
8
|
+
plan: {
|
|
9
|
+
name: string;
|
|
10
|
+
time: {
|
|
11
|
+
seconds: string;
|
|
12
|
+
nanos: number;
|
|
13
|
+
};
|
|
14
|
+
height: string;
|
|
15
|
+
info: string;
|
|
16
|
+
upgraded_client_state: {
|
|
17
|
+
type_url: string;
|
|
18
|
+
value: Uint8Array;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
fromAmino: ({ authority, plan }: {
|
|
23
|
+
authority: string;
|
|
24
|
+
plan: {
|
|
25
|
+
name: string;
|
|
26
|
+
time: {
|
|
27
|
+
seconds: string;
|
|
28
|
+
nanos: number;
|
|
29
|
+
};
|
|
30
|
+
height: string;
|
|
31
|
+
info: string;
|
|
32
|
+
upgraded_client_state: {
|
|
33
|
+
type_url: string;
|
|
34
|
+
value: Uint8Array;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}) => import("./upgrade/v1beta1/tx").MsgSoftwareUpgrade;
|
|
38
|
+
};
|
|
39
|
+
"/cosmos.upgrade.v1beta1.MsgCancelUpgrade": {
|
|
40
|
+
aminoType: string;
|
|
41
|
+
toAmino: ({ authority }: import("./upgrade/v1beta1/tx").MsgCancelUpgrade) => {
|
|
42
|
+
authority: string;
|
|
43
|
+
};
|
|
44
|
+
fromAmino: ({ authority }: {
|
|
45
|
+
authority: string;
|
|
46
|
+
}) => import("./upgrade/v1beta1/tx").MsgCancelUpgrade;
|
|
47
|
+
};
|
|
48
|
+
"/cosmos.staking.v1beta1.MsgCreateValidator": {
|
|
49
|
+
aminoType: string;
|
|
50
|
+
toAmino: ({ description, commission, minSelfDelegation, delegatorAddress, validatorAddress, pubkey, value }: import("./staking/v1beta1/tx").MsgCreateValidator) => {
|
|
51
|
+
description: {
|
|
52
|
+
moniker: string;
|
|
53
|
+
identity: string;
|
|
54
|
+
website: string;
|
|
55
|
+
security_contact: string;
|
|
56
|
+
details: string;
|
|
57
|
+
};
|
|
58
|
+
commission: {
|
|
59
|
+
rate: string;
|
|
60
|
+
max_rate: string;
|
|
61
|
+
max_change_rate: string;
|
|
62
|
+
};
|
|
63
|
+
min_self_delegation: string;
|
|
64
|
+
delegator_address: string;
|
|
65
|
+
validator_address: string;
|
|
66
|
+
pubkey: {
|
|
67
|
+
type_url: string;
|
|
68
|
+
value: Uint8Array;
|
|
69
|
+
};
|
|
70
|
+
value: {
|
|
71
|
+
denom: string;
|
|
72
|
+
amount: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
fromAmino: ({ description, commission, min_self_delegation, delegator_address, validator_address, pubkey, value }: {
|
|
76
|
+
description: {
|
|
77
|
+
moniker: string;
|
|
78
|
+
identity: string;
|
|
79
|
+
website: string;
|
|
80
|
+
security_contact: string;
|
|
81
|
+
details: string;
|
|
82
|
+
};
|
|
83
|
+
commission: {
|
|
84
|
+
rate: string;
|
|
85
|
+
max_rate: string;
|
|
86
|
+
max_change_rate: string;
|
|
87
|
+
};
|
|
88
|
+
min_self_delegation: string;
|
|
89
|
+
delegator_address: string;
|
|
90
|
+
validator_address: string;
|
|
91
|
+
pubkey: {
|
|
92
|
+
type_url: string;
|
|
93
|
+
value: Uint8Array;
|
|
94
|
+
};
|
|
95
|
+
value: {
|
|
96
|
+
denom: string;
|
|
97
|
+
amount: string;
|
|
98
|
+
};
|
|
99
|
+
}) => import("./staking/v1beta1/tx").MsgCreateValidator;
|
|
100
|
+
};
|
|
101
|
+
"/cosmos.staking.v1beta1.MsgEditValidator": {
|
|
102
|
+
aminoType: string;
|
|
103
|
+
toAmino: ({ description, validatorAddress, commissionRate, minSelfDelegation }: import("./staking/v1beta1/tx").MsgEditValidator) => {
|
|
104
|
+
description: {
|
|
105
|
+
moniker: string;
|
|
106
|
+
identity: string;
|
|
107
|
+
website: string;
|
|
108
|
+
security_contact: string;
|
|
109
|
+
details: string;
|
|
110
|
+
};
|
|
111
|
+
validator_address: string;
|
|
112
|
+
commission_rate: string;
|
|
113
|
+
min_self_delegation: string;
|
|
114
|
+
};
|
|
115
|
+
fromAmino: ({ description, validator_address, commission_rate, min_self_delegation }: {
|
|
116
|
+
description: {
|
|
117
|
+
moniker: string;
|
|
118
|
+
identity: string;
|
|
119
|
+
website: string;
|
|
120
|
+
security_contact: string;
|
|
121
|
+
details: string;
|
|
122
|
+
};
|
|
123
|
+
validator_address: string;
|
|
124
|
+
commission_rate: string;
|
|
125
|
+
min_self_delegation: string;
|
|
126
|
+
}) => import("./staking/v1beta1/tx").MsgEditValidator;
|
|
127
|
+
};
|
|
128
|
+
"/cosmos.staking.v1beta1.MsgDelegate": {
|
|
129
|
+
aminoType: string;
|
|
130
|
+
toAmino: ({ delegatorAddress, validatorAddress, amount }: import("./staking/v1beta1/tx").MsgDelegate) => {
|
|
131
|
+
delegator_address: string;
|
|
132
|
+
validator_address: string;
|
|
133
|
+
amount: {
|
|
134
|
+
denom: string;
|
|
135
|
+
amount: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
fromAmino: ({ delegator_address, validator_address, amount }: {
|
|
139
|
+
delegator_address: string;
|
|
140
|
+
validator_address: string;
|
|
141
|
+
amount: {
|
|
142
|
+
denom: string;
|
|
143
|
+
amount: string;
|
|
144
|
+
};
|
|
145
|
+
}) => import("./staking/v1beta1/tx").MsgDelegate;
|
|
146
|
+
};
|
|
147
|
+
"/cosmos.staking.v1beta1.MsgBeginRedelegate": {
|
|
148
|
+
aminoType: string;
|
|
149
|
+
toAmino: ({ delegatorAddress, validatorSrcAddress, validatorDstAddress, amount }: import("./staking/v1beta1/tx").MsgBeginRedelegate) => {
|
|
150
|
+
delegator_address: string;
|
|
151
|
+
validator_src_address: string;
|
|
152
|
+
validator_dst_address: string;
|
|
153
|
+
amount: {
|
|
154
|
+
denom: string;
|
|
155
|
+
amount: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
fromAmino: ({ delegator_address, validator_src_address, validator_dst_address, amount }: {
|
|
159
|
+
delegator_address: string;
|
|
160
|
+
validator_src_address: string;
|
|
161
|
+
validator_dst_address: string;
|
|
162
|
+
amount: {
|
|
163
|
+
denom: string;
|
|
164
|
+
amount: string;
|
|
165
|
+
};
|
|
166
|
+
}) => import("./staking/v1beta1/tx").MsgBeginRedelegate;
|
|
167
|
+
};
|
|
168
|
+
"/cosmos.staking.v1beta1.MsgUndelegate": {
|
|
169
|
+
aminoType: string;
|
|
170
|
+
toAmino: ({ delegatorAddress, validatorAddress, amount }: import("./staking/v1beta1/tx").MsgUndelegate) => {
|
|
171
|
+
delegator_address: string;
|
|
172
|
+
validator_address: string;
|
|
173
|
+
amount: {
|
|
174
|
+
denom: string;
|
|
175
|
+
amount: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
fromAmino: ({ delegator_address, validator_address, amount }: {
|
|
179
|
+
delegator_address: string;
|
|
180
|
+
validator_address: string;
|
|
181
|
+
amount: {
|
|
182
|
+
denom: string;
|
|
183
|
+
amount: string;
|
|
184
|
+
};
|
|
185
|
+
}) => import("./staking/v1beta1/tx").MsgUndelegate;
|
|
186
|
+
};
|
|
187
|
+
"/cosmos.gov.v1beta1.MsgSubmitProposal": {
|
|
188
|
+
aminoType: string;
|
|
189
|
+
toAmino: ({ content, initialDeposit, proposer }: import("./gov/v1beta1/tx").MsgSubmitProposal) => {
|
|
190
|
+
content: {
|
|
191
|
+
type_url: string;
|
|
192
|
+
value: Uint8Array;
|
|
193
|
+
};
|
|
194
|
+
initial_deposit: {
|
|
195
|
+
denom: string;
|
|
196
|
+
amount: string;
|
|
197
|
+
}[];
|
|
198
|
+
proposer: string;
|
|
199
|
+
};
|
|
200
|
+
fromAmino: ({ content, initial_deposit, proposer }: {
|
|
201
|
+
content: {
|
|
202
|
+
type_url: string;
|
|
203
|
+
value: Uint8Array;
|
|
204
|
+
};
|
|
205
|
+
initial_deposit: {
|
|
206
|
+
denom: string;
|
|
207
|
+
amount: string;
|
|
208
|
+
}[];
|
|
209
|
+
proposer: string;
|
|
210
|
+
}) => import("./gov/v1beta1/tx").MsgSubmitProposal;
|
|
211
|
+
};
|
|
212
|
+
"/cosmos.gov.v1beta1.MsgVote": {
|
|
213
|
+
aminoType: string;
|
|
214
|
+
toAmino: ({ proposalId, voter, option }: import("./gov/v1beta1/tx").MsgVote) => {
|
|
215
|
+
proposal_id: string;
|
|
216
|
+
voter: string;
|
|
217
|
+
option: number;
|
|
218
|
+
};
|
|
219
|
+
fromAmino: ({ proposal_id, voter, option }: {
|
|
220
|
+
proposal_id: string;
|
|
221
|
+
voter: string;
|
|
222
|
+
option: number;
|
|
223
|
+
}) => import("./gov/v1beta1/tx").MsgVote;
|
|
224
|
+
};
|
|
225
|
+
"/cosmos.gov.v1beta1.MsgVoteWeighted": {
|
|
226
|
+
aminoType: string;
|
|
227
|
+
toAmino: ({ proposalId, voter, options }: import("./gov/v1beta1/tx").MsgVoteWeighted) => {
|
|
228
|
+
proposal_id: string;
|
|
229
|
+
voter: string;
|
|
230
|
+
options: {
|
|
231
|
+
option: number;
|
|
232
|
+
weight: string;
|
|
233
|
+
}[];
|
|
234
|
+
};
|
|
235
|
+
fromAmino: ({ proposal_id, voter, options }: {
|
|
236
|
+
proposal_id: string;
|
|
237
|
+
voter: string;
|
|
238
|
+
options: {
|
|
239
|
+
option: number;
|
|
240
|
+
weight: string;
|
|
241
|
+
}[];
|
|
242
|
+
}) => import("./gov/v1beta1/tx").MsgVoteWeighted;
|
|
243
|
+
};
|
|
244
|
+
"/cosmos.gov.v1beta1.MsgDeposit": {
|
|
245
|
+
aminoType: string;
|
|
246
|
+
toAmino: ({ proposalId, depositor, amount }: import("./gov/v1beta1/tx").MsgDeposit) => {
|
|
247
|
+
proposal_id: string;
|
|
248
|
+
depositor: string;
|
|
249
|
+
amount: {
|
|
250
|
+
denom: string;
|
|
251
|
+
amount: string;
|
|
252
|
+
}[];
|
|
253
|
+
};
|
|
254
|
+
fromAmino: ({ proposal_id, depositor, amount }: {
|
|
255
|
+
proposal_id: string;
|
|
256
|
+
depositor: string;
|
|
257
|
+
amount: {
|
|
258
|
+
denom: string;
|
|
259
|
+
amount: string;
|
|
260
|
+
}[];
|
|
261
|
+
}) => import("./gov/v1beta1/tx").MsgDeposit;
|
|
262
|
+
};
|
|
263
|
+
"/cosmos.gov.v1.MsgSubmitProposal": {
|
|
264
|
+
aminoType: string;
|
|
265
|
+
toAmino: ({ messages, initialDeposit, proposer, metadata }: import("./gov/v1/tx").MsgSubmitProposal) => {
|
|
266
|
+
messages: {
|
|
267
|
+
type_url: string;
|
|
268
|
+
value: Uint8Array;
|
|
269
|
+
}[];
|
|
270
|
+
initial_deposit: {
|
|
271
|
+
denom: string;
|
|
272
|
+
amount: string;
|
|
273
|
+
}[];
|
|
274
|
+
proposer: string;
|
|
275
|
+
metadata: string;
|
|
276
|
+
};
|
|
277
|
+
fromAmino: ({ messages, initial_deposit, proposer, metadata }: {
|
|
278
|
+
messages: {
|
|
279
|
+
type_url: string;
|
|
280
|
+
value: Uint8Array;
|
|
281
|
+
}[];
|
|
282
|
+
initial_deposit: {
|
|
283
|
+
denom: string;
|
|
284
|
+
amount: string;
|
|
285
|
+
}[];
|
|
286
|
+
proposer: string;
|
|
287
|
+
metadata: string;
|
|
288
|
+
}) => import("./gov/v1/tx").MsgSubmitProposal;
|
|
289
|
+
};
|
|
290
|
+
"/cosmos.gov.v1.MsgExecLegacyContent": {
|
|
291
|
+
aminoType: string;
|
|
292
|
+
toAmino: ({ content, authority }: import("./gov/v1/tx").MsgExecLegacyContent) => {
|
|
293
|
+
content: {
|
|
294
|
+
type_url: string;
|
|
295
|
+
value: Uint8Array;
|
|
296
|
+
};
|
|
297
|
+
authority: string;
|
|
298
|
+
};
|
|
299
|
+
fromAmino: ({ content, authority }: {
|
|
300
|
+
content: {
|
|
301
|
+
type_url: string;
|
|
302
|
+
value: Uint8Array;
|
|
303
|
+
};
|
|
304
|
+
authority: string;
|
|
305
|
+
}) => import("./gov/v1/tx").MsgExecLegacyContent;
|
|
306
|
+
};
|
|
307
|
+
"/cosmos.gov.v1.MsgVote": {
|
|
308
|
+
aminoType: string;
|
|
309
|
+
toAmino: ({ proposalId, voter, option, metadata }: import("./gov/v1/tx").MsgVote) => {
|
|
310
|
+
proposal_id: string;
|
|
311
|
+
voter: string;
|
|
312
|
+
option: number;
|
|
313
|
+
metadata: string;
|
|
314
|
+
};
|
|
315
|
+
fromAmino: ({ proposal_id, voter, option, metadata }: {
|
|
316
|
+
proposal_id: string;
|
|
317
|
+
voter: string;
|
|
318
|
+
option: number;
|
|
319
|
+
metadata: string;
|
|
320
|
+
}) => import("./gov/v1/tx").MsgVote;
|
|
321
|
+
};
|
|
322
|
+
"/cosmos.gov.v1.MsgVoteWeighted": {
|
|
323
|
+
aminoType: string;
|
|
324
|
+
toAmino: ({ proposalId, voter, options, metadata }: import("./gov/v1/tx").MsgVoteWeighted) => {
|
|
325
|
+
proposal_id: string;
|
|
326
|
+
voter: string;
|
|
327
|
+
options: {
|
|
328
|
+
option: number;
|
|
329
|
+
weight: string;
|
|
330
|
+
}[];
|
|
331
|
+
metadata: string;
|
|
332
|
+
};
|
|
333
|
+
fromAmino: ({ proposal_id, voter, options, metadata }: {
|
|
334
|
+
proposal_id: string;
|
|
335
|
+
voter: string;
|
|
336
|
+
options: {
|
|
337
|
+
option: number;
|
|
338
|
+
weight: string;
|
|
339
|
+
}[];
|
|
340
|
+
metadata: string;
|
|
341
|
+
}) => import("./gov/v1/tx").MsgVoteWeighted;
|
|
342
|
+
};
|
|
343
|
+
"/cosmos.gov.v1.MsgDeposit": {
|
|
344
|
+
aminoType: string;
|
|
345
|
+
toAmino: ({ proposalId, depositor, amount }: import("./gov/v1/tx").MsgDeposit) => {
|
|
346
|
+
proposal_id: string;
|
|
347
|
+
depositor: string;
|
|
348
|
+
amount: {
|
|
349
|
+
denom: string;
|
|
350
|
+
amount: string;
|
|
351
|
+
}[];
|
|
352
|
+
};
|
|
353
|
+
fromAmino: ({ proposal_id, depositor, amount }: {
|
|
354
|
+
proposal_id: string;
|
|
355
|
+
depositor: string;
|
|
356
|
+
amount: {
|
|
357
|
+
denom: string;
|
|
358
|
+
amount: string;
|
|
359
|
+
}[];
|
|
360
|
+
}) => import("./gov/v1/tx").MsgDeposit;
|
|
361
|
+
};
|
|
362
|
+
"/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": {
|
|
363
|
+
aminoType: string;
|
|
364
|
+
toAmino: ({ delegatorAddress, withdrawAddress }: import("./distribution/v1beta1/tx").MsgSetWithdrawAddress) => {
|
|
365
|
+
delegator_address: string;
|
|
366
|
+
withdraw_address: string;
|
|
367
|
+
};
|
|
368
|
+
fromAmino: ({ delegator_address, withdraw_address }: {
|
|
369
|
+
delegator_address: string;
|
|
370
|
+
withdraw_address: string;
|
|
371
|
+
}) => import("./distribution/v1beta1/tx").MsgSetWithdrawAddress;
|
|
372
|
+
};
|
|
373
|
+
"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": {
|
|
374
|
+
aminoType: string;
|
|
375
|
+
toAmino: ({ delegatorAddress, validatorAddress }: import("./distribution/v1beta1/tx").MsgWithdrawDelegatorReward) => {
|
|
376
|
+
delegator_address: string;
|
|
377
|
+
validator_address: string;
|
|
378
|
+
};
|
|
379
|
+
fromAmino: ({ delegator_address, validator_address }: {
|
|
380
|
+
delegator_address: string;
|
|
381
|
+
validator_address: string;
|
|
382
|
+
}) => import("./distribution/v1beta1/tx").MsgWithdrawDelegatorReward;
|
|
383
|
+
};
|
|
384
|
+
"/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": {
|
|
385
|
+
aminoType: string;
|
|
386
|
+
toAmino: ({ validatorAddress }: import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommission) => {
|
|
387
|
+
validator_address: string;
|
|
388
|
+
};
|
|
389
|
+
fromAmino: ({ validator_address }: {
|
|
390
|
+
validator_address: string;
|
|
391
|
+
}) => import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommission;
|
|
392
|
+
};
|
|
393
|
+
"/cosmos.distribution.v1beta1.MsgFundCommunityPool": {
|
|
394
|
+
aminoType: string;
|
|
395
|
+
toAmino: ({ amount, depositor }: import("./distribution/v1beta1/tx").MsgFundCommunityPool) => {
|
|
396
|
+
amount: {
|
|
397
|
+
denom: string;
|
|
398
|
+
amount: string;
|
|
399
|
+
}[];
|
|
400
|
+
depositor: string;
|
|
401
|
+
};
|
|
402
|
+
fromAmino: ({ amount, depositor }: {
|
|
403
|
+
amount: {
|
|
404
|
+
denom: string;
|
|
405
|
+
amount: string;
|
|
406
|
+
}[];
|
|
407
|
+
depositor: string;
|
|
408
|
+
}) => import("./distribution/v1beta1/tx").MsgFundCommunityPool;
|
|
409
|
+
};
|
|
410
|
+
"/cosmos.bank.v1beta1.MsgSend": {
|
|
411
|
+
aminoType: string;
|
|
412
|
+
toAmino: ({ fromAddress, toAddress, amount }: import("./bank/v1beta1/tx").MsgSend) => {
|
|
413
|
+
from_address: string;
|
|
414
|
+
to_address: string;
|
|
415
|
+
amount: {
|
|
416
|
+
denom: string;
|
|
417
|
+
amount: string;
|
|
418
|
+
}[];
|
|
419
|
+
};
|
|
420
|
+
fromAmino: ({ from_address, to_address, amount }: {
|
|
421
|
+
from_address: string;
|
|
422
|
+
to_address: string;
|
|
423
|
+
amount: {
|
|
424
|
+
denom: string;
|
|
425
|
+
amount: string;
|
|
426
|
+
}[];
|
|
427
|
+
}) => import("./bank/v1beta1/tx").MsgSend;
|
|
428
|
+
};
|
|
429
|
+
"/cosmos.bank.v1beta1.MsgMultiSend": {
|
|
430
|
+
aminoType: string;
|
|
431
|
+
toAmino: ({ inputs, outputs }: import("./bank/v1beta1/tx").MsgMultiSend) => {
|
|
432
|
+
inputs: {
|
|
433
|
+
address: string;
|
|
434
|
+
coins: {
|
|
435
|
+
denom: string;
|
|
436
|
+
amount: string;
|
|
437
|
+
}[];
|
|
438
|
+
}[];
|
|
439
|
+
outputs: {
|
|
440
|
+
address: string;
|
|
441
|
+
coins: {
|
|
442
|
+
denom: string;
|
|
443
|
+
amount: string;
|
|
444
|
+
}[];
|
|
445
|
+
}[];
|
|
446
|
+
};
|
|
447
|
+
fromAmino: ({ inputs, outputs }: {
|
|
448
|
+
inputs: {
|
|
449
|
+
address: string;
|
|
450
|
+
coins: {
|
|
451
|
+
denom: string;
|
|
452
|
+
amount: string;
|
|
453
|
+
}[];
|
|
454
|
+
}[];
|
|
455
|
+
outputs: {
|
|
456
|
+
address: string;
|
|
457
|
+
coins: {
|
|
458
|
+
denom: string;
|
|
459
|
+
amount: string;
|
|
460
|
+
}[];
|
|
461
|
+
}[];
|
|
462
|
+
}) => import("./bank/v1beta1/tx").MsgMultiSend;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
export declare const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
466
|
+
export declare const getSigningCosmosClientOptions: () => {
|
|
467
|
+
registry: Registry;
|
|
468
|
+
aminoTypes: AminoTypes;
|
|
469
|
+
};
|
|
470
|
+
export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: {
|
|
471
|
+
rpcEndpoint: string;
|
|
472
|
+
signer: OfflineSigner;
|
|
473
|
+
}) => Promise<SigningStargateClient>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
|
|
5
|
+
* It's needed for Any serialization and SDK compatibility.
|
|
6
|
+
* It must not be used in a non Tendermint key context because it doesn't implement
|
|
7
|
+
* ADR-28. Nevertheless, you will like to use ed25519 in app user level
|
|
8
|
+
* then you must create a new proto message and follow ADR-28 for Address construction.
|
|
9
|
+
*/
|
|
10
|
+
export interface PubKey {
|
|
11
|
+
key: Uint8Array;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
|
|
15
|
+
* It's needed for Any serialization and SDK compatibility.
|
|
16
|
+
* It must not be used in a non Tendermint key context because it doesn't implement
|
|
17
|
+
* ADR-28. Nevertheless, you will like to use ed25519 in app user level
|
|
18
|
+
* then you must create a new proto message and follow ADR-28 for Address construction.
|
|
19
|
+
*/
|
|
20
|
+
export interface PubKeySDKType {
|
|
21
|
+
key: Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Deprecated: PrivKey defines a ed25519 private key.
|
|
25
|
+
* NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
|
|
26
|
+
*/
|
|
27
|
+
export interface PrivKey {
|
|
28
|
+
key: Uint8Array;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Deprecated: PrivKey defines a ed25519 private key.
|
|
32
|
+
* NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
|
|
33
|
+
*/
|
|
34
|
+
export interface PrivKeySDKType {
|
|
35
|
+
key: Uint8Array;
|
|
36
|
+
}
|
|
37
|
+
export declare const PubKey: {
|
|
38
|
+
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
|
|
39
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
|
|
40
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey;
|
|
41
|
+
};
|
|
42
|
+
export declare const PrivKey: {
|
|
43
|
+
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
|
|
44
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
|
|
45
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
|
|
46
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
|
+
/** BIP44Params is used as path field in ledger item in Record. */
|
|
4
|
+
export interface BIP44Params {
|
|
5
|
+
/** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */
|
|
6
|
+
purpose: number;
|
|
7
|
+
/** coin_type is a constant that improves privacy */
|
|
8
|
+
coinType: number;
|
|
9
|
+
/** account splits the key space into independent user identities */
|
|
10
|
+
account: number;
|
|
11
|
+
/**
|
|
12
|
+
* change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
|
|
13
|
+
* chain.
|
|
14
|
+
*/
|
|
15
|
+
change: boolean;
|
|
16
|
+
/** address_index is used as child index in BIP32 derivation */
|
|
17
|
+
addressIndex: number;
|
|
18
|
+
}
|
|
19
|
+
/** BIP44Params is used as path field in ledger item in Record. */
|
|
20
|
+
export interface BIP44ParamsSDKType {
|
|
21
|
+
/** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */
|
|
22
|
+
purpose: number;
|
|
23
|
+
/** coin_type is a constant that improves privacy */
|
|
24
|
+
coin_type: number;
|
|
25
|
+
/** account splits the key space into independent user identities */
|
|
26
|
+
account: number;
|
|
27
|
+
/**
|
|
28
|
+
* change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
|
|
29
|
+
* chain.
|
|
30
|
+
*/
|
|
31
|
+
change: boolean;
|
|
32
|
+
/** address_index is used as child index in BIP32 derivation */
|
|
33
|
+
address_index: number;
|
|
34
|
+
}
|
|
35
|
+
export declare const BIP44Params: {
|
|
36
|
+
encode(message: BIP44Params, writer?: _m0.Writer): _m0.Writer;
|
|
37
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params;
|
|
38
|
+
fromPartial(object: DeepPartial<BIP44Params>): BIP44Params;
|
|
39
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
2
|
+
import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
|
+
import { DeepPartial } from "../../../../helpers";
|
|
5
|
+
/** Record is used for representing a key in the keyring. */
|
|
6
|
+
export interface Record {
|
|
7
|
+
/** name represents a name of Record */
|
|
8
|
+
name: string;
|
|
9
|
+
/** pub_key represents a public key in any format */
|
|
10
|
+
pubKey?: Any;
|
|
11
|
+
/** local stores the public information about a locally stored key */
|
|
12
|
+
local?: Record_Local;
|
|
13
|
+
/** ledger stores the public information about a Ledger key */
|
|
14
|
+
ledger?: Record_Ledger;
|
|
15
|
+
/** Multi does not store any information. */
|
|
16
|
+
multi?: Record_Multi;
|
|
17
|
+
/** Offline does not store any information. */
|
|
18
|
+
offline?: Record_Offline;
|
|
19
|
+
}
|
|
20
|
+
/** Record is used for representing a key in the keyring. */
|
|
21
|
+
export interface RecordSDKType {
|
|
22
|
+
/** name represents a name of Record */
|
|
23
|
+
name: string;
|
|
24
|
+
/** pub_key represents a public key in any format */
|
|
25
|
+
pub_key?: AnySDKType;
|
|
26
|
+
/** local stores the public information about a locally stored key */
|
|
27
|
+
local?: Record_LocalSDKType;
|
|
28
|
+
/** ledger stores the public information about a Ledger key */
|
|
29
|
+
ledger?: Record_LedgerSDKType;
|
|
30
|
+
/** Multi does not store any information. */
|
|
31
|
+
multi?: Record_MultiSDKType;
|
|
32
|
+
/** Offline does not store any information. */
|
|
33
|
+
offline?: Record_OfflineSDKType;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Item is a keyring item stored in a keyring backend.
|
|
37
|
+
* Local item
|
|
38
|
+
*/
|
|
39
|
+
export interface Record_Local {
|
|
40
|
+
privKey?: Any;
|
|
41
|
+
privKeyType: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Item is a keyring item stored in a keyring backend.
|
|
45
|
+
* Local item
|
|
46
|
+
*/
|
|
47
|
+
export interface Record_LocalSDKType {
|
|
48
|
+
priv_key?: AnySDKType;
|
|
49
|
+
priv_key_type: string;
|
|
50
|
+
}
|
|
51
|
+
/** Ledger item */
|
|
52
|
+
export interface Record_Ledger {
|
|
53
|
+
path?: BIP44Params;
|
|
54
|
+
}
|
|
55
|
+
/** Ledger item */
|
|
56
|
+
export interface Record_LedgerSDKType {
|
|
57
|
+
path?: BIP44ParamsSDKType;
|
|
58
|
+
}
|
|
59
|
+
/** Multi item */
|
|
60
|
+
export interface Record_Multi {
|
|
61
|
+
}
|
|
62
|
+
/** Multi item */
|
|
63
|
+
export interface Record_MultiSDKType {
|
|
64
|
+
}
|
|
65
|
+
/** Offline item */
|
|
66
|
+
export interface Record_Offline {
|
|
67
|
+
}
|
|
68
|
+
/** Offline item */
|
|
69
|
+
export interface Record_OfflineSDKType {
|
|
70
|
+
}
|
|
71
|
+
export declare const Record: {
|
|
72
|
+
encode(message: Record, writer?: _m0.Writer): _m0.Writer;
|
|
73
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record;
|
|
74
|
+
fromPartial(object: DeepPartial<Record>): Record;
|
|
75
|
+
};
|
|
76
|
+
export declare const Record_Local: {
|
|
77
|
+
encode(message: Record_Local, writer?: _m0.Writer): _m0.Writer;
|
|
78
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local;
|
|
79
|
+
fromPartial(object: DeepPartial<Record_Local>): Record_Local;
|
|
80
|
+
};
|
|
81
|
+
export declare const Record_Ledger: {
|
|
82
|
+
encode(message: Record_Ledger, writer?: _m0.Writer): _m0.Writer;
|
|
83
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger;
|
|
84
|
+
fromPartial(object: DeepPartial<Record_Ledger>): Record_Ledger;
|
|
85
|
+
};
|
|
86
|
+
export declare const Record_Multi: {
|
|
87
|
+
encode(_: Record_Multi, writer?: _m0.Writer): _m0.Writer;
|
|
88
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi;
|
|
89
|
+
fromPartial(_: DeepPartial<Record_Multi>): Record_Multi;
|
|
90
|
+
};
|
|
91
|
+
export declare const Record_Offline: {
|
|
92
|
+
encode(_: Record_Offline, writer?: _m0.Writer): _m0.Writer;
|
|
93
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline;
|
|
94
|
+
fromPartial(_: DeepPartial<Record_Offline>): Record_Offline;
|
|
95
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* LegacyAminoPubKey specifies a public key type
|
|
6
|
+
* which nests multiple public keys and a threshold,
|
|
7
|
+
* it uses legacy amino address rules.
|
|
8
|
+
*/
|
|
9
|
+
export interface LegacyAminoPubKey {
|
|
10
|
+
threshold: number;
|
|
11
|
+
publicKeys: Any[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* LegacyAminoPubKey specifies a public key type
|
|
15
|
+
* which nests multiple public keys and a threshold,
|
|
16
|
+
* it uses legacy amino address rules.
|
|
17
|
+
*/
|
|
18
|
+
export interface LegacyAminoPubKeySDKType {
|
|
19
|
+
threshold: number;
|
|
20
|
+
public_keys: AnySDKType[];
|
|
21
|
+
}
|
|
22
|
+
export declare const LegacyAminoPubKey: {
|
|
23
|
+
encode(message: LegacyAminoPubKey, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey;
|
|
25
|
+
fromPartial(object: DeepPartial<LegacyAminoPubKey>): LegacyAminoPubKey;
|
|
26
|
+
};
|