enableModule
Enables a new Safe Module in a Safe account.
⚠️
This action can only be done via a Safe transaction.
Usage
_10interface ISafe {_10 function enableModule(address module) external;_10}_10_10contract Example {_10 function example() ... {_10 (ISafe safe).enableModule(0x...);_10 }_10}
Parameters
module
- Type:
address
Safe Module to be enabled.
_10(ISafe safe).enableModule(_10 0x..._10);
Events
EnabledModule
_10event EnabledModule(address module);
Emitted when a module is enabled for the Safe.