EVMScriptRegistry
contract EVMScriptRegistry
is IEVMScriptRegistry, EVMScriptRegistryConstants, AragonApp
Source: contracts/evmscript/EVMScriptRegistry.sol
Index
Reference
Events
DisableExecutor
event``
DisableExecutor
(uint256 executorId, address executorAddress)
Parameters:
executorId
- uint256executorAddress
- address
EnableExecutor
event``
EnableExecutor
(uint256 executorId, address executorAddress)
Parameters:
executorId
- uint256executorAddress
- address
Modifiers
executorExists
modifier``
executorExists
(uint256 _executorId)
Parameters:
_executorId
- uint256
Functions
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:
IEVMScriptExecutor
initialize
function``
initialize
() public
``
Initialize the registry.
Modifiers:
Last updated