SetRebaseHandlerManager
Inherits: ISetRebaseHandlerManager, Ownable2Step
This contract is meant to be the DefaultAdmin role of the USDN token, and it should only have the ability to set the rebase handler.
State Variables
USDN
Gets the USDN token.
Usdn public immutable USDN;
Functions
constructor
constructor(Usdn usdn, address owner) Ownable(owner);
Parameters
Name | Type | Description |
---|---|---|
usdn | Usdn | The address of the USDN token contract. |
owner | address | The address of the owner. |
setRebaseHandler
Sets the rebase handler for the USDN token.
function setRebaseHandler(IRebaseCallback newHandler) external onlyOwner;
Parameters
Name | Type | Description |
---|---|---|
newHandler | IRebaseCallback | The address of the new rebase handler. |
renounceUsdnOwnership
Revokes the DEFAULT_ADMIN_ROLE on the USDN token.
function renounceUsdnOwnership() external onlyOwner;