Skip to main content

PaymentSchedule

PaymentSchedule

struct PaymentSchedule {
contract ISchedule schedule;
uint64 startTime;
}

PaymentScheduleLogic

startAt

function startAt(struct PaymentSchedule s, uint256 timestamp) internal

previousInterestDueTimeAt

function previousInterestDueTimeAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (uint256)

nextInterestDueTimeAt

function nextInterestDueTimeAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (uint256)

nextPrincipalDueTimeAt

function nextPrincipalDueTimeAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (uint256)

principalPeriodAt

function principalPeriodAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (uint256)

currentPrincipalPeriod

function currentPrincipalPeriod(struct PaymentSchedule s) internal view returns (uint256)

currentPeriod

function currentPeriod(struct PaymentSchedule s) internal view returns (uint256)

periodEndTime

function periodEndTime(struct PaymentSchedule s, uint256 period) internal view returns (uint256)

periodAt

function periodAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (uint256)

isActive

function isActive(struct PaymentSchedule s) internal view returns (bool)

termEndTime

function termEndTime(struct PaymentSchedule s) internal view returns (uint256)

termStartTime

function termStartTime(struct PaymentSchedule s) internal view returns (uint256)

periodsPerPrincipalPeriod

function periodsPerPrincipalPeriod(struct PaymentSchedule s) internal view returns (uint256)

nextDueTimeAt

function nextDueTimeAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (uint256)

withinPrincipalGracePeriodAt

function withinPrincipalGracePeriodAt(struct PaymentSchedule s, uint256 timestamp) internal view returns (bool)

isActiveMod

modifier isActiveMod(struct PaymentSchedule s)