blocklytics / spells-subgraph

Graph protocol subgraph for Spells.fyi
MIT License
6 stars 2 forks source link

Spells Subgraph

Deployed at https://thegraph.com/explorer/subgraph/blocklytics/spells

Built with The Graph

For more information see the docs on https://thegraph.com/docs/.

Front-end

Deployed at https://spells.fyi/

Code at https://github.com/blocklytics/spells-fyi

Supported platforms

Platform Timelock method Docs
Compound Timelock Go there
Curve Custom
DDEX Timelock
Dharma Timelocker Go there (Search: "Upgrade Procedures")
Maker DSChief/DSPause Go there

Contributing

Contributions welcome! Please check the issues list for inspiration.

Schema

The schema consists of five entities:

  1. Platform - the DeFi platform - Example query
  2. Timelock - the timelock implementation - Example query
  3. Spell - the timelocked transaction - Example query
  4. Target - contract the spell will affect - Example query
  5. Param - (not currently used) effect the spell will have

Adding platforms

Checklist: