At we’re working to make data easily accessible, and we love working alongside other teams in the community.
is an exciting financial protocol, and today they’re the testnet release of Compound V2! We’ve been working alongside Compound for the last few weeks, and today we’re happy to share the ! Now developers, and anyone interested in the Compound protocol, can easily access Compound’s data and pull it straight into their applications using GraphQL.
Compound Finance
Since the V1 release in September 2018, Compound has catapulted to having the of any DeFi protocol, behind only Maker.
is a Money Market protocol built on . It allows any person or machine to easily earn interest by lending their assets. The lent assets can then be used as collateral to borrow other assets locked in the protocol.
The protocol allows for the interest rates to dynamically change with the supply and borrow amounts of each asset. The assets that are currently swappable in the protocol are Dai, Basic Attention , Augur Rep, 0x, and Ether.
Compound V2
Compound V2 is an upgrade to the protocol, with many improvements that enable even more assets to be used. Some of the new features include:
- Granular risk modeling — each asset will have its own collateral factor, allowing tokens deemed safer, or riskier, to have appropriately calculated collateral factors.
- Ether can easily be swapped with any token, no need for Wrapped Ether! This greatly improves the user experience.
- The creation of the ERC-20 compliant CToken — which allows lending and interest within the protocol to be tokenized.
The Compound V2 Subgraph
The is now available on Graph Explorer! [LINK BROKEN UNTIL COMPOUND DEPLOYS]. You may be wondering what kind of information you can gather from a subgraph?
Subgraph Basics
A subgraph defines a standard way to index data from blockchains and storage networks. It specifies what data sources to listen to, how to transform the data, and a GraphQL schema for querying. Once built, a subgraph can be compiled and deployed to a Graph Node which syncs the data and generates a GraphQL endpoint with support for filtering, sorting, pagination, websocket subscriptions, and more.
As a developer, you can deploy to a standalone Graph Node, to our Hosted Service, or soon, the decentralized network.
Graph Explorer is a unified destination to discover subgraphs by the leading projects in the ecosystem.
Published at Mon, 15 Apr 2019 22:41:57 +0000