Difference between revisions of "Alchemix (ALCX)"

From CryptoWiki

wiki_crypto>Zeb.dyor
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Loans that repay themselves.
==Basics==
==Basics==


*Based in:
*Based in:
*Started in / Announced on: 6-4-2021
*Started in / Announced on: 6-4-2021
*[[Mainnet]] release: [https://twitter.com/alchemixfi/status/1365579444526571520?s=28 27-2-2021]. [https://docs.defisafety.com/finished-reviews/alchemix-process-quality-review#audits According] to [[DeFi Safety]] (24-6-2021): Alchemix was launched in early April 2021. Token was launched May 17th 2021.
*[[Mainnet]] release: [https://twitter.com/alchemixfi/status/1365579444526571520?s=28 27-2-2021]. [https://docs.defisafety.com/finished-reviews/alchemix-process-quality-review#audits According] to [[DeFi Safety]] (24-6-2021): Alchemix was launched in early April 2021. [[Token]] was launched May 17th 2021.
*Loans that repay themselves.
*[https://yieldfarmer.substack.com/p/defi-pulse-farmer-30?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMzAzOTg5OCwiXyI6IkpCMVhpIiwiaWF0IjoxNjE0Njg5NjE1LCJleHAiOjE2MTQ2OTMyMTUsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.RX3JhqM4Ukrujm8JMwAaYiqPVG From] [[Yield Farmer]] (28-2-2021):
*[https://yieldfarmer.substack.com/p/defi-pulse-farmer-30?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMzAzOTg5OCwiXyI6IkpCMVhpIiwiaWF0IjoxNjE0Njg5NjE1LCJleHAiOjE2MTQ2OTMyMTUsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.RX3JhqM4Ukrujm8JMwAaYiqPVG From] [[Yield Farmer]] (28-2-2021):


''"A new [https://alchemixfi.medium.com/introducing-alchemix-9e7054de54d6 protocol] centered around “[[synthetic]] tokens that represent the future yield of a deposit.”''
''"A new [https://alchemixfi.medium.com/introducing-alchemix-9e7054de54d6 protocol] centered around “[[synthetic]] [[tokens]] that represent the future yield of a deposit.”''


* [https://yieldfarmer.substack.com/p/defi-pulse-farmer-34?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDQxODU0NSwiXyI6Ik1ZcGFiIiwiaWF0IjoxNjE2OTk4NDA4LCJleHAiOjE2MTcwMDIwMDgsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.ESRNkGWvWZwHq0AvEwPZ1eFG6JpvsClwkYYvV7OOwN4 From] Yield Farmer (28-3-2021):
* [https://yieldfarmer.substack.com/p/defi-pulse-farmer-34?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDQxODU0NSwiXyI6Ik1ZcGFiIiwiaWF0IjoxNjE2OTk4NDA4LCJleHAiOjE2MTcwMDIwMDgsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.ESRNkGWvWZwHq0AvEwPZ1eFG6JpvsClwkYYvV7OOwN4 From] Yield Farmer (28-3-2021):
Line 13: Line 14:
''"The first project of its kind, Alchemix puts borrowers’ deposits to work in [[DeFi]] yield opportunities and uses the ensuing earnings to automatically repay these borrowers’ protocol debts.''
''"The first project of its kind, Alchemix puts borrowers’ deposits to work in [[DeFi]] yield opportunities and uses the ensuing earnings to automatically repay these borrowers’ protocol debts.''


''For instance, Alchemix’s first flagship product is a synthetic derivative dubbed alUSD, which people can mint with [[Maker DAO|DAI]]. So if you deposit 100 DAI into alUSD’s contract, you can draw out 50 alUSD. Then the underlying DAI deposit is sent to [[Yearn]] to earn yields that steadily pay off your debt."''
''For instance, Alchemix’s first flagship product is a synthetic [[derivative]] dubbed alUSD, which people can [[mint]] with [[Maker DAO|DAI]]. So if you deposit 100 DAI into alUSD’s [[contract]], you can draw out 50 alUSD. Then the underlying DAI deposit is sent to [[Yearn]] to [[earn]] yields that steadily pay off your debt."''


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


*[[Bug bounty]] program can be found [https://immunefi.com/bounty/alchemix/ here] (24-6-2021). Live since March 1st 2021, max reward is 50k. From this tweet [https://twitter.com/0xRafi/status/1376266510264590337 thread] (29-3-2021): "''Taking the planned supply after 3 years as a basis, 5% goes to bug bounties."''
*[[Bug bounty]] program can be found [https://immunefi.com/bounty/alchemix/ here] (24-6-2021). Live since March 1st 2021, max reward is 50k. From this [[tweet]] [https://twitter.com/0xRafi/status/1376266510264590337 thread] (29-3-2021): "''Taking the planned supply after 3 years as a basis, 5% goes to bug bounties."''
*[https://yieldfarmer.substack.com/p/defi-pulse-farmer-34?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDQxODU0NSwiXyI6Ik1ZcGFiIiwiaWF0IjoxNjE2OTk4NDA4LCJleHAiOjE2MTcwMDIwMDgsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.ESRNkGWvWZwHq0AvEwPZ1eFG6JpvsClwkYYvV7OOwN4 From] [[Yield Farmer]] (28-3-2021): "''has no audits yet"''
*[https://yieldfarmer.substack.com/p/defi-pulse-farmer-34?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDQxODU0NSwiXyI6Ik1ZcGFiIiwiaWF0IjoxNjE2OTk4NDA4LCJleHAiOjE2MTcwMDIwMDgsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.ESRNkGWvWZwHq0AvEwPZ1eFG6JpvsClwkYYvV7OOwN4 From] [[Yield Farmer]] (28-3-2021): "''has no audits yet"''
*Got audited by [[CertiK (CTK)|Certik]]; and [https://alchemix.fi/a208baf6ca7e0d6b0116461f05e27cd9.pdf mentioned] 8 major risks, all of which are related to [[Centralized|centralization]] (18-5-2021).
*Got audited by [[CertiK (CTK)|Certik]]; and [https://alchemix.fi/a208baf6ca7e0d6b0116461f05e27cd9.pdf mentioned] 8 major risks, all of which are related to [[Centralized|centralization]] (18-5-2021).
*[https://defisafety.com/2021/06/24/alchemix/ Scored] a 44% on [[DeFi Safety]] (24-6-2021):
*[https://defisafety.com/2021/06/24/alchemix/ Scored] a 44% on [[DeFi Safety]] (24-6-2021):


''"Certik did a Alchemix audit on May 18th 2021. Alchermix was launched in early April 2021. Token was launched May 17th 2021."'' With the [https://t.me/c/1453353094/3590 comment]: ''"Weak docs and testing but OK audits and access control docs"''
''"[[Certik]] did a Alchemix audit on May 18th 2021. Alchermix was launched in early April 2021. Token was launched May 17th 2021."'' With the [https://t.me/c/1453353094/3590 comment]: ''"Weak docs and testing but OK audits and access control docs"''
 
===Bugs/Exploits===
 
* Had an [[Access Controls|access control]] [https://medium.com/immunefi/alchemix-access-control-issue-bugfix-review-2a8fbcddf588 issue] (6-2024).
*[https://newsletter.blockthreat.io/p/blockthreat-week-25-2022?utm_source=substack&utm_medium=email From] Blockthreat (29-6-2022):
 
''"Alchemix patched a [https://alchemixfi.medium.com/alchemix-conversion-bug-ba13c3f0e50b bug] in the collateral calculation."''
*[https://blockthreat.substack.com/p/blockthreat-week-30-2021?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozOTQ4Mzg4OSwiXyI6IitrN3VtIiwiaWF0IjoxNjI4MTQyNzY4LCJleHAiOjE2MjgxNDYzNjgsImlzcyI6InB1Yi04MTA1Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.A9wGqRdvKz634nJNg2OqggIt From] [[BlockThreat]] (2-8-2021):


===Bugs/Exploitd===
''"Alchemix patched a function access control [https://medium.com/immunefi/alchemix-access-control-bug-fix-debrief-a13d39b9f2e0 vulnerability] after it was responsibly disclosed by [[Ashiq Amien]]."''


*[https://www.rekt.news/alchemix-rekt/ From] [[Rekt]] (18-6-2021):
*[https://www.rekt.news/alchemix-rekt/ From] [[Rekt]] (18-6-2021):


''"When the same process [as with aDAI] was implemented with [[ETH]], (minting alETH in return), some users discovered that the protocol assigned them no debt. After being notified that their own users were exploiting them, the Alchemix team reacted quickly, and temporarily paused the minting of new alETH while they worked to find a solution. This reverse-rugpull has left alETH undercollateralized by ~2700 ETH, or ~$6.5M at time of writing; a debt which must now be repaid by Alchemix. The protocol has made a public appeal to their users to return the funds and help repay the debt."''
''"When the same process [as with aDAI] was implemented with [[ETH]], (minting alETH in return), some users discovered that the protocol assigned them no debt. After being notified that their own users were exploiting them, the Alchemix team reacted quickly, and temporarily paused the minting of new alETH while they worked to find a solution. This reverse-rugpull has left alETH undercollateralized by ~2700 ETH, or ~$6.5M at time of writing; a debt which must now be repaid by Alchemix. The protocol has made a public appeal to their users to return the funds and help repay the debt."''
* [https://blockthreat.substack.com/p/blockthreat-week-30-2021?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozOTQ4Mzg4OSwiXyI6IitrN3VtIiwiaWF0IjoxNjI4MTQyNzY4LCJleHAiOjE2MjgxNDYzNjgsImlzcyI6InB1Yi04MTA1Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.A9wGqRdvKz634nJNg2OqggIt From] [[BlockThreat]] (2-8-2021):
''"Alchemix patched a function access control [https://medium.com/immunefi/alchemix-access-control-bug-fix-debrief-a13d39b9f2e0 vulnerability] after it was responsibly disclosed by [[Ashiq Amien]]."''


==Governance==
==Governance==
Line 39: Line 44:


* Got audited by [[CertiK (CTK)|Certik]]; and [https://alchemix.fi/a208baf6ca7e0d6b0116461f05e27cd9.pdf mentioned] 8 major risks, all of which are related to [[Centralized|centralization]] (18-5-2021). It also mentioned there is no [[timelock]].
* Got audited by [[CertiK (CTK)|Certik]]; and [https://alchemix.fi/a208baf6ca7e0d6b0116461f05e27cd9.pdf mentioned] 8 major risks, all of which are related to [[Centralized|centralization]] (18-5-2021). It also mentioned there is no [[timelock]].
*From their forum (22-2-2022), post titled ''Temporary Assignment of v2 Admin Privileges to Dev-Multisig'':
''"Alchemix DAO has two different multisig accounts that are used to secure the treasury funds, secure administrative functions, and to conduct protocol operations. The operational multisig (0x9e2b6378ee8ad2A4A95Fe481d63CAba8FB0EBBF9) handles various functions, such as payroll, [[Olympus (OHM)|Olympus]] Pro, and [[Defi|DeFi]] 2.0 initiatives for the treasury. The treasury [[Timelock|timelocked]] multisig (0x8392F6669292fA56123F71949B52d883aE57e225) holds the ALCX, receives protocol fees, and has admin rights to change certain parameters, and has a 24 hour timelock guarding all function calls.''
''The security of the timelocked multisig is undoubtedly better as there is a set duration of time where anyone can see a queued [[Transaction (Tx)|transaction]], and can sound the alarm if something suspicious is about to happen. However, the timelock adds additional friction to responding to and updating parameters in the [[Smart Contract (SC)|contracts]].''
''The Alchemix core team suspects that we might have a need to be agile in the early phase of the v2 deployment, and by having the operational multisig be given admin rights, it will allow us to change parameters expediently during the initial phase post-rollout. It is expected that we will need to increase debt caps, deposit caps, convertible caps, and perhaps other parameters as we scale out the deployment. Therefore, the core team would prefer initially giving the admin rights to the non-timelocked operational multisig for the v2 deployment.''
''From what we gathered from the call, giving the admin rights to this multisig is something most of the community is fine with as long as it is temporary, and the admin rights are transferred to the timelocked multisig at a later date.''
''With that in mind, we propose that the operational multisig be given the admin rights to v2 for a period of up to 1 month after the guarded-launch phase is finished. This will allow the core team and community to be able to respond and react much faster to protocol and market conditions, and after parameters have stabilized, we can transfer admin rights to the timelocked multisig for the greater security guarantees it offers."''
*Admin Controls can be found [https://alchemix-finance.gitbook.io/alchemix-finance/alchemix-dao#governance-process. here]. [https://docs.defisafety.com/finished-reviews/alchemix-process-quality-review#audits From] [[DeFi Safety]] (24-6-2021):
*Admin Controls can be found [https://alchemix-finance.gitbook.io/alchemix-finance/alchemix-dao#governance-process. here]. [https://docs.defisafety.com/finished-reviews/alchemix-process-quality-review#audits From] [[DeFi Safety]] (24-6-2021):


''"a) Transmuter was described as upgraded in their docs. This is the only reference to upgradability.  10%''
''"a) Transmuter was described as upgraded in their docs. This is the only reference to upgradability.  10%''


''b) There are [[Multi-Signature|MultiSig]] capabilities defined, but no direct references for who the signators are in their GitBooks and [[Whitepaper]]. 15%  (NOTE: the multisig signatores are indicated in the audit but not in their docs)''
''b) There are [[Multi-Signature|MultiSig]] capabilities defined, but no direct references for who the signators are in their GitBooks and [[Whitepaper]]. 15%  (NOTE: the [[multisig]] signatores are indicated in the audit but not in their docs)''


''c) No capabilities for change in the contracts is described in any of their documentation.''
''c) No capabilities for change in the [[contracts]] is described in any of their documentation.''


''Score: 10%+15%=25%''
''Score: 10%+15%=25%''
Line 55: Line 70:
* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):
* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):


''"The token will move beyond simply being the memetic “valueless governance token” and will actually become a claim on protocol revenue. ALCX will be unique in that just by staking it, you can earn a diversified portfolio. The more [[TVL]] in Alchemix, the better this becomes. If you want to earn a cash flow, you will have to participate in the governance of the AlchemixDAO. From the moment a user stakes ALCX into the DAO, they will begin accruing Voting Points (VP), which are a non-transferable value held in the contract’s state. The longer a user stakes, and the more ALCX they have staked, the more VP they will accrue. When there is a vote, users can choose to use any amount of their voting points that they desire. So when there is a vote where they truly care about the outcome, they can use as many of their VP as they would like, and if there is a vote that they only care a little about, they can choose to use fewer. This is our interpretation of conviction voting, where you get to put more weight into the things you care about. The catch here is that when users engage in using their VP, they will begin earning a cash flow. The more VP a user uses, the more their cash flow reward weight is boosted in the system, much like how the [[Curve Finance (CRV)|Curve]] protocol boosts rewards for veCRV stakers. It pays more to participate. For AlchemixDAO to work the way we envision, it must be built on [[Layer Two|layer 2]]. We don’t know which layer 2 we will develop this on just yet."''
''"The token will [[move]] beyond simply being the memetic “valueless [[governance]] token” and will actually become a claim on protocol revenue. ALCX will be unique in that just by [[staking]] it, you can earn a diversified portfolio. The more [[TVL]] in Alchemix, the better this becomes. If you want to earn a cash [[flow]], you will have to participate in the governance of the AlchemixDAO. From the moment a user stakes ALCX into [[the DAO]], they will begin accruing Voting Points (VP), which are a non-transferable value held in the contract’s [[state]]. The longer a user stakes, and the more ALCX they have [[staked]], the more VP they will accrue. When there is a vote, users can choose to use any amount of their voting points that they desire. So when there is a vote where they truly care about the outcome, they can use as [[MANY|many]] of their VP as they would like, and if there is a vote that they only care a little about, they can choose to use fewer. This is our interpretation of conviction voting, where you get to put more weight into the things you care about. The catch here is that when users engage in using their VP, they will begin earning a cash flow. The more VP a user uses, the more their cash flow reward weight is boosted in the system, much like how the [[Curve Finance (CRV)|Curve]] protocol boosts rewards for veCRV [[stakers]]. It pays more to participate. For AlchemixDAO to work the way we envision, it must be built on [[Layer Two|layer 2]]. We don’t know which [[layer 2]] we will develop this on just yet."''
===Treasury===
===Treasury===


Line 64: Line 79:
* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):
* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):


''"When we harvest the yield, we take a 10% cut which goes to the treasury."''
''"When we [[harvest]] the yield, we take a 10% cut which goes to the treasury."''
==Token==
==Token==
===Launch===
===Launch===
===Token Allocation===
===Token Allocation===


* The initial [[premine]] allocation ([https://blockzerolabs.io/the-tokenization-of-time-rise-risks-and-roadmaps-of-alchemix-alcx-vs-flashstake-flash/ 10-5-2021]):
* [https://messari.io/asset/alchemix/profile/launch-and-initial-token-distribution From] [[Messari]] (22-5-2022):
''"Alchemix had an initial pre-[[mine]] of 478,612 ALCX tokens, which was estimated to be 20% of the total ALCX tokens in circulation after 3 years based on the token's emissions schedule. All [[pre-mine]] tokens were sent to the treasury, with 358,959 tokens allocated for use at the discretion of the community and 119,653 tokens reserved for [[Bug bounty|bug bounties]]. At launch, 32,000 ALCX tokens from the pre-mine were allocated to [[Liquidity Provider (LP)|liquidity pool]]<nowiki/>s.''
 
''The original script to mint the pre-mine ALCX tokens was accidentally run twice, so 957,224 tokens were initially created. The excess 478,612 tokens were sent to a burner address in order to not impact the plan laid out by the team originally."''
*The initial [[premine]] allocation ([https://blockzerolabs.io/the-tokenization-of-time-rise-risks-and-roadmaps-of-alchemix-alcx-vs-flashstake-flash/ 10-5-2021]):


# 20% Alchemix DAO Premine (5% reserve)
# 20% Alchemix DAO Premine (5% reserve)
Line 77: Line 96:
*From this tweet [https://twitter.com/0xRafi/status/1376266510264590337 thread] (29-3-2021):
*From this tweet [https://twitter.com/0xRafi/status/1376266510264590337 thread] (29-3-2021):


''"The supply of $ALCX is not capped, but the supply emission curve is well defined. Taking the planned supply after 3 years as a basis, 15% of supply goes to the [[DAO]] treasury, 5% for bug bounties reserves and 80% for [[Proof-of-Stake (PoS)|staking]] and [[Liquidity Mining|liquidity farming]]."''
''"The supply of $ALCX is not capped, but the supply emission [[curve]] is well defined. Taking the planned supply after 3 years as a basis, 15% of supply goes to the [[DAO]] treasury, 5% for bug bounties reserves and 80% for [[Proof-of-Stake (PoS)|staking]] and [[Liquidity Mining|liquidity farming]]."''


* From their [https://alchemix-finance.gitbook.io/alchemix-finance/token-distribution/alcx-monetary-policy docs] (1-2021):
* From their [https://alchemix-finance.gitbook.io/alchemix-finance/token-distribution/alcx-monetary-policy docs] (1-2021):
Line 109: Line 128:
* [https://thedailygwei.substack.com/p/magic-finance-the-daily-gwei-216?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDYzODExMywiXyI6IjZJRHhxIiwiaWF0IjoxNjE3NDIzODkzLCJleHAiOjE2MTc0Mjc0OTMsImlzcyI6InB1Yi01Mjg5MyIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.ZmiieG7HNKUBi From] [[Daily Gwei]] (1-4-2021):
* [https://thedailygwei.substack.com/p/magic-finance-the-daily-gwei-216?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozNDYzODExMywiXyI6IjZJRHhxIiwiaWF0IjoxNjE3NDIzODkzLCJleHAiOjE2MTc0Mjc0OTMsImlzcyI6InB1Yi01Mjg5MyIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.ZmiieG7HNKUBi From] [[Daily Gwei]] (1-4-2021):


''"Has a product that basically allows users to deposit [[DAI]] (the principal) into the yDAI [[YEarn (YFI)|Yearn]] vault, generate/borrow up to 50% of the principal amount as alUSD and then the protocol automatically pays down the debt using the yield generated by the yDAI vault. Additionally, users can then deposit this alUSD into a [[Curve Finance (CRV)|Curve]] pool to earn ALCX rewards and swap fees."''
''"Has a product that basically allows users to deposit [[DAI]] (the principal) into the yDAI [[YEarn (YFI)|Yearn]] [[vault]], generate/borrow up to 50% of the principal amount as alUSD and then the protocol automatically pays down the debt using the yield generated by the yDAI vault. Additionally, users can then deposit this alUSD into a [[Curve Finance (CRV)|Curve]] pool to earn ALCX rewards and swap [[fees]]."''


* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):
* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):
Line 116: Line 135:
===Fees===
===Fees===
===Upgrades===
===Upgrades===
===Staking===
 
* On 15-3-2022, V2 got [https://twitter.com/scupytrooples/status/1503751703019110410 released]:
 
''"v2 allows for any arbitrary number of collateral tokens and yield strategies to choose from. As token adapters are written and audited for v2, we can add an ever increasing selection of yield providers for your deposits on Alchemix.''
 
''You can, in effect, create your own yield aggregator from within Alchemix v2 by mixing and matching collateral types and strategies. The sum of your deposits across collaterals and strategies is the basis for how much you can borrow, greatly enhancing UX. Another major difference between v1 and v2 is that v1 was not built with composability - at all. In fact, we prohibited [[smart contracts]] from interacting with it, period. v2 was engineered and audited with composability in mind."''
 
===Staking ===


* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):
* From their [https://alchemixfi.medium.com/a-prelude-to-alchemixdao-c69fa9b0bb30 blog] (1-4-2021):


''"Inspired by the [[Aave (AAVE)|AAVE]] security module, ALCX stakers in the AlchemixDAO will become defenders of the protocol. In the extremely unlikely scenario of Alchemix or one of its underlying yield strategies being exploited, ALCX stakers will have to do their part to make the protocol whole again. ALCX stakers will have up to a (to be decided) percentage of their ALCX [[Slashing|slashed]] in the event of a protocol loss. This slashed ALCX will be auctioned off in order to raise funds to make depositors whole again."''
''"Inspired by the [[Aave (AAVE)|AAVE]] security module, ALCX stakers in the AlchemixDAO will become defenders of the protocol. In the extremely unlikely scenario of Alchemix or one of its underlying yield strategies being exploited, ALCX stakers will have to do their part to make the protocol whole again. ALCX stakers will have up to a (to be decided) percentage of their ALCX [[Slashing|slashed]] in the event of a protocol loss. This [[slashed]] ALCX will be auctioned off in order to raise funds to make depositors whole again."''


===Liquidity Mining===
===Liquidity Mining===
* [https://messari.io/asset/alchemix/profile/launch-and-initial-token-distribution From] [[Messari]] (22-5-2022):
''"At launch, 32,000 ALCX tokens from the pre-mine were allocated to [[Liquidity Provider (LP)|liquidity pool]]<nowiki/>s."''
===Scaling===
===Scaling===
===Interoperability===
===Interoperability===
Line 128: Line 159:
==Oracle Method==
==Oracle Method==


* According to the [[CertiK (CTK)|Certik]] [https://alchemix.fi/a208baf6ca7e0d6b0116461f05e27cd9.pdf audit] (18-5-2021) it only uses [[Chainlink (LINK)|Chainlink]]. They advise to add more oracles.
* According to the [[CertiK (CTK)|Certik]] [https://alchemix.fi/a208baf6ca7e0d6b0116461f05e27cd9.pdf audit] (18-5-2021) it only uses [[Chainlink (LINK)|Chainlink]]. They advise to add more [[oracles]].


==Privacy Method==
==Privacy Method==
Line 135: Line 166:
==Roadmap==
==Roadmap==


*Updated roadmap got [https://alchemixfi.medium.com/alchemix-roadmap-f569ae958623 released] (9-10-2021). It includes audits, v2, new strategies and DAO improvements. Old one can be found [https://alchemix.fi/ here] (26-5-2021).
*Updated [[roadmap]] got [https://alchemixfi.medium.com/alchemix-roadmap-f569ae958623 released] (9-10-2021). It includes audits, v2, new strategies and DAO improvements. Old one can be found [https://alchemix.fi/ here] (26-5-2021).
*From this tweet [https://twitter.com/0xRafi/status/1376266510264590337 thread] (29-3-2021):
*From this tweet [https://twitter.com/0xRafi/status/1376266510264590337 thread] (29-3-2021):


''"Alchemix V2, which is expected to go live within 2 - 4 months will offer more al assets, like $alETH and $alBTC, and will support multi collateral $alUSD ($[[USDC]], $[[USDT]] and $sUSD to be supported soon in addition to $[[DAI]])."''
''"Alchemix V2, which is expected to go live within 2 - 4 months will offer more al assets, like $alETH and $alBTC, and will support multi collateral $alUSD ($[[USDC]], $[[USDT]] and $[[sUSD]] to be supported soon in addition to $[[DAI]])."''


==Usage==
==Usage==
Line 173: Line 204:
===Funding===
===Funding===


* [https://www.coindesk.com/defi-lending-protocol-alchemix-raises-4-9m-in-round-led-by-cms-alameda From] [[CoinDesk]] (14-3-2021):
* [https://messari.io/asset/alchemix/profile/launch-and-initial-token-distribution From] [[Messari]] (22-5-2022), There were 2 funding rounds:
''"The founding team raised $4.9 million selling 7,000 ALCX tokens at a $700 price per token (3-2021) to a group of private investors, who agreed to a 3 Month Lock-Up. This funding was used to compensate the team for their work launching Alchemix.''


''"Completed a $4.9 million funding raise led by [[CMS]], [[Alameda Research]], [[eGirl Capital]] and [[Immutable Capital]]."''
''$3.1 million dollar raise selling 13,778 ALCX tokens at a $225 price per token (3-2021) to bring on a group of strategic investors who agreed to 6 month cliff with 6 month vesting period after the cliff period ends. This funding was used to fund business operations."''
*[[Orion Money (ORION)|Orion Money]]; took part in the [https://orion-money.medium.com/orion-money-private-farming-66e3ebf35dbe Private Farming] raise of $70M [[Total Value Locked (TVL)|TVL]] (12-8-2021).


* A bug in their alETH contract created a $6.5m debt for the Alchemix team, When asked how this would effect the development, the founder [https://www.rekt.news/alchemix-rekt/ answered] (18-6-2021):
* A bug in their alETH contract created a $6.5m debt for the Alchemix team, When asked how this would effect the development, the founder [https://www.rekt.news/alchemix-rekt/ answered] (18-6-2021):


''"It all depends on how much our users give back. If we get > 25% of it, our treasury's non-ALCX holdings of approx $4m will be able to cover it. It will mean we will not be able to be as aggressive in hiring and marketing for some time, but we will recover since we have good cash flow. If we have a more tepid response to the voluntary returning program, then we will explore further measures to make it solvent. We have been offered help from many in the space, so we have some solid options."''
''"It all depends on how much our users give back. If we get > 25% of it, our treasury's non-ALCX holdings of approx $4m will be able to [[cover]] it. It will mean we will not be able to be as aggressive in hiring and marketing for some time, but we will recover since we have good cash flow. If we have a more tepid response to the voluntary returning program, then we will explore further measures to make it solvent. We have been offered help from [[MANY|many]] in the space, so we have some solid [[options]]."''


* [[Orion Money (ORION)|Orion Money]]; took part in the [https://orion-money.medium.com/orion-money-private-farming-66e3ebf35dbe Private Farming] raise of $70M [[Total Value Locked (TVL)|TVL]] (12-8-2021).
*[https://www.coindesk.com/defi-lending-protocol-alchemix-raises-4-9m-in-round-led-by-cms-alameda From] [[CoinDesk]] (14-3-2021):
 
''"Completed a $4.9 million funding raise led by [[CMS]], [[Alameda Research]], [[eGirl Capital]] and [[Immutable Capital]]."''


===Partners===
===Partners===
Line 189: Line 224:
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 02:57, 1 July 2024

Loans that repay themselves.

Basics

"A new protocol centered around “synthetic tokens that represent the future yield of a deposit.”

  • From Yield Farmer (28-3-2021):

"The first project of its kind, Alchemix puts borrowers’ deposits to work in DeFi yield opportunities and uses the ensuing earnings to automatically repay these borrowers’ protocol debts.

For instance, Alchemix’s first flagship product is a synthetic derivative dubbed alUSD, which people can mint with DAI. So if you deposit 100 DAI into alUSD’s contract, you can draw out 50 alUSD. Then the underlying DAI deposit is sent to Yearn to earn yields that steadily pay off your debt."

History

Audits & Exploits

"Certik did a Alchemix audit on May 18th 2021. Alchermix was launched in early April 2021. Token was launched May 17th 2021." With the comment: "Weak docs and testing but OK audits and access control docs"

Bugs/Exploits

"Alchemix patched a bug in the collateral calculation."

"Alchemix patched a function access control vulnerability after it was responsibly disclosed by Ashiq Amien."

"When the same process [as with aDAI] was implemented with ETH, (minting alETH in return), some users discovered that the protocol assigned them no debt. After being notified that their own users were exploiting them, the Alchemix team reacted quickly, and temporarily paused the minting of new alETH while they worked to find a solution. This reverse-rugpull has left alETH undercollateralized by ~2700 ETH, or ~$6.5M at time of writing; a debt which must now be repaid by Alchemix. The protocol has made a public appeal to their users to return the funds and help repay the debt."

Governance

Admin Keys

  • Got audited by Certik; and mentioned 8 major risks, all of which are related to centralization (18-5-2021). It also mentioned there is no timelock.
  • From their forum (22-2-2022), post titled Temporary Assignment of v2 Admin Privileges to Dev-Multisig:

"Alchemix DAO has two different multisig accounts that are used to secure the treasury funds, secure administrative functions, and to conduct protocol operations. The operational multisig (0x9e2b6378ee8ad2A4A95Fe481d63CAba8FB0EBBF9) handles various functions, such as payroll, Olympus Pro, and DeFi 2.0 initiatives for the treasury. The treasury timelocked multisig (0x8392F6669292fA56123F71949B52d883aE57e225) holds the ALCX, receives protocol fees, and has admin rights to change certain parameters, and has a 24 hour timelock guarding all function calls.

The security of the timelocked multisig is undoubtedly better as there is a set duration of time where anyone can see a queued transaction, and can sound the alarm if something suspicious is about to happen. However, the timelock adds additional friction to responding to and updating parameters in the contracts.

The Alchemix core team suspects that we might have a need to be agile in the early phase of the v2 deployment, and by having the operational multisig be given admin rights, it will allow us to change parameters expediently during the initial phase post-rollout. It is expected that we will need to increase debt caps, deposit caps, convertible caps, and perhaps other parameters as we scale out the deployment. Therefore, the core team would prefer initially giving the admin rights to the non-timelocked operational multisig for the v2 deployment.

From what we gathered from the call, giving the admin rights to this multisig is something most of the community is fine with as long as it is temporary, and the admin rights are transferred to the timelocked multisig at a later date.

With that in mind, we propose that the operational multisig be given the admin rights to v2 for a period of up to 1 month after the guarded-launch phase is finished. This will allow the core team and community to be able to respond and react much faster to protocol and market conditions, and after parameters have stabilized, we can transfer admin rights to the timelocked multisig for the greater security guarantees it offers."

"a) Transmuter was described as upgraded in their docs. This is the only reference to upgradability. 10%

b) There are MultiSig capabilities defined, but no direct references for who the signators are in their GitBooks and Whitepaper. 15% (NOTE: the multisig signatores are indicated in the audit but not in their docs)

c) No capabilities for change in the contracts is described in any of their documentation.

Score: 10%+15%=25%

Pause Control mentioned, with no further details or testing."

DAO

  • From their blog (1-4-2021):

"The token will move beyond simply being the memetic “valueless governance token” and will actually become a claim on protocol revenue. ALCX will be unique in that just by staking it, you can earn a diversified portfolio. The more TVL in Alchemix, the better this becomes. If you want to earn a cash flow, you will have to participate in the governance of the AlchemixDAO. From the moment a user stakes ALCX into the DAO, they will begin accruing Voting Points (VP), which are a non-transferable value held in the contract’s state. The longer a user stakes, and the more ALCX they have staked, the more VP they will accrue. When there is a vote, users can choose to use any amount of their voting points that they desire. So when there is a vote where they truly care about the outcome, they can use as many of their VP as they would like, and if there is a vote that they only care a little about, they can choose to use fewer. This is our interpretation of conviction voting, where you get to put more weight into the things you care about. The catch here is that when users engage in using their VP, they will begin earning a cash flow. The more VP a user uses, the more their cash flow reward weight is boosted in the system, much like how the Curve protocol boosts rewards for veCRV stakers. It pays more to participate. For AlchemixDAO to work the way we envision, it must be built on layer 2. We don’t know which layer 2 we will develop this on just yet."

Treasury

  • From this tweet thread (29-3-2021):

"Taking the planned supply after 3 years as a basis, 15% of supply goes to the DAO treasury."

  • From their blog (1-4-2021):

"When we harvest the yield, we take a 10% cut which goes to the treasury."

Token

Launch

Token Allocation

"Alchemix had an initial pre-mine of 478,612 ALCX tokens, which was estimated to be 20% of the total ALCX tokens in circulation after 3 years based on the token's emissions schedule. All pre-mine tokens were sent to the treasury, with 358,959 tokens allocated for use at the discretion of the community and 119,653 tokens reserved for bug bounties. At launch, 32,000 ALCX tokens from the pre-mine were allocated to liquidity pools.

The original script to mint the pre-mine ALCX tokens was accidentally run twice, so 957,224 tokens were initially created. The excess 478,612 tokens were sent to a burner address in order to not impact the plan laid out by the team originally."

  1. 20% Alchemix DAO Premine (5% reserve)
  2. 16% Private Staking/LP Pools for Founders
  3. 64% Public Staking/LP Pools
  • From this tweet thread (29-3-2021):

"The supply of $ALCX is not capped, but the supply emission curve is well defined. Taking the planned supply after 3 years as a basis, 15% of supply goes to the DAO treasury, 5% for bug bounties reserves and 80% for staking and liquidity farming."

  • From their docs (1-2021):

"At the three year point, there will be approximately 4.5% annual inflation of supply, and it will gradually decrease over time."

Utility

"Along with the protocol comes the governance token, ALCX, that you can stake as part of a pool 2 - you can also yield farm using stablecoins to earn ALCX."

  • From their blog (1-4-2021):

"The token will move beyond simply being the memetic “valueless governance token” and will actually become a claim on protocol revenue. ALCX will be unique in that just by staking it, you can earn a diversified portfolio. The more TVL in Alchemix, the better this becomes. If you want to earn a cash flow, you will have to participate in the governance of the AlchemixDAO."

Other Details

Stablecoin

Coin Distribution

Technology

Implementations

  • Built on: Ethereum, yEarn and Curve (1-4-2021). Alchemix turned to (15-6-2021) Saddle for its alETH pool. The announcement attracted a lot of negative attention and even turned Curve to propose not giving them CRV rewards through one of Alchemix's strategies.

How it works

"Has a product that basically allows users to deposit DAI (the principal) into the yDAI Yearn vault, generate/borrow up to 50% of the principal amount as alUSD and then the protocol automatically pays down the debt using the yield generated by the yDAI vault. Additionally, users can then deposit this alUSD into a Curve pool to earn ALCX rewards and swap fees."

  • From their blog (1-4-2021):

"Alchemix is a platform that empowers users to get advances on their yield by minting a synthetic version of their collateral up front (currently only DAI), using various mechanisms to peg the synthetic token to the deposited asset. We do this by putting collateral to work earning yield in yearn.finance, with the harvested yield going towards paying off your own debt in the system — essentially we are paying you to borrow. When we harvest the yield, we take a 10% cut which goes to the treasury, and yearn pays us affiliate fees for adding TVL to their protocol. When Alchemix v2 is released later this year, we will add multiple collateral types for alUSD, including USDC and USDT. We will also add more al-Assets, such as alETH and alBTC. Each of these vaults will have the same 10% fee applied to harvests. When a user stakes ALCX into AlchemixDAO, they will get an unrivalled cash flow with a diverse set of stablecoins, ETH, wBTC, and potentially even more tokens (details on that are still a closely guarded secret). The token will move beyond simply being the memetic “valueless governance token” and will actually become a claim on protocol revenue. ALCX will be unique in that just by staking it, you can earn a diversified portfolio. The more TVL in Alchemix, the better this becomes."

Fees

Upgrades

"v2 allows for any arbitrary number of collateral tokens and yield strategies to choose from. As token adapters are written and audited for v2, we can add an ever increasing selection of yield providers for your deposits on Alchemix.

You can, in effect, create your own yield aggregator from within Alchemix v2 by mixing and matching collateral types and strategies. The sum of your deposits across collaterals and strategies is the basis for how much you can borrow, greatly enhancing UX. Another major difference between v1 and v2 is that v1 was not built with composability - at all. In fact, we prohibited smart contracts from interacting with it, period. v2 was engineered and audited with composability in mind."

Staking

  • From their blog (1-4-2021):

"Inspired by the AAVE security module, ALCX stakers in the AlchemixDAO will become defenders of the protocol. In the extremely unlikely scenario of Alchemix or one of its underlying yield strategies being exploited, ALCX stakers will have to do their part to make the protocol whole again. ALCX stakers will have up to a (to be decided) percentage of their ALCX slashed in the event of a protocol loss. This slashed ALCX will be auctioned off in order to raise funds to make depositors whole again."

Liquidity Mining

"At launch, 32,000 ALCX tokens from the pre-mine were allocated to liquidity pools."

Scaling

Interoperability

Other Details

Oracle Method

Privacy Method

Compliance

Their Other Projects

Roadmap

  • Updated roadmap got released (9-10-2021). It includes audits, v2, new strategies and DAO improvements. Old one can be found here (26-5-2021).
  • From this tweet thread (29-3-2021):

"Alchemix V2, which is expected to go live within 2 - 4 months will offer more al assets, like $alETH and $alBTC, and will support multi collateral $alUSD ($USDC, $USDT and $sUSD to be supported soon in addition to $DAI)."

Usage

"Alchemix had over $1b TVL at the time of the [alETH] incident."

Projects that use or built on it

Competition

  • WasabiX was launched as a fork without the founders allocation.

Pros and Cons

Pros

  • The team came up with a (minor) new innovation, showing originality and creativity.

Cons

Team, Funding, Partners

Team

  • Full team can be found [here].

"Alchemix has been built by an anonymous team"

Funding

"The founding team raised $4.9 million selling 7,000 ALCX tokens at a $700 price per token (3-2021) to a group of private investors, who agreed to a 3 Month Lock-Up. This funding was used to compensate the team for their work launching Alchemix.

$3.1 million dollar raise selling 13,778 ALCX tokens at a $225 price per token (3-2021) to bring on a group of strategic investors who agreed to 6 month cliff with 6 month vesting period after the cliff period ends. This funding was used to fund business operations."

  • A bug in their alETH contract created a $6.5m debt for the Alchemix team, When asked how this would effect the development, the founder answered (18-6-2021):

"It all depends on how much our users give back. If we get > 25% of it, our treasury's non-ALCX holdings of approx $4m will be able to cover it. It will mean we will not be able to be as aggressive in hiring and marketing for some time, but we will recover since we have good cash flow. If we have a more tepid response to the voluntary returning program, then we will explore further measures to make it solvent. We have been offered help from many in the space, so we have some solid options."

"Completed a $4.9 million funding raise led by CMS, Alameda Research, eGirl Capital and Immutable Capital."

Partners

(:

Knowledge empowers 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

Also check out CoinTr.ee for more content.