Skip to main content

PluginRegistry

Git Source

Inherits: IPluginRegistry, Ownable

State Variables

allowedPlugins

mapping(address => bool) allowedPlugins;

Functions

constructor

constructor() Ownable(msg.sender);

updatePlugin

function updatePlugin(address plugin, bool allowed) public onlyOwner;

isPluginAllowed

function isPluginAllowed(
address plugin
) public view onlyOwner returns (bool);