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
| Name | Type | Description |
|---|---|---|
timestamp | uint256 | The reference timestamp. |
Returns
| Name | Type | Description |
|---|---|---|
<none> | uint256 | boundary The largest cadence point <= timestamp. |