Skip to content

Commit

Permalink
the release of presale vested token is now 5 months after the deploy
Browse files Browse the repository at this point in the history
also fix all tests !!!!
  • Loading branch information
Emilien committed Jul 16, 2018
1 parent 7e6efd1 commit c46652d
Show file tree
Hide file tree
Showing 3 changed files with 363 additions and 204 deletions.
3 changes: 3 additions & 0 deletions contracts/GalionTokenSale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ contract GalionTokenSale is PhaseWhitelist {
constructor() public {
// Token contract creation
token = new GalionToken();

// set the presale release date in 5 months (should be around 3 month after the end of the sale)
presaleReleaseDate = block.timestamp + 140 days;
}

// Default function called when someone is sending ETH : redirects to the ICO buy function.
Expand Down
2 changes: 1 addition & 1 deletion contracts/PhaseWhitelist.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract PhaseWhitelist is Ownable {
uint256 public individualWeiCap = 0;

// presale bonus token release date = 2019/01/01
uint public presaleReleaseDate = 1546300800;
uint public presaleReleaseDate;
// mapping of timelock contracts used in the presale to lock bonus token until 2019/01/01
mapping(address => address) timelock;

Expand Down
Loading

0 comments on commit c46652d

Please sign in to comment.