Last updated
Last updated
Inherits: , , ,
Author: Inverter Network
Enables the creation and registration of Inverter Modules, facilitating the deployment of module instances linked to specific beacons. Allows for configuration of modules starting state via provided deployment data.
An owned factory for deploying modules. The owner can register module metadata's to an implementations. Note that a metadata's registered implementation can not be changed after registration!
Returns the address of the contract.
Returns the contract address.
Mapping of metadata identifier to instance.
_MetadataLib.identifier(metadata) =>
Mapping of proxy address to orchestrator address.
Maps a users address to a nonce used for the create2-based deployment.
Storage gap for future upgrades.
Modifier to guarantee function is only callable with valid metadata.
The factories initializer function.
Parameters
The factories initializer function.
Parameters
Creates a module instance identified by given metadata
and initiates it.
Parameters
Returns
Creates a module proxy instance identified by given metadata
.
Parameters
Returns
Parameters
Returns
Parameters
Returns
Only callable by owner.
Parameters
Internal function to register metadata.
Parameters
Internal function to generate a salt for the create2-based deployment flow. This salt is the hash of (msgSender, nonce), where the nonce is an increasing number for each user.
Needs to be overridden, because they are imported via the Ownable2Step as well.
Needs to be overridden, because they are imported via the Ownable2Step as well.
moduleProxy => .
See .
Modifier to guarantee function is only callable with valid instance and if the owner of the beacon. is same as the of this contract.
Returns the instance registered and the id
for given metadata
.
Returns the address of a beacon proxy.
Registers metadata metadata
with implementation beacon
.