Created
July 17, 2017 17:54
-
-
Save mikec/9dedb86ed1d98de6e1388c423abcaa89 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.8; | |
import "./ThresholdPool.sol"; | |
contract ThresholdPoolMock is ThresholdPool () { | |
uint256 public _now; | |
function ThresholdPoolMock ( | |
uint256 _poolTime, | |
uint256 _threshold, | |
address _recipient, | |
uint256 _currentTime | |
) ThresholdPool (_poolTime, _threshold, _recipient) payable { | |
_now = _currentTime; | |
startTime = _now; | |
} | |
function currentTime() returns (uint256 _currentTime) { | |
return _now; | |
} | |
function changeTime(uint256 _newTime) { | |
_now = _newTime; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment