Documentation

Common Parameters

Liquidations

These parameters govern the speed, discounting and fees for both the solvent and insolvent auctions.

ParameterContract VariableValueBoundsDescription
BUFFER_SCALEbufferMarginPercentage0.15[0, 5.0]A scaling factor used to determine the buffer margin.
LIQ_PERCENTSolventAuctionParams.liquidatorFeeRate0.10[0.0, 1.0]A percentage of the mark-to-market value of the portfolio used to compute the liquidation fee.
INITIAL_DISCOUNTSolventAuctionParams.startingMtMPercentage0.05 (0.95 in contracts)[0,1.0]A small discount to the mark-to-market value of the portfolio used to compute the initial offer at the liquidation auction.
FAST_DISCOUNTSolventAuctionParam.fastAuctionCutoffPercentage0.3 (0.7 in contracts)[0, INITIAL_DISCOUNT]Percentage discount at which the liquidation auction will begin to slow.
FAST_LIQUIDATION_TIMESolventAuctionParams.fastAuctionLength15 minutes[0, 100 hours]Duration over which the fast component of the liquidation auction occurs.
LONG_LIQUIDATION_TIMESolventAuctionParams.slowAuctionLength12 hours[0, 1000 hours]Duration over which the slow component of the liquidation auction occurs.
INSOLVENT_DURATIONInsolventAuctionParams.totalSteps InsolventAuctionParams.coolDown60 minutesNo boundsDuration of the insolvent auction

Cash (USDC)

These parameter control the interest rate paid on negative balances of the USDC cash asset.

ParameterContract VariableValueBoundsDescription
OPTIMAL_UTILoptimalUtil0.85[0.0, 1.0]Ideal utilization (borrowing) of USDC, beyond which the interest rate increases quickly.
MIN_RATEminRate0.02[0.0, 2.0]Minimum interest rate
LOW_SLOPErateMultiplier0.08[0.0, 5.0]Slow change in interest rate per change in utilization
HIGH_SLOPEhighRateMultiplier0.90[0.0, 5.0]Fast change in interest rate per change in utilization
SM_INTEREST_SHAREsmFeePercentage0.2 if no insolvencies, 1.0 otherwise[0.0, 1.0]Percentage of the accrued interest given to the Security Module.