[Grant Proposal] Grant Request for Defishy.xyz to build Euler-specific liquidation health dashboard

Title: Grant Request for Defishy.xyz to build Euler-specific liquidation health dashboard

Author(s): Charlie Ambrose, Alex Craig, Aaron Xie, Luke Xie

Submission Date: July 25th, 2022

Simple Summary
We are requesting a $5,000 grant to build an Euler-specific liquidation health dashboard on Defishy.xyz. Defishy is a new analytics platform that enables stakeholders within borrowing & lending ecosystems to manage liquidation cascade risk. So far, we have integrated an MVP version with Aave and are looking to integrate with Euler next.

Abstract
The Defishy team is composed of four members of Dartmouth Blockchain. Our club philosophy is to continually provide value to the blockchain ecosystem through shipping useful products and research. The Defishy team consists of four individuals with development, design, and growth experience. We have extensive experience in DeFi, having contributed at Yeti Finance, Tribe DAO, Temple DAO, and more.

Defishy will improve the Euler stakeholder/token holder experience by allowing users to identify wallets close to liquidation on Euler and position themselves accordingly. The recent crash of May 2022 was caused largely by a series of liquidation cascades as large whale wallets were liquidated. As liquidators sold massive amounts of collateral on exchanges, it dropped collateral price, which resulted in more liquidations. We created Defishy to democratize liquidation health data of all wallets, such that users are able to manage liquidation risk more effectively. We have currently integrated with Aave, and after speaking with multiple members of the Euler team and users of Euler borrowing and lending, we think this integration will be beneficial.

Motivation
There are a number of risk vectors in borrowing and lending protocols, including smart contract risk, price oracle manipulation risk, governance / pool management risk, and market risk (liquidations + bad debt). As protocols like Euler continue to onboard more users, it is increasingly important to equip users with necessary risk-management analytics for healthy activity. Safeguarding users against risk ensures the long-term sustainability of the protocol, as well as an improved user experience (competitive differentiation with other borrowing and lending protocols).

Projects like gov.gauntlet.network and bad-debt.riskdao.org have showcased what is possible with on-chain analytics for DeFi. On a longer term horizon, we hope to expand on previous projects in two ways: historical data and granular daily data. We will store various metrics (some already live at defishy.xyz), including Aggregate Liquidation Health, Total Collateral Value at Risk, Wallets at Risk, and more. Users will be able to monitor the historical trends of these metrics, while also viewing granular breakdowns of these metrics per day. See the following Figma mockups for reference: mockup 1, mockup 2 (we hope to execute this vision on a longer time horizon). We see Defishy as a useful public good for various stakeholders within the Euler ecosystem to manage risk: the DAO governors, users (borrowers and lenders), and researchers.

Specification & Implementation
We are requesting an initial $5k grant to fund the development of integrating an Euler dashboard to Defishy.xyz, with the following deliverables:

  • Live metrics presented: Active Wallets, Wallets at Risk, and Aggregate Liquidation Score
  • Live breakdowns presented: Active Wallets (includes address, supply amount, borrow amount, and liquidation health)

The deliverables will be live at defishy.xyz.

Next steps / To-do:

  1. Inspect smart contracts to figure out data pipeline setup
  2. Run nodes to scrape data from Euler protocol
  3. Upload data to backend (currently using Firebase)
  4. Apply Aave liquidation health metric to Euler wallets
  5. Make calls from frontend to display data
  6. Create frontend UI

How long will development take?

  • We estimate development time to take ~2 weeks from the proposal vote going though. Based on feedback from community members, we plan to continue iterating and shipping out new and useful features.

What will the $5,000 be used for?

  • Database storage ($500)
  • Server hosting ($50)
  • Nodes ($450)
  • Contributor compensation ($4,000)

Voting

  • Yes vote - Yes, fund $5,000 to Dartmouth Blockchain multisig (0x761DaE43C915914A681e15D17fd85603C78DEF5f) for 2 weeks of development work: liquidation health dashboard at defishy.xyz/protocols/euler
  • No vote - No, don’t fund $5,000 to Dartmouth Blockchain multisig (0x761DaE43C915914A681e15D17fd85603C78DEF5f) for 2 weeks of development work: liquidation health dashboard at defishy.xyz/protocols/euler
4 Likes

I think a dashboard like this could be dashboard could be useful to users, liquidators, and analysts alike – nice proposal!

I really like this proposal. The risk team had something like this in mind, but the UI bit is tricky and we’re focussed on oracle security stuff at the moment. So I would definitely support something like this for the sake of transparency.

I believe that Euler would definitely benefit from having such a dashboard. The solution would increase transparency and may become an important risk management tool for the users of Euler. At the moment, the protocol health- and liquidations-related data is accessible to the tech-savvy developers; the dashboard would make it easily accessible to anyone.

Thanks for the feedback all. We have adjusted our deliverables, such that we are building a public dashboard at risk.euler.finance, hosted by the Euler Labs Team, and adding a scatterplot visualization of wallets and their liquidation health. As such, we have adjusted our development timeline and amount requested from grant. Below, is the updated proposal.

Title: Grant Request for Defishy.xyz to build Euler-specific liquidation risk dashboard

Author(s): Charlie Ambrose, Alex Craig, Aaron Xie, Luke Xie

Submission Date: August 4th, 2022

Simple Summary
We are requesting a $8,000 grant to build an Euler-specific liquidation health dashboard on risk.euler.finance. This analytics platform will exist within the Euler ecosystem, enabling stakeholders within borrowing & lending ecosystems to manage liquidation cascade risk.

Abstract
The Defishy team is composed of four members of Dartmouth Blockchain. Our philosophy is to continually provide value to the blockchain ecosystem through shipping useful products and research. The Defishy team consists of four individuals with development, design, and growth experience. We have extensive experience in DeFi, having contributed at Yeti Finance, Tribe DAO, Temple DAO, and more.

This liquidation dashboard will improve the Euler stakeholder/token holder experience by allowing users to identify wallets close to liquidation on Euler and position themselves accordingly. The recent crash of May 2022 was caused largely by a series of liquidation cascades as large whale wallets were liquidated. As liquidators sold massive amounts of collateral on exchanges, it dropped collateral price, which resulted in more liquidations. We created Defishy to democratize liquidation health data of all wallets, such that users are able to manage liquidation risk more effectively. We have built a similar dashboard for Aave, and after speaking with multiple members of the Euler team and users of Euler borrowing and lending, we think this integration will be beneficial.

Motivation
There are a number of risk vectors in borrowing and lending protocols, including smart contract risk, price oracle manipulation risk, governance / pool management risk, and market risk (liquidations + bad debt). As protocols like Euler continue to onboard more users, it is increasingly important to equip users with necessary risk-management analytics for healthy activity. Safeguarding users against risk ensures the long-term sustainability of the protocol, as well as an improved user experience (competitive differentiation with other borrowing and lending protocols).

Projects like gov.gauntlet.network and bad-debt.riskdao.org have showcased what is possible with on-chain analytics for DeFi. On a longer term horizon, we hope to expand on previous projects in two ways: historical data and granular daily data. We will store various metrics (some already live at defishy.xyz), including Aggregate Liquidation Health, Total Collateral Value at Risk, Wallets at Risk, and more. Users will be able to monitor the historical trends of these metrics, while also viewing granular breakdowns of these metrics per day. See the following Figma mockups for reference: mockup 1, mockup 2 (we hope to execute this vision on a longer time horizon). We see Defishy as a useful public good for various stakeholders within the Euler ecosystem to manage risk: the DAO governors, users (borrowers and lenders), and researchers).

Specification & Implementation
We are requesting an initial $8k grant to fund the development of integrating an Euler dashboard to Defishy.xyz, with the following deliverables:

  • Live metrics presented: Active Wallets, Wallets at Risk, and Aggregate Liquidation Score
  • Table view presented: Active Wallets (includes address, supply amount, borrow amount, and liquidation health)
  • Scatterplot graph view presented: Active wallets (includes liquidation health and wallet size visualization)

The deliverables will be live at risk.euler.finance.

Next steps / To-do:

  1. Inspect smart contracts to figure out data pipeline setup
  2. Run nodes to scrape data from Euler protocol
  3. Upload data to backend (currently using Firebase)
  4. Apply Aave liquidation health metric to Euler wallets
  5. Make calls from frontend to display data
  6. Create frontend UI

How long will development take?

  • We estimate development time to take ~3 weeks from the proposal vote going though. Based on feedback from community members, we plan to continue iterating and shipping out new and useful features.

What will the $8,000 be used for?

  • Database storage ($500)
  • Server hosting ($50)
  • Nodes ($450)
  • Contributor compensation ($7,000)

Voting

  • Yes vote - Yes, fund $8,000 to Dartmouth Blockchain multisig (0x761DaE43C915914A681e15D17fd85603C78DEF5f) for 3 weeks of development work: liquidation health dashboard at defishy.xyz/protocols/euler
  • No vote - No, don’t fund $8,000 to Dartmouth Blockchain multisig (0x761DaE43C915914A681e15D17fd85603C78DEF5f) for 3 weeks of development work: liquidation health dashboard at defishy.xyz/protocols/euler

I will be in favor of this prosal.

“We are requesting a $8,000 grant to build an Euler-specific liquidation health dashboard on risk.euler.finance. This analytics platform will exist within the Euler ecosystem, enabling stakeholders within borrowing & lending ecosystems to manage liquidation cascade risk.”

Hey guys, really like the proposal. It’s well put together and for me it’s a no brainer for benefiting the DAO. I’ll be voting yes.

Update: the Defishy team have created a very neat dashboard ahead of time:

https://app.defishy.xyz/euler-eth

If you click the graph view, you can see the representation of all accounts (the bigger the circle, the bigger the borrow size) according to health factors. Users can click any account which will lead to a detailed spy mode of the account.

2 Likes

nice!looks great…

more tools welcome!

1 Like

This is cool, i like the fact that if you press the icon, it leads you to the Euler website, where you can spy on a specific account! :slight_smile:

1 Like