contract SVTAllocation {
    using SafeMath for uint256;

    TokenL public token;

    address public owner;

    uint256 public unlockedAt;

    // The contract takes the ERC20 coin address from which this contract will work and from the
    // owner (Team wallet) who owns the funds.
    function SVTAllocation(TokenL _token, address _owner) public{

        // How many days to freeze from the moment of finalizing Round2
        unlockedAt = now + 1 years;

        token = _token;
        owner = _owner;
    }

    function changeToken(TokenL _token) external{
        require(msg.sender == owner);
        token = _token;
    }


    // If the time of freezing expired will return the funds to the owner.
    function unlock() external{
        require(now >= unlockedAt);
        require(token.transfer(owner,token.balanceOf(this)));
    }
}
// (B)
// The contract for freezing tokens for the team..
function SVTAllocation(TokenL _token, address _owner) public{

    // How many days to freeze from the moment of finalizing Round2
    unlockedAt = now + 1 years;

    token = _token;
    owner = _owner;
}

// The contract takes the ERC20 coin address from which this contract will work and from the
// owner (Team wallet) who owns the funds.