Lesson 13: Error: Transaction reverted without a reason string at <UnrecognizedContract>.<unknown> (0x398ec7346dcd622edc5ae82352f02be94c62d119) #1347
-
Hi Team, `const { ethers, getNamedAccounts, network } = require("hardhat") async function main() { async function repay(amount, daiAddress, lendingPool, account) { async function borrowDai(daiAddress, lendingPool, amountDaiToBorrow, account) { async function getDaiPrice() { async function approveErc20(erc20Address, spenderAddress, amount, signer) { async function getLendingPool(account) { async function getBorrowUserData(lendingPool, account) { main() I am getting error in this line Error: Could someone please help me on how to proceed further. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@LakshmiGanesh1706 push your code to a repo and leave a link here. It is not clear from here. |
Beta Was this translation helpful? Give feedback.
@LakshmiGanesh1706 push your code to a repo and leave a link here. It is not clear from here.