Skip to content

Lesson 13: Error: No Contract deployed with name ILendingPoolAddressesProvider #1224

Discussion options

You must be logged in to vote

@shoaibshebi

Use the getContractAt function

const lendingPoolContract = await ethers.getContractAt(
  "ILendingPool",
    lendingPoolAddress,
    acc
);

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@shoaibshebi
Comment options

Comment options

You must be logged in to vote
1 reply
@shoaibshebi
Comment options

Answer selected by shoaibshebi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants