import { Counterparty, type CounterpartySDKType, Version, type VersionSDKType } from './connection.js'; import { Any, type AnySDKType } from '../../../../google/protobuf/any.js'; import { Height, type HeightSDKType, Params, type ParamsSDKType } from '../../client/v1/client.js'; import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. */ export interface MsgConnectionOpenInit { clientId: string; counterparty: Counterparty; version?: Version; delayPeriod: bigint; signer: string; } export interface MsgConnectionOpenInitProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenInit'; value: Uint8Array; } /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. */ export interface MsgConnectionOpenInitSDKType { client_id: string; counterparty: CounterpartySDKType; version?: VersionSDKType; delay_period: bigint; signer: string; } /** * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response * type. */ export interface MsgConnectionOpenInitResponse { } export interface MsgConnectionOpenInitResponseProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenInitResponse'; value: Uint8Array; } /** * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response * type. */ export interface MsgConnectionOpenInitResponseSDKType { } /** * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a * connection on Chain B. */ export interface MsgConnectionOpenTry { clientId: string; /** Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC. */ /** @deprecated */ previousConnectionId: string; /** @deprecated */ clientState?: Any; counterparty: Counterparty; delayPeriod: bigint; counterpartyVersions: Version[]; proofHeight: Height; /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` */ proofInit: Uint8Array; /** proof of client state included in message */ /** @deprecated */ proofClient: Uint8Array; /** proof of client consensus state */ /** @deprecated */ proofConsensus: Uint8Array; /** @deprecated */ consensusHeight: Height; signer: string; /** optional proof data for host state machines that are unable to introspect their own consensus state */ /** @deprecated */ hostConsensusStateProof: Uint8Array; } export interface MsgConnectionOpenTryProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenTry'; value: Uint8Array; } /** * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a * connection on Chain B. */ export interface MsgConnectionOpenTrySDKType { client_id: string; /** @deprecated */ previous_connection_id: string; /** @deprecated */ client_state?: AnySDKType; counterparty: CounterpartySDKType; delay_period: bigint; counterparty_versions: VersionSDKType[]; proof_height: HeightSDKType; proof_init: Uint8Array; /** @deprecated */ proof_client: Uint8Array; /** @deprecated */ proof_consensus: Uint8Array; /** @deprecated */ consensus_height: HeightSDKType; signer: string; /** @deprecated */ host_consensus_state_proof: Uint8Array; } /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ export interface MsgConnectionOpenTryResponse { } export interface MsgConnectionOpenTryResponseProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenTryResponse'; value: Uint8Array; } /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ export interface MsgConnectionOpenTryResponseSDKType { } /** * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to * acknowledge the change of connection state to TRYOPEN on Chain B. */ export interface MsgConnectionOpenAck { connectionId: string; counterpartyConnectionId: string; version?: Version; /** @deprecated */ clientState?: Any; proofHeight: Height; /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` */ proofTry: Uint8Array; /** proof of client state included in message */ /** @deprecated */ proofClient: Uint8Array; /** proof of client consensus state */ /** @deprecated */ proofConsensus: Uint8Array; /** @deprecated */ consensusHeight: Height; signer: string; /** optional proof data for host state machines that are unable to introspect their own consensus state */ /** @deprecated */ hostConsensusStateProof: Uint8Array; } export interface MsgConnectionOpenAckProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenAck'; value: Uint8Array; } /** * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to * acknowledge the change of connection state to TRYOPEN on Chain B. */ export interface MsgConnectionOpenAckSDKType { connection_id: string; counterparty_connection_id: string; version?: VersionSDKType; /** @deprecated */ client_state?: AnySDKType; proof_height: HeightSDKType; proof_try: Uint8Array; /** @deprecated */ proof_client: Uint8Array; /** @deprecated */ proof_consensus: Uint8Array; /** @deprecated */ consensus_height: HeightSDKType; signer: string; /** @deprecated */ host_consensus_state_proof: Uint8Array; } /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ export interface MsgConnectionOpenAckResponse { } export interface MsgConnectionOpenAckResponseProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenAckResponse'; value: Uint8Array; } /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ export interface MsgConnectionOpenAckResponseSDKType { } /** * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of connection state to OPEN on Chain A. */ export interface MsgConnectionOpenConfirm { connectionId: string; /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ proofAck: Uint8Array; proofHeight: Height; signer: string; } export interface MsgConnectionOpenConfirmProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenConfirm'; value: Uint8Array; } /** * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of connection state to OPEN on Chain A. */ export interface MsgConnectionOpenConfirmSDKType { connection_id: string; proof_ack: Uint8Array; proof_height: HeightSDKType; signer: string; } /** * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm * response type. */ export interface MsgConnectionOpenConfirmResponse { } export interface MsgConnectionOpenConfirmResponseProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse'; value: Uint8Array; } /** * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm * response type. */ export interface MsgConnectionOpenConfirmResponseSDKType { } /** MsgUpdateParams defines the sdk.Msg type to update the connection parameters. */ export interface MsgUpdateParams { /** signer address */ signer: string; /** * params defines the connection parameters to update. * * NOTE: All parameters must be supplied. */ params: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgUpdateParams'; value: Uint8Array; } /** MsgUpdateParams defines the sdk.Msg type to update the connection parameters. */ export interface MsgUpdateParamsSDKType { signer: string; params: ParamsSDKType; } /** MsgUpdateParamsResponse defines the MsgUpdateParams response type. */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: '/ibc.core.connection.v1.MsgUpdateParamsResponse'; value: Uint8Array; } /** MsgUpdateParamsResponse defines the MsgUpdateParams response type. */ export interface MsgUpdateParamsResponseSDKType { } export declare const MsgConnectionOpenInit: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit"; encode(message: MsgConnectionOpenInit, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenInit; fromJSON(object: any): MsgConnectionOpenInit; toJSON(message: MsgConnectionOpenInit): JsonSafe; fromPartial(object: Partial): MsgConnectionOpenInit; fromProtoMsg(message: MsgConnectionOpenInitProtoMsg): MsgConnectionOpenInit; toProto(message: MsgConnectionOpenInit): Uint8Array; toProtoMsg(message: MsgConnectionOpenInit): MsgConnectionOpenInitProtoMsg; }; export declare const MsgConnectionOpenInitResponse: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInitResponse"; encode(_: MsgConnectionOpenInitResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenInitResponse; fromJSON(_: any): MsgConnectionOpenInitResponse; toJSON(_: MsgConnectionOpenInitResponse): JsonSafe; fromPartial(_: Partial): MsgConnectionOpenInitResponse; fromProtoMsg(message: MsgConnectionOpenInitResponseProtoMsg): MsgConnectionOpenInitResponse; toProto(message: MsgConnectionOpenInitResponse): Uint8Array; toProtoMsg(message: MsgConnectionOpenInitResponse): MsgConnectionOpenInitResponseProtoMsg; }; export declare const MsgConnectionOpenTry: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry"; encode(message: MsgConnectionOpenTry, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenTry; fromJSON(object: any): MsgConnectionOpenTry; toJSON(message: MsgConnectionOpenTry): JsonSafe; fromPartial(object: Partial): MsgConnectionOpenTry; fromProtoMsg(message: MsgConnectionOpenTryProtoMsg): MsgConnectionOpenTry; toProto(message: MsgConnectionOpenTry): Uint8Array; toProtoMsg(message: MsgConnectionOpenTry): MsgConnectionOpenTryProtoMsg; }; export declare const MsgConnectionOpenTryResponse: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTryResponse"; encode(_: MsgConnectionOpenTryResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenTryResponse; fromJSON(_: any): MsgConnectionOpenTryResponse; toJSON(_: MsgConnectionOpenTryResponse): JsonSafe; fromPartial(_: Partial): MsgConnectionOpenTryResponse; fromProtoMsg(message: MsgConnectionOpenTryResponseProtoMsg): MsgConnectionOpenTryResponse; toProto(message: MsgConnectionOpenTryResponse): Uint8Array; toProtoMsg(message: MsgConnectionOpenTryResponse): MsgConnectionOpenTryResponseProtoMsg; }; export declare const MsgConnectionOpenAck: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck"; encode(message: MsgConnectionOpenAck, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenAck; fromJSON(object: any): MsgConnectionOpenAck; toJSON(message: MsgConnectionOpenAck): JsonSafe; fromPartial(object: Partial): MsgConnectionOpenAck; fromProtoMsg(message: MsgConnectionOpenAckProtoMsg): MsgConnectionOpenAck; toProto(message: MsgConnectionOpenAck): Uint8Array; toProtoMsg(message: MsgConnectionOpenAck): MsgConnectionOpenAckProtoMsg; }; export declare const MsgConnectionOpenAckResponse: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAckResponse"; encode(_: MsgConnectionOpenAckResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenAckResponse; fromJSON(_: any): MsgConnectionOpenAckResponse; toJSON(_: MsgConnectionOpenAckResponse): JsonSafe; fromPartial(_: Partial): MsgConnectionOpenAckResponse; fromProtoMsg(message: MsgConnectionOpenAckResponseProtoMsg): MsgConnectionOpenAckResponse; toProto(message: MsgConnectionOpenAckResponse): Uint8Array; toProtoMsg(message: MsgConnectionOpenAckResponse): MsgConnectionOpenAckResponseProtoMsg; }; export declare const MsgConnectionOpenConfirm: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm"; encode(message: MsgConnectionOpenConfirm, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenConfirm; fromJSON(object: any): MsgConnectionOpenConfirm; toJSON(message: MsgConnectionOpenConfirm): JsonSafe; fromPartial(object: Partial): MsgConnectionOpenConfirm; fromProtoMsg(message: MsgConnectionOpenConfirmProtoMsg): MsgConnectionOpenConfirm; toProto(message: MsgConnectionOpenConfirm): Uint8Array; toProtoMsg(message: MsgConnectionOpenConfirm): MsgConnectionOpenConfirmProtoMsg; }; export declare const MsgConnectionOpenConfirmResponse: { typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse"; encode(_: MsgConnectionOpenConfirmResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse; fromJSON(_: any): MsgConnectionOpenConfirmResponse; toJSON(_: MsgConnectionOpenConfirmResponse): JsonSafe; fromPartial(_: Partial): MsgConnectionOpenConfirmResponse; fromProtoMsg(message: MsgConnectionOpenConfirmResponseProtoMsg): MsgConnectionOpenConfirmResponse; toProto(message: MsgConnectionOpenConfirmResponse): Uint8Array; toProtoMsg(message: MsgConnectionOpenConfirmResponse): MsgConnectionOpenConfirmResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: "/ibc.core.connection.v1.MsgUpdateParams"; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial(object: Partial): MsgUpdateParams; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: "/ibc.core.connection.v1.MsgUpdateParamsResponse"; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateParamsResponse; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; //# sourceMappingURL=tx.d.ts.map