Rate controller

The rate follows a two-band controller: it doubles every half-life while junior coverage or utilization is out of line and halves only while both are comfortable.

Updated Nov 15, 2026

Utilization

Utilization on a side counts every indexed debt once:

ui=Dif+Diℓ+DihDif+Diℓ+Dih+Ciu_i = \frac{D_i^{f} + D_i^{\ell} + D_i^{h}}{D_i^{f} + D_i^{\ell} + D_i^{h} + C_i}

DihD_i^{h} is the funding debt the opposite hedged vault owes in this token: the quote vault borrows base and the base vault borrows quote. The program keeps uiu_i in whole basis points, rounded down, and reads 0 on a side with neither debt nor cash.

Utilization does not cap new borrowing. A loan is bounded by cash, collateral, market health and the daily bucket; when utilization runs past its band, the loan still goes through and the rate climbs. Separately, settings bundles and concentration ramps cannot execute while either lending side is at or above 80% utilization, a fixed guard that never refuses a loan.

The coverage signal

The controller's coverage signal is the market's Junior LP (jrLP) capital JJ over all the debt DD it covers, discounted by the side's idle cash:

si=JD (1−ui)s_i = \frac{J}{D}\,(1 - u_i)

Covered debt counts public loans, isolated leverage debt and hLP funding debt, valued in one quote unit, and jrLP waiting to exit still counts until it converts.

JJ is the junior tranche's share of the market's funded reserves, J=F⋅SJ/SJ = F \cdot S_J / S, with SJS_J the junior reserve shares, SS the srLP supply and FF both sides' executable reserves: live reserves less the interest credited to holders and the protocol's unpaid share. D=Db p+DqD = D_b\,p + D_q adds both sides' covered debt, with pp the price of base in quote. Both are valued at the centre controller's price average; while that is still zero, the program uses the risk average, and then the launch price.

Both sides share one J/DJ/D, and only the (1−ui)(1 - u_i) factor differs between them. The program reads the inputs for both sides before either index moves, so the order in which the sides accrue cannot change either rate.

A market with no junior capital reads si=0s_i = 0 on any side with debt. That is below every band, so its rate climbs for as long as it has debt and no junior capital. A side with no debt has no signal, and its rate holds.

With junior capital worth a quarter of the debt, sis_i is 6.25% at 75% utilization and 5% at 80%, the edges of both default bands. At a tenth of the debt, sis_i is 5% at 50% utilization and 4% at 60%, so at 60%, well below its own band, the rate already rises.

The rule

Each side has two target bands: the signal band, slos_{lo} to shis_{hi} (5% to 6.25% by default), and the utilization band, ulou_{lo} to uhiu_{hi} (75% to 80% by default). The rate rises when either is out of line and falls only when both are comfortable:

r(t)=max⁡ ⁣(r0⋅2 d t/h, rmin⁡)r(t) = \max\!\big(r_0 \cdot 2^{\,d\,t/h},\ r_{\min}\big) d={+1s<slo or u>uhi−1s>shi and u<ulo0otherwised = \begin{cases} +1 & s < s_{lo} \ \text{or}\ u > u_{hi} \\ -1 & s > s_{hi} \ \text{and}\ u < u_{lo} \\ 0 & \text{otherwise} \end{cases}
Coverage signal against utilization, at the default bands

Junior capital worth 25% of the debt: the rate falls below 75% utilization, holds to 80% and rises past it.

With junior capital worth a quarter of the debt, the signal leaves its band exactly where utilization leaves its own.

Low utilization does not lower the rate on its own. If junior capital covers too little of the debt, the rate still rises, which draws junior capital in with higher yield or pushes borrowers to repay; either restores coverage. Ample coverage does not lower it either while cash is scarce. The two conditions guard different failures: debt that outgrows its first-loss capital pushes losses onto senior LPs, and a side with no idle cash cannot pay out withdrawals.

Each band includes its endpoints. A side on one band's edge can still see its rate rise if the other signal triggers an increase. A side with no debt holds its rate.

One junior tranche, two borrow rates

Base and quote can move in opposite directions during the same accrual. They use the same junior capital and the same total covered debt, but the controller discounts that shared ratio by each side's own idle fraction. It then applies the rule separately to each side.

Suppose each side has 100 quote units of funded reserves, including 82 in base debt and 48 in quote debt. Total covered debt is 130 quote units, or 65% of funded LP capital. With 50 quote units in junior, both sides share the same 25% junior allocation.

SideUtilizationCoverage signalBorrow APR
Base82%50/130×18%≈6.92%50/130 \times 18\% \approx 6.92\%Rises
Quote48%50/130×52%=20%50/130 \times 52\% = 20\%Falls
  • APR rises
  • APR holds
  • APR falls
Shared junior tranche (% of funded LP capital)
The dashed horizontal line marks the shared 25% junior allocation. Stripes mark where utilization and coverage point in opposite directions and the APR rises.

Both coverage signals exceed the default 6.25% upper threshold. Base APR still rises because utilization is above 80%. Quote APR falls because utilization is below 75% and coverage is above target. Low coverage also triggers an increase on its own, even when utilization is below 75%.

Accrual

Swaps, loans, liquidity changes, liquidations and yield claims accrue both sides before anything else, so the rule runs in steps, one per elapsed interval. The direction dd for an interval comes from the inputs at its start, and the APR moves exponentially across it. The index grows by the area under that curve, A=∫0Δtr dtA = \int_0^{\Delta t} r\,dt:

A={r0 Δtd=0(r1−r0) h/ln⁡2d=+1(r0−r1) h/ln⁡2+rmin⁡ tmin⁡d=−1A = \begin{cases} r_0\,\Delta t & d = 0 \\ (r_1 - r_0)\,h / \ln 2 & d = +1 \\ (r_0 - r_1)\,h / \ln 2 + r_{\min}\,t_{\min} & d = -1 \end{cases}

r1r_1 is the APR at the end of the interval, or the floor if the rate reached it, and tmin⁡t_{\min} is the time spent at the floor. The index then compounds once, with mm the protocol markup:

I′=I(1+(1+m) A1 year)I' = I \left(1 + (1 + m)\,\frac{A}{1\ \text{year}}\right)

Interest is simple within an interval and compounds at each accrual, so a busy market compounds slightly more often. All of it runs in integer fixed point; the formulas give the shape, and the program's rounding sets the last digit.

Time is the slot count times 200 ms, never the Unix timestamp a block leader sets. The fractional APR and the index remainder carry from one accrual to the next, so calling the market every slot cannot hold a slow rate still or round interest away. When a side's debt shares all go to zero, the next accrual resets its index to 1.0 and keeps its APR. If interest would push a debt total past the 64-bit token range, the index stops at the highest value that fits and the excess interest is forgone.

Worked example

Starting from 4% with the default 14-day half-life, accrued in one interval:

Inputs over the intervalDaysAPR afterInterest per unit of principalIndex growth with a 20% markup
Signal below its band, d=+1d = +175.6569%0.09168%0.11002%
Signal below its band148.0000%0.22134%0.26561%
Signal below its band4232.0000%1.54941%1.85930%
Both inside their bands, d=0d = 0144.0000%0.15342%0.18411%
Both comfortable, d=−1d = -1142.0000%0.11067%0.13281%
Both comfortable421.0000%0.20436%0.24524%

Falling from 4%, the rate reaches the 1% floor after 28 days, two half-lives, so the last 14 days of the 42-day row accrue at the floor. Accrued hourly, the 14-day rise grows the index by 0.26597%, against 0.26561% for a single accrual.

Parameters

ParameterDefaultAllowedWho changes it
Signal band slos_{lo} to shis_{hi}5% to 6.25%0<slo<shi0 < s_{lo} < s_{hi}Market creator, then the operator or manager after full notice
Utilization band ulou_{lo} to uhiu_{hi}75% to 80%ulo<uhi<100%u_{lo} < u_{hi} < 100\%Market creator, then the operator or manager after full notice
Half-life hh14 days12 hours to 30 daysMarket creator, then the operator or manager after full notice
Starting APR4%At least 1%Market creator only
Floor rmin⁡r_{\min}1%FixedProgram
Protocol markup mm20%0% to 100%Protocol governance, for every market
Operator shareSet at creation0% to 50% of base interestMarket creator, then the operator after full notice
Junior income share50%10% to 90%Operator or manager after full notice

Base APR has a fixed 1% floor and no adjustable economic ceiling. The starting rate is creation-only and does not reset a live market.

The operator or manager changes the bands and the half-life with an Irm bundle. In a normal build it executes no sooner than 4,752,000 slots after it is announced, eleven days at the nominal slot time, and no later than 3,024,000 slots after that; see Market operators. Execution first accrues both sides under the old settings, then installs the new ones at once with no ramp, and the live APR carries over. A bundle cannot execute while either side's utilization is at or above 80% (UtilizationGuardExceeded). Invalid values fail with InvalidMarketConfig, and a bundle that changes nothing fails with ParameterUpdateNotMeaningful.

A change to the protocol markup reaches each market at its next accrual, after the elapsed interest has closed at the old markup.

The split

The protocol markup is charged on top of base interest. The operator receives its configured share of base interest, 0% to 50%, and the remainder is credited to LP holders through their growth indexes as it accrues. The protocol's share is paid only when borrowers pay; the operator and LP shares are claimed from reserve cash.

Junior LP takes the market's junior income share (50% by default, adjustable within 10% to 90% after the full notice), and the rest goes to srLP, including the srLP the two hLP vaults hold. Funding interest the hLP vaults pay is split the same way, except that the vaults' own srLP takes no part.

At a 4% base rate with the default 20% markup, a 10% operator share and the default junior share, a borrower pays 4.8% a year: 0.8% to the protocol, 0.4% to the operator, 1.8% to junior LP and 1.8% to srLP. The split is fixed when the interest accrues, so a later change to the markup or the operator share never re-prices interest already owed.