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
When I borrow DAI with ETH as collateral say 100 DAI,
and after some time I repay full amount, say 100.000435245 with interest. -> I got the amount from getAccountSnapshot("my address")
Even after the repay with above amount my borrowed amount still shows up, in getAccountSnapshot("my address") with much lesser amount say 0.0000035343478
I think the problem is because the time interval between call creation and transaction execution as interest is calculated based on every block. How can I over come it?
The text was updated successfully, but these errors were encountered:
When I borrow DAI with ETH as collateral say 100 DAI,
and after some time I repay full amount, say 100.000435245 with interest. -> I got the amount from getAccountSnapshot("my address")
Even after the repay with above amount my borrowed amount still shows up, in getAccountSnapshot("my address") with much lesser amount say 0.0000035343478
I think the problem is because the time interval between call creation and transaction execution as interest is calculated based on every block. How can I over come it?
The text was updated successfully, but these errors were encountered: