Skip to content

Commit

Permalink
TheGraph: major update to the latest deployed subgraph, codegen fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzia551 committed Jan 22, 2021
1 parent efaeed3 commit 4b4545f
Show file tree
Hide file tree
Showing 29 changed files with 7,789 additions and 56 deletions.
2 changes: 1 addition & 1 deletion thegraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ 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 (deprecated), deployed at:
Data formatted to big units with floating point, deployed at:

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

Expand Down
49 changes: 49 additions & 0 deletions thegraph/abis/ChainlinkSourcesRegistry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[
{
"anonymous": false,
"inputs": [
{ "indexed": false, "internalType": "address", "name": "token", "type": "address" },
{ "indexed": false, "internalType": "address", "name": "aggregator", "type": "address" }
],
"name": "AggregatorUpdated",
"type": "event"
},
{
"inputs": [],
"name": "REVISION",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
"name": "aggregatorsOfAssets",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "caller", "type": "address" }],
"name": "isManager",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{ "internalType": "address[]", "name": "assets", "type": "address[]" },
{ "internalType": "address[]", "name": "aggregators", "type": "address[]" }
],
"name": "updateAggregators",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
6 changes: 4 additions & 2 deletions thegraph/config/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
"proxyPriceProviderAddress": "0xD543a0D2136427253230d4fa21F0751E93bBad10",
"proxyPriceProviderStartBlock": 0,
"chainlinkUSDETHOracleAddress": "0x0000000000000000000000000000000000000000",
"chainlinkUSDETHOracleStartBlock": 0
}
"chainlinkUSDETHOracleStartBlock": 0,
"chainlinkSourcesRegistryAddress": "0x0000000000000000000000000000000000000000",
"chainlinkSourcesRegistryStartBlock": 0
}
24 changes: 13 additions & 11 deletions thegraph/config/kovan.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"type": "{{type}}",
"network": "kovan",
"aavePoolRegistrarAddress": "0x5562FB5ECCF5D1e7117Aa43D17eE1fb11f1A48A4",
"aavePoolRegistrarStartBlock": 15555600,
"addressesProviderRegistryAddress": "0xcd9Dae41Cc8b7433c045D3D7C4C555315EF0DDDE",
"addressesProviderRegistryStartBlock": 18504100,
"proxyPriceProviderAddress": "0x276C4793F2EE3D5Bf18C5b879529dD4270BA4814",
"proxyPriceProviderStartBlock": 16532472,
"chainlinkUSDETHOracleAddress": "0x0000000000000000000000000000000000000000",
"chainlinkUSDETHOracleStartBlock": 16532472
}
"type": "{{type}}",
"network": "kovan",
"aavePoolRegistrarAddress": "0x5562FB5ECCF5D1e7117Aa43D17eE1fb11f1A48A4",
"aavePoolRegistrarStartBlock": 15555600,
"addressesProviderRegistryAddress": "0xcd9Dae41Cc8b7433c045D3D7C4C555315EF0DDDE",
"addressesProviderRegistryStartBlock": 18504100,
"proxyPriceProviderAddress": "0x276C4793F2EE3D5Bf18C5b879529dD4270BA4814",
"proxyPriceProviderStartBlock": 16532472,
"chainlinkUSDETHOracleAddress": "0x0000000000000000000000000000000000000000",
"chainlinkUSDETHOracleStartBlock": 16532472,
"chainlinkSourcesRegistryAddress": "0x0000000000000000000000000000000000000000",
"chainlinkSourcesRegistryStartBlock": 18504100
}
6 changes: 4 additions & 2 deletions thegraph/config/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
"proxyPriceProviderAddress": "0x76B47460d7F7c5222cFb6b6A75615ab10895DDe4",
"proxyPriceProviderStartBlock": 9240625,
"chainlinkUSDETHOracleAddress": "0x79febf6b9f76853edbcbc913e6aae8232cfb9de9",
"chainlinkUSDETHOracleStartBlock": 9240625
}
"chainlinkUSDETHOracleStartBlock": 9240625,
"chainlinkSourcesRegistryAddress": "0xcd55262c3ea354a58661597f71037d5fa26b72bd",
"chainlinkSourcesRegistryStartBlock": 11007780
}
24 changes: 13 additions & 11 deletions thegraph/config/ropsten.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"type": "{{type}}",
"network": "ropsten",
"aavePoolRegistrarAddress": "0x43cd3224f8c81b096f4c9862ef6817e66c5b70b9",
"aavePoolRegistrarStartBlock": 7070915,
"addressesProviderRegistryAddress": "0x84D3638AF869cA413702192E5AB9481C083A216a",
"addressesProviderRegistryStartBlock": 7932245,
"proxyPriceProviderAddress": "0x657372A559c30d236F011239fF9fbB6D76718271",
"proxyPriceProviderStartBlock": 7079740,
"chainlinkUSDETHOracleAddress": "0x0000000000000000000000000000000000000000",
"chainlinkUSDETHOracleStartBlock": 7079740
}
"type": "{{type}}",
"network": "ropsten",
"aavePoolRegistrarAddress": "0x43cd3224f8c81b096f4c9862ef6817e66c5b70b9",
"aavePoolRegistrarStartBlock": 7070915,
"addressesProviderRegistryAddress": "0x84D3638AF869cA413702192E5AB9481C083A216a",
"addressesProviderRegistryStartBlock": 7932245,
"proxyPriceProviderAddress": "0x657372A559c30d236F011239fF9fbB6D76718271",
"proxyPriceProviderStartBlock": 7079740,
"chainlinkUSDETHOracleAddress": "0x0000000000000000000000000000000000000000",
"chainlinkUSDETHOracleStartBlock": 7079740,
"chainlinkSourcesRegistryAddress": "0x0000000000000000000000000000000000000000",
"chainlinkSourcesRegistryStartBlock": 0
}
3 changes: 1 addition & 2 deletions thegraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"deploy-remote": "npm run prepare && graph deploy aave/${NAME:-null} --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-multy-ropsten-raw": "NETWORK=ropsten TYPE=raw NAME=protocol-multy-ropsten-raw npm run deploy-remote",
"deploy-multy-kovan-raw": "NETWORK=kovan TYPE=raw NAME=protocol-multy-kovan-raw npm run deploy-remote",
"deploy-multy-main-raw": "NETWORK=mainnet TYPE=raw NAME=protocol-multy-raw npm run deploy-remote",
"deploy-all-multy-remote": "npm run deploy-multy-main-raw && npm run deploy-multy-ropsten-raw && npm run deploy-multy-kovan-raw"
"deploy-multy-main-raw": "NETWORK=mainnet TYPE=raw NAME=protocol-multy-raw npm run deploy-remote"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 4b4545f

Please sign in to comment.