Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Param

Global perps parameters.

Definition

class Param(TypedDict):
    max_unlocks: int
    max_open_orders: int
    maker_fee_rates: RateSchedule
    taker_fee_rates: RateSchedule
    protocol_fee_rate: Dimensionless
    liquidation_fee_rate: Dimensionless
    liquidation_buffer_ratio: Dimensionless
    funding_period: Duration
    vault_total_weight: Dimensionless
    vault_cooldown_period: Duration
    referral_active: bool
    min_referrer_volume: UsdValue
    referrer_commission_rates: RateSchedule
    vault_deposit_cap: UsdValue | None
    max_action_batch_size: int

Fields

The TypedDict covers fee schedules, OI/order caps, the funding period, vault weight and cooldown, referral knobs, deposit cap, and the max batch-update size enforced by the chain.

See also