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"; /** * EventDEXAccountRegistered is emitted when a new DEX account is registered * * @generated from message dex.v1.EventDEXAccountRegistered */ export declare class EventDEXAccountRegistered extends Message { /** * DID of the account owner * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Generated port ID * * @generated from field: string port_id = 3; */ portId: string; /** * Remote account address (when available) * * @generated from field: string account_address = 4; */ accountAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventDEXAccountRegistered"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventDEXAccountRegistered; static fromJson(jsonValue: JsonValue, options?: Partial): EventDEXAccountRegistered; static fromJsonString(jsonString: string, options?: Partial): EventDEXAccountRegistered; static equals(a: EventDEXAccountRegistered | PlainMessage | undefined, b: EventDEXAccountRegistered | PlainMessage | undefined): boolean; } /** * EventSwapExecuted is emitted when a swap is executed * * @generated from message dex.v1.EventSwapExecuted */ export declare class EventSwapExecuted extends Message { /** * DID of the trader * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Source token and amount * * @generated from field: cosmos.base.v1beta1.Coin source = 3; */ source?: Coin; /** * Target token and amount received * * @generated from field: cosmos.base.v1beta1.Coin target = 4; */ target?: Coin; /** * Transaction hash on remote chain * * @generated from field: string tx_hash = 5; */ txHash: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 6; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventSwapExecuted"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventSwapExecuted; static fromJson(jsonValue: JsonValue, options?: Partial): EventSwapExecuted; static fromJsonString(jsonString: string, options?: Partial): EventSwapExecuted; static equals(a: EventSwapExecuted | PlainMessage | undefined, b: EventSwapExecuted | PlainMessage | undefined): boolean; } /** * EventLiquidityProvided is emitted when liquidity is added * * @generated from message dex.v1.EventLiquidityProvided */ export declare class EventLiquidityProvided extends Message { /** * DID of the liquidity provider * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Pool ID * * @generated from field: string pool_id = 3; */ poolId: string; /** * Assets provided * * @generated from field: repeated cosmos.base.v1beta1.Coin assets = 4; */ assets: Coin[]; /** * Shares received * * @generated from field: string shares_received = 5; */ sharesReceived: string; /** * Transaction hash on remote chain * * @generated from field: string tx_hash = 6; */ txHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventLiquidityProvided"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLiquidityProvided; static fromJson(jsonValue: JsonValue, options?: Partial): EventLiquidityProvided; static fromJsonString(jsonString: string, options?: Partial): EventLiquidityProvided; static equals(a: EventLiquidityProvided | PlainMessage | undefined, b: EventLiquidityProvided | PlainMessage | undefined): boolean; } /** * EventLiquidityRemoved is emitted when liquidity is removed * * @generated from message dex.v1.EventLiquidityRemoved */ export declare class EventLiquidityRemoved extends Message { /** * DID of the liquidity provider * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Pool ID * * @generated from field: string pool_id = 3; */ poolId: string; /** * Shares removed * * @generated from field: string shares_removed = 4; */ sharesRemoved: string; /** * Assets received * * @generated from field: repeated cosmos.base.v1beta1.Coin assets = 5; */ assets: Coin[]; /** * Transaction hash on remote chain * * @generated from field: string tx_hash = 6; */ txHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventLiquidityRemoved"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLiquidityRemoved; static fromJson(jsonValue: JsonValue, options?: Partial): EventLiquidityRemoved; static fromJsonString(jsonString: string, options?: Partial): EventLiquidityRemoved; static equals(a: EventLiquidityRemoved | PlainMessage | undefined, b: EventLiquidityRemoved | PlainMessage | undefined): boolean; } /** * EventOrderCreated is emitted when a limit order is created * * @generated from message dex.v1.EventOrderCreated */ export declare class EventOrderCreated extends Message { /** * DID of the trader * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Order ID on remote chain * * @generated from field: string order_id = 3; */ orderId: string; /** * Order details * * @generated from field: string sell_denom = 4; */ sellDenom: string; /** * @generated from field: string buy_denom = 5; */ buyDenom: string; /** * @generated from field: string amount = 6; */ amount: string; /** * @generated from field: string price = 7; */ price: string; /** * Transaction hash on remote chain * * @generated from field: string tx_hash = 8; */ txHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventOrderCreated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventOrderCreated; static fromJson(jsonValue: JsonValue, options?: Partial): EventOrderCreated; static fromJsonString(jsonString: string, options?: Partial): EventOrderCreated; static equals(a: EventOrderCreated | PlainMessage | undefined, b: EventOrderCreated | PlainMessage | undefined): boolean; } /** * EventOrderCancelled is emitted when an order is cancelled * * @generated from message dex.v1.EventOrderCancelled */ export declare class EventOrderCancelled extends Message { /** * DID of the trader * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Order ID that was cancelled * * @generated from field: string order_id = 3; */ orderId: string; /** * Transaction hash on remote chain * * @generated from field: string tx_hash = 4; */ txHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventOrderCancelled"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventOrderCancelled; static fromJson(jsonValue: JsonValue, options?: Partial): EventOrderCancelled; static fromJsonString(jsonString: string, options?: Partial): EventOrderCancelled; static equals(a: EventOrderCancelled | PlainMessage | undefined, b: EventOrderCancelled | PlainMessage | undefined): boolean; } /** * EventOrderFilled is emitted when an order is filled * * @generated from message dex.v1.EventOrderFilled */ export declare class EventOrderFilled extends Message { /** * DID of the trader * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Order ID that was filled * * @generated from field: string order_id = 3; */ orderId: string; /** * Fill details * * @generated from field: string fill_amount = 4; */ fillAmount: string; /** * @generated from field: string fill_price = 5; */ fillPrice: string; /** * Transaction hash on remote chain * * @generated from field: string tx_hash = 6; */ txHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventOrderFilled"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventOrderFilled; static fromJson(jsonValue: JsonValue, options?: Partial): EventOrderFilled; static fromJsonString(jsonString: string, options?: Partial): EventOrderFilled; static equals(a: EventOrderFilled | PlainMessage | undefined, b: EventOrderFilled | PlainMessage | undefined): boolean; } /** * EventICAPacketSent is emitted when an ICA packet is sent * * @generated from message dex.v1.EventICAPacketSent */ export declare class EventICAPacketSent extends Message { /** * DID of the sender * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Packet type (swap, liquidity, order, etc.) * * @generated from field: string packet_type = 3; */ packetType: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 4; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventICAPacketSent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventICAPacketSent; static fromJson(jsonValue: JsonValue, options?: Partial): EventICAPacketSent; static fromJsonString(jsonString: string, options?: Partial): EventICAPacketSent; static equals(a: EventICAPacketSent | PlainMessage | undefined, b: EventICAPacketSent | PlainMessage | undefined): boolean; } /** * EventICAPacketAcknowledged is emitted when an ICA packet is acknowledged * * @generated from message dex.v1.EventICAPacketAcknowledged */ export declare class EventICAPacketAcknowledged extends Message { /** * DID of the sender * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Packet type * * @generated from field: string packet_type = 3; */ packetType: string; /** * IBC packet sequence * * @generated from field: uint64 sequence = 4; */ sequence: bigint; /** * Success status * * @generated from field: bool success = 5; */ success: boolean; /** * Error message if failed * * @generated from field: string error = 6; */ error: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.EventICAPacketAcknowledged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventICAPacketAcknowledged; static fromJson(jsonValue: JsonValue, options?: Partial): EventICAPacketAcknowledged; static fromJsonString(jsonString: string, options?: Partial): EventICAPacketAcknowledged; static equals(a: EventICAPacketAcknowledged | PlainMessage | undefined, b: EventICAPacketAcknowledged | PlainMessage | undefined): boolean; } //# sourceMappingURL=events_pb.d.ts.map