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.
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.
BAMM, or Borrow Automated Market Maker (AMM), as an upcoming mechanism by the Frax team.
The primary challenge associated with AMMs is that when assets are deposited into a basic AMM, they become inaccessible for trading purposes beyond swaps. Traders expect that the fees generated from these swaps will outweigh the benefits of simply holding the assets. However, studies indicate that because AMMs are unable to adjust transaction fees, their returns are inferior compared to alternative market-making strategies. Even during periods of heightened market volatility, only a fraction of the Liquidity Provider (LP) pool is utilized for swaps.
A potential remedy to this issue involves permitting a portion of the liquidity to be withdrawn while concurrently virtualizing the swap curve. Balancer was among the pioneering projects to address this by introducing Boosted Pools, enhancing pools with external protocols such as Aave. This integration allows the pools to accumulate extra yield, such as lending fees, effectively virtualizing the liquidity and enabling it to remain productive even when not directly involved in swaps.
BAMM is an evolution of the virtualized AMM, where instead of allowing a single participant to determine where the idle liquidity is used, it creates a dual sided lending market for both assets in the LP.
By virtualizing the swap curve, BAMM will open up a host of new trading strategies and yield opportunities. Traders will now be able to consolidate their lending positions into AMM’s rather than single sided collateral provision. Liquidity will deepen on-chain as a result, leading to tighter swap markets and depth.
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
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: over-collateralization, 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
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.
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.
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
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.
Fraxtal is a modular rollup blockchain operating as a Layer-2 solution with a focus on fractal scaling. It utilizes the OP stack to ensure full compatibility with the EVM, enabling integration and operation of existing Ethereum-based smart contracts. This approach allows developers to migrate and deploy applications efficiently, benefiting from reduced transaction costs and improved processing speeds typical of Layer-2 solutions.
On February 8, 2024, Frax Finance officially launched Fraxtal’s mainnet, initially available only to specific launch partners. This release marked Fraxtal’s entry into the market as an Ethereum-compatible optimistic rollup.
The architecture of Fraxtal is modular, designed to extend its functionalities through various components and middleware. This modularity facilitates connections with other chains and networks, allowing for the deployment of Layer-3 solutions and the development of new protocols on top of Fraxtal. A separate data availability module, developed by the Frax Core Team, ensures data management and enhances overall network security.
Fraxtal uses Frax Ether ($frxETH) as its native gas token to facilitate transaction processing. $frxETH can be obtained through a native L2 bridge that supports the bridging of ETH from the Ethereum mainnet, streamlining the user experience and maintaining cost-effectiveness in operations. Additionally, Wrapped ETH ($WETH) can also be bridged through the same mechanism, although it remains non-unwrappable to $ETH within Fraxtal, due to the primary use of $frxETH as the operational token.
An innovation within Fraxtal is the Fraxtal Points System (FXTL), which introduces a mechanism for rewarding ecosystem participants. This system issues FXTL points for activities such as creating and interacting with smart contracts, engaging with new protocols on the chain, and holding specific tokens. These points are managed through the main FraxtalPoints contract, which acts as a comprehensive ledger for all point-related transactions and balances. The system is designed with future tokenization in mind, potentially converting FXTL points into a standalone staking token or integrating them into the existing FXS token system.
The Fraxtal ecosystem also includes an incentive structure known as the Fraxtal Blockspace Incentives system, or “Flox”. Flox operates on a recurring basis, rewarding users and developers every epoch—which is initially set to seven days—based on their contributions and gas expenditures on the network. The rewards are calculated using the “Flox Algorithm”, which assesses the amount of gas used by smart contracts and applies a ranking system to determine the significance of each contract and user within the ecosystem.
This system is designed to surpass traditional fee-sharing models by providing substantial incentives that not only refund gas costs but also reward active participation and development on the platform. The goal is to foster a vibrant and economically active network that supports both users and developers, aligning with Fraxtal’s long-term vision of sustainable and scalable blockchain solutions.
Flox incentives are calculated using a two-part algorithm that includes a transaction trace to assess gas usage and an additional algorithm to rank contracts and other criteria such as asset holdings at randomly selected blocks within the epoch. The incentives are then distributed according to the calculated Flox Rank, which is inspired by the PageRank algorithm and adjusted for blockchain-specific dynamics.
For instance, consider a transaction swapping $USDC for $FRAX through a Curve pool using the 1inch protocol. In this scenario, incentives would be distributed not just to the user executing the swap but also to the 1inch router contract, the Curve pool contract, and the involved token contracts ($USDC and $FRAX).
Incentives within Fraxtal are managed through the FloxIncentivesDistributor smart contract, which directly assigns FXTL points to each participant’s account or contract based on the computed Flox Rank and associated ratios. Smart contract developers have the option to designate a Flox proxy address for managing incentives, which can be the contract itself or a specified external address.
As Fraxtal evolves, the governance model will allow for modifications to the Flox Algorithm to include additional rewards for specific actions, such as deploying L3 solutions or using Fraxtal as a data availability layer. These changes are anticipated to further align with Fraxtal’s long-term vision of creating a sustainable and economically vibrant blockchain ecosystem.
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 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 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:
FrxETH v2 is envisioned to be:
Some of its innovations include:
FrxETH v2 creates a fully decentralized borrowing market for validators by enabling the following:
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:
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.
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
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.
The Fraxswap TWAMM AMO loads time-weighted average market maker orders into the Fraxswap AMM to buy or sell collateral over a long period of time.
This allows for the expansion of the $FRAX balance sheet by buying collateral with $FRAX stablecoins or contracting the supply of $FRAX by selling balance sheet assets through TWAMM orders. The AMO can also be used to repurchase $FXS tokens with protocol revenue/fees.
FRAX v3 utilizes a real-world asset (RWA) strategy when the IORB oracle reports high rates. FRAX v3 only utilizes RWAs that yield very close to the IORB rate with as little duration risk as possible. Thus, only the following assets are considered at this time unless changed by the frxGov process:
FRAX v3 partner custodians primarily concentrate on only the above assets. RWA partners must report the custody, broker, banking, and trust arrangements employed in the course of holding the assets for FRAX v3 no later than monthly.
FIP-277 enshrined FinresPBC as the first RWA partner for FRAX v3. FinresPBC will concentrate on securing “cash equivalent” low risk RWAs and optimize for yielding close to the IORB rate for the sFRAX staking vault.
Additional RWA partners can be onboarded per governance voting through frxGov.
Staked FRAX ($sFRAX) is an ERC4626 staking vault that distributes part of the Frax Protocol yield weekly to stakers denominated in $FRAX stablecoins. The $sFRAX token represents pro rata deposits within the vault and is always withdrawable for $FRAX stablecoins at the pro rata rate at all times. $sFRAX APY attempts to roughly track the interest on reserve balances (IORB) rate of the United States Federal Reserve using the IORB oracle. This benchmark rate is generally accepted as the “risk free rate” of the US Dollar. The $FRAX staking vault attempts, but does not guarantee in any way, to target this rate.
The $sFRAX vault APY is based on a utilization function that can be set by the frxGov governance module. The utilization curve starts at a top end of 10% APY and theoretically has no bottom; however, as more $FRAX is staked in the vault, the protocol will attempt to deploy the staked $FRAX to sources that yield as close to the IORB rate as possible to keep the bottom APY close to the IORB oracle. Every Wednesday at 11:59:59 UTC the Frax Protocol adds newly minted $FRAX stablecoins into the $sFRAX vault. This newly minted $FRAX is one-to-one proportional to the earnings of the Frax Protocol over the prior week and thus fully backed at 100% CR. Each $sFRAX epoch is 1 week and identical in length and start time as the $FXS gauge and $sfrxETH epoch. There is no protocol guarantee that the deployed capital will be from a particular type of asset at any time. The frxGov governance module will control the deployment path and asset type for $sFRAX yield. The Staked $FRAX vault’s yield predominantly originates from real-world asset (RWA) strategies employed by Frax Protocol partner custodians including, but not limited to, FinresPBC.
FXB tokens are simple, trustless tokens that resemble a zero-coupon bond that converts to the $FRAX stablecoin on maturity. FXBs are debt tokens denominated in $FRAX stablecoins, not a claim on any other asset or collateral. FXB tokens are only convertible to $FRAX stablecoins, they do not guarantee $FRAX peg, $FRAX value, or yield/interest denominated in any other asset except FRAX. FXBs do not entitle the holder to any asset offchain or onchain (other than $FRAX stablecoins). Thus, FXBs are not redeemable for US Treasury Bills nor any real-world asset, are not directly backed/collateralized by them (or any specific asset), and do not have any utility except trustlessly converting to $FRAX stablecoins at the pre-programmed maturity timestamp generated at their minting. This is important and not merely a semantic distinction because it directly defines the normative and economic property of FXBs. Frax Bond tokens only guarantee that they convert to $FRAX on a one-to-one basis through smart contracts that issue them.
FXBs allow the formation of a yield curve to price the time value of lending $FRAX back to the protocol itself. Each FXB token is a fungible ERC20 token deployed from an onchain factory contract. Immediately at minting time, $FRAX stablecoins are minted into the FXB redemption contract for conversion on maturity. This prevents any external actions being necessary for the full FXB cycle to occur and entirely remains trustless. There can be multiple FXB series circulating at all times (decided by frxGov) and no limit for the minimum or maximum maturity timestamp for FXBs deployed from the factory.
Series Auctions
FXB series price discovery happens through a unique gradual Dutch auction (GDA) auction system that has quantity and price limit set by frxGov. This guarantees that FXB tokens are not sold for prices lower than the floor limit. Auctions happen through the FXB Auctioneer AMO contract and are trustless, permissionless, and non-custodial. New auctions can happen at any time through frxGov initiated transactions.
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.
The protocol adjusts the collateral ratio during periods of FRAX expansion and contraction:
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.
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:
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’s 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.
Most expenses come from liquidity mining initiatives:
Dune dashboard with operational expenses: https://dune.com/seba/frax-curve-bribing
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 4 years duration knowing that the gauge incentives program won’t be deprecated.
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 buyback 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 generate $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 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.
Frax Crypto assets:
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.
The FPI Controller Pool has all the functions related to FPI and its peg:
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).
The final state of Frax Governance will have full control of all major safes, giving $veFXS holders the final say over everything in the protocol. $veFXS holders can vote for or against all proposals and can replace Frax team members as owners on the underlying Safes and execute any action, if it reaches quorum and passes.Frax team members have the ability to create optimistic proposals through FraxGovernorOmega which succeed by default. Typically proposals fail by default, but with Frax Governance, $veFXS holders can vote for or against optimistic proposals as well. If an optimistic proposal reaches quorum and there are more against than for votes, the proposal will fail.
Frax Governance is a dual Governor system consisting of FraxGovernorAlpha and FraxGovernorOmega. Alpha and Omega have different uses and configurations.
FraxGovernorOmega
FraxGovernorOmega has limited control over the underlying Safes. Only the Frax Team / Safe owners can create Omega proposals. Each proposal is mapped 1 to 1 to a Safe transaction. Omega is configured as an additional Safe owner and must approve of a Safe transaction before Safe owners can execute it. This is enforced using a custom Gnosis Safe Guard.
Omega has a very short voting delay, a short voting period, and a low quorum value. Safe owners can only add proposals to Omega after getting the Safe’s threshold number of signatures for that Safe transaction. For example, if a Safe is a 3/6 (5 owners + Omega) 3 owners must sign before the proposal can be put into Omega.
After adding a proposal to Omega, it follows the same lifecycle as a Governor proposal. If it passes, Omega calls approveHash on the Safe and the proposal can be executed by any owner through the Gnosis Safe UI as usual. If the proposal fails, rejectTransaction can be called on Omega to approve a 0 ether transfer. Other owners can sign and execute the same 0 ether transfer, which just increments the nonce on the Safe, allowing creation of new Gnosis transactions.
Omega has a feature called the short circuit threshold. If 51% of the total veFXS supply votes for an Omega proposal, it will immediately succeed and be executable. This helps in extraordinary circumstances, when the Frax team needs to take quick action to protect the protocol.
Omega cannot change its own governance parameters or change any configuration on the underlying Safes. FraxGovernorAlpha must be used to change these values.
FraxGovernorAlpha
FraxGovernorAlpha has full control over underlying Safes. Any veFXS holder with a veFXS balance meeting or exceeding the proposal threshold can create a proposal. FraxGovernorAlpha is nearly identical to OpenZeppelin Governor. It has full control over each Gnosis Safe because its TimelockController is configured as a module on the Safe and can execute any action. Modules are not constrained by Gnosis Safe Guards.
Alpha has a long voting delay, long voting period, and much higher quorum than Omega. Once an Alpha proposal passes, it must be queued and after the configured timelock period, it can be executed.
veFXS holders are the most important part of the system. Proposals succeeding or failing is ultimately up to veFXS holders because they directly vote on them. Your veFXS balance is equal to your voting power.
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.
veFXS holders can delegate their voting power to others. If a veFXS holder has sufficient veFXS voting power between their own stake and delegated stake, they can propose anything with FraxGovernorAlpha.
Through Alpha, veFXS holders can replace owners on the Safes, change governance parameters on Alpha or Omega, change parameters on any Frax smart contract, remove/add protocol owned liquidity to/from liquidity pools, etc. veFXS holders have ultimate control over the entire Frax protocol.
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.
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 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…
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):
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
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.
Despite having exposure to a wide variety of projects and external protocols, Frax follows the philosophy that stablecoins need collaboration and not competition.
The following are risks that come along with the $sfrxETH token.
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:
A full list of integrations classified by chain and use case can be found here: https://app.frax.finance/integrations/ethereum
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: