-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMainModuleUpgradable.sol
More file actions
44 lines (41 loc) · 1.39 KB
/
MainModuleUpgradable.sol
File metadata and controls
44 lines (41 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.27;
import "./commons/ModuleAuthUpgradable.sol";
import "./commons/ModuleHooks.sol";
import "./commons/ModuleCalls.sol";
import "./commons/ModuleUpdate.sol";
import "./commons/ModuleCreator.sol";
/**
* @notice Contains the core functionality arcadeum wallets will inherit with
* the added functionality that the main-module can be changed.
* @dev If using a new main module, developpers must ensure that all inherited
* contracts by the mainmodule don't conflict and are accounted for to be
* supported by the supportsInterface method.
*/
contract MainModuleUpgradable is
ModuleAuthUpgradable,
ModuleCalls,
ModuleUpdate,
ModuleHooks,
ModuleCreator
{
/**
* @notice Query if a contract implements an interface
* @param _interfaceID The interface identifier, as specified in ERC-165
* @dev If using a new main module, developpers must ensure that all inherited
* contracts by the mainmodule don't conflict and are accounted for to be
* supported by the supportsInterface method.
* @return `true` if the contract implements `_interfaceID`
*/
function supportsInterface(
bytes4 _interfaceID
) public override(
ModuleAuthUpgradable,
ModuleCalls,
ModuleUpdate,
ModuleHooks,
ModuleCreator
) pure returns (bool) {
return super.supportsInterface(_interfaceID);
}
}