vault.createVault(CreateVault)
Create a new Vault and its associated security token using a Vault Factory. This sends a transaction from the vault deployer.
CreateVault Type Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| vaultDeployer | Signer | Required | Deployer signer authorized to create vaults. Must be connected to a provider. |
| vaultController | string | Required | EOA address that will control the vault. |
| vaultFactory | string | Required | Vault Factory contract address. |
| infoDesk | string | Required | InfoDesk contract address. |
| trustedClaimIssuers | string[] | Required | Addresses of trusted Claim Issuer contracts. |
| tokenName | string | Required | Security token name. |
| tokenSymbol | string | Required | Security token symbol. |
| payoutToken | string | Required | ERC20 token address used for payouts. |
Returns
| Field | Type | Description |
|---|---|---|
| status | created | Status of the operation. |
| vault | string | Deployed Vault address. |
| token | string | Deployed security token address. |
| distributor | string | Deployed reward distributor address. |
| receipt | TransactionReceipt | Transaction receipt for the creation call. |
Usage
TypeScript
JavaScript
Example outputs
- The Vault deployer must be authorized in the Vault Factory.
trustedClaimIssuersshould include Claim Issuer contracts required by compliance.

