Smart Account Reference
Modules
isModuleEnabled

isModuleEnabled

Returns if a module is enabled.

Usage


_10
interface ISafe {
_10
function isModuleEnabled(address module) external view returns (bool);
_10
}
_10
_10
contract Example {
_10
function example() … {
_10
(ISafe safe).isModuleEnabled(0x...);
_10
}
_10
}

Returns

isModuleEnabled

  • Type: bool

Boolean flag indicating if the module is enabled.

Parameters

module

  • Type: address

Address of the module.


_10
(ISafe safe).isModuleEnabled(
_10
0x...
_10
);

Was this page helpful?