18 lines
519 B
Solidity
18 lines
519 B
Solidity
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC6372.sol)
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
interface IERC6372 {
|
|
/**
|
|
* @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).
|
|
*/
|
|
function clock() external view returns (uint48);
|
|
|
|
/**
|
|
* @dev Description of the clock
|
|
*/
|
|
// solhint-disable-next-line func-name-mixedcase
|
|
function CLOCK_MODE() external view returns (string memory);
|
|
}
|