Last active
July 15, 2019 23:26
-
-
Save buendiadas/33da8fb2a77300ff718bda510e9070ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract ICron { | |
function initTimestamp() public view returns (uint256); | |
Return the number of occurrences of the stored crontab expression from initTimestamp() to a given _timestamp | |
// Number of current epoch (number of periods) since the Smart Contract was deployed | |
function height() public view returns (uint256); | |
// Epoch of a predefined timestamp | |
function heightOf(uint256 _timestamp) public view returns (uint256); | |
//Return the next timestamp where height will be changed, 2^256-1 if no new event is expected | |
function next) public view returns (uint256); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment