TermRepoCollateralManager.sol
This contract belongs to the Term Servicer group of contracts and is specific to a Term Repo deployment. This contract enforces margin maintenance rules for adding/withdrawing, and liquidating tokens.
TermRepoCollateralManager
ADMIN_ROLE
bytes32 ADMIN_ROLEAUCTION_LOCKER
bytes32 AUCTION_LOCKERDEVOPS_ROLE
bytes32 DEVOPS_ROLEINITIALIZER_ROLE
bytes32 INITIALIZER_ROLESERVICER_ROLE
bytes32 SERVICER_ROLEROLLOVER_MANAGER
ROLLOVER_TARGET_AUCTIONEER_ROLE
termRepoId
liquidationsPaused
termContractPaired
numOfAcceptedCollateralTokens
deMinimisMarginThreshold
liquidatedDamagesDueToProtocol
netExposureCapOnLiquidation
termRepoServicer
purchaseToken
termPriceOracle
termRepoLocker
termController
emitter
collateralTokens
encumberedCollateralBalances
maintenanceCollateralRatios
initialCollateralRatios
liquidatedDamages
lockedCollateralLedger
isCollateralTokenAccepted
whileLiquidationsNotPaused
notTermContractPaired
constructor
initialize
pairTermContracts
externalLockCollateral
Parameters
Name
Type
Description
externalUnlockCollateral
Parameters
Name
Type
Description
batchLiquidation
Parameters
Name
Type
Description
batchLiquidationWithRepoToken
Parameters
Name
Type
Description
batchDefault
Parameters
Name
Type
Description
calculateMintableExposure
Parameters
Name
Type
Description
getCollateralBalances
Parameters
Name
Type
Description
Return Values
Name
Type
Description
getCollateralBalance
Parameters
Name
Type
Description
Return Values
Name
Type
Description
encumberedCollateralRemaining
Return Values
Name
Type
Description
auctionLockCollateral
Parameters
Name
Type
Description
auctionUnlockCollateral
Parameters
Name
Type
Description
acceptRolloverCollateral
Parameters
Name
Type
Description
transferRolloverCollateral
Parameters
Name
Type
Description
Return Values
Name
Type
Description
approveRolloverAuction
Parameters
Name
Type
Description
unlockCollateralOnRepurchase
Parameters
Name
Type
Description
journalBidCollateralToCollateralManager
Parameters
Name
Type
Description
mintOpenExposureLockCollateral
Parameters
Name
Type
Description
reopenToNewAuction
Parameters
Name
Type
Description
pauseLiquidations
unpauseLiquidations
isBorrowerInShortfall
Parameters
Name
Type
Description
Return Values
Name
Type
Description
getCollateralMarketValue
Parameters
Name
Type
Description
Return Values
Name
Type
Description
_lockCollateral
_unlockCollateral
_partialUnlockCollateral
_validateBatchLiquidationForFullLiquidation
Return Values
Name
Type
Description
_unencumberRemainingBorrowerCollateralOnZeroObligation
_withinNetExposureCapOnLiquidation
_collateralSeizureAmounts
_transferLiquidationCollateral
_isAcceptedCollateralToken
_usdValueOfBalances
_authorizeUpgrade
Parameters
Name
Type
Description
Last updated