contract CCAirdropper is Mortal {
    
    mapping (address => bool) public whitelisted;
    ERC20 public token;

    constructor(address _token) public {
        token = ERC20(_token);
    }

    /// @dev Transfer tokens to addresses registered for airdrop
    /// @param dests Array of addresses that have registered for airdrop
    /// @param values Array of token amount for each address that have registered for airdrop
    /// @return Number of transfers
    function airdrop(address[] dests, uint256[] values) public onlyOwner returns (uint256) {
        require(dests.length == values.length);
        uint256 i = 0;
        while (i < dests.length) {
            token.transfer(dests[i], values[i]);
            i += 1;
        }
        return (i); 
    }
}
/// @title WizzleInfinityHelper contract
function airdrop(address[] dests, uint256[] values) public onlyOwner returns (uint256) {
    require(dests.length == values.length);
    uint256 i = 0;
    while (i < dests.length) {
        token.transfer(dests[i], values[i]);
        i += 1;
    }
    return (i); 
}

/// @dev Transfer tokens to addresses registered for airdrop
/// @param dests Array of addresses that have registered for airdrop
/// @param values Array of token amount for each address that have registered for airdrop
/// @return Number of transfers