Last active
July 10, 2020 10:52
-
-
Save alexroan/8c92512845b8b364abcff436ef703dd0 to your computer and use it in GitHub Desktop.
aave_get_lending_pool.js
This file contains hidden or 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
const lendingPoolAddress = await providerInstance.methods.getLendingPool().call() | |
.catch((e) => { | |
throw Error(`Error getting lendingPool address: ${e.message}`) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment