TermController.sol
This contract operates at the protocol level and governs all instances of a Term Repo. This contract manages Term Finance protocol permissions and controls
TermController
This contract manages Term Finance protocol permissions and controls
This contract operates at the protocol level and governs all instances of a Term Repo
CONTROLLER_ADMIN_ROLE
DEVOPS_ROLE
treasuryWallet
protocolReserveWallet
termAddresses
constructor
initialize
getTreasuryAddress
External view function which returns contract address of treasury wallet
getProtocolReserveAddress
External view function which returns contract address of protocol reserve
Return Values
isTermDeployed
External view function which returns whether contract address is deployed by Term Finance Protocol
Parameters
Return Values
updateTreasuryAddress
Admin function to update the Term Finance treasury wallet address
Parameters
updateProtocolReserveAddress
Admin function to update the Term Finance protocol reserve wallet address
Parameters
updateControllerAdminWallet
Admin function to update the designated controller admin wallet that calls markTermDeployed
Parameters
markTermDeployed
Admin function to add a new Term Finance contract to Controller
Parameters
unmarkTermDeployed
Admin function to remove a contract from Controller
Parameters
_authorizeUpgrade
required override by the OpenZeppelin UUPS module
Last updated