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.
| Param | Meaning | Value |
|---|---|---|
| U_kink | Utilisation level that flips the rate model into its spike regime | 0.90 |
| U_max | Hard utilisation ceiling — the swap market won't quote past this | 0.80 |
| L_max | Maximum leverage on deposited capital | 10× |
| κ_spike | Mean-reversion speed of the forward rate above the kink | 40 / yr |
| θ_spike | Long-run rate the forward estimate reverts toward above the kink | 9.0% |
| r_floor | Hard floor under the forward rate | 0.10% |
| σ_floor | Floor applied only to the settlement-budget tail, never the priced rate | 1.0% |
| R_target | Target early-liquidity return used in spread_return | 5.0% |
| T_ref | Reference tenor for scaling spread_risk | 90d |
| T_stress | Stress horizon cap inside spread_risk | 7d |
| k, beta | Level and steepness of the utilisation charge | 0.003, 1 |
| WAD | Fixed-point scale used throughout on-chain math (1e18 = 1.0) | 1e18 |
| fixedRateBps | The 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 it | 650 |
| RateSwapBook | The 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 exchanged | one contract |
| RateSwap | The trade a counterparty accepts. This version is a Fixed Amount Payer | one struct |
| summary | The 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 differs | 100,000 USDC fixed at 6.50% |
| unit suffix | The 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 time | BaseUnits, Bps, Unix, Seconds |
| counterparty | The party that is not the book. On this version that is the Fixed Amount Payer. It signs the RateSwap and need not send the transaction | one address |
| counterparty signature | The counterparty’s EIP-712 signature over the RateSwap the quoter signed. Contract wallets answer ERC-1271. Each digest is accepted once | one signature |
| book allowance | The 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 pulls | per hedge, or once per book |
| relayed accept | An 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 wallet | one keeper transaction |
| relayed cancel | A 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 gas | one keeper transaction |
| fixedAmountPayer | The counterparty who pays the Fixed Amount and receives the Floating Amount. Every counterparty on the book is one; the RateSwap does not carry it | the borrower |
| notionalBaseUnits | Notional Amount. It is not exchanged | token base units |
| effectiveDateUnix | The first day of the Term | unix seconds |
| terminationDateUnix | The last day of the Term. effectiveDateUnix + intervalSeconds * intervalCount. Not signed: the book derives it from the schedule | unix seconds |
| cover | Cash 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 cover | 10% of that quote's fixed amount × count |
| upfront fee | Cash 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 cover | 0, or 10% of the no-fee interest |
| schedule | One repeated Fixed Amount. intervalSeconds is the Calculation Period, intervalAmountBaseUnits is one coupon, and intervalCount is how many periods | one series |