Skip to content

Commit

Permalink
EpochManagerEnabler version
Browse files Browse the repository at this point in the history
  • Loading branch information
pahor167 committed Sep 16, 2024
1 parent 55bd69b commit fe91831
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/protocol/contracts-0.8/common/EpochManagerEnabler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ contract EpochManagerEnabler is Initializable, UsingPrecompiles, UsingRegistry {
}
}

/**
* @notice Returns the storage, major, minor, and patch version of the contract.
* @return Storage version of the contract.
* @return Major version of the contract.
* @return Minor version of the contract.
* @return Patch version of the contract.
*/
function getVersionNumber() external pure returns (uint256, uint256, uint256, uint256) {
return (1, 1, 0, 0);
}

function getFirstBlockOfEpoch(uint256 currentEpoch) external view returns (uint256) {
return _getFirstBlockOfEpoch(currentEpoch);
}
Expand Down

0 comments on commit fe91831

Please sign in to comment.