mirror of
https://github.com/zoo-apps/fund.git
synced 2026-10-30 14:57:02 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: zoo.fund - Excludes node_modules and build artifacts
19 lines
572 B
Solidity
19 lines
572 B
Solidity
// SPDX-License-Identifier: AGPL-3.0
|
|
pragma solidity ^0.8.30;
|
|
|
|
/**
|
|
* @title ClockMode
|
|
* @notice Enum for different time measurement modes in governance contracts
|
|
* @dev This enum is used to specify how time-based operations should be measured,
|
|
* particularly for voting periods, timelocks, and snapshots. Different chains
|
|
* and use cases may prefer different timing mechanisms.
|
|
*
|
|
* Values:
|
|
* - Timestamp: Uses block.timestamp (seconds since epoch)
|
|
* - BlockNumber: Uses block.number (incremental block count)
|
|
*/
|
|
enum ClockMode {
|
|
Timestamp,
|
|
BlockNumber
|
|
}
|