// Contract: AutoLiquidityVault
// Target function: function distributeTradingFees() external
/**

 * GearAutomatic's Liquidity Vault
 
 * Smart contract to decentralize the uniswap liquidity for GearAutomatic, providing proof of liquidity indefinitely!

 * Official Website: 
   https://www.GearAutomatic.Finance
 
 */




pragma solidity ^0.6.0;



interface ERC20 {
  function totalSupply() external view returns (uint256);
  function balanceOf(address who) external view returns (uint256);
  function allowance(address owner, address spender) external view returns (uint256);
  function transfer(address to, uint256 value) external returns (bool);
  function approve(address spender, uint256 value) external returns (bool);
  function approveAndCall(address spender, uint tokens, bytes calldata data) external returns (bool success);
  function transferFrom(address from, address to, uint256 value) external returns (bool);

  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}


library SafeMath 
{
    function mul(uint256 a, uint256 b) internal pure returns (uint256) 
    {
        if (a == 0) 
        {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }
    
    function div(uint256 a, uint256 b) internal pure returns (uint256) 
    {
        uint256 c = a / b;
        return c;
    }
    
    function sub(uint256 a, uint256 b) internal pure returns (uint256) 
    {
        assert(b <= a);
        return a - b;
    }
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) 
    {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
    
    function ceil(uint256 a, uint256 m) internal pure returns (uint256) 
    {
        uint256 c = add(a,m);
        uint256 d = sub(c,1);
        return mul(div(d,m),m);
    }
}



contract AutoLiquidityVault {
    
    using SafeMath for uint256;
    
    ERC20 public liquidityToken = ERC20(0x1CCF6274eeb9F179ea9bE9cDE3d0416167b47ed1);
    
    address owner = msg.sender;
    uint256 public lastTradingFeeDistribution = now;
    
    uint256 public migrationLock;
    address public migrationRecipient;