// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file ibc/applications/interchain_accounts/controller/v1/tx.proto (package ibc.applications.interchain_accounts.controller.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { InterchainAccountPacketData } from "../../v1/packet_pb.js"; import { Params } from "./controller_pb.js"; /** * MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount * * @generated from message ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount */ export class MsgRegisterInterchainAccount extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: string connection_id = 2; */ connectionId = ""; /** * @generated from field: string version = 3; */ version = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRegisterInterchainAccount { return new MsgRegisterInterchainAccount().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRegisterInterchainAccount { return new MsgRegisterInterchainAccount().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRegisterInterchainAccount { return new MsgRegisterInterchainAccount().fromJsonString(jsonString, options); } static equals(a: MsgRegisterInterchainAccount | PlainMessage | undefined, b: MsgRegisterInterchainAccount | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRegisterInterchainAccount, a, b); } } /** * MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount * * @generated from message ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse */ export class MsgRegisterInterchainAccountResponse extends Message { /** * @generated from field: string channel_id = 1; */ channelId = ""; /** * @generated from field: string port_id = 2; */ portId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRegisterInterchainAccountResponse { return new MsgRegisterInterchainAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRegisterInterchainAccountResponse { return new MsgRegisterInterchainAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRegisterInterchainAccountResponse { return new MsgRegisterInterchainAccountResponse().fromJsonString(jsonString, options); } static equals(a: MsgRegisterInterchainAccountResponse | PlainMessage | undefined, b: MsgRegisterInterchainAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRegisterInterchainAccountResponse, a, b); } } /** * MsgSendTx defines the payload for Msg/SendTx * * @generated from message ibc.applications.interchain_accounts.controller.v1.MsgSendTx */ export class MsgSendTx extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: string connection_id = 2; */ connectionId = ""; /** * @generated from field: ibc.applications.interchain_accounts.v1.InterchainAccountPacketData packet_data = 3; */ packetData?: InterchainAccountPacketData; /** * Relative timeout timestamp provided will be added to the current block time during transaction execution. * The timeout timestamp must be non-zero. * * @generated from field: uint64 relative_timeout = 4; */ relativeTimeout = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.MsgSendTx"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "packet_data", kind: "message", T: InterchainAccountPacketData }, { no: 4, name: "relative_timeout", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendTx { return new MsgSendTx().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendTx { return new MsgSendTx().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSendTx { return new MsgSendTx().fromJsonString(jsonString, options); } static equals(a: MsgSendTx | PlainMessage | undefined, b: MsgSendTx | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSendTx, a, b); } } /** * MsgSendTxResponse defines the response for MsgSendTx * * @generated from message ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse */ export class MsgSendTxResponse extends Message { /** * @generated from field: uint64 sequence = 1; */ sequence = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendTxResponse { return new MsgSendTxResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendTxResponse { return new MsgSendTxResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSendTxResponse { return new MsgSendTxResponse().fromJsonString(jsonString, options); } static equals(a: MsgSendTxResponse | PlainMessage | undefined, b: MsgSendTxResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSendTxResponse, a, b); } } /** * MsgUpdateParams defines the payload for Msg/UpdateParams * * @generated from message ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams */ export class MsgUpdateParams extends Message { /** * signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten). * * @generated from field: string signer = 1; */ signer = ""; /** * params defines the 27-interchain-accounts/controller parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: ibc.applications.interchain_accounts.controller.v1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "signer", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParams, a, b); } } /** * MsgUpdateParamsResponse defines the response for Msg/UpdateParams * * @generated from message ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse */ export class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParamsResponse, a, b); } }