contract Locker {
    address owner;
    
    address tokenAddress = 0xA5959E9412d27041194c3c3bcBE855faCE2864F7; // UniDexGas (UNDG) token address
    uint256 unlockUnix = now + (31 days) * 3; // 3 months
    
    _ERC20Basic token = _ERC20Basic(tokenAddress);
    
    constructor() public {
        owner = msg.sender;
    }
    
    function unlockTeamTokens() public {
        require(owner == msg.sender, "You is not owner");
        require( now > unlockUnix, "Is not unlock time now");
        token.transfer(owner, token.balanceOf(address(this)));
    }
    
    //Control
    function getLockAmount() public view returns (uint256) {
        return token.balanceOf(address(this));
    }
    
    function getTokenAddress()  public view returns (address) {
        return tokenAddress;
    }
    
    function getUnlockTimeLeft() public view returns (uint) {
        return unlockUnix - now;
    }
}
function getLockAmount() public view returns (uint256) {
        return token.balanceOf(address(this));
    }
//Control