Sections
Pricing
How the fixed rate is builtForward rate & volatility
Risk & positions
Risk (PV01 / DV01)Mark-to-market & early exitCashflows & accruals
Swap markets
Swap market mechanicsTerm curve & volatility bandProtocol-wide stats
Reference
Fees, formatting & conversionsGlossary of parameters

Glossary of parameters

Every named constant that feeds the pricing and swap-market model, in one place. Source of truth: docs/glossary.md (table). The values below are the defaults these were designed around — a specific market publishes its own on its page, and those are the ones it actually prices with. Manual sync from glossary.md until tooling added.

ParamMeaningValue
U_kinkUtilisation level that flips the rate model into its spike regime0.90
U_maxHard utilisation ceiling — the swap market won't quote past this0.80
L_maxMaximum leverage on deposited capital10×
κ_spikeMean-reversion speed of the forward rate above the kink40 / yr
θ_spikeLong-run rate the forward estimate reverts toward above the kink9.0%
r_floorHard floor under the forward rate0.10%
σ_floorFloor applied only to the settlement-budget tail, never the priced rate1.0%
R_targetTarget early-liquidity return used in spread_return5.0%
T_refReference tenor for scaling spread_risk90d
T_stressStress horizon cap inside spread_risk7d
k, betaLevel and steepness of the utilisation charge0.003, 1
WADFixed-point scale used throughout on-chain math (1e18 = 1.0)1e18
fixedRateBpsThe annual fixed rate a quote is priced at, in whole basis points: 650 is 6.50%. It is not signed: the RateSwap signs the coupon, and the rate is read back from it650
RateSwapBookThe desk's book of interest-rate swaps. Liquidity pays the floating leg. Fixed coupons are collected from the borrower against its book allowance, within the RateSwap the borrower signed. The notional is not exchangedone contract
RateSwapThe trade a counterparty accepts. This version is a Fixed Amount Payerone struct
summaryThe RateSwap’s first signed field: its rate and notional in words, written by the quoter. The book hashes it and emits it, and never reads it; the app rebuilds it from the numbers and refuses to ask for a signature when it differs100,000 USDC fixed at 6.50%
unit suffixThe end of a RateSwap field name, which says the unit, because a wallet shows the signed integers raw. BaseUnits is the asset's smallest unit (1 USDC is 1,000,000), Bps is basis points, Unix is Unix seconds, and Seconds is a length of timeBaseUnits, Bps, Unix, Seconds
counterpartyThe party that is not the book. On this version that is the Fixed Amount Payer. It signs the RateSwap and need not send the transactionone address
counterparty signatureThe counterparty’s EIP-712 signature over the RateSwap the quoter signed. Contract wallets answer ERC-1271. Each digest is accepted onceone signature
book allowanceThe counterparty’s ERC-20 allowance to the book, which funds cover, fee, and coupons. Where the asset supports it, each hedge signs a permit for exactly what that hedge takes; otherwise one approve transaction covers the book. The RateSwap the counterparty signs limits each pull. Revoking it stops the pullsper hedge, or once per book
relayed acceptAn accept the keeper sends for the counterparty, with its RateSwap signature and any signed approval of the book. The desk pays the gas; cover, fee, and coupons still come from the counterparty’s walletone keeper transaction
relayed cancelA cancellation the keeper sends for the counterparty on its signed Cancel. It settles coupons already due and ends the swap Closed. The desk pays the gasone keeper transaction
fixedAmountPayerThe counterparty who pays the Fixed Amount and receives the Floating Amount. Every counterparty on the book is one; the RateSwap does not carry itthe borrower
notionalBaseUnitsNotional Amount. It is not exchangedtoken base units
effectiveDateUnixThe first day of the Termunix seconds
terminationDateUnixThe last day of the Term. effectiveDateUnix + intervalSeconds * intervalCount. Not signed: the book derives it from the scheduleunix seconds
coverCash posted at accept. Kept when the swap is closed before every amount through the Termination Date is paid. A replacement credits cover already posted and moves only the difference. Returned when every amount due through the Termination Date is paid. Each quote names its own cover10% of that quote's fixed amount × count
upfront feeCash paid at accept and kept by the book. It is not cover, and it is not returned when the swap ends, closes early, or is replaced. Each quote names its own amount, and zero is allowed. Paying it can come with a lower fixed rate and slightly less cover0, or 10% of the no-fee interest
scheduleOne repeated Fixed Amount. intervalSeconds is the Calculation Period, intervalAmountBaseUnits is one coupon, and intervalCount is how many periodsone series