Skip to content

Commit

Permalink
Allow using the same date for start, cliff and complete (fixed #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
sembrestels committed Oct 26, 2021
1 parent 0157e03 commit 18a4635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Hatch.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ contract Hatch is EtherTokenConstant, IsContract, AragonApp, IACLOracle {
require(_maxGoal >= _minGoal, ERROR_INVALID_MAX_GOAL);
require(_period > 0, ERROR_INVALID_TIME_PERIOD);
require(_exchangeRate > 0, ERROR_INVALID_EXCHANGE_RATE);
require(_vestingCliffPeriod > _period, ERROR_INVALID_TIME_PERIOD);
require(_vestingCompletePeriod > _vestingCliffPeriod, ERROR_INVALID_TIME_PERIOD);
require(_vestingCliffPeriod >= _period, ERROR_INVALID_TIME_PERIOD);
require(_vestingCompletePeriod >= _vestingCliffPeriod, ERROR_INVALID_TIME_PERIOD);
require(_supplyOfferedPct > 0 && _supplyOfferedPct <= PPM, ERROR_INVALID_PCT);
require(_fundingForBeneficiaryPct >= 0 && _fundingForBeneficiaryPct <= PPM, ERROR_INVALID_PCT);

Expand Down

0 comments on commit 18a4635

Please sign in to comment.