diff --git a/desktop/src/main/java/bisq/desktop/main/offer/createoffer/CreateOfferDataModel.java b/desktop/src/main/java/bisq/desktop/main/offer/createoffer/CreateOfferDataModel.java index a01b457cdd..361ee6694c 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/createoffer/CreateOfferDataModel.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/createoffer/CreateOfferDataModel.java @@ -26,22 +26,18 @@ import bisq.desktop.main.offer.MakerFeeProvider; import bisq.desktop.main.offer.MutableOfferDataModel; import bisq.core.account.witness.AccountAgeWitnessService; -import bisq.core.btc.TxFeeEstimationService; import bisq.core.btc.wallet.BsqWalletService; import bisq.core.btc.wallet.BtcWalletService; -import bisq.core.filter.FilterManager; +import bisq.core.offer.CreateOfferService; import bisq.core.offer.OpenOfferManager; import bisq.core.provider.fee.FeeService; import bisq.core.provider.price.PriceFeedService; -import bisq.core.trade.statistics.ReferralIdService; import bisq.core.user.Preferences; import bisq.core.user.User; import bisq.core.util.BSFormatter; import bisq.network.p2p.P2PService; -import bisq.common.crypto.KeyRing; - import com.google.inject.Inject; /** @@ -58,14 +54,10 @@ class CreateOfferDataModel extends MutableOfferDataModel { BsqWalletService bsqWalletService, Preferences preferences, User user, - KeyRing keyRing, P2PService p2PService, PriceFeedService priceFeedService, - FilterManager filterManager, AccountAgeWitnessService accountAgeWitnessService, FeeService feeService, - TxFeeEstimationService txFeeEstimationService, - ReferralIdService referralIdService, BSFormatter btcFormatter, MakerFeeProvider makerFeeProvider, Navigation navigation) { @@ -75,14 +67,10 @@ class CreateOfferDataModel extends MutableOfferDataModel { bsqWalletService, preferences, user, - keyRing, p2PService, priceFeedService, - filterManager, accountAgeWitnessService, feeService, - txFeeEstimationService, - referralIdService, btcFormatter, makerFeeProvider, navigation); diff --git a/desktop/src/main/java/bisq/desktop/main/portfolio/editoffer/EditOfferDataModel.java b/desktop/src/main/java/bisq/desktop/main/portfolio/editoffer/EditOfferDataModel.java index 73fd0f8052..388dd13a9e 100644 --- a/desktop/src/main/java/bisq/desktop/main/portfolio/editoffer/EditOfferDataModel.java +++ b/desktop/src/main/java/bisq/desktop/main/portfolio/editoffer/EditOfferDataModel.java @@ -23,13 +23,12 @@ import bisq.desktop.main.offer.MakerFeeProvider; import bisq.desktop.main.offer.MutableOfferDataModel; import bisq.core.account.witness.AccountAgeWitnessService; -import bisq.core.btc.TxFeeEstimationService; import bisq.core.btc.wallet.BsqWalletService; import bisq.core.btc.wallet.BtcWalletService; import bisq.core.btc.wallet.Restrictions; -import bisq.core.filter.FilterManager; import bisq.core.locale.CurrencyUtil; import bisq.core.locale.TradeCurrency; +import bisq.core.offer.CreateOfferService; import bisq.core.offer.Offer; import bisq.core.offer.OfferPayload; import bisq.core.offer.OpenOffer; @@ -38,7 +37,6 @@ import bisq.core.payment.PaymentAccount; import bisq.core.proto.persistable.CorePersistenceProtoResolver; import bisq.core.provider.fee.FeeService; import bisq.core.provider.price.PriceFeedService; -import bisq.core.trade.statistics.ReferralIdService; import bisq.core.user.Preferences; import bisq.core.user.User; import bisq.core.util.BSFormatter; @@ -46,7 +44,6 @@ import bisq.core.util.CoinUtil; import bisq.network.p2p.P2PService; -import bisq.common.crypto.KeyRing; import bisq.common.handlers.ErrorMessageHandler; import bisq.common.handlers.ResultHandler; @@ -67,14 +64,10 @@ class EditOfferDataModel extends MutableOfferDataModel { BsqWalletService bsqWalletService, Preferences preferences, User user, - KeyRing keyRing, P2PService p2PService, PriceFeedService priceFeedService, - FilterManager filterManager, AccountAgeWitnessService accountAgeWitnessService, FeeService feeService, - TxFeeEstimationService txFeeEstimationService, - ReferralIdService referralIdService, BSFormatter btcFormatter, CorePersistenceProtoResolver corePersistenceProtoResolver, MakerFeeProvider makerFeeProvider, @@ -85,14 +78,10 @@ class EditOfferDataModel extends MutableOfferDataModel { bsqWalletService, preferences, user, - keyRing, p2PService, priceFeedService, - filterManager, accountAgeWitnessService, feeService, - txFeeEstimationService, - referralIdService, btcFormatter, makerFeeProvider, navigation);