disableModule
Disables the module module
for the Safe.
⚠️
This action can only be done via a Safe transaction.
Usage
_10interface ISafe {_10 function disableModule(address prevModule, address module) external;_10}_10_10contract Example {_10 function example() ... {_10 (ISafe safe).disableModule(0x..., 0x...);_10 }_10}
Parameters
prevModule
- Type:
address
Previous module in the modules linked list.
_10(ISafe safe).disableModule(_10 0x...,_10 0x..._10);
module
- Type:
address
Module to be removed.
_10(ISafe safe).disableModule(_10 0x...,_10 0x..._10);
Events
DisabledModule
_10event DisabledModule(address module);
Emitted when a module is disabled for the Safe.