# Contract Functions

This section contains the full function reference for all MetaVault contracts. Each page documents the public and external functions, view functions, events, and errors for a specific contract.

## Core contracts

| Contract                                                                    | Description                                                                                    |
| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [MetaVaultWrapper](/metavaults/contract-functions/metavault-wrapper.md)     | User-facing ERC-7540 vault — deposit/redeem requests, wrapper share accounting, operator model |
| [MetavaultsRegistry](/metavaults/contract-functions/metavaults-registry.md) | On-chain registry for vaults, markets, and chains                                              |


---

# 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://dev.spectra.finance/metavaults/contract-functions.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.
