⚠️ Deprecation Notice
ModuleKit was developed by Rhinestone and is no longer actively supported. If you're building modules and need assistance, reach out to Rhinestone at gm@rhinestone.dev
title: "onInstall"
Initialize the module with configuration data.
Usage
/**
* Initialize the module with the given data
*
* @param data The data to initialize the module with
*/
function onInstall(bytes calldata data) external {
owner = data[:20];
}Parameters
data
- Type:
bytes
The data to initialize the module with. It is up to the module to interpret the data.
Returns
None