GnoMetaVaultFactory
Inherits: IGnoMetaVaultFactory
Factory for deploying Gnosis meta Vaults
State Variables
_securityDeposit
uint256 private constant _securityDeposit = 1e9
_vaultsRegistry
IVaultsRegistry internal immutable _vaultsRegistry
_gnoToken
IERC20 internal immutable _gnoToken
implementation
The address of the Vault implementation contract used for proxy creation
address public immutable override implementation
vaultAdmin
The address of the Vault admin used for Vault creation
address public override vaultAdmin
Functions
constructor
Constructor
constructor(address _implementation, IVaultsRegistry vaultsRegistry, address gnoToken) ;
Parameters
| Name | Type | Description |
|---|---|---|
_implementation | address | The implementation address of Vault |
vaultsRegistry | IVaultsRegistry | The address of the VaultsRegistry contract |
gnoToken | address | The address of the GNO token contract |
createVault
Create Vault. Must transfer security deposit together with a call.
function createVault(bytes calldata params) external override returns (address vault);
Parameters
| Name | Type | Description |
|---|---|---|
params | bytes | The encoded parameters for initializing the Vault contract |