GithubHelp home page GithubHelp logo

crypto-grants-analysis's Introduction

Crypto Grants Analysis

Tracking and analyzing grants in the context of protocol activity. We want to aggregate grants data from across the ecosystem and then tie it to onchain metrics and KPIs in this Dune dashboard ๐Ÿ“Š.

This repo was created using this template, made to manage your Dune queries and any CSVs as Dune tables.

For Contributors

To add a grant, go to the /uploads folder and add a row onto an existing CSV sheet or create a new one. It will then get uploaded into Dune as a table. There is currently one CSV called evm_grants.csv that can be queried on Dune as dune.cryptodatabytes.dataset_evm_grants. The schema we're using for grants right now is below:

Column Name Type Description
grant_source varchar name of the project/entity giving the grant
grantee varchar name of the project/entity recieving the grant
grant_date timestamp date of grant confirmation/approval
grant_token_address varbinary address of the token that the grant is paid out in
grant_amount double amount of the token given in the grant
grant_name varchar name of grant cycle
grant_round int round of grant
grant_type varchar retroactive, proactive (you can suggest others too)
grant_category varchar purpose of the grant (growth, NFTs, creators, etc)
grant_distribution varchar how the grant is given to the grantee (claim, airdrop, farm, vesting)
grant_blockchain varchar blockchain that the grant was given out on
dune_namespaces array(varchar) namespace(s) of relevant decoded tables in Dune
dashboard_link varchar link to dashboard that goes deeper on the protocol, preferrably in a grant context

I've set up four types of issues right now:

  • bugs: This is for data quality issues like miscalculations or broken queries.
  • chart improvements: This is for suggesting improvements to the visualizations.
  • query improvements: This is for suggesting improvements to the query itself, such as adding an extra column or table that enhances the results.
  • generic questions: This is a catch all for other questions or suggestions you may have about the dashboard.

If you want to contribute, either start an issue or go directly into making a PR (using the same labels as above). Once the PR is merged, the queries will get updated in the frontend.

Query Management Scripts

You'll need python and pip installed to run the script commands. If you don't have a package manager set up, then use either conda or poetry . Then install the required packages:

pip install -r requirements.txt
Script Action Command
pull_from_dune.py updates/adds queries to your repo based on ids in queries.yml python scripts/pull_from_dune.py
push_to_dune.py updates queries to Dune based on files in your /queries folder python scripts/push_to_dune.py
preview_query.py gives you the first 20 rows of results by running a query from your /queries folder. Specify the id. This uses Dune API credits python scripts/preview_query.py 2615782
upload_to_dune.py uploads/updates any tables from your /uploads folder. Must be in CSV format, and under 200MB. python scripts/upload_to_dune.py

crypto-grants-analysis's People

Contributors

andrewhong5297 avatar msilb7 avatar chuxinh avatar ccerv1 avatar raho1 avatar

Stargazers

Will Kueshner avatar  avatar  avatar  avatar boilerrat avatar  avatar  avatar  avatar

Watchers

 avatar

crypto-grants-analysis's Issues

[GENERIC] Some chart improvements and suggested metrics

Show grants/funding consistency

Would like a way to show funding consistency across ecosystem, in addition to the high level summary on the top. An example would be the following:
image
Query: link

Hard to view progress and effectiveness of grantees

Instead of showing the breakdown, maybe we can have grantee onchain performance on aggregate and their impact on the rest of the ecosystem instead?

I personally quite like the view we had in [Optimism - Incentive Program Performance Summary]. Although this would require us knowing when each protocol actually started implementing any incentive/rewards. A proxy would be comparing onchain metrics before grant date, and last 30 days to see any incremental improvement overtime

(https://dune.com/oplabspbc/optimism-incentive-program-usage-summary)
image

Create a view to see project overlaps

To answer questions such as if projects been getting grants from various different protocols, what are they, how much have the received, and how successful they are

Create a view to understand the vertical of grants allocation

This can possibly help us understand what's important to a protocol, and what vertical of the ecosystem they're trying to invest in. We can agree on some pre-defined verticals that can be applied across the projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.