# Vault Types

Trilobyte supports two types of vaults that determine who can invest in a loan.

## Permissionless Vaults

In a **permissionless vault**, any address can deposit funds during the RaisingFunds phase. There are no restrictions on who can participate as an investor.

This is the default model and enables the broadest possible participation in loan funding.

## Permissioned Vaults

In a **permissioned vault**, only addresses that have been **allowlisted** by the Pool Manager can deposit funds. This enables managers to restrict participation to specific investors — for example, those who have completed KYC/AML verification or who meet certain accreditation requirements.

### Managing the Allowlist

The Pool Manager controls the allowlist using two functions:

* `add_to_allowlist(caller, investor)` — Add an investor address
* `remove_from_allowlist(caller, investor)` — Remove an investor address

Only the vault's Pool Manager can modify the allowlist. Investors not on the list will be rejected when attempting to deposit.

### When to Use Permissioned Vaults

Permissioned vaults are appropriate when:

* **Regulatory compliance** requires investor verification (KYC/AML)
* The loan involves **sensitive deal terms** that should only be visible to approved parties
* The Pool Manager wants to **curate the investor base** for a specific deal
* **Institutional investors** require controlled access to the vault

{% hint style="info" %}
The `permissioned` flag is set at vault creation and cannot be changed afterwards. A vault is either permissioned or permissionless for its entire lifecycle.
{% endhint %}


---

# 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.trilobyte.finance/overview/vault-types.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.
