Frax is a hybrid algorithmic stable coin, partially backed by USDC and FXS. FRAX's algorithm balances the collateral ratio (amount of USDC) based on supply and demand and liquidity of FRAX. The goal is to achieve decentralization based on an algorithmic model, without the drawbacks from the traditional twin coin system (i.e. UST/LUNA).
Frax is the world’s first fractional-algorithmic stablecoin; The Frax Protocol introduced the world to the concept of a cryptocurrency being partially backed by collateral and partially stabilized algorithmically.
Mechanics diagram: https://docs.frax.finance/minting-and-redeeming
➕ Minting: New FRAX shares are minted by depositing a ratio (CR) of USDC and FXS.
➖ Redeeming: USDC is redeemed from the treasury, FXS is issued and delivered to redeemer.
💰 Minting and redeeming are subject to a 0.20% - 0.45% fee
The protocol adjusts the collateral ratio during times of FRAX expansion and retraction
[V1] When FRAX is at or above $1, the function lowers the collateral ratio by one step per hour and when the price of FRAX is below $1, the function increases the collateral ratio by one step per hour.
[V2] As of February 2021, the system uses a PIDController to control the collateral ratio according to the change in the growth ratio, defined as such:
At its core, the growth ratio measures how much FXS liquidity there is against the overall supply of FRAX.
As the collateral ratio is changed by the change in the growth ratio, a low overall CR implies more preceding periods of net positive growth ratio change than net negative.
The motivation for the growth ratio is to take in the signal of the market cap of FRAX and FXS, such that a change in the collateral ratio can be supported by current conditions.
The new system still uses a price band, but only adjusts the collateral ratio up or down when the price of FRAX is outside of the targeted band.
Example