import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { Coin } from "../../cosmos/base/v1beta1/coin_pb.js"; /** * MsgRegisterDEXAccount registers a new ICA account for DEX operations * * @generated from message dex.v1.MsgRegisterDEXAccount */ export declare class MsgRegisterDEXAccount extends Message { /** * DID controller requesting the account * * @generated from field: string did = 1; */ did: string; /** * IBC connection to target chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Requested features for this account * * @generated from field: repeated string features = 3; */ features: string[]; /** * Optional metadata * * @generated from field: string metadata = 4; */ metadata: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgRegisterDEXAccount"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRegisterDEXAccount; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRegisterDEXAccount; static fromJsonString(jsonString: string, options?: Partial): MsgRegisterDEXAccount; static equals(a: MsgRegisterDEXAccount | PlainMessage | undefined, b: MsgRegisterDEXAccount | PlainMessage | undefined): boolean; } /** * MsgRegisterDEXAccountResponse defines the response * * @generated from message dex.v1.MsgRegisterDEXAccountResponse */ export declare class MsgRegisterDEXAccountResponse extends Message { /** * Generated port ID for the account * * @generated from field: string port_id = 1; */ portId: string; /** * Account address on remote chain (once available) * * @generated from field: string account_address = 2; */ accountAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgRegisterDEXAccountResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRegisterDEXAccountResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRegisterDEXAccountResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRegisterDEXAccountResponse; static equals(a: MsgRegisterDEXAccountResponse | PlainMessage | undefined, b: MsgRegisterDEXAccountResponse | PlainMessage | undefined): boolean; } /** * MsgExecuteSwap executes a token swap on a remote chain * * @generated from message dex.v1.MsgExecuteSwap */ export declare class MsgExecuteSwap extends Message { /** * DID initiating the swap * * @generated from field: string did = 1; */ did: string; /** * IBC connection to DEX chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Token to swap from * * @generated from field: string source_denom = 3; */ sourceDenom: string; /** * Token to swap to * * @generated from field: string target_denom = 4; */ targetDenom: string; /** * Amount to swap * * @generated from field: string amount = 5; */ amount: string; /** * Minimum amount out (slippage protection) * * @generated from field: string min_amount_out = 6; */ minAmountOut: string; /** * Optional specific route * * @generated from field: string route = 7; */ route: string; /** * UCAN authorization token * * @generated from field: string ucan_token = 8; */ ucanToken: string; /** * Timeout for the swap * * @generated from field: google.protobuf.Timestamp timeout = 9; */ timeout?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgExecuteSwap"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgExecuteSwap; static fromJson(jsonValue: JsonValue, options?: Partial): MsgExecuteSwap; static fromJsonString(jsonString: string, options?: Partial): MsgExecuteSwap; static equals(a: MsgExecuteSwap | PlainMessage | undefined, b: MsgExecuteSwap | PlainMessage | undefined): boolean; } /** * MsgExecuteSwapResponse defines the response * * @generated from message dex.v1.MsgExecuteSwapResponse */ export declare class MsgExecuteSwapResponse extends Message { /** * Transaction ID on remote chain * * @generated from field: string tx_hash = 1; */ txHash: string; /** * Actual amount received * * @generated from field: string amount_received = 2; */ amountReceived: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 3; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgExecuteSwapResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgExecuteSwapResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgExecuteSwapResponse; static fromJsonString(jsonString: string, options?: Partial): MsgExecuteSwapResponse; static equals(a: MsgExecuteSwapResponse | PlainMessage | undefined, b: MsgExecuteSwapResponse | PlainMessage | undefined): boolean; } /** * MsgProvideLiquidity adds liquidity to a pool * * @generated from message dex.v1.MsgProvideLiquidity */ export declare class MsgProvideLiquidity extends Message { /** * DID providing liquidity * * @generated from field: string did = 1; */ did: string; /** * IBC connection to DEX chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Pool ID to add liquidity to * * @generated from field: string pool_id = 3; */ poolId: string; /** * Assets to provide * * @generated from field: repeated cosmos.base.v1beta1.Coin assets = 4; */ assets: Coin[]; /** * Minimum shares to receive (slippage protection) * * @generated from field: string min_shares = 5; */ minShares: string; /** * UCAN authorization token * * @generated from field: string ucan_token = 6; */ ucanToken: string; /** * Timeout for the operation * * @generated from field: google.protobuf.Timestamp timeout = 7; */ timeout?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgProvideLiquidity"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgProvideLiquidity; static fromJson(jsonValue: JsonValue, options?: Partial): MsgProvideLiquidity; static fromJsonString(jsonString: string, options?: Partial): MsgProvideLiquidity; static equals(a: MsgProvideLiquidity | PlainMessage | undefined, b: MsgProvideLiquidity | PlainMessage | undefined): boolean; } /** * MsgProvideLiquidityResponse defines the response * * @generated from message dex.v1.MsgProvideLiquidityResponse */ export declare class MsgProvideLiquidityResponse extends Message { /** * Transaction ID on remote chain * * @generated from field: string tx_hash = 1; */ txHash: string; /** * LP tokens received * * @generated from field: string shares_received = 2; */ sharesReceived: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 3; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgProvideLiquidityResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgProvideLiquidityResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgProvideLiquidityResponse; static fromJsonString(jsonString: string, options?: Partial): MsgProvideLiquidityResponse; static equals(a: MsgProvideLiquidityResponse | PlainMessage | undefined, b: MsgProvideLiquidityResponse | PlainMessage | undefined): boolean; } /** * MsgRemoveLiquidity removes liquidity from a pool * * @generated from message dex.v1.MsgRemoveLiquidity */ export declare class MsgRemoveLiquidity extends Message { /** * DID removing liquidity * * @generated from field: string did = 1; */ did: string; /** * IBC connection to DEX chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Pool ID to remove liquidity from * * @generated from field: string pool_id = 3; */ poolId: string; /** * Amount of shares to remove * * @generated from field: string shares = 4; */ shares: string; /** * Minimum assets to receive * * @generated from field: repeated cosmos.base.v1beta1.Coin min_amounts = 5; */ minAmounts: Coin[]; /** * UCAN authorization token * * @generated from field: string ucan_token = 6; */ ucanToken: string; /** * Timeout for the operation * * @generated from field: google.protobuf.Timestamp timeout = 7; */ timeout?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgRemoveLiquidity"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRemoveLiquidity; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRemoveLiquidity; static fromJsonString(jsonString: string, options?: Partial): MsgRemoveLiquidity; static equals(a: MsgRemoveLiquidity | PlainMessage | undefined, b: MsgRemoveLiquidity | PlainMessage | undefined): boolean; } /** * MsgRemoveLiquidityResponse defines the response * * @generated from message dex.v1.MsgRemoveLiquidityResponse */ export declare class MsgRemoveLiquidityResponse extends Message { /** * Transaction ID on remote chain * * @generated from field: string tx_hash = 1; */ txHash: string; /** * Assets received * * @generated from field: repeated cosmos.base.v1beta1.Coin assets_received = 2; */ assetsReceived: Coin[]; /** * IBC packet sequence * * @generated from field: uint64 sequence = 3; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgRemoveLiquidityResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRemoveLiquidityResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRemoveLiquidityResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRemoveLiquidityResponse; static equals(a: MsgRemoveLiquidityResponse | PlainMessage | undefined, b: MsgRemoveLiquidityResponse | PlainMessage | undefined): boolean; } /** * MsgCreateLimitOrder creates a limit order * * @generated from message dex.v1.MsgCreateLimitOrder */ export declare class MsgCreateLimitOrder extends Message { /** * DID creating the order * * @generated from field: string did = 1; */ did: string; /** * IBC connection to DEX chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Token to sell * * @generated from field: string sell_denom = 3; */ sellDenom: string; /** * Token to buy * * @generated from field: string buy_denom = 4; */ buyDenom: string; /** * Amount to sell * * @generated from field: string amount = 5; */ amount: string; /** * Price per unit * * @generated from field: string price = 6; */ price: string; /** * Order expiration * * @generated from field: google.protobuf.Timestamp expiration = 7; */ expiration?: Timestamp; /** * UCAN authorization token * * @generated from field: string ucan_token = 8; */ ucanToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgCreateLimitOrder"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateLimitOrder; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateLimitOrder; static fromJsonString(jsonString: string, options?: Partial): MsgCreateLimitOrder; static equals(a: MsgCreateLimitOrder | PlainMessage | undefined, b: MsgCreateLimitOrder | PlainMessage | undefined): boolean; } /** * MsgCreateLimitOrderResponse defines the response * * @generated from message dex.v1.MsgCreateLimitOrderResponse */ export declare class MsgCreateLimitOrderResponse extends Message { /** * Order ID on remote chain * * @generated from field: string order_id = 1; */ orderId: string; /** * Transaction ID * * @generated from field: string tx_hash = 2; */ txHash: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 3; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgCreateLimitOrderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateLimitOrderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateLimitOrderResponse; static fromJsonString(jsonString: string, options?: Partial): MsgCreateLimitOrderResponse; static equals(a: MsgCreateLimitOrderResponse | PlainMessage | undefined, b: MsgCreateLimitOrderResponse | PlainMessage | undefined): boolean; } /** * MsgCancelOrder cancels an existing order * * @generated from message dex.v1.MsgCancelOrder */ export declare class MsgCancelOrder extends Message { /** * DID canceling the order * * @generated from field: string did = 1; */ did: string; /** * IBC connection to DEX chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Order ID to cancel * * @generated from field: string order_id = 3; */ orderId: string; /** * UCAN authorization token * * @generated from field: string ucan_token = 4; */ ucanToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgCancelOrder"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelOrder; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelOrder; static fromJsonString(jsonString: string, options?: Partial): MsgCancelOrder; static equals(a: MsgCancelOrder | PlainMessage | undefined, b: MsgCancelOrder | PlainMessage | undefined): boolean; } /** * MsgCancelOrderResponse defines the response * * @generated from message dex.v1.MsgCancelOrderResponse */ export declare class MsgCancelOrderResponse extends Message { /** * Transaction ID * * @generated from field: string tx_hash = 1; */ txHash: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 2; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.MsgCancelOrderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelOrderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelOrderResponse; static fromJsonString(jsonString: string, options?: Partial): MsgCancelOrderResponse; static equals(a: MsgCancelOrderResponse | PlainMessage | undefined, b: MsgCancelOrderResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map