Skip to content

Commit

Permalink
add subgraphs logic for TheGraph protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzia551 committed Jan 29, 2020
1 parent fb7a3c4 commit 8759675
Show file tree
Hide file tree
Showing 72 changed files with 40,944 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
build/
dist/
.idea
.vscode
coverage/

thegraph/subgraph.yaml
6 changes: 6 additions & 0 deletions thegraph/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 100,
"trailingComma": "es5",
"semi": true,
"singleQuote": true
}
20 changes: 20 additions & 0 deletions thegraph/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Aave Protocol subgraphs

This repo contains the logic of Aave Protocol subgraphs

More information about TheGraph can be found on https://thegraph.com/docs/quick-start

## Formats
### raw
Data presented as in the smartcontracts in small units (wei, etc), deployed at:

https://thegraph.com/explorer/subgraph/aave/protocol-raw - mainnet

https://thegraph.com/explorer/subgraph/aave/protocol-ropsten-raw - ropsten

### formatted
Data formatted to big units with floating point, deployed at:

https://thegraph.com/explorer/subgraph/aave/protocol - mainnet

https://thegraph.com/explorer/subgraph/aave/protocol-ropsten - ropsten
8 changes: 8 additions & 0 deletions thegraph/config/dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "{{type}}",
"network": "mainnet",
"addressProviderAddress": "0x438D1B38fa612EB254278C8a9796F7777F5197f1",
"addressProviderStartBlock": 0,
"proxyPriceProviderAddress": "0xdAd85D6416D166870258000b81536B82E2C9e07A",
"proxyPriceProviderStartBlock": 0
}
3 changes: 3 additions & 0 deletions thegraph/config/formatted.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "formatted"
}
8 changes: 8 additions & 0 deletions thegraph/config/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "{{type}}",
"network": "mainnet",
"addressProviderAddress": "0x24a42fD28C976A61Df5D00D0599C34c4f90748c8",
"addressProviderStartBlock": 9240625,
"proxyPriceProviderAddress": "0x76B47460d7F7c5222cFb6b6A75615ab10895DDe4",
"proxyPriceProviderStartBlock": 9240625
}
3 changes: 3 additions & 0 deletions thegraph/config/raw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "raw"
}
8 changes: 8 additions & 0 deletions thegraph/config/ropsten.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "{{type}}",
"network": "ropsten",
"addressProviderAddress": "0x1c8756FD2B28e9426CDBDcC7E3c4d64fa9A54728",
"addressProviderStartBlock": 7079740,
"proxyPriceProviderAddress": "0x657372A559c30d236F011239fF9fbB6D76718271",
"proxyPriceProviderStartBlock": 7079740
}
Loading

0 comments on commit 8759675

Please sign in to comment.