ERC6372Clock
Fully qualified path: openzeppelin_utils::contract_clock::erc_6372::ERC6372Clock
pub trait ERC6372Clock
Trait functions
clock
Returns the current timepoint determined by the contract’s operational mode, intended for use in time-sensitive logic. See https://eips.ethereum.org/EIPS/eip-6372#clock.
Requirements:
- This function MUST always be non-decreasing.
NOTE: While this function returns a u64 value, timepoints must fit into u48 according to the EIP-6372 specification.
Fully qualified path: openzeppelin_utils::contract_clock::erc_6372::ERC6372Clock::clock
fn clock() -> u64
CLOCK_MODE
Returns a description of the clock the contract is operating in. See https://eips.ethereum.org/EIPS/eip-6372#clock_mode.
Requirements:
- The output MUST be formatted like a URL query string, decodable in standard JavaScript.
Fully qualified path: openzeppelin_utils::contract_clock::erc_6372::ERC6372Clock::CLOCK_MODE
fn CLOCK_MODE() -> ByteArray