import { BinaryReader, BinaryWriter } from "../../binary"; import { JsonSafe } from "../../json-safe"; /** Params defines the parameters for the module. */ export interface LegacyParams { leverageMax: string; maxOpenPositions: bigint; poolOpenThreshold: string; safetyFactor: string; whitelistingEnabled: boolean; epochLength: bigint; fallbackEnabled: boolean; /** Number of positions to process per block */ numberPerBlock: bigint; } export interface LegacyParamsProtoMsg { typeUrl: "/elys.leveragelp.LegacyParams"; value: Uint8Array; } /** * Params defines the parameters for the module. * @name LegacyParamsAmino * @package elys.leveragelp * @see proto type: elys.leveragelp.LegacyParams */ export interface LegacyParamsAmino { leverage_max?: string; max_open_positions?: string; pool_open_threshold?: string; safety_factor?: string; whitelisting_enabled?: boolean; epoch_length?: string; fallback_enabled?: boolean; /** * Number of positions to process per block */ number_per_block?: string; } export interface LegacyParamsAminoMsg { type: "/elys.leveragelp.LegacyParams"; value: LegacyParamsAmino; } /** Params defines the parameters for the module. */ export interface LegacyParamsSDKType { leverage_max: string; max_open_positions: bigint; pool_open_threshold: string; safety_factor: string; whitelisting_enabled: boolean; epoch_length: bigint; fallback_enabled: boolean; number_per_block: bigint; } /** Params defines the parameters for the module. */ export interface Params { leverageMax: string; maxOpenPositions: bigint; poolOpenThreshold: string; safetyFactor: string; whitelistingEnabled: boolean; epochLength: bigint; fallbackEnabled: boolean; /** Number of positions to process per block */ numberPerBlock: bigint; enabledPools: bigint[]; exitBuffer: string; } export interface ParamsProtoMsg { typeUrl: "/elys.leveragelp.Params"; value: Uint8Array; } /** * Params defines the parameters for the module. * @name ParamsAmino * @package elys.leveragelp * @see proto type: elys.leveragelp.Params */ export interface ParamsAmino { leverage_max?: string; max_open_positions?: string; pool_open_threshold?: string; safety_factor?: string; whitelisting_enabled?: boolean; epoch_length?: string; fallback_enabled?: boolean; /** * Number of positions to process per block */ number_per_block?: string; enabled_pools?: string[]; exit_buffer?: string; } export interface ParamsAminoMsg { type: "/elys.leveragelp.Params"; value: ParamsAmino; } /** Params defines the parameters for the module. */ export interface ParamsSDKType { leverage_max: string; max_open_positions: bigint; pool_open_threshold: string; safety_factor: string; whitelisting_enabled: boolean; epoch_length: bigint; fallback_enabled: boolean; number_per_block: bigint; enabled_pools: bigint[]; exit_buffer: string; } export declare const LegacyParams: { typeUrl: string; is(o: any): o is LegacyParams; isSDK(o: any): o is LegacyParamsSDKType; isAmino(o: any): o is LegacyParamsAmino; encode(message: LegacyParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LegacyParams; fromJSON(object: any): LegacyParams; toJSON(message: LegacyParams): JsonSafe; fromPartial(object: Partial): LegacyParams; fromAmino(object: LegacyParamsAmino): LegacyParams; toAmino(message: LegacyParams): LegacyParamsAmino; fromAminoMsg(object: LegacyParamsAminoMsg): LegacyParams; fromProtoMsg(message: LegacyParamsProtoMsg): LegacyParams; toProto(message: LegacyParams): Uint8Array; toProtoMsg(message: LegacyParams): LegacyParamsProtoMsg; }; export declare const Params: { typeUrl: string; is(o: any): o is Params; isSDK(o: any): o is ParamsSDKType; isAmino(o: any): o is ParamsAmino; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): JsonSafe; fromPartial(object: Partial): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; };