TermRepoRolloverManager.sol
This contract belongs to the Term Servicer group of contracts and is specific to a Term Repo deployment. This contract accepts and carries out borrower Term Repo rollover instructions.
TermRepoRolloverManager
This contract accepts and carries out borrower Term Repo rollover instructions
This contract belongs to the Term Servicer group of contracts and is specific to a Term Repo deployment
ADMIN_ROLE
bytes32 ADMIN_ROLEDEVOPS_ROLE
bytes32 DEVOPS_ROLEINITIALIZER_ROLE
bytes32 INITIALIZER_ROLEROLLOVER_BID_FULFILLER_ROLE
bytes32 ROLLOVER_BID_FULFILLER_ROLEtermRepoId
bytes32 termRepoIdtermRepoCollateralManager
contract ITermRepoCollateralManager termRepoCollateralManagertermRepoServicer
contract ITermRepoServicer termRepoServicertermController
contract ITermController termControlleremitter
contract ITermEventEmitter emitterapprovedRolloverAuctionBidLockers
mapping(address => bool) approvedRolloverAuctionBidLockersrolloverElections
mapping(address => struct TermRepoRolloverElection) rolloverElectionstermContractPaired
bool termContractPairedwhileNotMatured
modifier whileNotMatured()notTermContractPaired
modifier notTermContractPaired()constructor
constructor() publicinitialize
function initialize(string termRepoId_, contract ITermRepoServicer termRepoServicer_, contract ITermRepoCollateralManager termRepoCollateralManager_, contract ITermController termController_, address termInitializer_) externalpairTermContracts
function pairTermContracts(address termRepoServicer_, contract ITermEventEmitter emitter_, address devopsMultisig_, address adminWallet_) externalelectRollover
function electRollover(struct TermRepoRolloverElectionSubmission termRepoRolloverElectionSubmission) externalAn external function that accepted Term Repo rollover instructions
Parameters
termRepoRolloverElectionSubmission
struct TermRepoRolloverElectionSubmission
A struct containing borrower rollover instructions
getRolloverInstructions
function getRolloverInstructions(address borrower) external view returns (struct TermRepoRolloverElection)A view function that returns borrower rollover instructions
Parameters
borrower
address
The address of the borrower
Return Values
[0]
struct TermRepoRolloverElection
A struct containing borrower rollover instructions
cancelRollover
function cancelRollover() externalAn external function to cancel previously submitted rollover instructions
fulfillRollover
function fulfillRollover(address borrower) externalAn external function called by repo servicer to mark rollover as fulfilled
Parameters
borrower
address
The address of the borrower
approveRolloverAuction
function approveRolloverAuction(contract ITermAuctionBidLocker auctionBidLocker) externalParameters
auctionBidLocker
contract ITermAuctionBidLocker
The ABI for ITermAuctionBidLocker interface
revokeRolloverApproval
function revokeRolloverApproval(contract ITermAuctionBidLocker auctionBidLocker) externalParameters
auctionBidLocker
contract ITermAuctionBidLocker
The ABI for ITermAuctionBidLocker interface
_processRollover
function _processRollover(address borrowerToRollover) internal_authorizeUpgrade
function _authorizeUpgrade(address impl) internalrequired override by the OpenZeppelin UUPS module
Parameters
impl
address
new impl address for proxy upgrade
Last updated