Skip to main content

ClaimlessRewardsCycleHandler

Reference

Contract: ClaimlessRewardsCycleHandler​

Inherits from:

  • ClaimlessRewardsState
  • ClaimlessRewardsEvents


Functions​

epochTimestampsLength () → uint256 (external)​

(external view) Return the length of the array of cycle timestamps. This makes it easier for clients to loop through them.


getEpochTimestamps () → uint256[] (external)​

(external view) Returns the full array of timestamps. If this grows too large to return, they should be fetched one-by-one or by fetching tx logs.


changeCycle () → uint256 (external)​

Changes the current cycle. Callable by anyone.