IOrchestratorFactory_v1.sol
Functions
createOrchestrator
Creates a new {Orchestrator_v1}.
Parameters
Name | Type | Description |
---|---|---|
|
| The workflow's config data. |
|
| The config data for the orchestrator's {IFundingManager_v1} instance. |
|
| The config data for the {Orchestrator_v1}'s {IAuthorizer_v1} instance. |
|
| The config data for the orchestrator's {IPaymentProcessor_v1} instance. |
|
| Variable length set of optional module's config data. |
Returns
Name | Type | Description |
---|---|---|
|
| CreatedOrchestrator Returns the created orchestrator instance |
beacon
Returns the {IOrchestrator_v1} {IInverterBeacon_v1} address.
Returns
Name | Type | Description |
---|---|---|
|
| OrchestratorImplementationBeacon The {IInverterBeacon_v1} of the {Orchestrator_v1} Implementation. |
moduleFactory
Returns the {IModuleFactory_v1} implementation address.
Returns
Name | Type | Description |
---|---|---|
|
| ModuleFactoryAddress The address of the linked {ModuleFactory_v1}. |
getOrchestratorByID
Returns the {IOrchestrator_v1} address that corresponds to the given id.
Parameters
Name | Type | Description |
---|---|---|
|
| The requested orchestrator's id. |
Returns
Name | Type | Description |
---|---|---|
|
| orchestratorAddress The address of the corresponding {Orchestrator_v1}. |
getOrchestratorIDCounter
Returns the counter of the current {Orchestrator_v1} id.
Returns
Name | Type | Description |
---|---|---|
|
| id The id of the next created {Orchestrator_v1}. |
Events
OrchestratorCreated
Event emitted when a new {Orchestrator_v1} is created.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the {Orchestrator_v1}. |
|
| The address of the {Orchestrator. |
OrchestratorFactoryInitialized
Event emitted when a new {OrchestratorFactory_v1} is initialized.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the {IInverterBeacon_v1} associated with the factory. |
|
| The address of the {ModuleFactory_v1}. |
Errors
OrchestratorFactory__InvalidBeacon
The provided beacon address doesnt support the interface {IInverterBeacon_v1}.
OrchestratorFactory__InvalidId
Given id is invalid.
OrchestratorFactory__ModuleDataLengthMismatch
The module's data arrays length mismatch.
OrchestratorFactory__OrchestratorAdminIsInvalid
The orchestrator admin is address(0).
Structs
WorkflowConfig
Struct used to store information about a workflow configuration.
When the independentUpdates
is true, the independentUpdateAdmin
will be disregarded.
Properties
Name | Type | Description |
---|---|---|
|
| bool wether the workflow should use the independent proxy structure. In case of true it will not use the standard beacon proxy structure. |
|
| The address that will be assigned the admin role of the independent update proxy. Will be disregarded in case |
ModuleConfig
Struct used to store information about a module configuration.
Properties
Name | Type | Description |
---|---|---|
|
| The module's metadata. |
|
| Variable config data for specific module implementations. |
Last updated