Repay

User transfers vault borrow assets to reduce their own debt or the debt of another user who has approved them to repay

repay(uint256 amount, address onBehalfOf)

  • amount - amount the user wants to withdraw

  • onBehalfOf - address onBehalfOf who the loan should be repaid

Last updated