[1IP-18] 1inch Analytics Dashboard

[1RC] 1inch Analytics Dashboard

Summary

We propose to build a dedicated analytics dashboard for the 1inch ecosystem, allowing users to analyze the protocol’s main KPIs, activity, treasury, and token related metrics.

This proposal is coming along after several meetings with 1inch core team. We determined the requirements scope and technical design together.

Abstract

The dashboard will allow anyone in the community to browse the protocol’s treasury, KPIs, token metrics, and transactions. The dashboard will initially support the following chains:

  • Ethereum
  • Polygon
  • Avalanche
  • Arbitrum
  • Optimism
  • BSC

Dashboard will be served on a dedicated web app.

Motivation

  • Make the protocol’s key information as accessible and transparent as possible.
  • Help governance and users with decision-making.
  • Provide more thorough information than currently available on Dune (i.e breakdown per user, search tooling)

Specification

This dashboard will be built using the Dune API as a data source.
Data from Dune will then be indexed on an intermediate database for easy and quick access.

We propose to create the following subsections for the dashboard:

  • Homepage (Protocol KPIs). The UI would be somewhat similar to this: https://info.notional.finance/

  • Users

  • DAU, WAU, MAU

  • Cumulative user count

  • Transactions

  • Daily, weekly and month trade count

  • Breakdown of the number of trades per DEX

  • Volume

  • Daily volume, weekly volume, monthly volume

  • Average trade size (daily, weekly, monthly)

  • Median trade size (daily, weekly, monthly)

  • Volume by underlying liquidity source

  • 1inch Fusion

  • 1inch Fusion KPIs

  • Total orders, volume, wallets

  • Historical orders, volume, wallets

  • Latest and top transactions

  • Explore and compare resolvers

  • Search by address

  • Compare and access all resolvers in a leaderboard view - Sort by unicorn power, staked 1Inch, all-time fees, total orders, …

  • Breakdown per resolver

  • Total orders and volume

  • Historical orders and volume

  • List of detailed orders

  • Historical fees

  • Staked 1inch / unicorn power / lockout period

  • Treasury. The UI would be somewhat similar to this: https://info.notional.finance/treasury

  • Protocol treasury balances per token.

  • Cumulative treasury revenue over time (per token type)

  • List of recent treasury transactions

  • Protocol revenues (daily/weekly/monthly)

  • Revenue as a percentage of volume (daily/weekly/monthly)

  • 1inch token section. The UI would be somewhat similar to this: https://info.notional.finance/note-token

  • Token price over time

  • 1INCH

  • Token unlock supply schedule over time

  • TVL

  • st1INCH

  • Amount of staked 1INCH (st1INCH) over time

  • Staking rewards

  • Recent transactions. The UI would be somewhat similar to this: https://info.notional.finance/transactions

  • List of recent transactions (tx amount, user, main liquidity source, link to etherscan)

  • Transaction gas cost estimate. Similar to what we show on the left side of the screen here: https://info.notional.finance/

  • Estimated gas cost in USD

  • Gas price in GWEI chart

  • ETH price

Hosting and maintenance of the web app will be provided by the Shippooor team.

Rationale

Dune analytics is the current solution for surfacing most of that information. Due to technical limitations, Dune does not allow surfacing per-user information and does not provide useful search features.

Also, in general, Dune dashboards have a hard time getting the reach they deserve. Not only the information is often non-trivial to understand. but the dashboards themselves are hard to find.

1 Inch Dune account:
https://dune.com/1inch

Important Dune Dashboards:
https://dune.com/1inch/main
https://dune.com/1inch/fusion

Considerations

Hosting and Maintenance

Shippooor commits to 1 year hosting and maintenance. Will be renewed through governance afterward.

Costs

Design - $15k
Front-end work - $25k
Dune API integration work & intermediary database - $35k
Hosting: Around $5k per year depending on traffic
Maintenance: $10k for year 1

Total budget including hosting & maintenance for year 1: $90k

Payment structure

We propose to receive $25K upfront and the rest of the grant upon delivery of the dashboard. This way the 1Inch grant program takes minimal financial risk and our compensation is based on the delivery of the dashboard.

We are also willing to break down the grant in multiple smaller milestones if necessary.
Timeline

We expect to be able to deliver the dashboard within 8-12 weeks from the grant approval date.
Team

Our team has extensive experience in crypto, finance, and software engineering. As builders, we’ve completed several projects for notable projects including:

5 Likes

Please let us know if you have any questions or suggestion. We would really appreciate feedback from the community. Thank you!

Fully support this proposal, a comprehensive and transparent dashboard is very helpful to promote user understanding of the protocols

2 Likes

I support this proposal. Analytics is a central component of the DEX Aggregator space and I think that 1inch Network, and users, will directly benefit from having our own analytics dashboard. And the price seems fair to me.

Curious to hear what the rest of the community thinks of the features being provided? Anything else you think we should have? One feature I was thinking about is a transaction history per account (this could be helpful during tax season). However, I’m not sure how much complexity that would add.

2 Likes

Definitely makes sense to show transactions history for a given account. I’ll add that on the proposal

1 Like

As per 1inch proposal lifecycle guidelines, moved this proposal to phase 3 temperature check. Poll will end on Feb 11th 2023.

Hey @Warden Finance, sorry that this proposal slipped through my radar,

I am a daily user of the wardens’ risk dashboard for Euler, so I love to see those metrics tracked.

I have some technical questions.

    1. who will own the design/ IP developed through this grant? Will it be Warden, 1inchDAO, foundation etc
  1. Dashboard will be served on a dedicated web app.
    Do you expect the foundation to host it through a subdomain of 1inchio, or will it be on your website?

We are also willing to break down the grant in multiple smaller milestones if necessary.
I’m happy with the const breakdown you have given here, considering the engagement period and the upfront cost.

Thanks for your comment @0xBaer.eth, good to hear you love our products.

  1. who will own the design/ IP developed through this grant? Will it be Warden, 1inchDAO, foundation etc

Warden Finance will own the technical and UI/UX design + IP.

Do you expect the foundation to host it through a subdomain of 1inchio, or will it be on your website?

Ideally yes, I’ll double check with the foundation to see whether we can use a 1inch subdomain. I’ll keep this thread posted

We’ve just had clarifications with the 1inch core team concerning open sourcing and hosting the dashboard. Here are the updates:

  • Code and design will be open source (contrary to comment above). Warden will be maintainer for 1 year.
  • Hosting will be be provided by 1inch foundation, web page will be hosted through 1inch subdomain (i.e info.1inch.io). This means we can remove the hosting part of from the costs breakdown ($5k).
1 Like

This is an excellent initiative; we believe that an improved 1inch Analytics dashboard is essential; there are several points to note concerning this proposal.

We believe that 1inch should own the IP for this dashboard if approved; the 1inch community should ultimately have the right to decide how this dashboard is used without requiring the consent of Warden.

We also believe that the cost of building this dashboard could be reviewed. We would suggest amending this proposal to include a fleshed-out justification for the proposed cost.

How will Warden use the data from the Dune API differently to make up for the technical limitations and the lack of surfacing of per-user information?

Thanks @Kene_StableNode for your reply.

We also believe that the cost of building this dashboard could be reviewed. We would suggest amending this proposal to include a fleshed-out justification for the proposed cost.

I’ve updated the proposal to reflect more details around the work to be done. Let me know if more information would help.

How will Warden use the data from the Dune API differently to make up for the technical limitations and the lack of surfacing of per-user information?

Data from Dune will be saved on a database that is appropriate for serving to a webapp and that will also to allow filtering / sorting very quickly.

Let’s take accounts as an example. Running a query through Dune API to fetch a subset of top 1inch traders would take 6 minutes to run.

Instead, the intermediary DB will save the whole set of accounts pulled from Dune, with appropriate structure and indexing, resulting in quick queries

Hope this helps!

Thanks @Warden Finance, could you add this to the body of the proposal?

Also, we’ll need the address where you’ll want to receive the USDC.

Thanks!

Updated the proposal with all of the tweaks from comments.

Receiving address: 0x70cd17186aae48729f12dba63ba5a9abe7b4116d

It looks like all community feedback has been incorporated, and the temperature check vote was a success!

I’ve created the phase-4 Snapshot vote – [1IP-18] 1inch Analytics Dashboard

@Warden Finance – please change the [1RC] in this post’s title to [1IP-18] so that it matches the title of the Snapshot poll.