Solidity API
EncryptedVaultFactory
A factory contract for creating Orion encrypted vaults
This contract is responsible for creating new encrypted vaults only.
config
contract IOrionConfig config
Orion Config contract address
constructor
constructor(address configAddress) public
Constructor
Parameters
Name | Type | Description |
---|---|---|
configAddress | address | The address of the OrionConfig contract |
createVault
function createVault(address curator, string name, string symbol, uint8 feeType, uint16 performanceFee, uint16 managementFee) external returns (address vault)
Creates a new encrypted vault
Parameters
Name | Type | Description |
---|---|---|
curator | address | The address of the curator |
name | string | The name of the vault |
symbol | string | The symbol of the vault |
feeType | uint8 | The fee type |
performanceFee | uint16 | The performance fee |
managementFee | uint16 | The management fee |
Return Values
Name | Type | Description |
---|---|---|
vault | address | The address of the new encrypted vault |