-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the graph to get vault and token addresses (#2)
* use the graph for vault addresses * implement subgraph for getting vault addresses * rename addresses.js -> networks.js * use the graph to get token pair address * remove pair retreived from ABI call in favor of vault.pair.id * remove block-height parameter from subgraph query to avoid failing aurora test * remove block-height parameter from query request
- Loading branch information
Showing
3 changed files
with
69 additions
and
67 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,14 @@ | ||
module.exports = { | ||
aurora: { | ||
coreAddress: "0x40A01A4064b690cA33FA52d315ec02015eF5287E", | ||
startBlock: 58983267, | ||
graphUrl: | ||
"https://api.thegraph.com/subgraphs/name/recursive-research/rift-subgraph-aurora", | ||
}, | ||
ethereum: { | ||
coreAddress: "0x5D7e616B2c0bf268494A482e315a60814F97dBC8", | ||
startBlock: 14845882, | ||
graphUrl: | ||
"https://api.thegraph.com/subgraphs/name/recursive-research/rift-subgraph", | ||
}, | ||
}; |