Collateral Management
The user may add or remove collateral to / from an open position.
Adding collateral
function depositCollateral(bytes32 loanId, uint256 depositAmount) external payable nonReentrant whenNotPaused Name
Type
Description
Removing collateral
function withdrawCollateral(bytes32 loanId, address receiver, uint256 withdrawAmount) external nonpayable nonReentrant whenNotPaused
returns(actualWithdrawAmount uint256)Name
Type
Description
Last updated