Skip to main content

FourWeekCadence

Git Source - Generated with forge doc

Inherits: IRenewalCadence

Title: FourWeekCadence

Cadence with boundaries every 28 days from the Unix epoch (00:00:00 UTC).

Functions

cadencePeriodStart

Returns the start of the cadence period at or before a timestamp.

function cadencePeriodStart(uint256 timestamp) external pure returns (uint256);

Parameters

NameTypeDescription
timestampuint256The reference timestamp.

Returns

NameTypeDescription
<none>uint256boundary The largest cadence point <= timestamp.