IModuleManagerBase_v1.sol
Last updated
Last updated
Inherits:
Returns whether the address module
is added as module.
Parameters
module
address
The module to check.
Returns
<none>
bool
True if module added, false otherwise.
Returns the list of all modules.
Returns
<none>
address[]
List of all modules.
Returns the number of modules.
Returns
<none>
uint8
The number of modules.
Returns wether the given address is the trusted forwarder or not.
Exposes the ERC2771 isTrusted Forwarder.
Parameters
forwarder
address
The address to check.
Returns
<none>
bool
True if the address is the trusted forwarder, false otherwise.
Returns the trusted forwarder for metatransactions.
Exposes the ERC2771 isTrusted Forwarder.
Returns
<none>
address
The trusted forwarder address.
Event emitted when module added.
Parameters
module
address
The module's address.
Event emitted when module removed.
Parameters
module
address
The module's address.
Event emitted when updating a module is initiated, and the timelock starts;.
Parameters
module
address
The module's address.
timelockUntil
uint256
The unix timestamp until the timelock is active.
Event emitted when a module update is canceled.
Parameters
module
address
The module's address.
Function is only callable by authorized address.
Function is only callable by modules.
Given module address invalid.
Given address is a module.
Given address is not a module.
The {ModuleManagerBase_v1} has reached the maximum amount of modules.
Timelock still active for the given module address.
Parameters
_module
address
The module address.
_timelockUntil
uint256
The unix timestamp until the timelock is active.
Module update is already in progress.
Module has not been registered in our factory.
Referenced {ModuleFactory_v1} is invalid.
The timelock struct to keep track of updating the registered modules.
Properties
timelockActive
bool
Is the timelock currently active.
timelockUntil
uint256
Timestamp that represents from when the update can be carried out.