-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add subgraphs logic for TheGraph protocol
- Loading branch information
Showing
72 changed files
with
40,944 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules/ | ||
build/ | ||
dist/ | ||
.idea | ||
.vscode | ||
coverage/ | ||
|
||
thegraph/subgraph.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"printWidth": 100, | ||
"trailingComma": "es5", | ||
"semi": true, | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "formatted" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "raw" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
Oops, something went wrong.