You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have the same problem as schaable.
even tho i provide 0.02ETH to the supply function; when I call getBorrowUserData() I see that I only deposited 0.000000003526083966 ETH...
And I think bc of that error the amount I am dealing with is too little to let me borrow the DAI, as the the pool contract reverts the transaction - but without a reason string, which is weird... bc wouldnt they tell me if that is the issue?
hh run scripts/aaveBorrow.js
Got 0.02 WETH
Pool address is: 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2
Approved spender address: 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2
Deployer: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Depositing...
Deposited
0.000000003526083966 ETH deposited
0.0 ETH borrowed
0.000000002820867173 ETH available to borrow
The DAI/ETH price is 0.000567066150462928
you can borrow 0.000002487247008746 DAI
in Wei that is 2487247008746
Error: Transaction reverted without a reason string
at <UnrecognizedContract>.<unknown> (0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2) -> this is the Address of the aave V3 pool contract
at <UnrecognizedContract>.<unknown> (0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2)
at <UnrecognizedContract>.<unknown> (0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have the same problem as schaable.
even tho i provide 0.02ETH to the
supply
function; when I callgetBorrowUserData()
I see that I only deposited 0.000000003526083966 ETH...And I think bc of that error the amount I am dealing with is too little to let me borrow the DAI, as the the pool contract reverts the transaction - but without a reason string, which is weird... bc wouldnt they tell me if that is the issue?
You can find the code on my git
Beta Was this translation helpful? Give feedback.
All reactions