Skip to content

Commit

Permalink
Add seafood #373 (#391)
Browse files Browse the repository at this point in the history
closes #391 

* - add seafood to links
- add seafood to risks

* fixed markdown linting breaking style guide

* Update docs/resources/risks/risk-score.md

Co-authored-by: Marco Guaspari Worms <[email protected]>

* Update docs/resources/links.md

Co-authored-by: Marco Guaspari Worms <[email protected]>

* remove dead and repeat links

---------

Co-authored-by: Marco Guaspari Worms <[email protected]>
  • Loading branch information
rossgalloway and MarcoWorms authored Dec 14, 2023
1 parent 0f61d3f commit 289d135
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

.markdownlint.json

# Use yarn.lock
package-lock.json

Expand Down
5 changes: 1 addition & 4 deletions docs/resources/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- [Twitter](https://twitter.com/yearnfi)
- [Medium](https://medium.com/iearn)
- [Yearn Newsletter](https://yearn.substack.com/)
- [The Vaults at Yearn](https://vaults.yearn.fi/)

### Collaborate

Expand All @@ -28,16 +27,14 @@

### Vaults Detail Reference

- [Vaults at Yearn](https://vaults.yearn.fi/)
- [yVaults v2 Strategies](https://yearn.watch/)
- [yVaults v2 Details](https://seafood.yearn.watch)
- [Risk Dashboard](https://yearn.watch/risk)
- [Risk Dashboard](https://seafood.yearn.watch/risk)
- [Yearn Lens](https://github.com/yearn/yearn-lens)

### Statistics

- [Yearn Dashboard](https://yearn.vision)
- [Yearn v2 Subgraph](https://thegraph.com/explorer/subgraph?id=0xf50b705e4eaba269dfe954f10c65bd34e6351e0c-0&view=Overview)
- [Yearn API](https://ydaemon.yearn.fi/1/vaults/all)
- [Yearn on Token Terminal](https://www.tokenterminal.com/terminal/projects/yearn-finance)

Expand Down
11 changes: 6 additions & 5 deletions docs/resources/risks/risk-score.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Yearn works with risk scores to quantify and assess the amount of risk of each s
* [**Vault Risk Score Proposal**](#vault-risk-score-proposal) aggregates all strategy scores for a vault, averaging by TVL **(this is in draft stage)**
* [**Overall Risk Score Proposal**](#overall-risk-score-proposal) aggregates strategy/vault scores into overall scores **(this is in draft stage)**

Different risk scores for all V2 vaults can be viewed on the [Seafood](https://seafood.yearn.watch/risk) Dashboard.

## Strategy Risk Score

Risk for different strategies is quantified using a 1-5 point system developed by Yearn's strategy deployment process. The higher the risk score number, the more risky the strategy is. The risk assessment evaluates eight dimensions:
Expand All @@ -23,8 +25,8 @@ Risk for different strategies is quantified using a 1-5 point system developed b
- [Vault Risk Score Proposal](#vault-risk-score-proposal)
- [Overall Risk Score Proposal](#overall-risk-score-proposal)

This risk framework is an ongoing process to ensure the security of Yearn strategies. Yearn recognized that, due to its unique approach to deploying strategies, it could not rely on a traditional waterfall process (heavy analysis and design, testing, multiple audits before release, etc.) to deploy contracts. Strategies are deployed and capped by their risk score. As we reduce the risk in any of the eight dimensions, the strategy can grow its TVL. This system allows Yearn to compare the risk score of two strategies and prioritize risk mitigation and preventive actions, such as forming a committee to spread knowledge on the code, getting more audits, migrating current code to improved versions of the strategy, etc.
This risk framework is an ongoing process to ensure the security of Yearn strategies. Yearn recognized that, due to its unique approach to deploying strategies, it could not rely on a traditional waterfall process (heavy analysis and design, testing, multiple audits before release, etc.) to deploy contracts. Strategies are deployed and capped by their risk score. As we reduce the risk in any of the eight dimensions, the strategy can grow its TVL. This system allows Yearn to compare the risk score of two strategies and prioritize risk mitigation and preventive actions, such as forming a committee to spread knowledge on the code, getting more audits, migrating current code to improved versions of the strategy, etc.

The current version of the risk score system works for Yearn's current needs, but we are always looking to improve and expand it to the vaults. We want to provide our users with a better understanding of what is happening behind the scenes in the vaults. The development of vault risk scoring is still in progress!

### Audit
Expand Down Expand Up @@ -159,7 +161,7 @@ How long the strategy has been running live on yearn.fi:

### Protocol Safety

Protocol Safety evaluates the resilience of the protocol the strategy uses. It takes into account the safety measures given the current DeFi security standards, based on our internal assessments and due diligence compared to the top projects in DeFI. This includes multisig health, decentralization, bounty programs, audits, etc.
Protocol Safety evaluates the resilience of the protocol the strategy uses. It takes into account the safety measures given the current DeFi security standards, based on our internal assessments and due diligence compared to the top projects in DeFI. This includes multisig health, decentralization, bounty programs, audits, etc.

We hope to improve this dimension with the help of the DeFI community to potentially use a standard scoring system that is widely accepted in the ecosystem to replace our current scoring table:

Expand Down Expand Up @@ -252,10 +254,9 @@ Testing score is a metric of how much of the codebase for the strategy has been
</tr>
</table>


### TVL Impact

The TVL (total value locked) metric measures how to allocate to new riskier strategies without having a catastrophic event in case of a hack or issue. The lower the impact, the more likely Yearn’s treasury can recover from an incident. The TVL is measured in USD and grows dynamically based on strategies allocations onchain. Through [yearn.watch](https://yearn.watch/), we keep track of the TVL and risk score to make fund allocation decisions and mitigations if a strategy group has fallen into the “red” high-risk zone:
The TVL (total value locked) metric measures how to allocate to new riskier strategies without having a catastrophic event in case of a hack or issue. The lower the impact, the more likely Yearn’s treasury can recover from an incident. The TVL is measured in USD and grows dynamically based on strategies allocations onchain. Through [seafood](https://seafood.yearn.watch/risk) we keep track of the TVL and risk score to make fund allocation decisions and mitigations if a strategy group has fallen into the “red” high-risk zone:

<table>
<tr>
Expand Down

1 comment on commit 289d135

@vercel
Copy link

@vercel vercel bot commented on 289d135 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.