Coder Social home page Coder Social logo

maker-subgraph's Introduction

Maker Subgraph

Maker is comprised of a stablecoin, collateral loans, and decentralized governance.

Events and Contracts

The Maker subgraph currently only tracks DAI, as the Graph Node needs to support anonymous functions before events in the CDP contracts can be tracked. This support will be added soon.

The SaiVox contract is not that important, so it is left out. It focuses on keeping the value of DAI near $1.00, by calling to third party price providers. This subgraph focuses more on DAI and CDPs so this isn't needed.

The SaiTop contract is not used either. This contract emits events when global settlement happens. Global settlement has never happened.

Setting up the Subgraph

Please refer to the documentation https://thegraph.com/docs/quick-start for details on deploying a subgraph, and using the hosted service.

These docs https://github.com/graphprotocol/graph-node/blob/master/docs/getting-started.md will also help, especially with deploying your subgraph locally.

Getting started with querying

Below are a few ways to show how to query the uniswap-subgraph for data. The queries show most of the information that is queryable, but there are many other filtering options that can be used, just check out the querying api. These queries can be used locally or in The Graph Explorer playground.

Querying The Maker Subgraph

TODO

maker-subgraph's People

Contributors

davekaj avatar

Watchers

 avatar

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.