@@ -7,7 +7,7 @@ import {Clones} from "@openzeppelin/contracts/proxy/Clones.sol";
77import {MetaToken} from "src/MetaToken.sol " ;
88
99import {IMetaTokenDistributor} from "./interfaces/IMetaTokenDistributor.sol " ;
10- import {Vesting, IVesting} from "./vesting/Vesting.sol " ;
10+ import {IVesting} from "./vesting/Vesting.sol " ;
1111import {IVestingParams} from "./vesting/interfaces/IVestingParams.sol " ;
1212import {Schedule, Beneficiary, VestingType} from "./utils/Common.sol " ;
1313
@@ -34,7 +34,7 @@ contract MetaTokenDistributor is IMetaTokenDistributor {
3434 mapping (VestingType vestingType => address vesting ) private _vestingAddresses;
3535
3636 /// @dev Validate start vesting time
37- modifier validateTime (VestingType vestingType ) {
37+ modifier validateTime () {
3838 uint64 startTime = _vestingParams.getStartTime ();
3939
4040 if (block .timestamp < startTime) {
@@ -65,7 +65,7 @@ contract MetaTokenDistributor is IMetaTokenDistributor {
6565 * @return vesting Address of created vesting contract
6666 * @dev Any can start vesting after start time
6767 */
68- function startVesting (VestingType vestingType ) external validateTime (vestingType) returns (address vesting ) {
68+ function startVesting (VestingType vestingType ) external validateTime returns (address vesting ) {
6969 if (_vestingAddresses[vestingType] != address (0 )) {
7070 revert VestingHasAlreadyStarted ();
7171 }
0 commit comments