Skip to content

blocklytics/spells-subgraph

Repository files navigation

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:

  • Add ABIs to /abis/<Platform>
  • Add mappings to /src/mappings/<Platform>
  • Add details to subgraph.yaml
  • QA against Example Queries for each schema entity above

About

Graph protocol subgraph for Spells.fyi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published