Last updated
Last updated
Returns the length of an epoch.
Returns
Returns the RecurringPayment instance with id id
.
Parameters
Returns
Returns total list of RecurringPayment ids.
List is in ascending order.
Returns
Returns the id of previous RecurringPayment.
Parameters
Returns
Returns whether RecurringPayment with id id
exists.
Parameters
Returns
Calculates the epoch from a given uint timestamp.
Calculation is: timestamp divided by epochLength.
Parameters
Returns
Calculates the current epoch.
Calculation is: block.timestamp divided by epochLength.
Returns
Calculates a future epoch x epochs from now.
Calculation is: current epoch + X epochs in the future = futureEpoch.
Parameters
Returns
Adds a recurring payment to the manager.
a new id is created for each Payment.
Parameters
Returns
Removes a recurring Payment.
Parameters
Triggers the start of the due payments for all recurring payment orders.
See trigger() but enables you to determine which ids you want to trigger payment ordes for.
this is to being able to bypass the unlikely event of having a runOutOfGas error for the normal trigger function.
Parameters
Event emitted when a new recurring payment added.
Parameters
Event emitted when a recurring payment was removed.
Parameters
Event emitted when a recurring payment was triggered.
Parameters
Event emitted when the epoch length is set.
Parameters
Given RecurringPayment id is invalid.
Start epoch cant be placed before the current epoch.
Given EpochLength is invalid.
Given startId is not position before endId.
Struct that holds the information of a RecurringPayment.
Properties