-
aaveBorrow.js script below. Basically I can't explain why my console is spitting out undefined values for totalCollateralEth, totalDebtEth, availableBorrowsEth. You can see a tried a wait(1), but it errors out saying Script:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
can you paste or screenshot the output when you deploy |
Beta Was this translation helpful? Give feedback.
-
Got it fixed. My parameter names were inaccurate. The actual parametes are Watch those variable names, people! Mandatory community Discord shill, for those wanting to support each other through this course: |
Beta Was this translation helpful? Give feedback.
Got it fixed. My parameter names were inaccurate.
The actual parametes are
totalCollateralETH, totalDebtETH, and availableBorrowsETH
.. I've a bad habit of typing Eth and mine weretotalCollateralEth, totalDebtEth, and availableBorrowsEth
.Watch those variable names, people!
Mandatory community Discord shill, for those wanting to support each other through this course:
https://discord.gg/ajWmyZshjH