fix: remove daylimit.sol, closes #925 (#964)

This commit is contained in:
Matt Condon
2018-06-01 13:16:47 -07:00
committed by GitHub
parent 5ab9024b6a
commit e3f866c982
3 changed files with 0 additions and 191 deletions

View File

@ -1,25 +0,0 @@
pragma solidity ^0.4.23;
import "../../contracts/DayLimit.sol";
contract DayLimitMock is DayLimit {
uint256 public totalSpending;
constructor(uint256 _value) public DayLimit(_value) {
totalSpending = 0;
}
function attemptSpend(uint256 _value) external limitedDaily(_value) {
totalSpending += _value;
}
function setDailyLimit(uint256 _newLimit) external {
_setDailyLimit(_newLimit);
}
function resetSpentToday() external {
_resetSpentToday();
}
}