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"; /** * AccountStatus defines the status of an ICA account * * @generated from enum dex.v1.AccountStatus */ export declare enum AccountStatus { /** * Account is pending creation * * @generated from enum value: ACCOUNT_STATUS_PENDING = 0; */ PENDING = 0, /** * Account is active and ready * * @generated from enum value: ACCOUNT_STATUS_ACTIVE = 1; */ ACTIVE = 1, /** * Account is temporarily disabled * * @generated from enum value: ACCOUNT_STATUS_DISABLED = 2; */ DISABLED = 2, /** * Account creation failed * * @generated from enum value: ACCOUNT_STATUS_FAILED = 3; */ FAILED = 3 } /** * DEXFeatures defines available features for DEX accounts * * @generated from enum dex.v1.DEXFeatures */ export declare enum DEXFeatures { /** * Basic swap functionality * * @generated from enum value: DEX_FEATURE_SWAP = 0; */ DEX_FEATURE_SWAP = 0, /** * Liquidity provision * * @generated from enum value: DEX_FEATURE_LIQUIDITY = 1; */ DEX_FEATURE_LIQUIDITY = 1, /** * Limit orders * * @generated from enum value: DEX_FEATURE_ORDERS = 2; */ DEX_FEATURE_ORDERS = 2, /** * Staking operations * * @generated from enum value: DEX_FEATURE_STAKING = 3; */ DEX_FEATURE_STAKING = 3, /** * Governance participation * * @generated from enum value: DEX_FEATURE_GOVERNANCE = 4; */ DEX_FEATURE_GOVERNANCE = 4 } /** * InterchainDEXAccount represents a DEX account on a remote chain * * @generated from message dex.v1.InterchainDEXAccount */ export declare class InterchainDEXAccount extends Message { /** * DID controller of this account * * @generated from field: string did = 1; */ did: string; /** * IBC connection to the remote chain * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Remote chain ID (e.g., osmosis-1) * * @generated from field: string host_chain_id = 3; */ hostChainId: string; /** * Account address on the remote chain * * @generated from field: string account_address = 4; */ accountAddress: string; /** * ICA port ID for this account * * @generated from field: string port_id = 5; */ portId: string; /** * Account creation timestamp * * @generated from field: google.protobuf.Timestamp created_at = 6; */ createdAt?: Timestamp; /** * Enabled features for this account * * @generated from field: repeated string enabled_features = 7; */ enabledFeatures: string[]; /** * Account status * * @generated from field: dex.v1.AccountStatus status = 8; */ status: AccountStatus; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.InterchainDEXAccount"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InterchainDEXAccount; static fromJson(jsonValue: JsonValue, options?: Partial): InterchainDEXAccount; static fromJsonString(jsonString: string, options?: Partial): InterchainDEXAccount; static equals(a: InterchainDEXAccount | PlainMessage | undefined, b: InterchainDEXAccount | PlainMessage | undefined): boolean; } /** * DEXActivity represents a DEX operation activity record * * @generated from message dex.v1.DEXActivity */ export declare class DEXActivity extends Message { /** * Type of activity (swap, provide_liquidity, remove_liquidity, create_order, cancel_order) * * @generated from field: string type = 1; */ type: string; /** * DID that performed the activity * * @generated from field: string did = 2; */ did: string; /** * Connection ID where the activity occurred * * @generated from field: string connection_id = 3; */ connectionId: string; /** * Transaction hash of the activity * * @generated from field: string tx_hash = 4; */ txHash: string; /** * Block height when the activity occurred * * @generated from field: int64 block_height = 5; */ blockHeight: bigint; /** * Timestamp of the activity * * @generated from field: google.protobuf.Timestamp timestamp = 6; */ timestamp?: Timestamp; /** * Activity-specific details (JSON encoded) * * @generated from field: string details = 7; */ details: string; /** * Status of the activity (pending, success, failed) * * @generated from field: string status = 8; */ status: string; /** * Amount involved in the activity (if applicable) * * @generated from field: repeated cosmos.base.v1beta1.Coin amount = 9; */ amount: Coin[]; /** * Gas used for the activity * * @generated from field: uint64 gas_used = 10; */ gasUsed: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.DEXActivity"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DEXActivity; static fromJson(jsonValue: JsonValue, options?: Partial): DEXActivity; static fromJsonString(jsonString: string, options?: Partial): DEXActivity; static equals(a: DEXActivity | PlainMessage | undefined, b: DEXActivity | PlainMessage | undefined): boolean; } //# sourceMappingURL=ica_pb.d.ts.map