Difference between revisions of "Swerve (SWRV)"

From CryptoWiki

wiki_crypto>Zeb.dyor
 
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
"''We essentially use their own [[contracts]] [[on chain]] as an [[API]] via DELEGATECALLS, one could argue it was more of we built a [[Curve]] on top of Curve vs. a [[fork]] of Curve, hah"''
"''We essentially use their own [[contracts]] [[on chain]] as an [[API]] via DELEGATECALLS, one could argue it was more of we built a [[Curve]] on top of Curve vs. a [[fork]] of Curve, hah"''


== Audits & Exploits ==
* [[Bug bounty]] program can be found [insert here].
* [https://yieldfarmer.substack.com/p/swerve-finance-alpha-tractor?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMzUwNTc2LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5NDIsImV4cCI6MTU5OTQ3NDU0MiwiaXNzIjoicHViLTM4NDUxIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.ndsYOpk6uT46ojIyPuXAbT0Dbm00s1dmyPzsc7uCYbo Unaudited] (7-9-2020).
* [https://thedefiant.substack.com/p/a-chat-with-john-deere-the-anonymous?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMjYxMDQ4LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5MTQsImV4cCI6MTU5OTQ3NDUxNCwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.TZ9-QOCSID6Aq579fgPG2fFvjaRVt--PLwN9CJo8zYw From] [[The Defiant]] (5-9-2020):
"''There is very minimal new code introduced (and is quite simple), I have had some fellow farmers take a look and have been reviewing for some time but ultimately will recommend participants to proceed with caution (as they always should) until it is more publicly vetted."''
* [https://docs.defisafety.com/finished-reviews/swerve-pq-review#audits Scored] a 27% on [[DeFi Safety]] (12-2020); ''"​''
"''Since Swerve is not taking credit for the audit below as an audit on their website or [[GitHub]], we cannot say that they have an audit.  Score 20%.''
''[[Cryptic Labs]] did an [https://github.com/crypticlabs/swerve-audit-report/blob/master/Swerve%20Finance%20Audit%20-%20by%20Cryptic%20Labs%20v3.pdf audit] on September 14th, but the ":audit" once read is not actually an audit. It does give a good description of the differences between curve and swerve from a software diff perspective. There is no evidence of actual audit processes on the new code. Section 1.5 is for Defect Checklist. It just says "No Defect was found". No indication of the types of tests or tools.  ''
''Swerve finance was released on September 4th."''
With the [https://t.me/c/1453353094/2111 comment]: ''"a dismal 27%.  Low docs, no audit and no tests. Private repo? Can't tell the devs won't respond."''
=== Bugs/Exploits ===
* From [[Peter Zeitz]] an economics researcher at [[0x]]. ''"This is a [https://medium.com/@peter_4205/curve-vulnerability-report-a1d7630140ec report] (8-10-2020) on a smart contract vulnerability I discovered in the [[Curve]] protocol. The vulnerability is interesting because it exposed Curve and Swerve users to risk of massive financial loss, but went undiscovered despite multiple contract audits." ''He got paid a '<em>very generous bug bounty' </em>by Curve.
== Governance ==
===Admin Keys===
===DAO===
Has a Swerve [[DAO]]. The DAO [https://thedefiant.substack.com/p/a-chat-with-john-deere-the-anonymous?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMjYxMDQ4LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5MTQsImV4cCI6MTU5OTQ3NDUxNCwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.TZ9-QOCSID6Aq579fgPG2fFvjaRVt--PLwN9CJo8zYw will be] the owner of all the protocol [[contracts]], and all changes to the protocol or DAO must be voted on and approved by SWRV holders.
===Notable Governance Votes===
* Starting on March 16, 2023 there were multiple attempts to empty $1.3M from a defunct Swerve Finance pool using a [https://twitter.com/FrankResearcher/status/1639371292502548485 governance attack]. Following a doxing and subsequent [https://twitter.com/joaorcsilva/status/1639588240251408385 contact with the attacker], things were [https://drive.google.com/file/d/1xone9Q0dvEINqgIuGv7SN27AnKhgXM8c/view quickly resolved] with the attacker encouraged to take the whitehat route.
===Treasury ===
== Token ==
== Token ==
=== Launch ===
=== Launch ===
Line 28: Line 56:


=== Token Details ===
=== Token Details ===
=== Stablecoin ===
== Tech ==
== Tech ==
* [[Whitepaper]] can be found [insert here].
* [[Whitepaper]] can be found [insert here].
* Code can be viewed [https://github.com/SwerveFinance here] (7-9-2020).
* Code can be viewed [https://github.com/SwerveFinance here] (7-9-2020).
* Built on:
* Built on:
* Programming language used:
=== Transaction Details ===
* Capacity ([[TPS]]):
* [[Latency]]:
=== How it works ===
=== How it works ===
=== Mining ===
=== Fees ===
=== Staking ===
=== Staking ===
=== Upgrades ===
*[https://decrypt.co/43442/some-defi-forks-are-evolving-from-copies-to-unique-projects From] [[Decrypt]] (30-9-2020):
"''Recently there have been proposals [https://snapshot.page/#/swerve/proposal/QmYXRhKhU456qbuLu2AkezYzAE1vKn2C58AL8tku4ixaFn to add a new pool], as well as to direct admin fees to the treasure."''
=== Liquidity Mining ===
=== Liquidity Mining ===
* From their [https://swerve.fi/ website] (7-9-2020):
* From their [https://swerve.fi/ website] (7-9-2020):
''"If you provide liquidity to Swerve, you get ySWRV tokens which can be [[staked]] in the Swerve DAO to earn $SWRV. To kickstart the protocol and encourage users to try out Swerve, the first two weeks will have a larger distribution of $SWRV awarded."''
''"If you provide liquidity to Swerve, you get ySWRV tokens which can be [[staked]] in the Swerve DAO to earn $SWRV. To kickstart the protocol and encourage users to try out Swerve, the first two weeks will have a larger distribution of $SWRV awarded."''


=== Layer Two ===
=== Scaling ===
=== Different Implementations ===
=== Different Implementations ===
=== Interoperability ===
=== Interoperability ===
=== Other Details ===
=== Other Details ===
* [https://yieldfarmer.substack.com/p/swerve-finance-alpha-tractor?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMzUwNTc2LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5NDIsImV4cCI6MTU5OTQ3NDU0MiwiaXNzIjoicHViLTM4NDUxIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.ndsYOpk6uT46ojIyPuXAbT0Dbm00s1dmyPzsc7uCYbo Hosted] on [[IPFS]].
* [https://yieldfarmer.substack.com/p/swerve-finance-alpha-tractor?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMzUwNTc2LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5NDIsImV4cCI6MTU5OTQ3NDU0MiwiaXNzIjoicHViLTM4NDUxIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.ndsYOpk6uT46ojIyPuXAbT0Dbm00s1dmyPzsc7uCYbo Hosted] on [[IPFS]].
 
== Oracle Method ==
== Privacy Method being used ==
== Their Projects ==
=== Compliance ===
== Oracle Method being used ==
== Their Other Projects ==
=== DEX ===
== Governance ==
=== DAO ===
* Has a Swerve [[DAO]]. The DAO [https://thedefiant.substack.com/p/a-chat-with-john-deere-the-anonymous?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMjYxMDQ4LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5MTQsImV4cCI6MTU5OTQ3NDUxNCwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.TZ9-QOCSID6Aq579fgPG2fFvjaRVt--PLwN9CJo8zYw will be] the owner of all the protocol [[contracts]], and all changes to the protocol or DAO must be voted on and approved by SWRV holders.
 
=== Self Funding Mechanism ===
== Upgrades ==
* [https://decrypt.co/43442/some-defi-forks-are-evolving-from-copies-to-unique-projects From] [[Decrypt]] (30-9-2020):
"''Recently there have been proposals [https://snapshot.page/#/swerve/proposal/QmYXRhKhU456qbuLu2AkezYzAE1vKn2C58AL8tku4ixaFn to add a new pool], as well as to direct admin fees to the treasure."''
 
== Roadmap ==
== Roadmap ==
* Can be found [Insert link here].
* Can be found [Insert link here].
== Audits ==
* [[Bug bounty]] program can be found [insert here].
* [https://yieldfarmer.substack.com/p/swerve-finance-alpha-tractor?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMzUwNTc2LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5NDIsImV4cCI6MTU5OTQ3NDU0MiwiaXNzIjoicHViLTM4NDUxIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.ndsYOpk6uT46ojIyPuXAbT0Dbm00s1dmyPzsc7uCYbo Unaudited] (7-9-2020).
* [https://thedefiant.substack.com/p/a-chat-with-john-deere-the-anonymous?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMjYxMDQ4LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5MTQsImV4cCI6MTU5OTQ3NDUxNCwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.TZ9-QOCSID6Aq579fgPG2fFvjaRVt--PLwN9CJo8zYw From] [[The Defiant]] (5-9-2020):
"''There is very minimal new code introduced (and is quite simple), I have had some fellow farmers take a look and have been reviewing for some time but ultimately will recommend participants to proceed with caution (as they always should) until it is more publicly vetted."''
* [https://docs.defisafety.com/finished-reviews/swerve-pq-review#audits Scored] a 27% on [[DeFi Safety]] (12-2020); ''"​''
"''Since Swerve is not taking credit for the audit below as an audit on their website or [[GitHub]], we cannot say that they have an audit.  Score 20%.''
''[[Cryptic Labs]] did an [https://github.com/crypticlabs/swerve-audit-report/blob/master/Swerve%20Finance%20Audit%20-%20by%20Cryptic%20Labs%20v3.pdf audit] on September 14th, but the ":audit" once read is not actually an audit. It does give a good description of the differences between curve and swerve from a software diff perspective. There is no evidence of actual audit processes on the new code. Section 1.5 is for Defect Checklist. It just says "No Defect was found". No indication of the types of tests or tools.  ''
''Swerve finance was released on September 4th."''
With the [https://t.me/c/1453353094/2111 comment]: ''"a dismal 27%.  Low docs, no audit and no tests. Private repo? Can't tell the devs won't respond."''
=== Bugs ===
* From [[Peter Zeitz]] an economics researcher at [[0x]]. ''"This is a [https://medium.com/@peter_4205/curve-vulnerability-report-a1d7630140ec report] (8-10-2020) on a smart contract vulnerability I discovered in the [[Curve]] protocol. The vulnerability is interesting because it exposed Curve and Swerve users to risk of massive financial loss, but went undiscovered despite multiple contract audits." ''He got paid a '<em>very generous bug bounty' </em>by Curve.
== Usage ==
== Usage ==
* [https://weekinethereum.substack.com/p/week-in-ethereum-news-sept-6-2020?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo5MjUxNjgsIl8iOiIwb3pkOCIsImlhdCI6MTU5OTQ3MDkzNSwiZXhwIjoxNTk5NDc0NTM1LCJpc3MiOiJwdWItMTA3MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.p1cjNjzNEYpGNJd-H3opY0MJ8o846yPgcBosf9h3PE8 Reached] (7-9-2020) almost $500m in [[total value locked]] in under a week.
* [https://weekinethereum.substack.com/p/week-in-ethereum-news-sept-6-2020?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo5MjUxNjgsIl8iOiIwb3pkOCIsImlhdCI6MTU5OTQ3MDkzNSwiZXhwIjoxNTk5NDc0NTM1LCJpc3MiOiJwdWItMTA3MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.p1cjNjzNEYpGNJd-H3opY0MJ8o846yPgcBosf9h3PE8 Reached] (7-9-2020) almost $500m in [[total value locked]] in under a week.
Line 99: Line 95:
* [https://thedefiant.substack.com/p/a-chat-with-john-deere-the-anonymous?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMjYxMDQ4LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5MTQsImV4cCI6MTU5OTQ3NDUxNCwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.TZ9-QOCSID6Aq579fgPG2fFvjaRVt--PLwN9CJo8zYw From] [[The Defiant]] (5-9-2020):
* [https://thedefiant.substack.com/p/a-chat-with-john-deere-the-anonymous?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxMjYxMDQ4LCJfIjoiMG96ZDgiLCJpYXQiOjE1OTk0NzA5MTQsImV4cCI6MTU5OTQ3NDUxNCwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.TZ9-QOCSID6Aq579fgPG2fFvjaRVt--PLwN9CJo8zYw From] [[The Defiant]] (5-9-2020):
"''The Swerve protocol is governed by a Swerve DAO and will issue 100% of its governance tokens to liquidity providers as reward incentives, instead of the 62% allocated in Curve."''
"''The Swerve protocol is governed by a Swerve DAO and will issue 100% of its governance tokens to liquidity providers as reward incentives, instead of the 62% allocated in Curve."''
== Coin Distribution ==
== Pros and Cons ==
== Pros and Cons ==
=== Pros ===
=== Pros ===
=== Cons ===
=== Cons ===
== Team, Funding, Partnerships, etc. ==
== Team, Funding, Partners ==
=== Team ===
=== Team ===
* Full team can be found [here].
* Full team can be found [here].

Latest revision as of 02:46, 9 April 2023

Swerve
TypeStablecoin Yield Farming
Total supply33.000.000
Websitehttps://swerve.fi/

 Basics

"A fork of $CRV with 100% of the token distribution allocated to liquidity providers"

History

"We essentially use their own contracts on chain as an API via DELEGATECALLS, one could argue it was more of we built a Curve on top of Curve vs. a fork of Curve, hah"

Audits & Exploits

"There is very minimal new code introduced (and is quite simple), I have had some fellow farmers take a look and have been reviewing for some time but ultimately will recommend participants to proceed with caution (as they always should) until it is more publicly vetted."

"Since Swerve is not taking credit for the audit below as an audit on their website or GitHub, we cannot say that they have an audit. Score 20%.

Cryptic Labs did an audit on September 14th, but the ":audit" once read is not actually an audit. It does give a good description of the differences between curve and swerve from a software diff perspective. There is no evidence of actual audit processes on the new code. Section 1.5 is for Defect Checklist. It just says "No Defect was found". No indication of the types of tests or tools.

Swerve finance was released on September 4th."

With the comment: "a dismal 27%.  Low docs, no audit and no tests. Private repo? Can't tell the devs won't respond."

Bugs/Exploits

  • From Peter Zeitz an economics researcher at 0x. "This is a report (8-10-2020) on a smart contract vulnerability I discovered in the Curve protocol. The vulnerability is interesting because it exposed Curve and Swerve users to risk of massive financial loss, but went undiscovered despite multiple contract audits." He got paid a 'very generous bug bounty' by Curve.

Governance

Admin Keys

DAO

Has a Swerve DAO. The DAO will be the owner of all the protocol contracts, and all changes to the protocol or DAO must be voted on and approved by SWRV holders.

Notable Governance Votes

Treasury

Token

Launch

"The protocol unveiled last night — not without a few hiccups with the UI, which had some calling “pre-mine,” while others attributed to an honest mistake. The issue was fixed and in the few hours since launch, 970 addresses have deposited more than $377M in the protocol’s pool of stablecoins."

Token allocation

"There's no fake-out deployment, no questionable pre-mining, no founder controlling majority of the governance vote, no suspect team proposals, no 30% allocation to 'shareholders', no team allocation, no decades long distribution, none of it.

It's a simple 33,000,000 supply owned entirely by you, the community of liquidity providers and users."

Utility

"The native governance token - SWRV - is used for adding new pools alongside extra LP rewards."

Token Details

Tech

  • Whitepaper can be found [insert here].
  • Code can be viewed here (7-9-2020).
  • Built on:

How it works

Fees

Staking

Upgrades

"Recently there have been proposals to add a new pool, as well as to direct admin fees to the treasure."

Liquidity Mining

"If you provide liquidity to Swerve, you get ySWRV tokens which can be staked in the Swerve DAO to earn $SWRV. To kickstart the protocol and encourage users to try out Swerve, the first two weeks will have a larger distribution of $SWRV awarded."

Scaling

Different Implementations

Interoperability

Other Details

Oracle Method

Their Projects

Roadmap

  • Can be found [Insert link here].

Usage

"With liquidity mining rewards as high as 250%, Swerve quickly grew and sucked in hundreds of millions of dollars with TVL over $800M at one point. However, when the rewards were massively decreased on September 19th, Swerve’s TVL dropped massively as well and sits around $44M at the time of writing. Without strong differentiation from its parent, it seems Swerve’s LPs weren’t as interested in sticking around as Sushi’s."

Projects that use or built on it

Competition

"We’ve also removed some bullshit.

On top of a fair and 100% token distribution and no pre-vesting or allocations, Swerve is launching with just one pool to start, using DAI, USDC, USDT and TUSD. This cuts gas costs down dramatically for interactions vs using Y tokens. The DAO can decide to vote in additional pools they want. We don't want LPs initially forced to provide liquidity for additional pools they may not want to actually participate in just to chase rewards. Voting will be enabled within the DAO in about 24 hours.

The whitelist for smart wallets on the voting contract is removed, smart contracts like the YFI ecosystem should be able to participate. Lastly, the voting boost for $SWRV takes effect after one hour instead of 2 weeks, so you can start right out of the gate."

"The Swerve protocol is governed by a Swerve DAO and will issue 100% of its governance tokens to liquidity providers as reward incentives, instead of the 62% allocated in Curve."

Pros and Cons

Pros

Cons

Team, Funding, Partners

Team

  • Full team can be found [here].
  • John Deere; lead (and only as of 7-9-2020) dev. "It is just myself, but I say we as I hope to represent all fair and honest farmers 😊. I am just a simple farmer and developer, I have not thought much about if I will participate but my funds are nothing larger than the average user, it would not be a significant or large amount of capital by any definition."

Funding

Partners