The parameters for creating the Ownable module.
A Module object representing the created Ownable module.
const ownableModule = toOwnableValidator({
account: mySmartAccount,
signer: mySigner,
moduleInitArgs: {
threshold: 2,
owners: ['0x123...', '0x456...']
}
});
Creates an Ownable module for a modular smart account.
This function sets up an Ownable module with the specified parameters, including threshold and owners for the smart account.