EVMScriptRegistry
Last updated
Was this helpful?
Last updated
Was this helpful?
is , ,
Source:
event``
DisableExecutor
(uint256 executorId, address executorAddress)
Parameters:
executorId
- uint256
executorAddress
- address
event``
EnableExecutor
(uint256 executorId, address executorAddress)
Parameters:
executorId
- uint256
executorAddress
- address
modifier``
executorExists
(uint256 _executorId)
Parameters:
_executorId
- uint256
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
function``
disableScriptExecutor
(uint256 _executorId) external
Disable script executor with ID `_executorId`.
Modifiers:
Parameters:
_executorId
- Identifier of the executor in the registry
function``
enableScriptExecutor
(uint256 _executorId) external
Enable script executor with ID `_executorId`.
Modifiers:
Parameters:
_executorId
- Identifier of the executor in the registry
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
function``
initialize
() public
``
Initialize the registry.
Modifiers: