import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { InterchainDEXAccount } from "./ica_pb.js"; /** * GenesisState defines the DEX module's genesis state * * @generated from message dex.v1.GenesisState */ export declare class GenesisState extends Message { /** * Module parameters * * @generated from field: dex.v1.Params params = 1; */ params?: Params; /** * IBC port ID for the module * * @generated from field: string port_id = 2; */ portId: string; /** * Registered DEX accounts * * @generated from field: repeated dex.v1.InterchainDEXAccount accounts = 3; */ accounts: InterchainDEXAccount[]; /** * Account sequence counter * * @generated from field: uint64 account_sequence = 4; */ accountSequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.GenesisState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GenesisState; static fromJson(jsonValue: JsonValue, options?: Partial): GenesisState; static fromJsonString(jsonString: string, options?: Partial): GenesisState; static equals(a: GenesisState | PlainMessage | undefined, b: GenesisState | PlainMessage | undefined): boolean; } /** * Params defines the parameters for the DEX module * * @generated from message dex.v1.Params */ export declare class Params extends Message { /** * Enable/disable the module * * @generated from field: bool enabled = 1; */ enabled: boolean; /** * Maximum accounts per DID * * @generated from field: uint32 max_accounts_per_did = 2; */ maxAccountsPerDid: number; /** * Default timeout for ICA operations (in seconds) * * @generated from field: uint64 default_timeout_seconds = 3; */ defaultTimeoutSeconds: bigint; /** * Allowed DEX connections * * @generated from field: repeated string allowed_connections = 4; */ allowedConnections: string[]; /** * Minimum swap amount (in base denom) * * @generated from field: string min_swap_amount = 5; */ minSwapAmount: string; /** * Maximum daily volume per DID (in USD equivalent) * * @generated from field: string max_daily_volume = 6; */ maxDailyVolume: string; /** * Rate limit parameters * * @generated from field: dex.v1.RateLimitParams rate_limits = 7; */ rateLimits?: RateLimitParams; /** * Fee parameters * * @generated from field: dex.v1.FeeParams fees = 8; */ fees?: FeeParams; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.Params"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Params; static fromJson(jsonValue: JsonValue, options?: Partial): Params; static fromJsonString(jsonString: string, options?: Partial): Params; static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; } /** * RateLimitParams defines rate limiting parameters * * @generated from message dex.v1.RateLimitParams */ export declare class RateLimitParams extends Message { /** * Maximum operations per block * * @generated from field: uint32 max_ops_per_block = 1; */ maxOpsPerBlock: number; /** * Maximum operations per DID per day * * @generated from field: uint32 max_ops_per_did_per_day = 2; */ maxOpsPerDidPerDay: number; /** * Cooldown period between operations (in blocks) * * @generated from field: uint32 cooldown_blocks = 3; */ cooldownBlocks: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.RateLimitParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RateLimitParams; static fromJson(jsonValue: JsonValue, options?: Partial): RateLimitParams; static fromJsonString(jsonString: string, options?: Partial): RateLimitParams; static equals(a: RateLimitParams | PlainMessage | undefined, b: RateLimitParams | PlainMessage | undefined): boolean; } /** * FeeParams defines fee parameters for DEX operations * * @generated from message dex.v1.FeeParams */ export declare class FeeParams extends Message { /** * Platform fee for swaps (basis points, e.g., 30 = 0.3%) * * @generated from field: uint32 swap_fee_bps = 1; */ swapFeeBps: number; /** * Platform fee for liquidity operations * * @generated from field: uint32 liquidity_fee_bps = 2; */ liquidityFeeBps: number; /** * Platform fee for orders * * @generated from field: uint32 order_fee_bps = 3; */ orderFeeBps: number; /** * Fee collector address * * @generated from field: string fee_collector = 4; */ feeCollector: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.FeeParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FeeParams; static fromJson(jsonValue: JsonValue, options?: Partial): FeeParams; static fromJsonString(jsonString: string, options?: Partial): FeeParams; static equals(a: FeeParams | PlainMessage | undefined, b: FeeParams | PlainMessage | undefined): boolean; } //# sourceMappingURL=genesis_pb.d.ts.map