getVaultFactory
Description:
Getting the vault factory for vault creation.
Arguments:
| Name | Type | Required | Description |
|---|---|---|---|
| isErc20 | boolean | No | factory with ERC20 token |
| vaultType | VaultType | Yes | Type of vault |
Returns:
type Output = VaultFactory
Example:
import { VaultType } from '@stakewise/v3-sdk'
await sdk.vault.getVaultFactory({
vaultType: VaultType.Default,
isErc20: true,
})