timelock sub-client manages timelock configuration for vaults. Timelocks add a mandatory delay between proposing and applying vault configuration changes, providing protection against unauthorized or hasty modifications.
For conceptual details, see Timelock.
Set Timelock Duration
Configure the timelock duration in seconds. Once set, any subsequent vault state or mint updates will require waiting for this duration before they can be applied:Apply Timelock
After the timelock duration has elapsed, apply the pending changes:apply method automatically detects the vault type:
- For Vault types, it applies state timelock changes
- For TokenizedVault types, it applies mint timelock changes