Skip to content

Commit

Permalink
feat: add harmony config (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
defispartan authored Jun 7, 2022
1 parent 0f9d4de commit 8cc0989
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ The Aave Protocol subgraphs index data from the protocol smart contracts, and ex
- [Arbitrum V3](https://thegraph.com/hosted-service/subgraph/aave/protocol-v3-arbitrum)
- [Optimism V3](https://thegraph.com/hosted-service/subgraph/aave/protocol-v3-optimism)
- [Fantom V3](https://thegraph.com/hosted-service/subgraph/aave/protocol-v3-fantom)
- TheGraph is not available yet on Harmony
- [Harmony V3](https://thegraph.com/hosted-service/subgraph/aave/protocol-v3-harmony)


## Usage

Expand Down
9 changes: 9 additions & 0 deletions config/harmony-v3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"network": "harmony",
"AaveOracleAddress": "0x3C90887Ede8D65ccb2777A5d577beAb2548280AD",
"AaveOracleStartBlock": 23930344,
"PoolAddressesProviderRegistryAddress": "0x770ef9f4fe897e59daCc474EF11238303F9552b6",
"PoolAddressesProviderRegistryStartBlock": 23930102,
"RewardsControllerAddress": "0x929EC64c34a17401F460460D4B9390518E5B473e",
"RewardsControllerStartBlock": 24097683
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"deploy:hosted:mumbai-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mumbai env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-polygon-mumbai env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:fuji-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=fuji env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-fuji env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:avalanche-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=avalanche env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-avalanche env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:v3": "npm run deploy:hosted:avalanche-v3 && npm run deploy:hosted:polygon-v3 && npm run deploy:hosted:optimism-v3 && npm run deploy:hosted:fantom-v3 && npm run deploy:hosted:arbitrum-v3"
"deploy:hosted:v3": "npm run deploy:hosted:avalanche-v3 && npm run deploy:hosted:polygon-v3 && npm run deploy:hosted:optimism-v3 && npm run deploy:hosted:fantom-v3 && npm run deploy:hosted:arbitrum-v3 && npm run deploy:hosted:harmony-v3"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8cc0989

Please sign in to comment.