Skip to content

VaultFactoryDeployment ​

Git Source

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

NameTypeDescription
vaultDeploymentLogic_addressThe address of the vault deployment logic contract.
vaultDeploymentData_bytesThe data to be used for vault deployment.

Returns

NameTypeDescription
vault_addressReturns the address of the newly deployed vault.