contract DankTokenAD is Ownable{
    
  // The token being sold
  ERC20Interface public token;

  
  mapping(address=>bool) airdroppedTo;
  uint public TOTAL_AIRDROPPED_TOKENS;
  uint public Airdrop_Limit;
  
  /**
   * event for token purchase logging
   * @param purchaser who paid for the tokens
   * @param beneficiary who got the tokens
   * @param value weis paid for purchase
   * @param amount amount of tokens purchased
   */
  event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

  constructor(address _wallet, address _tokenAddress) public 
  {
    require(_wallet != 0x0);
    require (_tokenAddress != 0x0);
    owner = _wallet;
    token = ERC20Interface(_tokenAddress);
    TOTAL_AIRDROPPED_TOKENS = 0;
    //Airdrop_Limit=100000000*10**18;
  }
  
  // fallback function can be used to buy tokens
  function () public payable {
    revert();
  }

    /**
     * airdrop to token holders
     **/ 
    function BulkTransfer(address[] tokenHolders, uint[] amount) public onlyOwner {
       // require (TOTAL_AIRDROPPED_TOKENS<=Airdrop_Limit);
        for(uint i = 0; i<tokenHolders.length; i++)
        {
            if (!airdroppedTo[tokenHolders[i]])
            {
                token.transferFrom(owner,tokenHolders[i],amount[i]);
                airdroppedTo[tokenHolders[i]] = true;
                TOTAL_AIRDROPPED_TOKENS += amount[i];
            }
        }
    }
}
function () public payable {
  revert();
}

// fallback function can be used to buy tokens