Difference between revisions of "Fei Protocol (FEI)"

From CryptoWiki

wiki_crypto>Zeb.dyor
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Algorithmic [[stablecoin]]
==Basics ==
==Basics ==
* Started in / Announced on: [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b 11-1-2021]
* Started in / Announced on: [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b 11-1-2021]
* [[Mainnet]] release: "launch later in Q1 2021" according to the announcement. [https://www.coindesk.com/coinbase-naval-framework-ventures-19m-raise-fei-stablecoin Update]: Set for [https://medium.com/fei-protocol/fei-protocol-genesis-group-d6cf1d266139 22-3-2021]
* [[Mainnet]] release: "launch later in Q1 2021" according to the announcement. [https://www.coindesk.com/coinbase-naval-framework-ventures-19m-raise-fei-stablecoin Update]: Set for [https://medium.com/fei-protocol/fei-protocol-genesis-group-d6cf1d266139 22-3-2021]
* Based in:
* Based in:
* Algorithmic [[stablecoin]]
== History ==
== History ==
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* Fei Labs is [https://twitter.com/joey__santoro/status/1560702416080683009?s=20&t=c6bkG3e7afRLw886uaGJUA proposing] the dissolvement of Tribe DAO following months of silence by its founders and an earlier hack in its sister protocol [[Rari Capital (RFT)|Rari]] (20-8-2022). It created quite some [https://twitter.com/samkazemian/status/1560922661387001856 aggravation] with one of its founding partners [[Frax Finance (FRAX)|Frax]]. From a summarization thread of the situation (20-8-2022):
"''The inspiration for the vision of [https://fei.money/ Fei Protocol] comes from an ancient stone currency — [https://en.wikipedia.org/wiki/Rai_stones Rai, or Fei], of the Micronesian island of Yap. We hope that the FEI stablecoin exhibits the same stability, simplicity, and ubiquity as its stone counterpart."''
''"In early 2021 Fei Labs raised $1.3B USD in #ETH to build a decentralized stablecoin. That ETH raised was used as collateral for it's stablecoin $FEI. In December 2021, Fei Protocol merged with Rari Capital making it the largest DAO-on-DAO mergers ever. Fei and Rari’s joint effort got off the ground with $2 billion in liquidity. But the tragedy struck on April 2022. Fuse pools were hacked for $80M USD. After the hack, $TRIBE holders voted AGAINST using PCV for the hack victim payment. In June the CEO of Rari Capital announced that he would resign.  In total $117M of #ETH is affected by the closure."''
*From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
"''The inspiration for the vision of [https://fei.money/ Fei Protocol] comes from an ancient stone currency — [https://en.wikipedia.org/wiki/Rai_stones Rai, or Fei], of the Micronesian island of Yap. We hope that the FEI stablecoin exhibits the same stability, [[simplicity]], and ubiquity as its stone counterpart."''


== Audits & Exploits ==
== Audits & Exploits ==


*[https://cryptorisks.substack.com/p/asset-risk-assessment-fei-protocol From] LlamaRisk (11-1-2022):
''"The audits do not reveal any particularly damning details. [[OpenZeppelin]] and [[Consensys]] point to oracle issues that do not seem to be fully fixed."''
*[https://weekinethereum.substack.com/p/week-in-ethereum-news-may-16-2021?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNjM4NDU4NSwiXyI6IllKNVRlIiwiaWF0IjoxNjIxMjIyNTA1LCJleHAiOjE2MjEyMjYxMDUsImlzcyI6InB1Yi0xMDcxIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.7u_PzlNHalm6 From] [[Week In Ethereum|Week in Ethereum]] (17-5-2021):
*[https://weekinethereum.substack.com/p/week-in-ethereum-news-may-16-2021?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNjM4NDU4NSwiXyI6IllKNVRlIiwiaWF0IjoxNjIxMjIyNTA1LCJleHAiOjE2MjEyMjYxMDUsImlzcyI6InB1Yi0xMDcxIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.7u_PzlNHalm6 From] [[Week In Ethereum|Week in Ethereum]] (17-5-2021):


Line 23: Line 28:
*[https://www.rekt.news/fei-rekt/ From] [[Rekt]] (7-4-2021):
*[https://www.rekt.news/fei-rekt/ From] [[Rekt]] (7-4-2021):


''"During the much hyped Token Genesis Event, users were able to mint FEI from the [[ETH]] [[Bonding Curves|bonding curve]] for up to a 50% discount. The terms and conditions of the discount meant that participants would only get this discount if under $250m in ETH was contributed. As $1.3B in ETH was collected at launch, this discount was taken away, and the ETH was irreversibly given to the project for their “Protocol Controlled Value” model. The entirety of this PCV was initially used to build [[liquidity]] on [[Uniswap]]. At one point, the Uniswap FEI/ETH pool had over $2.6B in liquidity, created from the ETH raised during the initial sale. The initial peg was lost mainly due to the “pre-swap” option allowing participants to automatically swap their FEI tokens for TRIBE upon launch, which created millions of dollars of selling pressure."''
''"During the much hyped [[Token]] [[Genesis]] Event, users were able to [[mint]] FEI from the [[ETH]] [[Bonding Curves|bonding curve]] for up to a 50% discount. The terms and conditions of the discount meant that participants would only get this discount if under $250m in ETH was contributed. As $1.3B in ETH was collected at launch, this discount was taken away, and the ETH was irreversibly given to the project for their “Protocol Controlled Value” model. The entirety of this PCV was initially used to build [[liquidity]] on [[Uniswap]]. At one point, the Uniswap FEI/ETH pool had over $2.6B in liquidity, created from the ETH raised during the initial sale. The initial peg was lost mainly due to the “pre-swap” [[option]] allowing participants to automatically swap their FEI [[tokens]] for TRIBE upon launch, which created millions of dollars of selling pressure."''


*[https://decrypt.co/64236/1-2-billion-stablecoin-project-fei-stumbles-out-of-the-gate?utm_source=telegram&utm_medium=social&utm_campaign=smt From] [[Decrypt]] (7-4-2021):
*[https://decrypt.co/64236/1-2-billion-stablecoin-project-fei-stumbles-out-of-the-gate?utm_source=telegram&utm_medium=social&utm_campaign=smt From] [[Decrypt]] (7-4-2021):


''"The Fei team [https://twitter.com/feiprotocol/status/1379632480504881154 disclosed] that it had been alerted to a vulnerability through its bug bounty program. After identifying the bug, the team decided to "suspend mint rewards" on the protocol. These are the incentives for anyone buying Fei, designed to help it return its value toward parity with the dollar. As a result, this led to the token’s price falling even further. "Due to a bug, the team disabled the "buy" incentives, leaving only "sell" disincentives. So the FEI/[[ETH]] pool is looking very scary," tweeted [[Robert Leshner]]"''
''"The Fei team [https://twitter.com/feiprotocol/status/1379632480504881154 disclosed] that it had been alerted to a vulnerability through its [[bug bounty]] program. After identifying the bug, the team decided to "suspend mint rewards" on the protocol. These are the incentives for anyone buying Fei, designed to help it return its value toward [[parity]] with the dollar. As a result, this led to the token’s price falling even further. "Due to a bug, the team disabled the "buy" incentives, leaving only "sell" disincentives. So the FEI/[[ETH]] pool is looking very scary," [[tweeted]] [[Robert Leshner]]"''
== Governance ==
== Governance ==
=== Admin Keys ===
=== Admin Keys ===
* [https://cryptorisks.substack.com/p/asset-risk-assessment-fei-protocol From] LlamaRisk (11-1-2022):
''"Currently, the Fei Protocol guardian [[Multi-Signature|multi-sig]] is under the core team’s control (3/7 multisig, all doxxed), intending to transition it to community-held multisig."''
=== DAO ===
=== DAO ===


* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):


"''Fei Protocol will launch with a fully [[decentralized]] [[DAO]] on day one. The TRIBE token controls the DAO. TRIBE holders can vote on the following actions among others:''
"''Fei Protocol will launch with a fully [[decentralized]] [[DAO]] on day one. The TRIBE token controls [[the DAO]]. TRIBE holders can vote on the following actions among others:''


#''Adding new bonding curves in new tokens or adjusting price functions of existing curve(s)''
#''Adding new bonding curves in new tokens or adjusting price functions of existing [[curve]](s)''
#''Adjusting the allocation of PCV for new incoming funding or existing PCV''
#''Adjusting the allocation of PCV for new incoming funding or existing PCV''


Line 51: Line 61:
=== Launch ===
=== Launch ===
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
"''To mitigate [[Frontrunners|frontrunning]] and unequal early distributions, Fei Protocol will include a “Genesis Period.” The Genesis Period will be a time period of 2–3 days in which early adopters can pool their [[ETH]]. This group will be known as the Genesis Group. Members of the Genesis Group earn a shared pro-rata percentage of the first bonding curve transaction. This is [https://medium.com/hegic/join-hegic-initial-bonding-curve-offering-d1746a32a552 similar] to the [[Hegic]] [[IBCO]]. Using this approach, access to the earliest FEI on the bonding curve will be open to all with equal opportunity. As an additional reward, the Genesis Group earns 10% of the total TRIBE supply pro-rata.''
"''To mitigate [[Frontrunners|frontrunning]] and unequal early distributions, Fei Protocol will include a “Genesis Period.” The Genesis Period will be a time period of 2–3 days in which early adopters can pool their [[ETH]]. This group will be known as the Genesis Group. Members of the Genesis Group [[earn]] a shared pro-rata percentage of the first bonding curve [[transaction]]. This is [https://medium.com/hegic/join-hegic-initial-bonding-curve-offering-d1746a32a552 similar] to the [[Hegic]] [[IBCO]]. Using this approach, access to the earliest FEI on the bonding curve will be open to all with equal opportunity. As an additional reward, the Genesis Group earns 10% of the total TRIBE supply pro-rata.''


''The Genesis Group completion will kick off an Initial DeFi Offering of the TRIBE token. The listing will be on [[Uniswap]], denominated in FEI and TRIBE."'' 
''The Genesis Group completion will kick off an Initial [[DeFi]] Offering of the TRIBE token. The listing will be on [[Uniswap]], denominated in FEI and TRIBE."'' 


* [https://www.rekt.news/fei-rekt/ From] [[Rekt]] (7-4-2021):
* [https://www.rekt.news/fei-rekt/ From] [[Rekt]] (7-4-2021):


''"During the much hyped Token Genesis Event, users were able to mint FEI from the ETH bonding curve for up to a 50% discount. This also made them eligible for an airdrop of the protocol governance token TRIBE, which seemed to represent an appealing opportunity for many, as over 17,000 unique addresses participated in the event."''
''"During the much hyped Token Genesis Event, users were able to mint FEI from the ETH bonding curve for up to a 50% discount. This also made them eligible for an [[airdrop]] of the protocol governance token TRIBE, which seemed to represent an appealing opportunity for many, as over 17,000 unique [[addresses]] participated in the event."''


* The launch was [https://decrypt.co/64236/1-2-billion-stablecoin-project-fei-stumbles-out-of-the-gate?utm_source=telegram&utm_medium=social&utm_campaign=smt less than smooth] (8-4-2021):
* The launch was [https://decrypt.co/64236/1-2-billion-stablecoin-project-fei-stumbles-out-of-the-gate?utm_source=telegram&utm_medium=social&utm_campaign=smt less than smooth] (8-4-2021):
Line 74: Line 84:


* ''40% DAO Treasury''
* ''40% DAO Treasury''
* ''20% Initial DEX Offering (IDO)''
* ''20% [[Initial DEX Offering]] (IDO)''
* ''13% FEI Core Team''
* ''13% FEI Core Team''
* ''10% Genesis Group''
* ''10% Genesis Group''
Line 83: Line 93:
=== Utility ===
=== Utility ===
* TRIBE holders can [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b vote] (11-1-2021) on [[governance]] within the protocol.
* TRIBE holders can [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b vote] (11-1-2021) on [[governance]] within the protocol.
=== Token Details ===
=== Stablecoin ===
=== Stablecoin ===
* FEI is the stablecoin of the protocol.
* FEI is the stablecoin of the protocol.
*The stablecoin is [https://cryptobriefing.com/fei-has-achieved-price-stability-after-initial-failure/ now] (4-5-2021) trading at $0.97 after previously falling to $0.70.
*The stablecoin is [https://cryptobriefing.com/fei-has-achieved-price-stability-after-initial-failure/ now] (4-5-2021) trading at $0.97 after previously falling to $0.70.
== Coin Distribution ==
== Technology ==
== Technology ==


Line 97: Line 103:


=== How it works ===
=== How it works ===
* [https://thedailygwei.substack.com/p/the-holy-grail-of-stablecoins-the?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMTI4MTc0NywiXyI6ImM5eFJuIiwiaWF0IjoxNjEwNTQzMzMxLCJleHAiOjE2MTA1NDY5MzEsImlzcyI6InB1Yi01Mjg5MyIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.FpYy8sI6_6kzKKgBYYoTj_TXvtF7hCNQ_oagy-sAYSU From] [[Daily Gwei]] (13-1-2021):
* From a summarization [https://twitter.com/DefiIgnas/status/1560794521977626624?t=xhdXRXsrcf8_9-9_JUbxiQ&s=19 thread] (20-8-2022):
"''the tl;dr is that it uses different automated mechanisms and logic in order to maintain its peg to 1 US dollar. Though the key difference between Fei and some of the other algorithmic stablecoins is that it doesn’t seem to rely on extreme speculation order to achieve stability - it instead uses a novel [[bonding curve]] mechanism."''
''"In early 2021 Fei Labs raised $1.3B USD in #ETH to build a decentralized stablecoin. That ETH raised was used as collateral for it's stablecoin $FEI. Fei is collateralized by various crypto assets, but in contrast to DAI, those assets are 'owned' by the protocol. Users 'sell' crypto to get FEI. The 'sold' asset is included in the Protocol controlled value (PCV). Owning the 'collateral' means that the PCV can be deployed into a various strategies to:''
 
''• defend the peg • yield farm • create utility for FEI.''
 
''In other words, $FEI is like a yield farming hedge fund. FEI peg backing mechanism is quite simple:''
 
''• If FEI below 1$: Buy FEI in the market with Treasury assets and redeem at $1 price on Fei Protocol. • If FEI above $1: Mint FEI on Fei Protocol at $1 and sell it in the market."''
*[https://thedailygwei.substack.com/p/the-holy-grail-of-stablecoins-the?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMTI4MTc0NywiXyI6ImM5eFJuIiwiaWF0IjoxNjEwNTQzMzMxLCJleHAiOjE2MTA1NDY5MzEsImlzcyI6InB1Yi01Mjg5MyIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.FpYy8sI6_6kzKKgBYYoTj_TXvtF7hCNQ_oagy-sAYSU From] [[Daily Gwei]] (13-1-2021):
"''the tl;dr is that it uses different automated mechanisms and logic in order to maintain its peg to 1 US dollar. Though the key difference between Fei and some of the other [[algorithmic stablecoins]] is that it doesn’t seem to rely on extreme speculation order to achieve stability - it instead uses a novel [[bonding curve]] mechanism."''
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
"''Fei Protocol achieves this goal by incentivizing [[Uniswap]] trading volume with mints and [[burns]]. These incentives apply directly to the trader’s balance, in proportion to the distance from the peg. The protocol incentivizes traders via mint to return the price back up to the peg. The formulas used ensure that all volatility below the peg is net deflationary. This will help bring the supply down to the right level relative to the current demand. The incentives only apply to trades when the spot price is below the peg. The side above the peg is taken care of by the arbitrage loop with the bonding curve."''
"''Fei Protocol achieves this goal by incentivizing [[Uniswap]] trading volume with mints and [[burns]]. These incentives apply directly to the trader’s [[balance]], in proportion to the distance from the peg. The protocol incentivizes traders via mint to return the price back up to the peg. The formulas used ensure that all volatility below the peg is net deflationary. This will help bring the supply down to the right level relative to the current demand. The incentives only apply to trades when the spot price is below the peg. The side above the peg is taken care of by the [[arbitrage]] loop with the bonding curve."''


* [https://www.coindesk.com/coinbase-naval-framework-ventures-19m-raise-fei-stablecoin From] [[CoinDesk]] (9-3-2021):
* [https://www.coindesk.com/coinbase-naval-framework-ventures-19m-raise-fei-stablecoin From] [[CoinDesk]] (9-3-2021):


''"FEI works on a straightforward transactional basis. “Users can buy FEI from the protocol, and the protocol takes those assets in reserve, which we call protocol controlled value,” Santoro explained. In other words, users don’t [[stake]] ETH, Ethereum’s native currency; they buy FEI. The asset traded belongs to the Fei protocol after the trade.''
''"FEI works on a straightforward transactional basis. “Users can buy FEI from the protocol, and the protocol takes those assets in reserve, which we call protocol controlled value,” Santoro explained. In other words, users don’t [[stake]] ETH, Ethereum’s [[native currency]]; they buy FEI. The asset traded belongs to the Fei protocol after the trade.''


''“That’s sort of where the magic of FEI is. The assets in reserve could be under-collateralized, they can be over-collateralized,” Santoro explained. Further, the assets would be deployed elsewhere, such as on the secondary market or – later – in yield-generating projects.''
''“That’s sort of where the magic of FEI is. The assets in reserve could be under-collateralized, they can be over-collateralized,” Santoro explained. Further, the assets would be deployed elsewhere, such as on the secondary market or – later – in yield-generating projects.''
Line 110: Line 124:
''“If you want to get more FEI, you just buy it for a dollar [worth of something] from the protocol,” he said. There’s no debt that has to be maintained by users, as there is on [[MakerDAO]], which generates the stablecoin DAI. The protocol would simply mint FEI as needed. You can’t directly redeem ETH from the protocol. You have to go to a secondary market,” Santoro said, but the Fei protocol will be placing the ETH it takes there anyway."''
''“If you want to get more FEI, you just buy it for a dollar [worth of something] from the protocol,” he said. There’s no debt that has to be maintained by users, as there is on [[MakerDAO]], which generates the stablecoin DAI. The protocol would simply mint FEI as needed. You can’t directly redeem ETH from the protocol. You have to go to a secondary market,” Santoro said, but the Fei protocol will be placing the ETH it takes there anyway."''


* [https://thedailygwei.substack.com/p/a-terrible-feight-the-daily-gwei?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDc4NzI1MywiXyI6ImM4SUltIiwiaWF0IjoxNjE3OTU0MTQ3LCJleHAiOjE2MTc5NTc3NDcsImlzcyI6InB1Yi01Mjg5MyIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.pgz98vPiy5kCY From] the Daily Gwei (5-4-2021):
* [https://thedailygwei.substack.com/p/a-terrible-feight-the-daily-gwei?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDc4NzI1MywiXyI6ImM4SUltIiwiaWF0IjoxNjE3OTU0MTQ3LCJleHAiOjE2MTc5NTc3NDcsImlzcyI6InB1Yi01Mjg5MyIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.pgz98vPiy5kCY From] the Daily [[Gwei]] (5-4-2021):
 
''"In plain English, the direct incentives mechanism kicks in when Fei is above or below peg - if it’s below, then a burn mechanism kicks in which gets exponentially worse the further the price of Fei is from its peg. For example, if you want to sell Fei at its current price of $0.96 then you will be taking a ~30% haircut on that sale due to the [[Burn Mechanisms|burn mechanism]]."''


=== Fees ===
''"In plain English, the direct incentives mechanism kicks in when Fei is above or below peg - if it’s below, then a [[burn]] mechanism kicks in which gets exponentially worse the further the price of Fei is from its peg. For example, if you want to sell Fei at its current price of $0.96 then you will be taking a ~30% haircut on that sale due to the [[Burn Mechanisms|burn mechanism]]."''
=== Upgrades ===
=== Upgrades ===


Line 120: Line 132:
*[https://cryptobriefing.com/fei-has-achieved-price-stability-after-initial-failure/ From] [[Crypto Briefing]] (4-5-2021):
*[https://cryptobriefing.com/fei-has-achieved-price-stability-after-initial-failure/ From] [[Crypto Briefing]] (4-5-2021):


''"The governance community has voted to allocate 300,000 ETH to users, and it will also double staking rewards."''
''"The governance community has voted to allocate 300,000 ETH to users, and it will also double [[staking rewards]]."''


* Fei V2 was [https://twitter.com/feiprotocol/status/1445852580152688643 announced] (7-10-2021), relying on [[Balancer (BAL)|Balancer]] V2's managed pools.
* Fei V2 was [https://twitter.com/feiprotocol/status/1445852580152688643 announced] (7-10-2021), relying on [[Balancer (BAL)|Balancer]] V2's managed pools.
Line 128: Line 140:
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
"''The protocol allocates a portion of the TRIBE token to a FEI [[staking]] pool. Users can deposit FEI and receive a pro-rata percentage of the TRIBE drip into the pool."''
"''The protocol allocates a portion of the TRIBE token to a FEI [[staking]] pool. Users can deposit FEI and receive a pro-rata percentage of the TRIBE drip into the pool."''
=== Liquidity Mining ===
=== Scaling ===
=== Different Implementations ===
=== Interoperability ===
=== Other Details ===


==== Protocol Controlled Value (PCV) ====
==== Protocol Controlled Value (PCV) ====
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
"''Users cannot sell FEI on the bonding curve. Instead, the protocol retains the incoming [[ETH]] as Protocol Controlled Value (PCV). Fei Protocol deploys the PCV to create a [[liquid]] secondary market where users can sell FEI back into ETH. This is a stronger use case than the IOU common to most [[TVL]] applications, as the PCV is permanent. It will initially allocate 100% of the PCV funded by the ETH bonding curve to a [[Uniswap]] pool denominated in ETH/FEI. [[Governance]] can reallocate PCV to other platforms in the future if the use case is clear."''
"''Users cannot sell FEI on the bonding curve. Instead, the protocol retains the incoming [[ETH]] as Protocol Controlled Value (PCV). Fei Protocol deploys the PCV to create a [[liquid]] secondary market where users can sell FEI back into ETH. This is a stronger use case than the IOU common to most [[TVL]] applications, as the PCV is permanent. It will initially allocate 100% of the PCV funded by the ETH bonding curve to a [[Uniswap]] pool denominated in ETH/FEI. [[Governance]] can reallocate PCV to other platforms in the future if the use case is clear."''
== Compliance ==
* [https://decrypt.co/147994/fei-protocol-dao-discord-not-seized-by-court From] [[Decrypt (DCPT)|Decrypt]] (11-7-2023):
''"On Friday, Crypto Twitter shared [https://twitter.com/TraversaJulian/status/1677380147874529282?s=20 screenshots] of a legal notice posted on Fei's Discord server that was issued by the Superior Court of San Francisco. The notice, referencing a legal NFT airdropped into the wallets of investors, informed users that they can apply to get a slice out of a multimillion-dollar preliminary settlement reached in the case.''
''In a class-action complaint filed on April 1, 2022 in a San Francisco court, Fei and four of its developers were accused of selling unregistered securities via these tokens.''
''Ultimately, the two sides agreed to a preliminary settlement in May 2023 that meant Fei Labs was not required to admit to any wrongdoing. A nearly $18 million dollar fund was created to cover both notices and fees incurred during the litigation, with all claimants having until October 1 to submit a notice for compensation.''
''A final settlement hearing is also scheduled to take place on October 27 to consider whether to approve the settlement."''


== Oracle Method ==
== Privacy Method ==
== Compliance ==
== Their Other Projects ==
== Their Other Projects ==


=== Liquidty as a Service (Laa$) ===
=== Liquidty as a Service (Laa$) ===


* [https://ournetwork.substack.com/p/ournetwork-issue-97?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo0Mzk1ODIzNiwiXyI6IjNtM29qIiwiaWF0IjoxNjM2OTU4NDQyLCJleHAiOjE2MzY5NjIwNDIsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.q5R3w_u2vJKodl5iAwJY48QPqbZM From] Our Network (13-11-2021):
* [https://ournetwork.substack.com/p/ournetwork-issue-97?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo0Mzk1ODIzNiwiXyI6IjNtM29qIiwiaWF0IjoxNjM2OTU4NDQyLCJleHAiOjE2MzY5NjIwNDIsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.q5R3w_u2vJKodl5iAwJY48QPqbZM From] [[Our Network]] (13-11-2021):


''"Fei has partnered with [[Ondo]] to launch [https://medium.com/fei-protocol/if-you-are-part-of-a-dao-or-protocol-that-wants-to-create-liquidity-for-your-token-without-f49a01f02863 Liquidity as a Service (Laa$)]. Laa$ allows protocols to create [[liquidity]] in a manner that is significantly less expensive than traditional [[Liquidity Mining|liquidity mining]]. The initial launch group has generated $100M TVL across [[Uniswap (UNI)|Uniswap]] pools for [[Gro]], [[Synapse]], [[UMA (UMA)|UMA]], [[Kylin]], [[NEAR (NEAR)|Near]], [[PoolTogether (POOL)|PoolTogether]], [[ShapeShift (FOX)|Shapeshift]], and [[MStable (MTA)|mStable]]."''
''"Fei has partnered with [[Ondo]] to launch [https://medium.com/fei-protocol/if-you-are-part-of-a-dao-or-protocol-that-wants-to-create-liquidity-for-your-token-without-f49a01f02863 Liquidity as a Service (Laa$)]. Laa$ allows protocols to create [[liquidity]] in a manner that is significantly less expensive than traditional [[Liquidity Mining|liquidity mining]]. The initial launch group has generated $100M TVL across [[Uniswap (UNI)|Uniswap]] pools for [[Gro]], [[Synapse]], [[UMA (UMA)|UMA]], [[Kylin]], [[NEAR (NEAR)|Near]], [[PoolTogether (POOL)|PoolTogether]], [[ShapeShift (FOX)|Shapeshift]], and [[MStable (MTA)|mStable]]."''
Line 155: Line 169:
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
* From the [https://medium.com/fei-protocol/introducing-fei-protocol-2db79bd7a82b announcement] (11-1-2021):
"<em>The mission of Fei Protocol is to create an entirely [[decentralized]] stablecoin. Therefore it is critical that no tokens issued by trusted third-parties (e.g. [[USDC]], [[USDT]], [[wBTC]]) be used as collateral on the bonding curve. This is a stance the development team hopes will be shared by the governance community post-launch."</em>
"<em>The mission of Fei Protocol is to create an entirely [[decentralized]] stablecoin. Therefore it is critical that no tokens issued by trusted third-parties (e.g. [[USDC]], [[USDT]], [[wBTC]]) be used as collateral on the bonding curve. This is a stance the development team hopes will be shared by the governance community post-launch."</em>
== Usage ==
=== Projects that use or built on it ===
== Competition ==
== Competition ==


Line 170: Line 181:
''"One risk of Fei is a negative spiral brought on by a sharp drop in the price of its collateral. This is an unavoidable risk since it is trying to defend a fixed $1 peg backed by volatile collateral. Should the price drop in its collateral be large enough, the long-term ability of the system to hold its peg may be questioned and a “bank-run” could be initiated.''
''"One risk of Fei is a negative spiral brought on by a sharp drop in the price of its collateral. This is an unavoidable risk since it is trying to defend a fixed $1 peg backed by volatile collateral. Should the price drop in its collateral be large enough, the long-term ability of the system to hold its peg may be questioned and a “bank-run” could be initiated.''


''In this scenario, as we have seen with non-backed stablecoins, the speculators supporting the price would disappear very fast (meaning direct incentives would not be enough to hold peg). Further, the system would need to protect the peg through its “peg reweights”. However, due to impermanent loss and the fact that reweights are essentially using collateral to support the price on the open market, a negative feedback loop may ensue. Collateral sold to support the price means there is less collateral to support the price later, creating a lack of confidence that weakens the price and causes more collateral to be sold. This situation could continue until a full-death spiral is achieved.''
''In this scenario, as we have seen with non-backed stablecoins, the speculators supporting the price would disappear very fast (meaning direct incentives would not be enough to hold peg). Further, the system would need to protect the peg through its “peg reweights”. However, due to [[impermanent loss]] and the fact that reweights are essentially using collateral to support the price on the open market, a negative feedback loop may ensue. Collateral sold to support the price means there is less collateral to support the price later, creating a lack of confidence that weakens the price and causes more collateral to be sold. This situation could continue until a full-death spiral is achieved.''


''One of the backstops to this death-spiral which Fei mention is that TRIBE (the governance token of the system) could be used to re-collateralise the system. However, this is something that would need to be an emergency vote-type- decision to work. Should it ever need to be used, the question would be whether the protocol could recover for fear of the situation arising again.''
''One of the backstops to this death-spiral which Fei mention is that TRIBE (the governance token of the system) could be used to re-collateralise the system. However, this is something that would need to be an emergency vote-type- decision to work. Should it ever need to be used, the question would be whether the protocol could recover for fear of the situation arising again.''
Line 184: Line 195:
* [https://www.coindesk.com/coinbase-naval-framework-ventures-19m-raise-fei-stablecoin From] [[CoinDesk]] (9-3-2021):
* [https://www.coindesk.com/coinbase-naval-framework-ventures-19m-raise-fei-stablecoin From] [[CoinDesk]] (9-3-2021):


''"Raised $19 million from [[Andreessen Horowitz]] (a16z), [[Framework Ventures]], [[Coinbase Ventures]] and [[AngelList]] founder [[Naval Ravikant]], among others. [[ParaFi Capital]] and [[Variant Fund]] also participated in the round."''
''"Raised $19 million from [[Andreessen Horowitz]] ([[a16z]]), [[Framework Ventures]], [[Coinbase Ventures]] and [[AngelList]] founder [[Naval Ravikant]], among others. [[ParaFi Capital]] and [[Variant Fund]] also participated in the round."''


=== Partners ===
=== Partners ===
Line 201: Line 212:
Making these free wiki pages is fun but takes a lot of effort and time.   
Making these free wiki pages is fun but takes a lot of effort and time.   


If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.  
If you have enjoyed reading, tips are appreciated :) This will help us to [[keep]] expanding this archive of information.  


[[ETH]] tip [[address]]: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31
[[ETH]] tip [[address]]: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31

Latest revision as of 09:06, 14 July 2023

Algorithmic stablecoin

Basics

History

  • Fei Labs is proposing the dissolvement of Tribe DAO following months of silence by its founders and an earlier hack in its sister protocol Rari (20-8-2022). It created quite some aggravation with one of its founding partners Frax. From a summarization thread of the situation (20-8-2022):

"In early 2021 Fei Labs raised $1.3B USD in #ETH to build a decentralized stablecoin. That ETH raised was used as collateral for it's stablecoin $FEI. In December 2021, Fei Protocol merged with Rari Capital making it the largest DAO-on-DAO mergers ever. Fei and Rari’s joint effort got off the ground with $2 billion in liquidity. But the tragedy struck on April 2022. Fuse pools were hacked for $80M USD. After the hack, $TRIBE holders voted AGAINST using PCV for the hack victim payment. In June the CEO of Rari Capital announced that he would resign. In total $117M of #ETH is affected by the closure."

"The inspiration for the vision of Fei Protocol comes from an ancient stone currency — Rai, or Fei, of the Micronesian island of Yap. We hope that the FEI stablecoin exhibits the same stability, simplicity, and ubiquity as its stone counterpart."

Audits & Exploits

  • From LlamaRisk (11-1-2022):

"The audits do not reveal any particularly damning details. OpenZeppelin and Consensys point to oracle issues that do not seem to be fully fixed."

"Fei awards $800k bounty for bonding curve price manipulation vulnerability."

"The team is conducting an audit so it can reinstate price stabilization mechanisms that were halted due to a vulnerability."

Bugs/Exploits

"During the much hyped Token Genesis Event, users were able to mint FEI from the ETH bonding curve for up to a 50% discount. The terms and conditions of the discount meant that participants would only get this discount if under $250m in ETH was contributed. As $1.3B in ETH was collected at launch, this discount was taken away, and the ETH was irreversibly given to the project for their “Protocol Controlled Value” model. The entirety of this PCV was initially used to build liquidity on Uniswap. At one point, the Uniswap FEI/ETH pool had over $2.6B in liquidity, created from the ETH raised during the initial sale. The initial peg was lost mainly due to the “pre-swap” option allowing participants to automatically swap their FEI tokens for TRIBE upon launch, which created millions of dollars of selling pressure."

"The Fei team disclosed that it had been alerted to a vulnerability through its bug bounty program. After identifying the bug, the team decided to "suspend mint rewards" on the protocol. These are the incentives for anyone buying Fei, designed to help it return its value toward parity with the dollar. As a result, this led to the token’s price falling even further. "Due to a bug, the team disabled the "buy" incentives, leaving only "sell" disincentives. So the FEI/ETH pool is looking very scary," tweeted Robert Leshner"

Governance

Admin Keys

  • From LlamaRisk (11-1-2022):

"Currently, the Fei Protocol guardian multi-sig is under the core team’s control (3/7 multisig, all doxxed), intending to transition it to community-held multisig."

DAO

"Fei Protocol will launch with a fully decentralized DAO on day one. The TRIBE token controls the DAO. TRIBE holders can vote on the following actions among others:

  1. Adding new bonding curves in new tokens or adjusting price functions of existing curve(s)
  2. Adjusting the allocation of PCV for new incoming funding or existing PCV

The Fei Protocol DAO will be both powerful and governance-minimized. FEI stability does not require any active intervention by governance."

Treasury

  • 40% of the token distribution goes towards the DAO treasury (10-2-2021).
  • Voted for a token swap with Balancer (11-2021):

"200,000 BAL from the Ecosystem Fund would be exchanged for the equivalent USD value of TRIBE and FEI in equal proportions from Fei DAO Treasury."

Token

Launch

"To mitigate frontrunning and unequal early distributions, Fei Protocol will include a “Genesis Period.” The Genesis Period will be a time period of 2–3 days in which early adopters can pool their ETH. This group will be known as the Genesis Group. Members of the Genesis Group earn a shared pro-rata percentage of the first bonding curve transaction. This is similar to the Hegic IBCO. Using this approach, access to the earliest FEI on the bonding curve will be open to all with equal opportunity. As an additional reward, the Genesis Group earns 10% of the total TRIBE supply pro-rata.

The Genesis Group completion will kick off an Initial DeFi Offering of the TRIBE token. The listing will be on Uniswap, denominated in FEI and TRIBE." 

"During the much hyped Token Genesis Event, users were able to mint FEI from the ETH bonding curve for up to a 50% discount. This also made them eligible for an airdrop of the protocol governance token TRIBE, which seemed to represent an appealing opportunity for many, as over 17,000 unique addresses participated in the event."

"The coin traded below parity with the US dollar since its $1.2 billion launch [and] a bug has emerged that’s resulted in some users struggling to sell their coins. As the incentive mechanism has failed, the coin’s price has continued to plunge, making it prohibitively more expensive to sell."

Token allocation

"The FEI stablecoin has an uncapped supply that tracks demand. FEI enters circulation via sale along a bonding curve. This curve approaches and fixes at the $1 peg. When new demand for FEI arises, users can acquire it by buying on the bonding curve. The price function will start low to reward early adopters for purchasing FEI. Fei Protocol will support the creation of bonding curves denominated in any ERC20. The launch will contain only a single curve denominated in ETH.

The protocol allocates a portion of the TRIBE token to a FEI staking pool. Users can deposit FEI and receive a pro-rata percentage of the TRIBE drip into the pool. The development team and investors retain another portion. A percentage will be split between the Genesis Group and Initial DeFi Offering. The remaining TRIBE stays in a treasury controlled by governance."

  • From their blog (10-2-2021):

"The total initial supply of TRIBE is 1 billion. We have this token distribution broken down as follows, with Team and Investors rounded to the nearest percent:

  • 40% DAO Treasury
  • 20% Initial DEX Offering (IDO)
  • 13% FEI Core Team
  • 10% Genesis Group
  • 10% Staking Rewards
  • 5% Investors
  • 2% Grants"

Utility

Stablecoin

  • FEI is the stablecoin of the protocol.
  • The stablecoin is now (4-5-2021) trading at $0.97 after previously falling to $0.70.

Technology

How it works

  • From a summarization thread (20-8-2022):

"In early 2021 Fei Labs raised $1.3B USD in #ETH to build a decentralized stablecoin. That ETH raised was used as collateral for it's stablecoin $FEI. Fei is collateralized by various crypto assets, but in contrast to DAI, those assets are 'owned' by the protocol. Users 'sell' crypto to get FEI. The 'sold' asset is included in the Protocol controlled value (PCV). Owning the 'collateral' means that the PCV can be deployed into a various strategies to:

• defend the peg • yield farm • create utility for FEI.

In other words, $FEI is like a yield farming hedge fund. FEI peg backing mechanism is quite simple:

• If FEI below 1$: Buy FEI in the market with Treasury assets and redeem at $1 price on Fei Protocol. • If FEI above $1: Mint FEI on Fei Protocol at $1 and sell it in the market."

"the tl;dr is that it uses different automated mechanisms and logic in order to maintain its peg to 1 US dollar. Though the key difference between Fei and some of the other algorithmic stablecoins is that it doesn’t seem to rely on extreme speculation order to achieve stability - it instead uses a novel bonding curve mechanism."

"Fei Protocol achieves this goal by incentivizing Uniswap trading volume with mints and burns. These incentives apply directly to the trader’s balance, in proportion to the distance from the peg. The protocol incentivizes traders via mint to return the price back up to the peg. The formulas used ensure that all volatility below the peg is net deflationary. This will help bring the supply down to the right level relative to the current demand. The incentives only apply to trades when the spot price is below the peg. The side above the peg is taken care of by the arbitrage loop with the bonding curve."

"FEI works on a straightforward transactional basis. “Users can buy FEI from the protocol, and the protocol takes those assets in reserve, which we call protocol controlled value,” Santoro explained. In other words, users don’t stake ETH, Ethereum’s native currency; they buy FEI. The asset traded belongs to the Fei protocol after the trade.

“That’s sort of where the magic of FEI is. The assets in reserve could be under-collateralized, they can be over-collateralized,” Santoro explained. Further, the assets would be deployed elsewhere, such as on the secondary market or – later – in yield-generating projects.

“If you want to get more FEI, you just buy it for a dollar [worth of something] from the protocol,” he said. There’s no debt that has to be maintained by users, as there is on MakerDAO, which generates the stablecoin DAI. The protocol would simply mint FEI as needed. You can’t directly redeem ETH from the protocol. You have to go to a secondary market,” Santoro said, but the Fei protocol will be placing the ETH it takes there anyway."

"In plain English, the direct incentives mechanism kicks in when Fei is above or below peg - if it’s below, then a burn mechanism kicks in which gets exponentially worse the further the price of Fei is from its peg. For example, if you want to sell Fei at its current price of $0.96 then you will be taking a ~30% haircut on that sale due to the burn mechanism."

Upgrades

  • After the failed launch and subsequent bug, the team announced it would take away the penalty for selling below the peg. Some wondered how this was done without a government vote with the governance token TRIBE.
  • From Crypto Briefing (4-5-2021):

"The governance community has voted to allocate 300,000 ETH to users, and it will also double staking rewards."

Staking

"The protocol allocates a portion of the TRIBE token to a FEI staking pool. Users can deposit FEI and receive a pro-rata percentage of the TRIBE drip into the pool."

Protocol Controlled Value (PCV)

"Users cannot sell FEI on the bonding curve. Instead, the protocol retains the incoming ETH as Protocol Controlled Value (PCV). Fei Protocol deploys the PCV to create a liquid secondary market where users can sell FEI back into ETH. This is a stronger use case than the IOU common to most TVL applications, as the PCV is permanent. It will initially allocate 100% of the PCV funded by the ETH bonding curve to a Uniswap pool denominated in ETH/FEI. Governance can reallocate PCV to other platforms in the future if the use case is clear."

Compliance

"On Friday, Crypto Twitter shared screenshots of a legal notice posted on Fei's Discord server that was issued by the Superior Court of San Francisco. The notice, referencing a legal NFT airdropped into the wallets of investors, informed users that they can apply to get a slice out of a multimillion-dollar preliminary settlement reached in the case.

In a class-action complaint filed on April 1, 2022 in a San Francisco court, Fei and four of its developers were accused of selling unregistered securities via these tokens.

Ultimately, the two sides agreed to a preliminary settlement in May 2023 that meant Fei Labs was not required to admit to any wrongdoing. A nearly $18 million dollar fund was created to cover both notices and fees incurred during the litigation, with all claimants having until October 1 to submit a notice for compensation.

A final settlement hearing is also scheduled to take place on October 27 to consider whether to approve the settlement."

Their Other Projects

Liquidty as a Service (Laa$)

"Fei has partnered with Ondo to launch Liquidity as a Service (Laa$). Laa$ allows protocols to create liquidity in a manner that is significantly less expensive than traditional liquidity mining. The initial launch group has generated $100M TVL across Uniswap pools for Gro, Synapse, UMA, Kylin, Near, PoolTogether, Shapeshift, and mStable."

Roadmap

  • Can be found [Insert link here].

"The mission of Fei Protocol is to create an entirely decentralized stablecoin. Therefore it is critical that no tokens issued by trusted third-parties (e.g. USDC, USDT, wBTC) be used as collateral on the bonding curve. This is a stance the development team hopes will be shared by the governance community post-launch."

Competition

Pros and Cons

Pros

Cons

"One risk of Fei is a negative spiral brought on by a sharp drop in the price of its collateral. This is an unavoidable risk since it is trying to defend a fixed $1 peg backed by volatile collateral. Should the price drop in its collateral be large enough, the long-term ability of the system to hold its peg may be questioned and a “bank-run” could be initiated.

In this scenario, as we have seen with non-backed stablecoins, the speculators supporting the price would disappear very fast (meaning direct incentives would not be enough to hold peg). Further, the system would need to protect the peg through its “peg reweights”. However, due to impermanent loss and the fact that reweights are essentially using collateral to support the price on the open market, a negative feedback loop may ensue. Collateral sold to support the price means there is less collateral to support the price later, creating a lack of confidence that weakens the price and causes more collateral to be sold. This situation could continue until a full-death spiral is achieved.

One of the backstops to this death-spiral which Fei mention is that TRIBE (the governance token of the system) could be used to re-collateralise the system. However, this is something that would need to be an emergency vote-type- decision to work. Should it ever need to be used, the question would be whether the protocol could recover for fear of the situation arising again.

Regardless of this, a positive aspect of Fei is that it is more capital efficient than over-collateralised stablecoins and invariably more robust than the 1st generation of purely algorithmic stablecoins."

Team, Funding, Partnerships, etc.

Team

  • Full team can be found [here].
  • Joey Santoro; CEO of Feil Labs and writer of the whitepaper

Funding

"Raised $19 million from Andreessen Horowitz (a16z), Framework Ventures, Coinbase Ventures and AngelList founder Naval Ravikant, among others. ParaFi Capital and Variant Fund also participated in the round."

Partners

"Ondo Finance and Fei Protocol have partnered with several cutting-edge DeFi protocols to help them increase their decentralized exchange liquidity."

  • Might merge with Rari (17-11-2021). Votes got passed, FeiRari is a fact (22-12-2021).
  • Balancer DAO commits to DAO Agreement with Fei DAO (11-2021).
  • Partnering with Gelato has led to significant increases of concentrated liquidity and volume on Uniswap V3 (12-2021).

(:

Knowledge empowers us all and will help us get closer to the decentralised world we all want to live in!

Making these free wiki pages is fun but takes a lot of effort and time.

If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.

ETH tip address: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31