contract ASTRDrop is Ownable {
  ERC20 public token;  // using the ASTRCoin token - will set an address
  address public ownerAddress;  // deploy owner
  uint8 internal decimals             = 4; // 4 decimal places should be enough in general
  uint256 internal decimalsConversion = 10 ** uint256(decimals);
  uint public   AIRDROP_AMOUNT        = 10 * decimalsConversion;

  function multisend(address[] dests) onlyOwner public returns (uint256) {

    ownerAddress    = ERC20(0x3EFAe2e152F62F5cc12cc0794b816d22d416a721); // 
    token           = ERC20(0x80E7a4d750aDe616Da896C49049B7EdE9e04C191); //  

      uint256 i = 0;
      while (i < dests.length) { // probably want to keep this to only 20 or 30 addresses at a time
        token.transferFrom(ownerAddress, dests[i], AIRDROP_AMOUNT);
         i += 1;
      }
      return(i);
    }

  // Change the airdrop rate
  function setAirdropAmount(uint256 _astrAirdrop) onlyOwner public {
    if( _astrAirdrop > 0 ) {
        AIRDROP_AMOUNT = _astrAirdrop * decimalsConversion;
    }
  }


  // reset the rate to the default
  function resetAirdropAmount() onlyOwner public {
     AIRDROP_AMOUNT = 10 * decimalsConversion;
  }
}
/**
 * Airdrop for ASTRCoin
 */
function setAirdropAmount(uint256 _astrAirdrop) onlyOwner public {
    if( _astrAirdrop > 0 ) {
        AIRDROP_AMOUNT = _astrAirdrop * decimalsConversion;
    }
  }
// Change the airdrop rate