For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

EpochUtils

contract EpochUtils

is IEpochUtils imports SafeMath, IEpochUtils

Source: EpochUtils.sol


INDEX​

<AUTOGENERATED_TABLE_OF_CONTENTS>

REFERENCE​

Functions​

getCurrentEpochNumber​

Returns the current epoch number.


function getCurrentEpochNumber() public view override returns (uint256)\ Returns:\ Current epoch number

### `getEpochNumber` Returns the epoch number at timestamp. ___ function __getEpochNumber__(uint256 timestamp) public view override returns (uint256) | Parameter | Type | Description | | --------- |:-----:|:-----------:| | `timestamp` | uint256 | timestamp in epoch time | **Returns:**\ Epoch number at timestamp

Last updated

Was this helpful?