Repay
How to close a position on the Sovryn Protocol.
Close with Deposit
function closeWithDeposit(bytes32 loanId, address receiver, uint256 depositAmount) public payable nonReentrant globallyNonReentrant iTokenSupplyUnchanged whenNotPaused
returns(loanCloseAmount uint256, withdrawAmount uint256, withdrawToken address)Name
Type
Description
Last updated