How does this simulator calculate institutional health factors and borrowing buffers compared to production Aave Protocol liquidation rules?
This simulator models collateralized stablecoin borrowing against real-world assets (RWAs) using client-side arithmetic. It computes maximum borrowing capacity as the product of collateral valuation and loan-to-value (LTV), and evaluates health factor by dividing maximum borrowing limit by current debt. While production Aave Protocol instances separate initial borrow limits from liquidation thresholds, this tool treats the configured LTV cap as the liquidation boundary.
In production Aave contracts, the Health Factor uses a distinct Liquidation Threshold rather than the initial Loan-to-Value ratio. Furthermore, the tool calculates transaction gas cost with a fixed 100,000 gas estimate and static $1.00 AVAX unit scalar rather than dynamic chain gas limits or live oracle feeds. The simulator also does not model liquidity discount haircuts, secondary market illiquidity in tokenized debt, or interest compounding across discrete blocks.
Click the 'Real Estate ($25M)' quick preset button. The asset class switches to Commercial Real Estate Senior Tranche, raising collateral valuation to $25,000,000 at a 65% LTV while borrow debt increases to $14,000,000. Maximum borrow capacity expands to $16,250,000 ($25,000,000 × 0.65). The health factor shifts from 1.25 to 1.16 ($16,250,000 / $14,000,000). Because 1.16 is below 1.20, the health factor sub-label displays 'Marginal Buffer', yet the overall market header remains 'Market: Healthy' because the code sets warning status only when the health factor falls below 1.15. Concurrently, annual interest expense updates to $952,000 at a 6.80% APR.
In official Aave Protocol deployments, Loan to Value (LTV) determines the maximum debt available when opening or increasing a loan, whereas the Liquidation Threshold (LT) defines the point where a position becomes undercollateralized. The canonical Aave health factor is defined as (Total Collateral Value × Weighted Average Liquidation Threshold) / Total Borrow Value. When this factor falls below 1.0, third-party liquidators are eligible to repay up to 50% or 100% of the outstanding debt in exchange for collateral plus a liquidation bonus. Health Factor & Liquidations | Aave Glossary | Aave Protocol Documentation
By contrast, this interactive page simplifies the relationship by equating the liquidation threshold directly to the initial LTV slider (maxBorrowLimit = collateralUSD × ltvRatio; hf = maxBorrowLimit / borrowUSD). Consequently, the simulator's liquidation collateral level is calculated simply as borrowUSD / ltvRatio, eliminating the customary safety buffer between maximum borrowing capacity and protocol liquidation. Glossary | Aave Protocol Documentation
The Avalanche settlement fee displayed in the telemetry box uses a hardcoded arithmetic fixture: (avalancheGasGwei × 100,000 × 1e-9). While Avalanche C-Chain transactions feature rapid sub-second finality, real on-chain interactions require dynamic gas metering depending on smart contract state complexity and oracle price feed updates.
For real-world assets like private credit notes, senior real estate tranches, and physical commodity tokens, real-world redemption liquidity and oracle valuation frequencies operate on slower settlement timeframes than native cryptographic tokens, factors not simulated by the instantaneous slider adjustments. Glossary | Aave Protocol Documentation
Defines Aave's official health factor formula using collateral value and weighted average liquidation threshold, liquidation trigger conditions at health factor below 1.0, and liquidation bonuses.
Defines Loan to Value (LTV) as maximum borrowing capacity, Liquidation Threshold as the undercollateralization threshold, and Health Factor as the safety margin.
A one-minute painted walk through the simulator's simplified lending model, followed by how real Aave markets differ and where to read more.
This simulator models a large institutional loan on Avalanche: you post tokenized real-world assets, like Treasury bills, as collateral, and borrow stablecoins against them. The default posts ten million dollars of tokenized T-bills. With a maximum loan-to-value of seventy-five percent, the most you can borrow is seven and a half million. The scenario borrows six million in USDC. The health factor divides that seven and a half million cap by the six million debt, giving one point two five. Above one counts as safe. Now stress the collateral. As its value falls, the cap falls with it. After a twenty percent drop, ten million becomes eight, the cap shrinks to six million, and the health factor hits one: the liquidation line. Holding the loan costs money too. At a five point two percent borrow rate, six million dollars costs three hundred twelve thousand a year, about twenty-six thousand a month. This is the tool's simplified model, not advice: real markets use separate liquidation thresholds and live price feeds. Try the presets, and slide the borrow amount to watch the health factor move.
The simulator computes health factor = (collateral × max LTV) ÷ debt. With the defaults that is ($10M × 75%) ÷ $6M = 1.25. Aave's own formula uses each asset's liquidation threshold, which is set above its max LTV, so a real position usually has a little more room than this model shows.
The 'Liq. Price Buffer' card shows 1 − LTV (25%), which ignores how much you actually borrowed. The drop that takes the health factor to 1 is 1 − debt ÷ (collateral × LTV) = 1 − 6 ÷ 7.5 = 20%, matching the tool's own stress curve and its $8,000,000 'Liquidation Collateral Level'.
Annual interest is simply borrow × APR ($6M × 5.2% = $312,000). On Aave, borrow rates are variable and move with how much of a pool is lent out, so real costs drift over time.
The volatility-stress slider and the asset-class menu do not change any calculation. The gas fee converts 25 gwei × 100,000 gas at an assumed $1 per AVAX; the real dollar cost depends on the AVAX price.
Real-world assets are off-chain holdings such as Treasury bills, real estate or gold represented by tokens. Their value, custody and redemption still depend on the issuer and legal structure behind the token.
Background on the Aave lending protocol and how over-collateralised borrowing works.
The network the simulator's market is set on, including its C-Chain.
What USDC-style stablecoins are and the risks they carry.
The underlying asset that tokenized T-bill collateral represents.
The general definition of LTV used by the simulator.
Figures in the video come from this simulator's simplified model with its default scenario; they illustrate the mechanism and are not financial, investment or borrowing advice. Crypto lending carries liquidation, price-feed, smart-contract and issuer risks.