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.

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

Parameters

Name
Type
Description

_merkleRoot

bytes32

The new Merkle root.

_setMerkleRoot

function _setMerkleRoot(bytes32 _merkleRoot) internal;

Events

MerkleRootSet

event MerkleRootSet(bytes32 oldMerkleRoot, bytes32 newMerkleRoot);