Frax - Project Breakdown | Revelo Intel

Frax

Last Updated: August 31, 2023

Overview

As a protocol, Frax issues decentralized stablecoins and builds out subprotocols to support their stability and growth prospects. Currently, Frax issues 3 stablecoins: $FRAX (pegged to 1 USD), $FPI ( pegged to a basket of real-world consumer items as defined by the US CPI-U average), and $frxETH (pegged to $ETH and attempting to become a replacement for $WETH). These are backed by 3 main subprotocols: Fraxswap, Fraxlend, and Fraxferry. Besides, there is a fourth stablecoin on the horizon, $frxBTC, pegged to $BTC and with Fraxferry redemptions to the main Bitcoin PoW chain.

The Protocol is backed by collateral assets and stabilized through a monetary policy based on Algorithmic Market Operations. The Frax ecosystem is extensive and expands upon multiple verticals, from stablecoins to lending markets, dexes, bridges, and multiple other DeFi primitives such as AMOs (Algorithmic Market Operations), and BAMM (Borrow AMM).

Frax’s economy is built around the velocity of money, which is dictated by an algorithmic monetary policy built on the Frax AMM (Fraxswap), and the Frax money market (Fraxlend).

Frax Core Principles include:

Monetary seigniorage is the sovereign revenue obtained by an entity through debt monetization, including the expansion of the money supply

There are no predetermined time frames for how quickly the amount of collateralization should change. As FRAX gains more market share, it’s expected that users will be more comfortable with higher supplies of algorithmic stabilization mechanisms rather than higher collateral reserves. This is because people will have more faith in the system, while at first they may be skeptical and want to see higher reserve balances of assets they’re familiar with, like USDC.  This collateral ratio is the main driver behind the protocol’s capital efficiency. The collateral ratio adjustment function can be triggered by any user at least once every hour. At Genesis, this trigger can change the collateral ratio in steps of .25%

The collateral ratio is an indicator representing the size of collateral compared to the value of a loan

Governance has full control over the refresh rate and step parameters. As far as price measurements go, the price of FRAX, FXS, and the protocol’s collateral assets are all calculated on-chain using Uniswap’s TWAP Oracle (Time Weighted Average Price) and an ETH:USD Chainlink Oracle.

TWAP stands for Time-Weighted Average Price, and it is a reliable measure to know the average price of an asset excluding short-term fluctuations or manipulation that might occur in the short term

In future protocol updates, price feed oracles for collateral can be deprecated so that the minting process can be moved to an auction-based system that limits the reliance on price data and further decentralizes the Frax. Instead, the protocol would run with no price data for FRAX or FXS. Minting and redemptions would happen through open auctions where bidders would post the highest/lowest ratio of the collateral plus FXS that they are willing to mint/redeem FRAX for. This hypothetical auction arrangement would lead to collateral price discovery from within the system itself and not require the intervention of price oracles.

FRAX can be minted by depositing collateral. In the beginning, the Collateralization Ratio is 100%, which means that minting FRAX only requires placing collateral into the minting contract. Progressively, as the collateral ratio decreases and the fractional reserve phase starts, minting FRAX requires burning FXS tokens on top of the appropriate ratio of collateral deposit (stablecoin assets will be favored as collateral to smoothen out the impact of volatility).

The FRAX redemption process consists in burning FXS as FRAX is minted during fractional stages. Similarly, FXS is minted when FRAX is redeemed.

Frax is an agnostic protocol that makes no assumptions about what collateral ratio the market will settle on in the long term. Instead, the protocol keeps a ratio that is enough to supply the demand by market participants while keeping the price close to $1.

The protocol only adjusts the collateral ratio as a result of demand for more FRAX and changes in the price of FRAX:

It could be possible that FRAX becomes entirely algorithmic but then recollateralizes to a higher collateral ratio as market participants demand more FRAX.

Overall, Frax Finance implements a deterministic and reflexive mechanism design to measure the market’s confidence in a non-backed stablecoin. This is different from previous algorithmic stablecoin attempts that had no intrinsic collateral on day 1. Those attempts failed to address the fact that the market might not have confidence in the stablecoin on day 1, which could lead to a complete failure in the adoption of the stablecoin asset.

As of February 23, 2023, under FIP-188, the community has voted to retire the algorithmic backing of FRAX over time.

Why The Protocol Was Created

On November 26, 2020, the testnet version was released for early users to report bugs. After 1 month, the protocol was deployed on the Ethereum mainnet on Monday, December 21, 2020. One hour after launch the TVL (Total Value Locked) was over $43M. As of January 2021, 100M FRAX tokens had been minted at an 85% collateral ratio.

The protocol’s original vision was the creation of a new category for decentralized stablecoins: fractional stablecoin protocols. As the first protocol to fall under this categorization, it has been often mislabelled as an algorithmic stablecoin. While partially true, the novel mechanism design comes from the open-source and permissionless implementation of a fractional reserve monetary policy that is currently present on 13 chains. The protocol’s end goal is the creation of a highly scalable, decentralized, and algorithmic representation of money that will replace fixed-supply digital assets such as Bitcoin.

The mission is achieved through the creation of 2 stablecoins: Frax (pegged to 1 USD), and FPI (pegged to the US Consumer Price Index). These two assets are the base layer of an economy built around a native AMM (Fraxswap), and a lending facility or money market (Fraxlend).

Frax uses ideas from Uniswap and AMM designs to build a novel hybrid stablecoin system that has never been seen before. For instance, in a Uniswap pool, the ratio of asset A and asset B has to be proportional due to the constant function formula. Because of this, LP tokens are just a pro-rata claim on the pool + fee revenue

Frax takes that idea and turns it into a unique stablecoin design where the LP token is represented by a stable asset pegged to 1 USD, FRAX. As the native stablecoin, FRAX will act as the stabilization mechanism, since it will always be redeemable for $1 worth of collateral and the corresponding FXS collateral ratio. This ratio of the two assets, collateral, and FXS, is dynamically adjusted based on the price of FRAX.

This dynamic adjustment and price fluctuation is constantly happening. The AMM tests different ratios of collateralization based on signals from the market.

In Frax V1, there was only a single AMO (Algorithmic Market Operation), the fractional algorithmic stability mechanism, also known as the base stability mechanism. This AMO adjusted the collateral ratio by rebalancing the ratio of collateral and FXS. Once the model manifested its resiliency, Frax came with its V2, which expands on the idea of fractional-algorithmic peg stability through autonomous contracts that enact arbitrary monetary policy so long as it does not change the FRAX price off its peg. These autonomous Smart Contracts are known as AMOs.

By creating a Turing-complete design space, the protocol is able to generalize the mechanism design of V1 and act as a central bank money lego. To make this possible, every AMO must have 4 properties

The base layer keeps running as it did in V1:

If the collateral ratio leads to a point where the peg slips, the AMOs will redeem the protocol liabilities and force the collateral ratio to return to peg. This allows all AMOs to operate with input from market forces while creating maximum flexibility without alternating the base stability mechanism.

As of February 23, 2023, under FIP-188, the community has voted to retire the algorithmic backing of FRAX over time.

Because AMOs are composable money legos, they can be deployed within the Frax ecosystem through Governance.

Roadmap

frxGov

frxGov is an upcoming module that is planned to overhaul the governance system, making the entire Frax protocol trustless, and also can live on without the contribution of any of the core team.

It has 3 abilities, all done fully on-chain:

Issues with the current system

The multi-sig system, currently in place, poses a centralization risk to the protocol, including potential risks for both the DAO and the Core Team members who operate it. If, hypothetically, a sufficient number of Core Team members were arrested, it could lead to a situation similar to the OKX exchange, where withdrawals were halted for months until the CEO was released from house arrest.

The multi-sig serves as the sole operator for on-chain proposal and execution. While the Core Team has diligently followed the preferences of veFXS holders since the protocol’s launch, it is important to acknowledge the need for caution in an adversarial environment. It is crucial that veFXS holders possess the ability to reject unacceptable or malicious transactions initiated by untrustworthy multi-sig signers. Without this power, the entire protocol is exposed to risk. This is why the Core Team has been devoted to extensively revising the governance module in 2023.

Frax Governance 2.0

The end result is Frax’s new governance system, comprised of two governor contracts:

The idea is that GovAlpha has ultimate control over the entire system, but it requires a high quorum. GovOmega, on the other hand, uses low threshold voting for speed. It’s the daily driver for adjusting AMOs.

Governor Alpha

The Governor Alpha contract has primary control over GovOmega parameters and whitelisted Safe multi-sigs. It is directly influenced by veFXS votes and requires a high quorum of 40% to make any parameter changes. Anyone can propose changes to veFXS, and there is a 5-day voting period. Once a GovAlpha proposal is approved, it will be queued for execution with a 24-hour timelock.

A new feature being introduced for veFXS is the ability to delegate voting power to another address. This is helpful for those who may not have the time or immediate access to their private keys to participate in on-chain governance. They can delegate their voting power to a trusted party that can vote on their behalf.

Once live, GovAlpha will inherit all existing Frax contracts.

Governor Omega

GovOmega operates similarly to the Alpha contract, but with limited powers. It allows veFXS holders to act as a check and balance on Safe multi-sigs. veFXS holders have direct control over GovOmega and can approve or reject any multi-sig transaction with a 4% quorum simple majority within a 2-day voting period.

GnosisSafe Multi-sig

Frax currently utilizes a 3/5 Safe multi-sig for protocol control, which will be maintained in the new governance module. However, additional smart contract processes will be implemented above it to ensure the long-term security of the protocol. It is possible that the X/Y number (number of required signatures) may be increased from 3/5 to accommodate new Frax Core Team members, such as Drake and others.

FraxGuard

FraxGuard is a contract that restricts the execution of Safe transactions to Safe owners and requires approval from GovOmega. The contract takes the address of the GovOmega contract as an unchangeable variable. When the Safe multi-sig is about to execute a transaction, it verifies if GovOmega is an owner of the Safe and checks if the given transaction hash is approved. If either check fails, the transaction is reverted.

veFXS Emergency Powers

In emergency situations, veFXS voters possess the ability to “short circuit” or execute a transaction without being subject to the 2 or 5-day cooldown period of either governor contract, as long as they hold more than 51% of the voting power. This allows for rapid execution powers in critical situations. It is important to note that achieving 51% voting power should be possible within a short timeframe, considering the ability of veFXS voters to delegate their voting power. However, this trade-off does present the potential for on-chain collusion by entities delegated with significant voting power. Nonetheless, it is necessary to ensure the protocol has the ability to act swiftly in emergency scenarios.

Governance Process

Approval Transaction Flow
In the docs the following example flow was given:

Abort Transaction Flow
Additionally, the docs also provide a flow for aborting a transaction:

Fraxchain

Fraxchain is intended to be Frax Finance’s own blockchain, designed as a Layer 2 Rollup.

While the blockchain is still in development, it has been mentioned that transaction fees will be in the form of $FRAX and $frxETH.

Team

Sam Kazemian is the co-founder and current CEO. He is an Iranian-American software developer. Before founding Frax he was the co-founder of Everipedia, a for-profit organization responsible for creating and maintaining a wiki-based encyclopedia. He graduated from the University of California Los Angeles, UCLA, in 2015

Team of 11-50 employees, out of which 10 are on LinkedIn:

Github contributions: https://github.com/FraxFinance/frax-solidity/graphs/contributors

DeFi Subsector

Despite the price of stablecoins being pegged to the value of a fiat currency or any other underlying asset, there are multiple ways to reach such price stability: overcollateralization, fiat backing, algorithmic minting/redemptions…

The key difference with respect to other stablecoin protocols is that Frax Finance does not fully embrace one single spectrum of design, such as an entirely collateralized reserve, or an entirely algorithmic uncollateralized backing. The ethos of the protocol is to differentiate itself from stable assets that carry on custodial risks (USDC, USDT…), and over-collateralized models who are capital inefficient and cannot scale (DAI).

Frax is an attempt to become the first stablecoin protocol to implement a highly scalable, trustless, and robust on-chain representation of money via a two-token system encompassed by the FRAX stablecoin, and the Frax Shares (FXS) governance token. On top of this base layer, there is an extra level of security provided by the protocol’s USDC holdings, such that the peg management and collateral ratio can be managed more easily.

Current stablecoin landscape: https://dune.com/21shares_research/stablecoin-monitor

Industry Overview and Adoption Upside

Over the upcoming years, there have been many attempts to solve the stablecoin trilemma. Until today, every stablecoin has to balance 3 main goals: hold a stable value pegged to the underlying asset, make the model capital efficient to increase demand and the velocity of money, and consider decentralization of the systems that issue the stablecoin

The nature of the trilemma is that under no condition, can all 3 goals can be achieved at the same time. Price stability remains the main objective for most systems since that’s what most users demand. This explains why centralized fiat-backed stablecoins have dominated the market, followed by more decentralized but still capital-inefficient overcollateralized models such as DAI. Both of these models make large trade-offs in one of the other dimensions of the trilemma. Because of this, algorithmic models such as UST managed to capture a large market share. However, this comes at the expense of using a mint/burn mechanism that leads to a death spiral as soon as users lose trust in the model.

The collapse of Luna and UST has shed light on the underlying risks of purely algorithmic stablecoins. By relying on a fractional reserve system, Frax Finance’s design resembles the operations of a central bank. However, the entire cascade of events and liquidity crisis caused by the significant losses of Terra has further put stablecoins under the close radar of regulators and financial authorities in major jurisdictions.

As a matter of fact, purely algorithmic/rebase designs have wildly fluctuating prices as much as +-40% around $1, and take days/weeks to stabilize. This is counterproductive and assumes that the market actually wants/needs a stablecoin with 0% collateralization. Frax does not make this assumption. Instead, it measures the market’s preference and finds the actual collateral ratio which is enough for holding the stablecoin tightly around $1. This is achieved by periodically testing the small differences in the collateral ratio when the price of FRAX is slightly above or below peg.

Because of this, FRAX managed to hold tight to the $1 peg during the UST collapse. This proved that its fractional backing is able to maintain its peg and collateral ratio during adverse market conditions

As the system becomes more efficient and the velocity of money in the form of FRAX increases, collateral pools can then include other assets instead of USDC, such as ETH or wBTC

The narrative is based on the mass adoption of a fractional-algorithmic stablecoin design that self-rebalances its ratio in real-time through a governance-minimized and resilient design.

Beyond its stablecoin, Frax is expanding into all DeFi verticals, which makes the protocol unique in the sense that it supports the Frax economy across verticals such as lending, DEX, bridges, and liquid Staking.

The introduction of Fraxlend brings in more demand for Frax, potentially making it the most attractive non-depeggable stablecoin yield possible on the market. In fact, Fraxlend could become the go-to tool for users to achieve a leveraged yield on their Convex LP tokens. This would work in 2 ways:

This shows how Fraxlend increases the demand for FRAX while also creating a new and organic revenue stream for the protocol

The creation of the Frax Base Pool (FRAXBP) could also be the catalyst for being perceived by the market as the decentralized central bank of DeFi.

The original proposal in May 2022 to deploy a Frax Base pool would pair FRAX with Curve’s 3pool and drive a lot of volume towards FRAX’s stablecoin pairs, increasing its supply and expansion into the economy. In the long term, this can be a game changer since:

The adoption of Frax Ether is also a catalyst since it gives users 2 choices to earn rewards:

Since Frax is the largest holder of CVX, it can direct curve emissions toward the ETH/frxETH pool.

This new Staking derivative has already shown exponential growth hitting 20M in TVL in November 2022.

Chains

As a multichain protocol that must maintain a global state across all deployments, FRAX and FXS tokens are a single distribution across all networks. This means that there is no single protocol implementation for each chain.

Frax is present on Ethereum, Moonbeam, Moonriver, Binance Smart Chain, Polygon, Fantom, Arbitrum, Harmony, Avalanche, Boba, Aurora, Dogechain, and Optimism.

FraxBridge and cross-chain strategy

Since there is no single protocol implementation for each chain, Frax has built its own bridging system to allow FRAX to maintain a tight peg and achieve unique fungibility across all chains.

Each chain has 1 canonical (native) FRAX and 1 canonical FXS contract that is simply referred to as “FRAX” and “FXS” (no prefix) to signal the protocol that these tokens will be used to expand/contract FRAX supply.

The introduction of FraxBridge allows for a price arbitrage between chains. Each canonical  (native) FRAX/FXS ERC20 token contract has a 1-to-1 stableswap AMM built into the token. This allows swapping to/from the canonical asset of the network for any supported bridged implementation. The arbitrage window is very tight and also maintains a single distribution of FXS across all chains.

As an example, if canonical FRAX is trading at $0.99 on Fantom, an arbitrager can purchase as much canonical FRAX as possible knowing that it will be able to be swapped 1 to 1 for anyFrax (FRAX bridged from Anyswap) in the stableswap pool within the ERC20 contract. Next, the arbitrager will bridge anyFRAX back to another chain where FRAX is trading at or above $1 to make a profit.

Swaps can be done at https://app.frax.finance/crosschain or directly interact with the ERC20’s smart contract on any supported chain.

Guide for swapping between bridged and canonical FRAX/FXS: click here

For Users

Target users

Users who believe in decentralization and sound money will find huge value in the trust-minimized guarantees of FRAX. The Frax Decentralization Ratio can be used as a unit of measurement to represent the collateral value over the total stablecoin supply that is backed/redeemable for those assets.

For instance, collateral assets with excess off-chain risk, such as fiat, securities, gold, and oil… are counted as 0% decentralized.

Similarly, if we take the FRAX3CRV LP pool, we can break it down into 50% FRAX and 50% 3CRV (33% USDC, 33% USDT, and 33% DAI). DAI itself is about 60% stable fiatcoins. Therefore, each $1 worth of FRAX3CRV LP only has about 66 cents of value coming from decentralized sources.

Reward tokens from protocols deployed on Ethereum, such as CVX or CRV, are counted as 100% decentralized. The same applies to FRAX minted through lending AMOs, due to the over-collateralization requirement satisfied by borrowers.

The Decentralization Ratio is tracked daily and made visible on the dApp’s website.

Users who care about the long-term sustainability of the Ethereum blockchain will also benefit from Frax Ether as a liquid Staking derivative. If users did not rely on Staking derivatives, they would need to stake Ether by themselves. This requires technical knowledge of setting up a Validator and comes at the expense of a minimum of 32 ETH deposit. By using a liquid Staking alternative such as sfrxETH, users can earn Staking rewards without having to run their own Validator or depositing a big amount of ETH.

Fraxswap

Fraxswap is the first constant product AMM with an embedded time-weighted average market maker (TWAMM) that allows for conducting large trades over long periods of time, trustlessly. While inspired by traditional OTC trading desks, the AMM follows the technical design of Uniswap V2. The goal is to help traders to execute large orders more efficiently. This will be beneficial for the Frax protocol itself since the protocol will use the Fraxswap AMM to increase the peg stability of both FRAX and FPI as well as return protocol excess profits to FXS holders through TWAMM purchases. More specifically, Frax Finance will use Fraxswap to:

An OTC crypto desk refers to any trading activity that is not done via an automated exchange in the open market. This is often the case for massive off-market deals or peer-to-peer transactions that do not take place on a trading exchange

Fraxswap is the first live TWAMM implementation that adheres to the original TWAMM whitepaper specifications:

Basically, the TWAMM breaks long-term orders into infinitely many small virtual sub-orders which trade against the embedded AMM at an even rate over time. As these long-term orders are executed, they will push the embedded AMM’s price away from prices on other markets over time. When this happens, arbitrageurs will trade against the embedded AMM price to bring it back in line.

Because of this, Fraxswap can fill the trading needs of large protocol treasuries and DAOs. This opens up the door for DAO to DAO swaps, critical protocol operations, Dollar Cost Averaging… Among the most popular use cases stand out:

While Fraxswap follows the original implementation by Paradigm, some slight modifications were made for reducing gas costs.

Fraxlend

Fraxlend is a lending platform that provides lending market pairs for ERC20 assets. These pairs are particular since they are isolated from each other.

Similar to other money markets like Aave and Compound, each borrower’s position has a loan-to-value ratio (LTV) that represents the ratio between the value of the borrowed assets and the value of the collateral deposited. The LTV changes when the exchange rate between Asset and Collateral tokens changes or when the interest is capitalized.

When a deployer creates a lending pair, a specific rate calculated must be specified. This Rate Calculator will determine interest rates. Fraxlend supports 2 types of Rate Calculators:

Fraxlend Dune dashboard by Blockworks: https://dune.com/blockworks_research/fraxlend

Frax Ether

Frax Ether is a liquid ETH Staking derivative designed to maximize yield from ETH Staking rewards to benefit the Frax economy. At its core, the Frax Ether system consists of the following:

Frax Ether v2

 

FrxETH v2 is envisioned to be:

Some of its innovations include:

Validators

FrxETH v2 creates a fully decentralized borrowing market for validators by enabling the following:

FraxFerry

FraxFerry is an alternative method for bridging tokens between chains. Its simple and secure design was motivated by:

FraxFerry provides the following benefits when compared to traditional bridges:

This comes at the expense of:

AMOs

Algorithmic Market Operations, or AMOs, are how Frax works.  They provide the algorithm and guidelines for the different mechanisms in the Frax ecosystem.  There are different AMOs for the different features of Frax, including Frax Lend, and most notably, keeping the FRAX stablecoin peg.  AMOs can be deployed within the Frax ecosystem through Governance.

Collateral investor AMO

The Collateral Investor AMO moves idle USDC collateral to DeFi protocols (currently Yearn, Aave, and Compound) and earns yield from them. The only requirement for this AMO is to be able to pull out the invested collateral immediately with no waiting period. This helps the protocol during periods of large FRAX redemptions. The collateral that is invested does not count as lowering the collateral ratio of the protocol, since it is available to the protocol at all times.

  1. Decollateralize by placing collateral in yield-generating protocols where the investment can always be withdrawn at 1 to 1 rate without lowering the protocol’s collateral ratio
  2. Perform market operations by compounding the earned yield
  3. Recollateralize by withdrawing investment from vaults to free up collateral for redemptions
  4. Keep track of a formalized balance sheet accounting the daily revenue towards FXS1559

Curve AMO

The Curve AMO is a stableswap pool controlled by the protocol. This AMO deposits FRAX and USDC liquidity into Curve with the purpose of tightening the peg. Frax has deployed its own FRAX3CRV metapool, which means that the Frax deployer address owns the admin privileges of the pool. This allows the controller to set and collect admin fees for FXS holders. Besides, the protocol can move idle USDC collateral or new FRAX to its own pool to create even more liquidity and peg stability.

The protocol calculates the amount of underlying collateral that the AMO can access by finding the balance of USDC that it can withdraw if the price of FRAX were to drop the collateral ratio. This calculation allows the Curve AMO to mint FRAX and deposit it in the pool in addition to the USDC collateral to tighten the peg

The AMO’s overall strategy allows for optimizing the minimum FRAX supply so that selling all that amount at once into the pool would minimize the price impact. This means that the Curve AMO can put FRAX and USDC stablecoins into its own Curve pool and control its own TVL. Since the collateral ratio dynamically adjusts itself, FRAX can be sold directly into the Curve pool before a price drop causes the protocol to re-collateralize itself. Because of this, the protocol can have at least the amount needed to re-collateralize in this AMO, since the sale of the full amount into the Curve pool would not impact the price enough to cause the collateral ratio to move. For instance, a 330M TVL FRAX3Pool can support at minimum a $39.2M FRAX sell order without moving the price by more than 1 cent.

Additionally, Curve allocates CRV rewards for liquidity providers. Since the Frax protocol will likely be the largest LP to the FRAX3CRV pool, it can allocate all its FRAX3CRV LP tokens into the Curve gauges to earn a significant amount of the pool’s CRV rewards. These CRV tokens are held within the AMO and can be used to vote on Curve DAO governance as per the internal governance decisions of FXS holders. Indeed, the more the protocol deploys its owned liquidity to Curve, the more of the Curve protocol it will own and the more power it will have over the distribution of CRV rewards.

FRAX3CRV Dune Dashboard: https://dune.com/templedao/FRAX3CRV-Pool

  1. Decollateralize by placing idle collateral and newly minted FRAX into the FRAX3CRV pool.
  2. Perform market operations by earning transaction fees, and CRV rewards. In addition to that, the FRAX3CRV LP tokens are deposited to the crvFRAX yearn Vault, StakeDAO, and Convex Finance to earn extra yield.
  3. Recollateralize by withdrawing excess FRAX from the pool first and then withdrawing USDC later to increase the collateral ratio.
  4. Keep track of a formalized balance sheet accounting the daily revenue towards FXS1559.

Uniswap V3 AMO

The Uniswap V3 AMO deploys idle collateral to stable-pair assets on Uniswap V3. This benefits from Uniswap’s V3 concentrated liquidity AMM, which benefits favorable liquidity conditions to maintain peg stability.

The Uniswap V3 AMO deposits FRAX and collateral as liquidity into the protocol. Since the AMO is able to enter any position on Uniswap V3 and mint FRAX against it, it allows for expansion to any other stablecoin on Uniswap V3. This can further be carried on to volatile assets.

Profits come from collecting fees periodically and allocating this revenue to other AMOs.

  1. Decollateralize by placing idle collateral and newly minted FRAX into a Uniswap V3 pool.
  2. Perform market operations by earning transaction fees and swaps between collateral types
  3. Recollateralize by withdrawing from the Uniswap V3 pairs, burning FRAX, and returning USDC to increase the collateral ratio.
  4. Keep track of a formalized balance sheet accounting the daily revenue towards FXS1559.

Frax Lending AMO

The Frax lending AMO earns APY by lending FRAX on other DeFi platforms. This controller mints FRAX into money markets like Aave and Compound to allow anyone to borrow FRAX by paying interest instead of the base minting mechanism. The FRAX that is minted into the money markets does not enter circulation unless the supply is overcollateralized by borrowers. This ensures that the AMO does not lower the collateral ratio. At the same time, it also allows the protocol to directly lend FRAX and earn interest from borrowers.

This cash flow can be compared to how MakerDAO burns MKR from stability fees.

The AMO can increase/decrease the interest rate on borrowing FRAX:

Since the AMO can mint/burn FRAX, it also makes the cost of shorting FRAX more or less expensive depending on which direction the protocol needs to target its collateral ratio. Furthermore, because the protocol itself can mint stablecoins at will until the market responds by selling FRAX and bringing the price below $1, this AMO has minimal money creation costs. This strategy is optimal for overcoming the rates of any other stablecoin.

  1. Decollateralize by minting FRAX into money markets without decreasing the collateral ratio, since all borrowed FRAX is guaranteed to be overcollateralized.
  2. Perform market operations by accruing interest rate payments from borrowers.
  3. Recollateralize by withdrawing FRAX from money markets.
  4. Keep track of a formalized balance sheet accounting the daily revenue towards FXS1559.

For Investors

Income from farming rewards and yield strategies

Protocol Utility

The protocol’s main objective is the price stability of FRAX:

When there is demand for FRAX, redeeming it for FXS plus collateral starts the process of minting an equivalent amount of FRAX. This amount will enter into circulation by burning a similar amount of FXS. Therefore, the value that accrues to the FXS market cap is the sum of the non-collateralized value of FRAX’s market cap.

FXS token’s value is partially determined by the demand for FRAX. This value is represented as the sum of all past and future shaded areas under the curve displayed in the picture below.

The supply/demand curve illustrates how minting/redeeming FRAX leads to price stability:

Since the market cap is calculated by multiplying the price by quantity:

When demand increases, the market increases, either by an increase in quantity (at a stable price) or an increase in price. The area of the green and red squares above is the same and, therefore, would contribute the same amount of value in terms of market cap.

Because of all these premises, the FXS market cap is intrinsically linked to the demand for FRAX.

Business model

The protocol adjusts the collateral ratio during periods of FRAX expansion and contraction:

Minting

All FRAX tokens are fungible with one another and are entitled to the same proportion of collateral regardless of the original collateral ratio they were minted at.

The price of the collateral affects how many units FRAX can be minted.

Note that FRAX is pegged to 1 USD, not 1 unit of USDC.

Here are some examples to understand how the minting of FRAX works.

Example 1:

When the protocol is fully collateralized (100% collateral ratio), no FXS is needed to mint FRAX. For example, minting FRAX with 200 USDC would give 200 FRAX

F = (200 * $1) + (0) = 200 FRAX

Example 2: 

When the protocol is at an 80% collateral ratio, a user with 120 USDC and the price of FXS being $2, will need to deposit 15 FXS alongside the 120 USDC to get 150 FRAX

F = (120 * $1) + (15 * $2) = 150 FRAX

Out of the 150 FRAX minted, 120 units will be backed by USDC collateral and the remaining 30 units will be unbacked. Because of this unbacking, the protocol burns  the FXS deposit to remove the tokens from circulation

Example 3:

When the protocol is at a collateral ratio of 50%, a user with 220 USDC and a price of $0.9995 per 1 USDC and an FXS price of $3.5 per FXS will need to deposit 62.54 units of FXS

F = (220 * $0.995) + (62.54% * $3.5) = 437.78 FRAX

Out of the 437.78 FRAX minted, half of it will be backed by USDC collateral and 62.54 FXS tokens will be burnt and removed from circulation.

*Note that these examples do not account for the minting fees

You can read more about the minting and redeeming function here.

Redeeming

Here are some examples to understand how the redeeming of FRAX works.

Example 1:

At a collateral of 65%, and the price of 1 USDC being $1 and $3.75/FXS we have:

This means that redeeming 170 FRAX returns $170 worth of value to the redeemer in the form of 110.5 USDC from the collateral pool and 15.867 newly minted FXS tokens at the current market price

*Note that this example does not account for the redemption fees

The redemptions are calculated by readjusting the formula for minting:

Economics








Revenue breakdown

Rather than having a token only meant for Governance purposes, the FXS token also represents the actual value accrued to the entire Frax economy. Indeed, all utility is concentrated into FXS.

FXS is a non-stable utility token that holds governance rights within the system. The FXS token benefits from the potential upside in its utility within the Frax economy. Frax Finance has been designed so that the FXS token is largely deflationary in supply as long as the demand for FRAX increases.

To come up with an efficient market capitalization calculation, you should consider:

As the market cap of FXS increases, so does the system’s ability to keep the price of FRAX stable and pegged to 1 USD.

As originally stated in the Seigniorage Shares whitepaper by Robert Sam’s, “share tokens are like the asset side of a central bank’s balance sheet. The market capitalization of shares at any point in time fixes the upper limit on how much the supply of the coin can be reduced”.

As the second stablecoin within the Frax economy, The Frax Price Index (FPI) is governed by Frax Price Index Shares or FPIS for short. Similar to the FXS structure, FPIS holders are entitled to the seigniorage of the protocol and can direct excess yield from the protocol treasury back to FPI holders.

The Frax economy as a whole captures value similar to how ETH accrues value from the sum of all dApps deployed on the Ethereum network. Just like ETH is needed to pay for transaction costs, FPI growth is similar to how a specific ERC20 token can track its native protocol’s growth with respect to the underlying L1 economy. For instance:

Similarly,

Over the past year, FRAX supply has been sitting at ~20% of MakerDAO’s DAI supply. This means that the demand for FRAX could surge up to 400% before breaking even with DAI. This revenue would flow to FXS holders. One example of this was the vote on a $20M revenue-fueled buyback program by FraxSwap’s TWAMM, from which Frax stands to earn even more revenue from a 0.3% trading fee on all swaps.

By having its own AMM and money market, the Frax economy can act as a central bank whose entire revenue is shared back with the protocol token holders. For instance, all revenue generated by Frax Ether from its Validator rewards is distributed back to sfrxETH holders.

This aligns with the concept of protocol-owned liquidity. For instance, Frax currently owns ~51% of FRAX supply as protocol-controlled value, since most of this FRAX is being used by AMOs.

Operational expenses

Most expenses come from liquidity mining initiatives:

Dune dashboard with operational expenses: https://dune.com/seba/frax-curve-bribing

Tokens

FXS

The Frax governance token, FXS (Frax Share) supply is initially set to 100M tokens at genesis. However, the amount in circulation will likely be deflationary, since FRAX is minted at higher collateral ratios. As per the original design, the FXS supply will halve every 12 months on December 20th each year.

FXS gauge emissions are given out as incentives for veFXS stakers. Since these emissions are fixed and halved every year, governance can decide whether to allocate part of the protocol’s cash flow or newly minted FRAX to gauge rewards after a few years. Because of this, veFXS stakers can feel more confident locking their tokens for a maximum of 4 years duration knowing that the gauge incentives program won’t be deprecated.

FXS 1559

FXS1559 was originally created as the original protocol mechanism for the FXS token. Since its announcement, Governance has voted to move 100% of the protocol profits to veFXS yield.

This specification calculates all excess value in the system that is above the collateral ratio and uses these profits to buy back and burn FXS in the open market. The proposal is based on Ethereum’s EIP 1559, which burns ETH during block production based on usage metrics.

Specifically, every time interval, FXS1559 calculates the excess value above the collateral amount and mints FRAX in proportion to the collateral ratio against that value. It then uses the newly minted FRAX to purchase FXS on FRAX-FXS AMM pairs and burn it.

Example

There is 100M FRAX in circulation with $86M worth of collateral (86% collateral ratio). When FRAX is trading at $1 the system is in equilibrium. Collateral is then deployed through multiple AMOs so that Frax can earn yield, transaction fees, and interest.

For example, if each day the protocol AMOs generates $20,000 worth of revenue, this would increase the collateral ratio by 0.23% each day. Therefore, after 24 hours, the collateral ratio will have gone from 86% to 86.023%.

In this scenario, the protocol could use the $20,000 worth of collateral profit to purchase FXS on the open market. However, a more efficient method is to mint 20,000 / 0.86 = 23,255.814 FRAX and then take the newly minted 23,255.814 FRAX and purchase FXS. The recently bought FXS is immediately burned. This alternative method is more capital efficient since it can expand the FRAX supply, accrue value to FXS holders, and rebalance the protocol’s collateral ratio.

veFXS

veFXS also plays a key role in the protocol’s governance. It is a vesting and yield system based on Curve’s veCRV mechanism. Users lock up their FXS tokens for up to 4 years to receive 4 times the amount of veFXS tokens (e.g. 100 FXS locked for 4 years would return 400 veFXS). veFXS tokens are neither transferable nor tradeable on liquid markets. Instead, they entitled their holders to an account-based points system where the voting power linearly decreases as the vested tokens approach their lock expiry. Once the voting power fully decays after 4 years, the user can redeem the veFXS back for FXS. In the meantime, users can also increase their veFXS balance by locking up FXS, extending the lock duration, or both.

The main cash flow distribution mechanism of the Frax Protocol is to veFXS holders. The cash flow that is earned from AMOs, Fraxlend loans, and Fraxswap fees goes towards buying back FXS from the market and then redistributing it to veFXS stakers as yield. Because of this, the emission rate varies depending on the protocol’s profitability, sources of cash flow, FXS market price, and governance.

Token distribution

FRAX Treasury

Frax Crypto assets:

FXS distribution

veFXS locked

FPI

FPI is a novel stablecoin pegged to a basket of real-world consumer items as defined by the United States CPI-U (CPI Unadjusted) average. FPI is intended to keep its price constant to the price of all items within the CPI basket. For that reason, the Frax Price Index stablecoin is meant to hold its purchasing power.

A Chainlink Oracle is responsible for committing the US CPI-U 12-month inflation rate on chain as stated by the US Federal Government. The Oracle’s reported inflation rate is then applied to the redemption price of FPI. This redemption price then grows every second if there is inflation, or declines if there is deflation. This peg calculation rate is updated once every 30 days when bls.gov releases new CPI monthly data.

The Consumer Price Index measures the monthly change in prices paid by US customers. It is calculated by the US Bureau of Labor Statistics as a weighted average of prices for a basket of goods and services representation of aggregate US consumer spending

FPI tracks the above 12-month inflation rate and pegs a redemption contract to its dynamic pricing at all times.

FPI Controller Pool

The FPI Controller Pool has all the functions related to FPI and its peg:

FPI distribution

No FPIS tokens can be minted beyond the 100M genesis supply except to keep the FPI peg to the CPI rate (and keep the 100% collateral ratio constant).

Governance

By giving FXS the utility and value accrual functions, Frax Finance uses a governance-minimized approach to building. This aligns with the protocol’s core philosophy of creating a trustless form of money, similar to Bitcoin.

The team designed the system so that the fewer parameters for the community to manage, the lower the chances of disagreement between token holders.

Governance parameters include:

No other actions such as active collateral management or human-modifiable parameters are possible without hard forking the protocol.

Frax Price Index Shares, FPIS, are used for governance of the Frax Price Index stablecoin. At the same time, FPIS is interconnected with FXS via “linked governance”. This means that FXS and FPIS are economically linked in a programmatic manner to ensure that FXS remains the base token within the Frax economy while both stablecoins grow independently of one another.

The best way to stay up to date with Governance is the Governance community site found at: https://community.frax.finance/info/governance

veFXS

veFXS also plays a key role in the protocol’s governance. It is a vesting and yield system based on Curve’s veCRV mechanism. Users lock up their FXS tokens for up to 4 years to receive 4 times the amount of veFXS tokens (e.g. 100 FXS locked for 4 years would return 400 veFXS). veFXS tokens are neither transferable nor tradeable on liquid markets. Instead, they entitled their holders to an account-based points system where the voting power linearly decreases as the vested tokens approach their lock expiry. Once the voting power fully decays after 4 years, the user can redeem the veFXS back for FXS. In the meantime, users can also increase their veFXS balance by locking up FXS, extending the lock duration, or both.

In order to stake veFXS, Smart Contracts, and DAOs need to be whitelisted by governance. Otherwise, only externally owned accounts and normal user wallets can directly lock FXS.

Each veFXS is entitled to 1 vote in governance proposals. Therefore, Staking 1 FXS for 4 years would grant the user 4 veFXS tokens or governance votes. The more veFXS a user holds, the more weight the user’s vote will have when collecting farming rewards. These farming rewards, such as CRV incentives, are distributed to veFXS lockers. Note that a user’s veFXS boost does not increase the overall emission of farming rewards. Instead, this boost is an extra multiplier added to each farmer’s yield in proportion to their veFXS balance.

The main cash flow distribution mechanism of the Frax Protocol is to veFXS holders. The cash flow that is earned from AMOs, Fraxlend loans, and Fraxswap fees goes towards buying back FXS from the market and then redistributing it to veFXS stakers as yield. Because of this, the emission rate varies depending on the protocol’s profitability, sources of cash flow, FXS market price, governance…

In the future, the utility of veFXS can be expanded to vote on AMO weights, earn additional yield in other protocols, and overall help creates long-term alignment for the Frax economy. This benefits the Frax ecosystem as a whole by:

Learn how to stake FXS and earn veFXS yield: https://fraxfinancecommunity.medium.com/guide-how-to-stake-your-fxs-and-earn-vefxs-yield-dc684ffdd1ed

A “gauge” is a farming smart contract that takes deposits in one asset (typically Vault token, LP share, NFT position…)  and rewards the depositor yield in FXS and other tokens from protocol partners.

Gauges

In Frax, gauge contracts take on deposits such as Frax lending deposits (aFRAX in Aave, cFRAX in Compound, fFRAX in Fraxlend), LP tokens (Curve LP tokens or Fraxswap LP tokens), or NFTs (such as Uniswap v3 NFT positions). After collecting the deposits, gauges are used within the protocol to incentivize certain strategies or behaviors that are advantageous to the protocol. Examples of this are increasing the amount of FRAX being lent, deepening the liquidity of certain pools, or growing a partnership with another protocol.

The veFXS amount allocated to each gauge strategy is referred to as the “gauge weight”. veFXS holders can distribute their voting power across multiple gauges or a single gauge, such that 1 veFXS is equal to 1 vote.

The Frax gauge system lowers the influence of FRAX pairs where the majority of rewards are sold off. The reason for that is that those LPs will not have enough veFXS to continue voting for their pair. By doing this, the system favors LP providers who continually stake their rewards for veFXS to increase their pool’s gauge weight.

Gauge strategies currently play a big role in incentivizing the right behavior for the growth of the Frax ecosystem. This is achieved through veFXS and time lock boosts. Users who stake tokens in a gauge contract earn boosts to their APR based on the amount of veFXS they own.

veFPIS

veFPIS is a vesting and yield system similar to veFXS, where users may lock up their FPIS tokens for up to 4 years to gain a voting power equivalent to 4 times their amount of FPIS (e.g. 100 FPIS locked for 4 years return 400veFPIS). veFPIS is neither transferable nor tradeable on liquid markets. It works as account rewards vesting systems determined by a vesting duration to the user’s wallets.  The veFPIS balance linearly decreases as tokens approach their lock expiry date.

veFPIS has an additional DeFi whitelist for Smart Contracts that adds more modularity to the Staking system.

This whitelisted system allows governance to add new functionality to the veFPIS Staking module, such as “slashing conditions”, new ways to earn higher yield, gauge weights voting, borrow FPI…

 

Risks

Security

Frax uses multi-sigs operated by the core team to control the protocol funds and governance operations. As per the Trail Of Bits audit in December 2021, “contract owners have near complete control over the system. While the concept of governance exists, its role is unclear”.

The current governance structure was forked from Compound’s Governor and uses FXS as the vote token. This contract is intentionally designed to be the protocol’s decentralized and on-chain voting engine. However, it is currently not being operated.

Frax Founder Sam Kazemian has stated the team’s awareness and explained that their current design is unsustainable. Therefore, the team plans to implement a more decentralized governance model that will be entirely on-chain and managed by 6 of 11 multi-sigs. 6 of those signers will be Smart Contracts that will work as a group controlled by veFXS voters, with the other 5 signers being current core team members. Because of this, the core team cannot unilaterally execute transactions. Additionally, if veFXS voters believed that the team multisig is acting maliciously, they would vote to veto all incoming transactions, replace the address, and vote to change other system parameters.

This new system is expected to go live before the end of 2022 (a 6-month delay from the team’s previous estimation):

Audits

For transparency reasons and as a sign of awareness, the Frax team keeps track of a series of Monthly reports found at: https://community.frax.finance/info/reports

Economic attacks vectors

The most commonly raised concern is about peg stability and the partial backing of the FRAX stablecoin. Going through history, FRAX was 100% collateralized at genesis, meaning that it was fully backed by USDC. Over time, careful steps were taken to improve the protocol’s capital efficiency. Ultimately, FRAX makes no assumptions about what collateral ratio the market will settle on in the long term. However, this shows that if an algorithmic design ends up being unsustainable in the long term, Frax can quickly revert its course and go back to its origin, where it was backed by another centralized stablecoin.

Frax users are also aware of the inherent custodial risks that come from centralized stablecoin issuers. For that reason, the protocol is currently exploring different ways to back 1 unit of FRAX, such as $1 worth of LP token value. For instance, this LP token could be the FRAX-ETH LP token, which means that the liquidity would be backed with ETH.

Dependencies on other protocols, liquidity risk, asset risk…

Despite having exposure to a wide variety of projects and external protocols, Frax follows the philosophy that stablecoins need collaboration and not competition.

sfrxETH

The following are risks that come along with the $sfrxETH token.

Investors

The first investment round in Frax was done in August 2020 with a small allocation of 2% of the total supply that was sold out in under 2 hours. The remainder of the round was done individually through private placements, such that the remaining 10% of tokens allocated to accredited private investors are evenly vested over 1 year, half of which will have a 6 month cliff.

Among the investors and backers:

Additional Informaiton

Partnerships

A full list of integrations classified by chain and use case can be found here: https://app.frax.finance/integrations/ethereum

 

Frax Ecosystem Education Initiative

The Frax Ecosystem Education Initiative aims to promote and spread awareness about the protocol throughout DeFi and beyond. The program will run for three months and at the end of every month term, up to $10k worth of $FXS will be rewarded to eligible participants. The categories for the initiative are as follows:

Submissions will be managed by the Flywheel DeFi team and final approval of rewards will lay with the Frax Core Team. Incentives will be paid at the end of each month in a first-come, first-served manner. If the monthly paid incentives reached the cap, the rest of the queue would be considered for the next month. The schedule for the program is as follows:

 

FAQ

Community Links

Official Links

Crypto Community Links

Revision History

Version 0.0 | Jan. 2, 2023 – Initial Release

Version 0.1 | Mar. 6, 2023 – Added ticker and price charts for $FRAX and $FXS

Version 1.0 | June. 9, 2023 – Added roadmap, frxGov

Version 1.1 | August. 31, 2023 – Updated Sections (Partnerships, Risks, Roadmap)

Jump