A Primer on Felix
For any questions, reach out to our core contributors on the Felix Discord server.
Last updated
For any questions, reach out to our core contributors on the Felix Discord server.
Last updated
Felix is a CDP (Collateralized Debt Position) stablecoin protocol. With Felix, users can permissionlessly use various tokens as collateral to mint feUSD, a stablecoin pegged to the U.S. dollar. feUSD can then be used across other applications or staked with the Felix protocol via Vaults.
Felix is an over-collateralized system. Over-collateralization provides a safety buffer to protect the system against market volatility and to ensure that feUSD maintains solvency. feUSD has no centralized custodian and relies on liquidators and redeemers to ensure that circulating feUSD is wholly backed.
There are two key challenges involved in maintaining the Felix CDP stablecoin system:
Maintaining the $1 feUSD Peg
Ensuring that feUSD consistently trades at or very close to $1.00 is crucial
Price deviations can undermine both borrowing and saving activity
Efficient Processing of Liquidations
Swift and fair liquidation processes protect the protocol from accumulating bad debt
Efficient liquidations ensure that the protocol maintains its solvency
Redemptions allow feUSD holders to exchange their feUSD directly for $1-worth of collateral at face value from the protocol. Redemptions are processed against open positions in order of those paying the lowest rate of interest first. Positions that are redeemed against are not charged a penalty like they would be in the event of an liquidation, but do effectively lose directional exposure to their deposited collateral.
This mechanism creates an arbitrage opportunity whereby any feUSD acquired below-peg on secondary markets can be used to purchase liquid collateral assets for a profit. Moreover, redemptions reduce the circulating supply of feUSD, helping to push its market price back towards peg.
Initiation: A user sends a specified amount of feUSD to the protocol for redemption.
Debt Reduction: Protocol reduces the debt of all positions needed to meet the redeemed amount
Collateral Transfer: $1 of collateral per feUSD redeemed minus a fee is transferred to the user
Equilibrium Rate: Protocol now has a higher average rate of interest across open positions
Felix allows users to deposit into dedicated pools ("vaults") corresponding to each supported collateral asset. These deposits are used to absorb the debt of positions denominated in the collateral asset when they fall below their liquidation threshold. Users are paid per block for providing this capital with the lion's share of the interest generated by the debt backed by the target collateral asset, and are entitled to liquidation profits as their capital is tapped.
How the Stability Pool Vault Works
Debt Absorption: When a borrower position is liquidated, its outstanding debt is netted out against feUSD in the Stability Pool via burning.
Collateral Distribution: The collateral from the liquidated borrower position is distributed proportionally across Stability Pool depositors.
Liquidation occurs when borrow position health falls below a certain threshold, which varies with each supported collateral asset. This can happen when either the value of the position collateral decreases or when the price of its feUSD debt unexpectedly increases.
The Collateralization Ratio (CR) measures the health of your loan:
If you deposit $1,500 worth of ETH and borrow 1,000 feUSD, your CR is:
Monitor Your CR: Keep an eye on market prices to ensure your CR remains healthy.
Add More Collateral: If your CR is dropping, you can deposit more collateral to improve it.
Repay feUSD Debt: Reducing your debt increases your CR.
Collateral Seizure: If your CR falls below the liquidation threshold, your collateral is seized to repay your debt plus a bonus for the liquidator.
Retention of feUSD: You still retain the feUSD you borrowed.
Position Closure: Your debt position is effectively closed through liquidation.
Liquidation Event: A borrower's position falls below the liquidation threshold
Debt Cancellation: The borrower's debt is canceled using feUSD from the Stability Pool
Collateral Allocation: The seized collateral is distributed to Stability Pool depositors pro rata
Depositor Gains: Depositors receive collateral assets plus a liquidation bonus