function saleSetEnded() public onlyMultiOwnersType(3) {
    require((state == SaleState.SALE) || (state == SaleState.PRESALE));
    require(block.timestamp >= startSaleDate);
    require(checkSoftCapAchieved());
    state = SaleState.END;
    storageContract.changeSupportChangeMainWallet(false);
    emit ChangeState(block.number, state);
  }