VaultFactoryDeployment ​
Inherits:VaultFactoryDeploymentCore
implements VaultFactory public deploy vault method.
Functions ​
deployVault ​
Deploys a new vault using the specified deployment logic vaultDeploymentLogic_ and data vaultDeploymentData_. Only accounts with deployer access or the owner can deploy a new vault.
solidity
function deployVault(address vaultDeploymentLogic_, bytes calldata vaultDeploymentData_)
public
virtual
returns (address vault_);Parameters
| Name | Type | Description |
|---|---|---|
vaultDeploymentLogic_ | address | The address of the vault deployment logic contract. |
vaultDeploymentData_ | bytes | The data to be used for vault deployment. |
Returns
| Name | Type | Description |
|---|---|---|
vault_ | address | Returns the address of the newly deployed vault. |