Skip to main content

Overview

A time lock is a feature where a transaction is frozen for a specified period after reaching the ready-to-execute threshold. This provides a security buffer allowing members to review and potentially cancel transactions before execution.

How Time Locks Work

  1. Transaction reaches approval threshold
  2. Time lock period begins
  3. Transaction cannot be executed during the lock period
  4. After the lock period expires, transaction can be executed
  5. During the lock period, members can cancel the transaction if needed

Setting a Time Lock

Use a Config Transaction to set or modify the time lock:

Time Lock Values

The timeLock parameter is specified in seconds:

Common Configurations

Use Cases

  • Security: Provide time for members to review approved transactions
  • Governance: Allow stakeholders to raise objections before execution
  • Compliance: Meet regulatory requirements for delayed execution
  • Emergency Override: Time to cancel compromised or erroneous transactions

Error Handling

See Also