EpochUtils

circle-exclamation

contract EpochUtils

is IEpochUtilsarrow-up-right imports SafeMath, IEpochUtilsarrow-up-right

Source: EpochUtils.solarrow-up-right


<AUTOGENERATED_TABLE_OF_CONTENTS>

getCurrentEpochNumberarrow-up-right

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?