Skip to main content

CuratorsRegistry

Git Source ↗

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

NameTypeDescription
curatoraddressThe address of the curator to add

removeCurator​

Removes a curator

function removeCurator(address curator) external override onlyOwner;

Parameters

NameTypeDescription
curatoraddressThe address of the curator to remove

initialize​

Initializes the CuratorsRegistry

function initialize(address _owner) external override onlyOwner;

Parameters

NameTypeDescription
_owneraddressThe address of the owner