# BaseVaultDeployer

**Inherits:** IBaseVaultDeployer

Base contract for deploying BaseVault and its variants

*Contains common deployment logic and parameter handling*

## State Variables

### BASE\_VAULT\_PARAMETERS\_SLOT

ERC7201-compliant transient storage slot for storing vault parameters during deployment

*Equal to keccak256(abi.encode(uint256(keccak256("aera.factory.baseVaultParameters")) - 1)) & \~bytes32(uint256(0xff));*

```solidity
bytes32 internal constant BASE_VAULT_PARAMETERS_SLOT =
    0xabbb07a7c84c47d0cde2038aa28d3c5b29638876472dc0cdc3a2448d1e4b7e00;
```

## Functions

### baseVaultParameters

Vault parameters for vault deployment

*Necessary to support deterministic vault deployments*

```solidity
function baseVaultParameters() external view returns (BaseVaultParameters memory params);
```

**Returns**

| Name     | Type                  | Description                                                                                   |
| -------- | --------------------- | --------------------------------------------------------------------------------------------- |
| `params` | `BaseVaultParameters` | parameters Parameters used for vault deployment, including owner, submit hooks, and whitelist |

### \_storeBaseVaultParameters

Store parameters in transient storage

```solidity
function _storeBaseVaultParameters(BaseVaultParameters calldata params) internal;
```

**Parameters**

| Name     | Type                  | Description             |
| -------- | --------------------- | ----------------------- |
| `params` | `BaseVaultParameters` | The parameters to store |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aera.finance/the-protocol/core/basevaultdeployer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
