import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../../../cosmos/base/v1beta1/coin_pb.js"; import { Height } from "../../../core/client/v1/client_pb.js"; import { Params } from "./transfer_pb.js"; /** * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between * ICS20 enabled chains. See ICS Spec here: * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures * * @generated from message ibc.applications.transfer.v1.MsgTransfer */ export declare class MsgTransfer extends Message { /** * the port on which the packet will be sent * * @generated from field: string source_port = 1; */ sourcePort: string; /** * the channel by which the packet will be sent * * @generated from field: string source_channel = 2; */ sourceChannel: string; /** * token to be transferred * * @generated from field: cosmos.base.v1beta1.Coin token = 3; */ token?: Coin; /** * the sender address * * @generated from field: string sender = 4; */ sender: string; /** * the recipient address on the destination chain * * @generated from field: string receiver = 5; */ receiver: string; /** * Timeout height relative to the current block height. * If you are sending with IBC v1 protocol, either timeout_height or timeout_timestamp must be set. * If you are sending with IBC v2 protocol, timeout_timestamp must be set, and timeout_height must be omitted. * * @generated from field: ibc.core.client.v1.Height timeout_height = 6; */ timeoutHeight?: Height; /** * Timeout timestamp in absolute nanoseconds since unix epoch. * If you are sending with IBC v1 protocol, either timeout_height or timeout_timestamp must be set. * If you are sending with IBC v2 protocol, timeout_timestamp must be set. * * @generated from field: uint64 timeout_timestamp = 7; */ timeoutTimestamp: bigint; /** * optional memo * * @generated from field: string memo = 8; */ memo: string; /** * optional encoding * * @generated from field: string encoding = 9; */ encoding: string; /** * boolean flag to indicate if the transfer message * is sent with the IBC v2 protocol but uses v1 channel identifiers. * In this case, the v1 channel identifiers function as aliases to the * underlying client ids. * This only needs to be set if the channel IDs * are V1 channel identifiers. * * @generated from field: bool use_aliasing = 10; */ useAliasing: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.v1.MsgTransfer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgTransfer; static fromJson(jsonValue: JsonValue, options?: Partial): MsgTransfer; static fromJsonString(jsonString: string, options?: Partial): MsgTransfer; static equals(a: MsgTransfer | PlainMessage | undefined, b: MsgTransfer | PlainMessage | undefined): boolean; } /** * MsgTransferResponse defines the Msg/Transfer response type. * * @generated from message ibc.applications.transfer.v1.MsgTransferResponse */ export declare class MsgTransferResponse extends Message { /** * sequence number of the transfer packet sent * * @generated from field: uint64 sequence = 1; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.v1.MsgTransferResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgTransferResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgTransferResponse; static fromJsonString(jsonString: string, options?: Partial): MsgTransferResponse; static equals(a: MsgTransferResponse | PlainMessage | undefined, b: MsgTransferResponse | PlainMessage | undefined): boolean; } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * @generated from message ibc.applications.transfer.v1.MsgUpdateParams */ export declare class MsgUpdateParams extends Message { /** * signer address * * @generated from field: string signer = 1; */ signer: string; /** * params defines the transfer parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: ibc.applications.transfer.v1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.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 response structure for executing a * MsgUpdateParams message. * * @generated from message ibc.applications.transfer.v1.MsgUpdateParamsResponse */ export declare class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.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