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_ROLE

DEVOPS_ROLE

bytes32 DEVOPS_ROLE

INITIALIZER_ROLE

bytes32 INITIALIZER_ROLE

ROLLOVER_BID_FULFILLER_ROLE

bytes32 ROLLOVER_BID_FULFILLER_ROLE

termRepoId

bytes32 termRepoId

termRepoCollateralManager

contract ITermRepoCollateralManager termRepoCollateralManager

termRepoServicer

contract ITermRepoServicer termRepoServicer

termController

contract ITermController termController

emitter

contract ITermEventEmitter emitter

approvedRolloverAuctionBidLockers

mapping(address => bool) approvedRolloverAuctionBidLockers

rolloverElections

mapping(address => struct TermRepoRolloverElection) rolloverElections

termContractPaired

bool termContractPaired

whileNotMatured

modifier whileNotMatured()

notTermContractPaired

modifier notTermContractPaired()

constructor

constructor() public

initialize

function initialize(string termRepoId_, contract ITermRepoServicer termRepoServicer_, contract ITermRepoCollateralManager termRepoCollateralManager_, contract ITermController termController_, address termInitializer_) external

pairTermContracts

function pairTermContracts(address termRepoServicer_, contract ITermEventEmitter emitter_, address devopsMultisig_, address adminWallet_) external

electRollover

function electRollover(struct TermRepoRolloverElectionSubmission termRepoRolloverElectionSubmission) external

An external function that accepted Term Repo rollover instructions

Parameters

NameTypeDescription

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

NameTypeDescription

borrower

address

The address of the borrower

Return Values

NameTypeDescription

[0]

struct TermRepoRolloverElection

A struct containing borrower rollover instructions

cancelRollover

function cancelRollover() external

An external function to cancel previously submitted rollover instructions

fulfillRollover

function fulfillRollover(address borrower) external

An external function called by repo servicer to mark rollover as fulfilled

Parameters

NameTypeDescription

borrower

address

The address of the borrower

approveRolloverAuction

function approveRolloverAuction(contract ITermAuctionBidLocker auctionBidLocker) external

Parameters

NameTypeDescription

auctionBidLocker

contract ITermAuctionBidLocker

The ABI for ITermAuctionBidLocker interface

revokeRolloverApproval

function revokeRolloverApproval(contract ITermAuctionBidLocker auctionBidLocker) external

Parameters

NameTypeDescription

auctionBidLocker

contract ITermAuctionBidLocker

The ABI for ITermAuctionBidLocker interface

_processRollover

function _processRollover(address borrowerToRollover) internal

_authorizeUpgrade

function _authorizeUpgrade(address impl) internal

required override by the OpenZeppelin UUPS module

Parameters

NameTypeDescription

impl

address

new impl address for proxy upgrade

Last updated