ModulePrivateRegistry
Inherits: ModuleRegistry, IModulePrivateRegistry
Functions
constructor
constructor(
address owner_,
address guardian_,
address admin_
) ModuleRegistry(owner_, guardian_, admin_);
createModule
function used to create module instance that can be whitelisted as module inside a vault.
function createModule(
address vault_,
address beacon_,
bytes calldata payload_
) external returns (address module);
Parameters
Name | Type | Description |
---|---|---|
vault_ | address | |
beacon_ | address | which whitelisted beacon's implementation we want to create an instance of. |
payload_ | bytes | payload to create the module. |