Skip to main content

IRenewalCadence

Git Source - Generated with forge doc

Title: IRenewalCadence

Interface of cadences defining the domain of valid maturity timestamps.

If renewalCadence is address(0), cadence validation is skipped entirely.

Functions​

cadencePeriodStart​

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

function cadencePeriodStart(uint256 timestamp) external view returns (uint256 boundary);

Parameters

NameTypeDescription
timestampuint256The reference timestamp.

Returns

NameTypeDescription
boundaryuint256The largest cadence point <= timestamp.