# SingleDepositorVault

**Inherits:** ISingleDepositorVault, FeeVault

A vault that allows a single depositor to deposit and withdraw assets and allows a fee recipient and the protocol to charge fees. The vault owner retains full custody of assets at all times and can take arbitrary actions through the execute function. For convenience, ERC20 assets can also be withdrawn using the withdraw function and deposited using the deposit function

*Fee logic is inherited from the fee vault and support for guardians is inherited from the BaseVault*

## Functions

### constructor

```solidity
constructor() FeeVault();
```

### deposit

Deposit assets into the vault

```solidity
function deposit(TokenAmount[] calldata tokenAmounts) external requiresAuth;
```

**Parameters**

| Name           | Type            | Description           |
| -------------- | --------------- | --------------------- |
| `tokenAmounts` | `TokenAmount[]` | The assets to deposit |

### withdraw

Withdraw assets from the vault

```solidity
function withdraw(TokenAmount[] calldata tokenAmounts) external requiresAuth;
```

**Parameters**

| Name           | Type            | Description            |
| -------------- | --------------- | ---------------------- |
| `tokenAmounts` | `TokenAmount[]` | The assets to withdraw |

### execute

Execute operations on the vault as a trusted entity

```solidity
function execute(OperationPayable[] calldata operations) external requiresAuth;
```

**Parameters**

| Name         | Type                 | Description               |
| ------------ | -------------------- | ------------------------- |
| `operations` | `OperationPayable[]` | The operations to execute |
