> For the complete documentation index, see [llms.txt](https://docs.ariaprotocol.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ariaprotocol.xyz/technical-docs/contract-docs/iprwa/vault/admin/children/vaultwhitelistadmin.md). Agents can also search and read this documentation through its [MCP server](https://docs.ariaprotocol.xyz/~gitbook/mcp).

# VaultWhitelistAdmin

**Inherits:** AccessControlInternal

Handles administrative functions for the whitelist module.

## Functions

### setMerkleRoot

Sets the Merkle root for the whitelist.

*Only the owner (admin) can call this function.*

```solidity
function setMerkleRoot(bytes32 _merkleRoot) external onlyRole(AccessControlStorage.DEFAULT_ADMIN_ROLE);
```

**Parameters**

| Name          | Type      | Description          |
| ------------- | --------- | -------------------- |
| `_merkleRoot` | `bytes32` | The new Merkle root. |

### \_setMerkleRoot

```solidity
function _setMerkleRoot(bytes32 _merkleRoot) internal;
```

## Events

### MerkleRootSet

```solidity
event MerkleRootSet(bytes32 oldMerkleRoot, bytes32 newMerkleRoot);
```
