This PR adds checkCollateralLocked and updateCollateralValues for checking what the totalCollateralValue of a Loan Market and refundableCollateralValue and seizableCollateralValue that represent the current balance of the refundable / seizable collateral.
Submission Checklist :pencil:
[x] Add checkCollateralLocked and updateCollateralValues to loan status job
[x] Add collateralLocked, refundableCollateralValue, seizablelCollateralValue to Loan
Description
This PR adds
checkCollateralLocked
andupdateCollateralValues
for checking what thetotalCollateralValue
of a Loan Market andrefundableCollateralValue
andseizableCollateralValue
that represent the current balance of the refundable / seizable collateral.Submission Checklist :pencil:
checkCollateralLocked
andupdateCollateralValues
to loan status jobcollateralLocked
,refundableCollateralValue
,seizablelCollateralValue
toLoan
totalCollateralValue
toLoanMarket
collateral
locked test