PerpsParam
Global perps parameters.
Definition
type PerpsParam = {
maxUnlocks: number
maxOpenOrders: number
maxActionBatchSize: number
liquidationBufferRatio: string
makerFeeRates: RateSchedule
takerFeeRates: RateSchedule
protocolFeeRate: string
liquidationFeeRate: string
fundingPeriod: number
vaultTotalWeight: string
vaultCooldownPeriod: number
referralActive: boolean
minReferrerVolume: string
referrerCommissionRates: RateSchedule
vaultDepositCap: string | null
}
type RateSchedule = {
base: string
tiers: Record<string, string>
}Notes
RateSchedulehas a base rate plus volume-tier overrides keyed by min-volume thresholds.vaultCooldownPeriodis in seconds.