Skip to content

Lesson-13 About aave.Borrow.js #2704

Discussion options

You must be logged in to vote

@TimeKeyRoll

We got the DAI price and here (1 / daiPrice.toNumber()) diving it with 1, so we can know the value of 1 DAI and after it, we simply multiply it with availableBorrowsETH that in result gave us the total DAI token we can buy of worth availableBorrowsETH

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
14 replies
@TimeKeyRoll
Comment options

@alymurtazamemon
Comment options

@krakxn
Comment options

@TimeKeyRoll
Comment options

@krakxn
Comment options

Answer selected by TimeKeyRoll
Comment options

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

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