Skip to content

Instantly share code, notes, and snippets.

@alexroan
Last active July 10, 2020 10:52
Show Gist options
  • Save alexroan/8c92512845b8b364abcff436ef703dd0 to your computer and use it in GitHub Desktop.
Save alexroan/8c92512845b8b364abcff436ef703dd0 to your computer and use it in GitHub Desktop.
aave_get_lending_pool.js
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