VaultStateChecker

Library for checking and updating the vault state based on expiration time.

Functions

_checkAndUpdateState

Checks if the vault has passed its expiration time and updates the state to Closed if needed.

function _checkAndUpdateState(VaultFundraiseStorage.FundraiseLayout storage $) internal;

Parameters

Name
Type
Description

$

VaultFundraiseStorage.FundraiseLayout

The vault storage layout pointer.