juno-network 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- 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 +25545 -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.svc.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 +5227 -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 +8939 -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 +21744 -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 +723 -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 +19673 -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,103 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { AminoHeight } from "../../../../helpers";
|
3
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx";
|
4
|
+
export interface AminoMsgConnectionOpenInit extends AminoMsg {
|
5
|
+
type: "cosmos-sdk/MsgConnectionOpenInit";
|
6
|
+
value: {
|
7
|
+
client_id: string;
|
8
|
+
counterparty: {
|
9
|
+
client_id: string;
|
10
|
+
connection_id: string;
|
11
|
+
prefix: {
|
12
|
+
key_prefix: Uint8Array;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
version: {
|
16
|
+
identifier: string;
|
17
|
+
features: string[];
|
18
|
+
};
|
19
|
+
delay_period: string;
|
20
|
+
signer: string;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export interface AminoMsgConnectionOpenTry extends AminoMsg {
|
24
|
+
type: "cosmos-sdk/MsgConnectionOpenTry";
|
25
|
+
value: {
|
26
|
+
client_id: string;
|
27
|
+
previous_connection_id: string;
|
28
|
+
client_state: {
|
29
|
+
type_url: string;
|
30
|
+
value: Uint8Array;
|
31
|
+
};
|
32
|
+
counterparty: {
|
33
|
+
client_id: string;
|
34
|
+
connection_id: string;
|
35
|
+
prefix: {
|
36
|
+
key_prefix: Uint8Array;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
delay_period: string;
|
40
|
+
counterparty_versions: {
|
41
|
+
identifier: string;
|
42
|
+
features: string[];
|
43
|
+
}[];
|
44
|
+
proof_height: AminoHeight;
|
45
|
+
proof_init: Uint8Array;
|
46
|
+
proof_client: Uint8Array;
|
47
|
+
proof_consensus: Uint8Array;
|
48
|
+
consensus_height: AminoHeight;
|
49
|
+
signer: string;
|
50
|
+
};
|
51
|
+
}
|
52
|
+
export interface AminoMsgConnectionOpenAck extends AminoMsg {
|
53
|
+
type: "cosmos-sdk/MsgConnectionOpenAck";
|
54
|
+
value: {
|
55
|
+
connection_id: string;
|
56
|
+
counterparty_connection_id: string;
|
57
|
+
version: {
|
58
|
+
identifier: string;
|
59
|
+
features: string[];
|
60
|
+
};
|
61
|
+
client_state: {
|
62
|
+
type_url: string;
|
63
|
+
value: Uint8Array;
|
64
|
+
};
|
65
|
+
proof_height: AminoHeight;
|
66
|
+
proof_try: Uint8Array;
|
67
|
+
proof_client: Uint8Array;
|
68
|
+
proof_consensus: Uint8Array;
|
69
|
+
consensus_height: AminoHeight;
|
70
|
+
signer: string;
|
71
|
+
};
|
72
|
+
}
|
73
|
+
export interface AminoMsgConnectionOpenConfirm extends AminoMsg {
|
74
|
+
type: "cosmos-sdk/MsgConnectionOpenConfirm";
|
75
|
+
value: {
|
76
|
+
connection_id: string;
|
77
|
+
proof_ack: Uint8Array;
|
78
|
+
proof_height: AminoHeight;
|
79
|
+
signer: string;
|
80
|
+
};
|
81
|
+
}
|
82
|
+
export declare const AminoConverter: {
|
83
|
+
"/ibc.core.connection.v1.MsgConnectionOpenInit": {
|
84
|
+
aminoType: string;
|
85
|
+
toAmino: ({ clientId, counterparty, version, delayPeriod, signer }: MsgConnectionOpenInit) => AminoMsgConnectionOpenInit["value"];
|
86
|
+
fromAmino: ({ client_id, counterparty, version, delay_period, signer }: AminoMsgConnectionOpenInit["value"]) => MsgConnectionOpenInit;
|
87
|
+
};
|
88
|
+
"/ibc.core.connection.v1.MsgConnectionOpenTry": {
|
89
|
+
aminoType: string;
|
90
|
+
toAmino: ({ clientId, previousConnectionId, clientState, counterparty, delayPeriod, counterpartyVersions, proofHeight, proofInit, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenTry) => AminoMsgConnectionOpenTry["value"];
|
91
|
+
fromAmino: ({ client_id, previous_connection_id, client_state, counterparty, delay_period, counterparty_versions, proof_height, proof_init, proof_client, proof_consensus, consensus_height, signer }: AminoMsgConnectionOpenTry["value"]) => MsgConnectionOpenTry;
|
92
|
+
};
|
93
|
+
"/ibc.core.connection.v1.MsgConnectionOpenAck": {
|
94
|
+
aminoType: string;
|
95
|
+
toAmino: ({ connectionId, counterpartyConnectionId, version, clientState, proofHeight, proofTry, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenAck) => AminoMsgConnectionOpenAck["value"];
|
96
|
+
fromAmino: ({ connection_id, counterparty_connection_id, version, client_state, proof_height, proof_try, proof_client, proof_consensus, consensus_height, signer }: AminoMsgConnectionOpenAck["value"]) => MsgConnectionOpenAck;
|
97
|
+
};
|
98
|
+
"/ibc.core.connection.v1.MsgConnectionOpenConfirm": {
|
99
|
+
aminoType: string;
|
100
|
+
toAmino: ({ connectionId, proofAck, proofHeight, signer }: MsgConnectionOpenConfirm) => AminoMsgConnectionOpenConfirm["value"];
|
101
|
+
fromAmino: ({ connection_id, proof_ack, proof_height, signer }: AminoMsgConnectionOpenConfirm["value"]) => MsgConnectionOpenConfirm;
|
102
|
+
};
|
103
|
+
};
|
@@ -0,0 +1,225 @@
|
|
1
|
+
import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection";
|
2
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
3
|
+
import { Height, HeightSDKType } from "../../client/v1/client";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
|
+
import { Long, DeepPartial } from "../../../../helpers";
|
6
|
+
/**
|
7
|
+
* MsgConnectionOpenInit defines the msg sent by an account on Chain A to
|
8
|
+
* initialize a connection with Chain B.
|
9
|
+
*/
|
10
|
+
export interface MsgConnectionOpenInit {
|
11
|
+
clientId: string;
|
12
|
+
counterparty?: Counterparty;
|
13
|
+
version?: Version;
|
14
|
+
delayPeriod: Long;
|
15
|
+
signer: string;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* MsgConnectionOpenInit defines the msg sent by an account on Chain A to
|
19
|
+
* initialize a connection with Chain B.
|
20
|
+
*/
|
21
|
+
export interface MsgConnectionOpenInitSDKType {
|
22
|
+
client_id: string;
|
23
|
+
counterparty?: CounterpartySDKType;
|
24
|
+
version?: VersionSDKType;
|
25
|
+
delay_period: Long;
|
26
|
+
signer: string;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
|
30
|
+
* type.
|
31
|
+
*/
|
32
|
+
export interface MsgConnectionOpenInitResponse {
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
|
36
|
+
* type.
|
37
|
+
*/
|
38
|
+
export interface MsgConnectionOpenInitResponseSDKType {
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
|
42
|
+
* connection on Chain B.
|
43
|
+
*/
|
44
|
+
export interface MsgConnectionOpenTry {
|
45
|
+
clientId: string;
|
46
|
+
/**
|
47
|
+
* in the case of crossing hello's, when both chains call OpenInit, we need
|
48
|
+
* the connection identifier of the previous connection in state INIT
|
49
|
+
*/
|
50
|
+
previousConnectionId: string;
|
51
|
+
clientState?: Any;
|
52
|
+
counterparty?: Counterparty;
|
53
|
+
delayPeriod: Long;
|
54
|
+
counterpartyVersions: Version[];
|
55
|
+
proofHeight?: Height;
|
56
|
+
/**
|
57
|
+
* proof of the initialization the connection on Chain A: `UNITIALIZED ->
|
58
|
+
* INIT`
|
59
|
+
*/
|
60
|
+
proofInit: Uint8Array;
|
61
|
+
/** proof of client state included in message */
|
62
|
+
proofClient: Uint8Array;
|
63
|
+
/** proof of client consensus state */
|
64
|
+
proofConsensus: Uint8Array;
|
65
|
+
consensusHeight?: Height;
|
66
|
+
signer: string;
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
|
70
|
+
* connection on Chain B.
|
71
|
+
*/
|
72
|
+
export interface MsgConnectionOpenTrySDKType {
|
73
|
+
client_id: string;
|
74
|
+
/**
|
75
|
+
* in the case of crossing hello's, when both chains call OpenInit, we need
|
76
|
+
* the connection identifier of the previous connection in state INIT
|
77
|
+
*/
|
78
|
+
previous_connection_id: string;
|
79
|
+
client_state?: AnySDKType;
|
80
|
+
counterparty?: CounterpartySDKType;
|
81
|
+
delay_period: Long;
|
82
|
+
counterparty_versions: VersionSDKType[];
|
83
|
+
proof_height?: HeightSDKType;
|
84
|
+
/**
|
85
|
+
* proof of the initialization the connection on Chain A: `UNITIALIZED ->
|
86
|
+
* INIT`
|
87
|
+
*/
|
88
|
+
proof_init: Uint8Array;
|
89
|
+
/** proof of client state included in message */
|
90
|
+
proof_client: Uint8Array;
|
91
|
+
/** proof of client consensus state */
|
92
|
+
proof_consensus: Uint8Array;
|
93
|
+
consensus_height?: HeightSDKType;
|
94
|
+
signer: string;
|
95
|
+
}
|
96
|
+
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
97
|
+
export interface MsgConnectionOpenTryResponse {
|
98
|
+
}
|
99
|
+
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
100
|
+
export interface MsgConnectionOpenTryResponseSDKType {
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
|
104
|
+
* acknowledge the change of connection state to TRYOPEN on Chain B.
|
105
|
+
*/
|
106
|
+
export interface MsgConnectionOpenAck {
|
107
|
+
connectionId: string;
|
108
|
+
counterpartyConnectionId: string;
|
109
|
+
version?: Version;
|
110
|
+
clientState?: Any;
|
111
|
+
proofHeight?: Height;
|
112
|
+
/**
|
113
|
+
* proof of the initialization the connection on Chain B: `UNITIALIZED ->
|
114
|
+
* TRYOPEN`
|
115
|
+
*/
|
116
|
+
proofTry: Uint8Array;
|
117
|
+
/** proof of client state included in message */
|
118
|
+
proofClient: Uint8Array;
|
119
|
+
/** proof of client consensus state */
|
120
|
+
proofConsensus: Uint8Array;
|
121
|
+
consensusHeight?: Height;
|
122
|
+
signer: string;
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
|
126
|
+
* acknowledge the change of connection state to TRYOPEN on Chain B.
|
127
|
+
*/
|
128
|
+
export interface MsgConnectionOpenAckSDKType {
|
129
|
+
connection_id: string;
|
130
|
+
counterparty_connection_id: string;
|
131
|
+
version?: VersionSDKType;
|
132
|
+
client_state?: AnySDKType;
|
133
|
+
proof_height?: HeightSDKType;
|
134
|
+
/**
|
135
|
+
* proof of the initialization the connection on Chain B: `UNITIALIZED ->
|
136
|
+
* TRYOPEN`
|
137
|
+
*/
|
138
|
+
proof_try: Uint8Array;
|
139
|
+
/** proof of client state included in message */
|
140
|
+
proof_client: Uint8Array;
|
141
|
+
/** proof of client consensus state */
|
142
|
+
proof_consensus: Uint8Array;
|
143
|
+
consensus_height?: HeightSDKType;
|
144
|
+
signer: string;
|
145
|
+
}
|
146
|
+
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
147
|
+
export interface MsgConnectionOpenAckResponse {
|
148
|
+
}
|
149
|
+
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
150
|
+
export interface MsgConnectionOpenAckResponseSDKType {
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
|
154
|
+
* acknowledge the change of connection state to OPEN on Chain A.
|
155
|
+
*/
|
156
|
+
export interface MsgConnectionOpenConfirm {
|
157
|
+
connectionId: string;
|
158
|
+
/** proof for the change of the connection state on Chain A: `INIT -> OPEN` */
|
159
|
+
proofAck: Uint8Array;
|
160
|
+
proofHeight?: Height;
|
161
|
+
signer: string;
|
162
|
+
}
|
163
|
+
/**
|
164
|
+
* MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
|
165
|
+
* acknowledge the change of connection state to OPEN on Chain A.
|
166
|
+
*/
|
167
|
+
export interface MsgConnectionOpenConfirmSDKType {
|
168
|
+
connection_id: string;
|
169
|
+
/** proof for the change of the connection state on Chain A: `INIT -> OPEN` */
|
170
|
+
proof_ack: Uint8Array;
|
171
|
+
proof_height?: HeightSDKType;
|
172
|
+
signer: string;
|
173
|
+
}
|
174
|
+
/**
|
175
|
+
* MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
|
176
|
+
* response type.
|
177
|
+
*/
|
178
|
+
export interface MsgConnectionOpenConfirmResponse {
|
179
|
+
}
|
180
|
+
/**
|
181
|
+
* MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
|
182
|
+
* response type.
|
183
|
+
*/
|
184
|
+
export interface MsgConnectionOpenConfirmResponseSDKType {
|
185
|
+
}
|
186
|
+
export declare const MsgConnectionOpenInit: {
|
187
|
+
encode(message: MsgConnectionOpenInit, writer?: _m0.Writer): _m0.Writer;
|
188
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit;
|
189
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenInit>): MsgConnectionOpenInit;
|
190
|
+
};
|
191
|
+
export declare const MsgConnectionOpenInitResponse: {
|
192
|
+
encode(_: MsgConnectionOpenInitResponse, writer?: _m0.Writer): _m0.Writer;
|
193
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse;
|
194
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenInitResponse>): MsgConnectionOpenInitResponse;
|
195
|
+
};
|
196
|
+
export declare const MsgConnectionOpenTry: {
|
197
|
+
encode(message: MsgConnectionOpenTry, writer?: _m0.Writer): _m0.Writer;
|
198
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry;
|
199
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenTry>): MsgConnectionOpenTry;
|
200
|
+
};
|
201
|
+
export declare const MsgConnectionOpenTryResponse: {
|
202
|
+
encode(_: MsgConnectionOpenTryResponse, writer?: _m0.Writer): _m0.Writer;
|
203
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse;
|
204
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenTryResponse>): MsgConnectionOpenTryResponse;
|
205
|
+
};
|
206
|
+
export declare const MsgConnectionOpenAck: {
|
207
|
+
encode(message: MsgConnectionOpenAck, writer?: _m0.Writer): _m0.Writer;
|
208
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck;
|
209
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenAck>): MsgConnectionOpenAck;
|
210
|
+
};
|
211
|
+
export declare const MsgConnectionOpenAckResponse: {
|
212
|
+
encode(_: MsgConnectionOpenAckResponse, writer?: _m0.Writer): _m0.Writer;
|
213
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse;
|
214
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenAckResponse>): MsgConnectionOpenAckResponse;
|
215
|
+
};
|
216
|
+
export declare const MsgConnectionOpenConfirm: {
|
217
|
+
encode(message: MsgConnectionOpenConfirm, writer?: _m0.Writer): _m0.Writer;
|
218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm;
|
219
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenConfirm>): MsgConnectionOpenConfirm;
|
220
|
+
};
|
221
|
+
export declare const MsgConnectionOpenConfirmResponse: {
|
222
|
+
encode(_: MsgConnectionOpenConfirmResponse, writer?: _m0.Writer): _m0.Writer;
|
223
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse;
|
224
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenConfirmResponse>): MsgConnectionOpenConfirmResponse;
|
225
|
+
};
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
2
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } 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
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
8
|
+
typeUrl: string;
|
9
|
+
value: Uint8Array;
|
10
|
+
};
|
11
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
12
|
+
typeUrl: string;
|
13
|
+
value: Uint8Array;
|
14
|
+
};
|
15
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
16
|
+
typeUrl: string;
|
17
|
+
value: Uint8Array;
|
18
|
+
};
|
19
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
20
|
+
typeUrl: string;
|
21
|
+
value: Uint8Array;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
withTypeUrl: {
|
25
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
26
|
+
typeUrl: string;
|
27
|
+
value: MsgConnectionOpenInit;
|
28
|
+
};
|
29
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
30
|
+
typeUrl: string;
|
31
|
+
value: MsgConnectionOpenTry;
|
32
|
+
};
|
33
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
34
|
+
typeUrl: string;
|
35
|
+
value: MsgConnectionOpenAck;
|
36
|
+
};
|
37
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
38
|
+
typeUrl: string;
|
39
|
+
value: MsgConnectionOpenConfirm;
|
40
|
+
};
|
41
|
+
};
|
42
|
+
fromPartial: {
|
43
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
44
|
+
typeUrl: string;
|
45
|
+
value: MsgConnectionOpenInit;
|
46
|
+
};
|
47
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
48
|
+
typeUrl: string;
|
49
|
+
value: MsgConnectionOpenTry;
|
50
|
+
};
|
51
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
52
|
+
typeUrl: string;
|
53
|
+
value: MsgConnectionOpenAck;
|
54
|
+
};
|
55
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
56
|
+
typeUrl: string;
|
57
|
+
value: MsgConnectionOpenConfirm;
|
58
|
+
};
|
59
|
+
};
|
60
|
+
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { Rpc } from "../../../../helpers";
|
2
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx";
|
3
|
+
/** Msg defines the ibc/connection Msg service. */
|
4
|
+
export interface Msg {
|
5
|
+
/** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */
|
6
|
+
connectionOpenInit(request: MsgConnectionOpenInit): Promise<MsgConnectionOpenInitResponse>;
|
7
|
+
/** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */
|
8
|
+
connectionOpenTry(request: MsgConnectionOpenTry): Promise<MsgConnectionOpenTryResponse>;
|
9
|
+
/** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */
|
10
|
+
connectionOpenAck(request: MsgConnectionOpenAck): Promise<MsgConnectionOpenAckResponse>;
|
11
|
+
/**
|
12
|
+
* ConnectionOpenConfirm defines a rpc handler method for
|
13
|
+
* MsgConnectionOpenConfirm.
|
14
|
+
*/
|
15
|
+
connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise<MsgConnectionOpenConfirmResponse>;
|
16
|
+
}
|
17
|
+
export declare class MsgClientImpl implements Msg {
|
18
|
+
private readonly rpc;
|
19
|
+
constructor(rpc: Rpc);
|
20
|
+
connectionOpenInit(request: MsgConnectionOpenInit): Promise<MsgConnectionOpenInitResponse>;
|
21
|
+
connectionOpenTry(request: MsgConnectionOpenTry): Promise<MsgConnectionOpenTryResponse>;
|
22
|
+
connectionOpenAck(request: MsgConnectionOpenAck): Promise<MsgConnectionOpenAckResponse>;
|
23
|
+
connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise<MsgConnectionOpenConfirmResponse>;
|
24
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export declare const createLCDClient: ({ restEndpoint }: {
|
2
|
+
restEndpoint: string;
|
3
|
+
}) => Promise<{
|
4
|
+
cosmos: {
|
5
|
+
authz: {
|
6
|
+
v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient;
|
7
|
+
};
|
8
|
+
bank: {
|
9
|
+
v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient;
|
10
|
+
};
|
11
|
+
distribution: {
|
12
|
+
v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient;
|
13
|
+
};
|
14
|
+
gov: {
|
15
|
+
v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient;
|
16
|
+
v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient;
|
17
|
+
};
|
18
|
+
staking: {
|
19
|
+
v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient;
|
20
|
+
};
|
21
|
+
tx: {
|
22
|
+
v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient;
|
23
|
+
};
|
24
|
+
upgrade: {
|
25
|
+
v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
ibc: {
|
29
|
+
applications: {
|
30
|
+
transfer: {
|
31
|
+
v1: import("./applications/transfer/v1/query.lcd").LCDQueryClient;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
core: {
|
35
|
+
channel: {
|
36
|
+
v1: import("./core/channel/v1/query.lcd").LCDQueryClient;
|
37
|
+
};
|
38
|
+
client: {
|
39
|
+
v1: import("./core/client/v1/query.lcd").LCDQueryClient;
|
40
|
+
};
|
41
|
+
connection: {
|
42
|
+
v1: import("./core/connection/v1/query.lcd").LCDQueryClient;
|
43
|
+
};
|
44
|
+
};
|
45
|
+
};
|
46
|
+
}>;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { Height, HeightSDKType } from "../../../core/client/v1/client";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "../../../../helpers";
|
4
|
+
/**
|
5
|
+
* ClientState defines a loopback (localhost) client. It requires (read-only)
|
6
|
+
* access to keys outside the client prefix.
|
7
|
+
*/
|
8
|
+
export interface ClientState {
|
9
|
+
/** self chain ID */
|
10
|
+
chainId: string;
|
11
|
+
/** self latest block height */
|
12
|
+
height?: Height;
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* ClientState defines a loopback (localhost) client. It requires (read-only)
|
16
|
+
* access to keys outside the client prefix.
|
17
|
+
*/
|
18
|
+
export interface ClientStateSDKType {
|
19
|
+
/** self chain ID */
|
20
|
+
chain_id: string;
|
21
|
+
/** self latest block height */
|
22
|
+
height?: HeightSDKType;
|
23
|
+
}
|
24
|
+
export declare const ClientState: {
|
25
|
+
encode(message: ClientState, writer?: _m0.Writer): _m0.Writer;
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientState;
|
27
|
+
fromPartial(object: DeepPartial<ClientState>): ClientState;
|
28
|
+
};
|