-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathVesting.sol
49 lines (46 loc) · 1.36 KB
/
Vesting.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
pragma solidity ^0.5.17;
pragma experimental ABIEncoderV2;
import "./TeamVesting.sol";
/**
* @title Vesting Contract.
* @notice Team tokens and investor tokens are vested. Therefore, a smart
* contract needs to be developed to enforce the vesting schedule.
*
* */
contract Vesting is TeamVesting {
/**
* @notice Setup the vesting schedule.
* @param _logic The address of logic contract.
* @param _SOV The SOV token address.
* @param _tokenOwner The owner of the tokens.
* @param _cliff The time interval to the first withdraw in seconds.
* @param _duration The total duration in seconds.
* */
constructor(
address _logic,
address _SOV,
address _stakingAddress,
address _tokenOwner,
uint256 _cliff,
uint256 _duration,
address _feeSharingCollectorProxy
)
public
TeamVesting(
_logic,
_SOV,
_stakingAddress,
_tokenOwner,
_cliff,
_duration,
_feeSharingCollectorProxy
)
{}
/**
* @dev We need to add this implementation to prevent proxy call VestingLogic.governanceWithdrawTokens
* @param receiver The receiver of the token withdrawal.
* */
function governanceWithdrawTokens(address receiver) public {
revert("operation not supported");
}
}