contract AdultXTokenFundraiser is MintableTokenFundraiser, PresaleFundraiser, IndividualCapsFundraiser, CappedFundraiser, RefundableFundraiser, GasPriceLimitFundraiser {
  AdultXTokenSafe public tokenSafe;

  constructor()
    HasOwner(msg.sender)
    public
  {
    token = new AdultXToken(
      
      address(this)  // The fundraiser is the minter
    );

    tokenSafe = new AdultXTokenSafe(token);
    MintableToken(token).mint(address(tokenSafe), 200000000000000000000000000);

    initializeBasicFundraiser(
      1540987200, // Start date = 31 Oct 2018 12:00 UTC
      1543579200,  // End date = 30 Nov 2018 12:00 UTC
      10000, // Conversion rate = 10000 ADUX per 1 ether
      0x1f98908f6857de3227fb735fACa75CCD5b9403c5     // Beneficiary
    );

    initializeIndividualCapsFundraiser(
      (0.2 ether), // Minimum contribution
      (0 ether)  // Maximum individual cap
    );

    initializeGasPriceLimitFundraiser(
        0 // Gas price limit in wei
    );

    initializePresaleFundraiser(
        50000000000000000000000000,
        1535716800, // Start =  
        1540987200,   // End = 
        14000
    );

    initializeCappedFundraiser(
      (35000 ether) // Hard cap
    );

    initializeRefundableFundraiser(
      (3500 ether)  // Soft cap
    );
    
    
  }
  
  /**
    * @dev Disable minting upon finalization
    */
  function finalization() internal {
      super.finalization();
      MintableToken(token).disableMinting();
  }
}
/**
 * @title AdultXTokenFundraiser
 */
function finalization() internal {
    super.finalization();
    MintableToken(token).disableMinting();
}

/**
 * @dev Disable minting upon finalization
 */