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:

Frontend flow:

  1. web3 make call to get max leverage
  2. web2 call paraswap
  3. reduce max loan based on slippage
  4. web2 call paraswap final details
  5. web3 execute leverage