Skip to main content

Timer

Timer#

Functions#

setCurrentTime(uint256 time) (external)

Sets the current time.

Will revert if not running in test mode.

Parameters:#

  • time: timestamp to set currentTime to.
getCurrentTime() → uint256 (public)

Gets the currentTime variable set in the Timer.