import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3 } from "@bufbuild/protobuf"; import { Counterparty, Params, Version } from "./connection_pb.js"; import { Height } from "../../client/v1/client_pb.js"; /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenInit */ export declare class MsgConnectionOpenInit extends Message { /** * @generated from field: string client_id = 1; */ clientId: string; /** * @generated from field: ibc.core.connection.v1.Counterparty counterparty = 2; */ counterparty?: Counterparty; /** * @generated from field: ibc.core.connection.v1.Version version = 3; */ version?: Version; /** * @generated from field: uint64 delay_period = 4; */ delayPeriod: bigint; /** * @generated from field: string signer = 5; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenInit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenInit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenInit; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenInit; static equals(a: MsgConnectionOpenInit | PlainMessage | undefined, b: MsgConnectionOpenInit | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response * type. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenInitResponse */ export declare class MsgConnectionOpenInitResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenInitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenInitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenInitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenInitResponse; static equals(a: MsgConnectionOpenInitResponse | PlainMessage | undefined, b: MsgConnectionOpenInitResponse | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a * connection on Chain B. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenTry */ export declare class MsgConnectionOpenTry extends Message { /** * @generated from field: string client_id = 1; */ clientId: string; /** * Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC. * * @generated from field: string previous_connection_id = 2 [deprecated = true]; * @deprecated */ previousConnectionId: string; /** * Deprecated: this field is unused. * * @generated from field: google.protobuf.Any client_state = 3 [deprecated = true]; * @deprecated */ clientState?: Any; /** * @generated from field: ibc.core.connection.v1.Counterparty counterparty = 4; */ counterparty?: Counterparty; /** * @generated from field: uint64 delay_period = 5; */ delayPeriod: bigint; /** * @generated from field: repeated ibc.core.connection.v1.Version counterparty_versions = 6; */ counterpartyVersions: Version[]; /** * @generated from field: ibc.core.client.v1.Height proof_height = 7; */ proofHeight?: Height; /** * proof of the initialization the connection on Chain A: `UNINITIALIZED -> * INIT` * * @generated from field: bytes proof_init = 8; */ proofInit: Uint8Array; /** * Deprecated: this field is unused. * * @generated from field: bytes proof_client = 9 [deprecated = true]; * @deprecated */ proofClient: Uint8Array; /** * Deprecated: this field is unused. * * @generated from field: bytes proof_consensus = 10 [deprecated = true]; * @deprecated */ proofConsensus: Uint8Array; /** * Deprecated: this field is unused. * * @generated from field: ibc.core.client.v1.Height consensus_height = 11 [deprecated = true]; * @deprecated */ consensusHeight?: Height; /** * @generated from field: string signer = 12; */ signer: string; /** * Deprecated: this field is unused. * * @generated from field: bytes host_consensus_state_proof = 13 [deprecated = true]; * @deprecated */ hostConsensusStateProof: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenTry"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenTry; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenTry; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenTry; static equals(a: MsgConnectionOpenTry | PlainMessage | undefined, b: MsgConnectionOpenTry | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenTryResponse */ export declare class MsgConnectionOpenTryResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenTryResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenTryResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenTryResponse; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenTryResponse; static equals(a: MsgConnectionOpenTryResponse | PlainMessage | undefined, b: MsgConnectionOpenTryResponse | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to * acknowledge the change of connection state to TRYOPEN on Chain B. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenAck */ export declare class MsgConnectionOpenAck extends Message { /** * @generated from field: string connection_id = 1; */ connectionId: string; /** * @generated from field: string counterparty_connection_id = 2; */ counterpartyConnectionId: string; /** * @generated from field: ibc.core.connection.v1.Version version = 3; */ version?: Version; /** * Deprecated: this field is unused. * * @generated from field: google.protobuf.Any client_state = 4 [deprecated = true]; * @deprecated */ clientState?: Any; /** * @generated from field: ibc.core.client.v1.Height proof_height = 5; */ proofHeight?: Height; /** * proof of the initialization the connection on Chain B: `UNINITIALIZED -> * TRYOPEN` * * @generated from field: bytes proof_try = 6; */ proofTry: Uint8Array; /** * Deprecated: this field is unused. * * @generated from field: bytes proof_client = 7 [deprecated = true]; * @deprecated */ proofClient: Uint8Array; /** * Deprecated: this field is unused. * * @generated from field: bytes proof_consensus = 8 [deprecated = true]; * @deprecated */ proofConsensus: Uint8Array; /** * Deprecated: this field is unused. * * @generated from field: ibc.core.client.v1.Height consensus_height = 9 [deprecated = true]; * @deprecated */ consensusHeight?: Height; /** * @generated from field: string signer = 10; */ signer: string; /** * Deprecated: this field is unused. * * @generated from field: bytes host_consensus_state_proof = 11 [deprecated = true]; * @deprecated */ hostConsensusStateProof: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenAck"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenAck; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenAck; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenAck; static equals(a: MsgConnectionOpenAck | PlainMessage | undefined, b: MsgConnectionOpenAck | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenAckResponse */ export declare class MsgConnectionOpenAckResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenAckResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenAckResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenAckResponse; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenAckResponse; static equals(a: MsgConnectionOpenAckResponse | PlainMessage | undefined, b: MsgConnectionOpenAckResponse | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of connection state to OPEN on Chain A. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenConfirm */ export declare class MsgConnectionOpenConfirm extends Message { /** * @generated from field: string connection_id = 1; */ connectionId: string; /** * proof for the change of the connection state on Chain A: `INIT -> OPEN` * * @generated from field: bytes proof_ack = 2; */ proofAck: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; /** * @generated from field: string signer = 4; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenConfirm"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenConfirm; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenConfirm; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenConfirm; static equals(a: MsgConnectionOpenConfirm | PlainMessage | undefined, b: MsgConnectionOpenConfirm | PlainMessage | undefined): boolean; } /** * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm * response type. * * @generated from message ibc.core.connection.v1.MsgConnectionOpenConfirmResponse */ export declare class MsgConnectionOpenConfirmResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgConnectionOpenConfirmResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgConnectionOpenConfirmResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgConnectionOpenConfirmResponse; static fromJsonString(jsonString: string, options?: Partial): MsgConnectionOpenConfirmResponse; static equals(a: MsgConnectionOpenConfirmResponse | PlainMessage | undefined, b: MsgConnectionOpenConfirmResponse | PlainMessage | undefined): boolean; } /** * MsgUpdateParams defines the sdk.Msg type to update the connection parameters. * * @generated from message ibc.core.connection.v1.MsgUpdateParams */ export declare class MsgUpdateParams extends Message { /** * signer address * * @generated from field: string signer = 1; */ signer: string; /** * params defines the connection parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: ibc.core.connection.v1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgUpdateParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; } /** * MsgUpdateParamsResponse defines the MsgUpdateParams response type. * * @generated from message ibc.core.connection.v1.MsgUpdateParamsResponse */ export declare class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.MsgUpdateParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map