Module
Inherits: Initializable, ERC165Upgradeable, TeamControlled, IModule
Author: Daniel Yamagata & Naveen Ailawadi
A base contract for modules, which are 'children' of departments and treasuries with bespoke logic and spending capabilities
*Modules should be deployed as proxies. If ERC1967 proxies, their storage layout should use EIP7201 storage slots Reference:
Functions
constructor
init
Initializes the state of the module. This initialization is bespoke to each module
Parameters
__Module_init
supportsInterface
ERC165 support
getParent
Returns the parent of 'this'. If 'this' is a department or module, returns the team that directly controls 'this'. If 'this' is the Treasury, returns the sentinel parent, which is address(0x1)
Returns
Last updated