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
Last updated
This contract operates at the protocol level and governs all instances of a Term Repo. This contract manages Term Finance protocol permissions and controls
Last updated
This contract manages Term Finance protocol permissions and controls
This contract operates at the protocol level and governs all instances of a Term Repo
Initializer function to pair a new Term Auction with the controller
External view function which returns contract address of treasury wallet
External view function which returns contract address of protocol reserve
Returns history of all completed auctions within a term
External view function which returns whether contract address is deployed by Term Finance Protocol
Admin function to update the Term Finance treasury wallet address
Admin function to update the Term Finance protocol reserve wallet address
Admin function to update the designated controller admin wallet that calls markTermDeployed
Admin function to add a new Term Finance contract to Controller
Admin function to remove a contract from Controller
required override by the OpenZeppelin UUPS module
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
auction | address | new auction address |
[0] | address | The protocol reserve address |
termRepoId | bytes32 | term repo id to look up |
contractAddress | address | The input contract address to query |
[0] | bool | Whether the given address is deployed by Term Finance Protocol |
authedUser | address | The address of user to check access for mint exposure |
newTreasuryWallet | address | The new treasury address |
newProtocolReserveWallet | address | The new protocol reserve wallet address |
oldControllerAdminWallet | address | The current controller admin wallet to revoke permissions for |
newControllerAdminWallet | address | The new controller admin wallet to grant permissions for |
termContract | address | The new term contract address |
termContract | address | The new term contract address |
authedUser | address | The address of user granted access to create mint exposure |
revokedUser | address | The address of user to revoke access to create mint exposure |