@@ -54,39 +54,28 @@ contract ClaimableAirdrop is
5454
5555 /// @notice Initializes the contract.
5656 /// @dev This initializer should be called only once.
57- /// @param _owner address of the owner of the token .
57+ /// @param _foundation address of the Aligned foundation .
5858 /// @param _tokenProxy address of the token contract.
5959 /// @param _tokenDistributor address of the wallet that has the tokens to distribute to the claimants.
60- /// @param _limitTimestampToClaim timestamp until which the claimants can claim the tokens.
61- /// @param _claimMerkleRoot Merkle root of the claimants.
6260 function initialize (
63- address _owner ,
61+ address _foundation ,
6462 address _tokenProxy ,
65- address _tokenDistributor ,
66- uint256 _limitTimestampToClaim ,
67- bytes32 _claimMerkleRoot
63+ address _tokenDistributor
6864 ) external initializer {
69- require (_owner != address (0 ), "Invalid owner address " );
70- require (
71- _tokenProxy != address (0 ) && _tokenProxy != address (this ),
72- "Invalid token contract address "
73- );
74- require (
75- _tokenDistributor != address (0 ) &&
76- _tokenDistributor != address (this ),
77- "Invalid token owner address "
78- );
79- require (_limitTimestampToClaim > block .timestamp , "Invalid timestamp " );
80- require (_claimMerkleRoot != 0 , "Invalid Merkle root " );
65+ require (_foundation != address (0 ), "Invalid foundation address " );
66+ require (_tokenProxy != address (0 ), "Invalid token contract address " );
67+ require (_tokenDistributor != address (0 ), "Invalid token owner address " );
8168
82- __Ownable_init (_owner );
69+ __Ownable_init (_foundation );
8370 __Pausable_init ();
8471 __ReentrancyGuard_init ();
8572
8673 tokenProxy = _tokenProxy;
8774 tokenDistributor = _tokenDistributor;
88- limitTimestampToClaim = _limitTimestampToClaim;
89- claimMerkleRoot = _claimMerkleRoot;
75+ limitTimestampToClaim = 0 ;
76+ claimMerkleRoot = 0 ;
77+
78+ _pause ();
9079 }
9180
9281 /// @notice Claim the tokens.
0 commit comments