CuratorsRegistry
Inherits: Ownable2Step ↗, ICuratorsRegistry
Defines the registry functionality that keeps track of Curators for the sub-vaults.
State Variables
isCurator
mapping(address curator => bool isCurator) public override isCurator
_initialized
bool private _initialized
Functions
constructor
Constructor
constructor() Ownable(msg.sender);
addCurator
Adds a new curator
function addCurator(address curator) external override onlyOwner;
Parameters
| Name | Type | Description |
|---|---|---|
curator | address | The address of the curator to add |
removeCurator
Removes a curator
function removeCurator(address curator) external override onlyOwner;
Parameters
| Name | Type | Description |
|---|---|---|
curator | address | The address of the curator to remove |
initialize
Initializes the CuratorsRegistry
function initialize(address _owner) external override onlyOwner;
Parameters
| Name | Type | Description |
|---|---|---|
_owner | address | The address of the owner |