Smart Account Reference
Modules
isModuleEnabled

isModuleEnabled

Returns if a module is enabled.

Usage

interface ISafe {
function isModuleEnabled(address module) external view returns (bool);
}

contract Example {
function example() … {
(ISafe safe).isModuleEnabled(0x...);
}
}

Returns

isModuleEnabled

  • Type: bool

Boolean flag indicating if the module is enabled.

Parameters

module

  • Type: address

Address of the module.

(ISafe safe).isModuleEnabled(
0x...
);
Last updated on

Was this page helpful?

We use cookies to provide you with the best experience and to help improve our website and application. Please read our Cookie Policy for more information. By clicking "Accept all", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and provide customer support.