contract EVMScriptRegistry
is IEVMScriptRegistry, EVMScriptRegistryConstants, AragonApp
Source: contracts/evmscript/EVMScriptRegistry.sol
DisableExecutor
event`` DisableExecutor(uint256 executorId, address executorAddress)
Parameters:
executorAddress - address
event`` EnableExecutor(uint256 executorId, address executorAddress)
Parameters:
executorAddress - address
modifier`` executorExists(uint256 _executorId)
Parameters:
addScriptExecutor
function`` addScriptExecutor(IEVMScriptExecutor _executor) external returns (uint256)
Add a new script executor with address `_executor` to the registry.
Modifiers:
Parameters:
_executor - Address of the IEVMScriptExecutor that will be added to the registry
Returns:
id Identifier of the executor in the registry
disableScriptExecutor
function`` disableScriptExecutor(uint256 _executorId) external
Disable script executor with ID `_executorId`.
Modifiers:
Parameters:
_executorId - Identifier of the executor in the registry
enableScriptExecutor
function`` enableScriptExecutor(uint256 _executorId) external
Enable script executor with ID `_executorId`.
Modifiers:
Parameters:
_executorId - Identifier of the executor in the registry
getScriptExecutor
function`` getScriptExecutor(bytes _script) public view returns (IEVMScriptExecutor)
``
Get the script executor that can execute a particular script based on its first 4 bytes.
Parameters:
_script - EVMScript being inspected
Returns:
function`` initialize() public
``
Initialize the registry.
Modifiers: