issues
search
open-dollar
/
od-actions
Other
0
stars
0
forks
source link
Leverage improvements
#22
Closed
pi0neerpat
closed
3 months ago
pi0neerpat
commented
4 months ago
Web3:
Update script logs to format values to be readable
update script to call paraswap twice in order to discount the max leverage possible as necessary
Frontend flow:
web3 make call to get max leverage
web2 call paraswap
reduce max loan based on slippage
web2 call paraswap final details
web3 execute leverage
Web3:
Frontend flow: