mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 18:56:59 +01:00
Move OfferDirection from bisq.core.offer.bisq_v1 to bisq.core.offer
This commit is contained in:
parent
19aabba12c
commit
1c0b52cd31
44 changed files with 42 additions and 42 deletions
|
@ -23,8 +23,8 @@ import bisq.core.filter.FilterManager;
|
||||||
import bisq.core.locale.CurrencyUtil;
|
import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferRestrictions;
|
import bisq.core.offer.OfferRestrictions;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.AssetAccount;
|
import bisq.core.payment.AssetAccount;
|
||||||
import bisq.core.payment.ChargeBackRisk;
|
import bisq.core.payment.ChargeBackRisk;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
|
|
|
@ -21,13 +21,13 @@ import bisq.core.monetary.Altcoin;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.OfferBookService;
|
import bisq.core.offer.OfferBookService;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferFilterService;
|
import bisq.core.offer.OfferFilterService;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.offer.bisq_v1.CreateOfferService;
|
import bisq.core.offer.bisq_v1.CreateOfferService;
|
||||||
import bisq.core.offer.bisq_v1.MutableOfferPayloadFields;
|
import bisq.core.offer.bisq_v1.MutableOfferPayloadFields;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
|
@ -58,9 +58,9 @@ import static bisq.common.util.MathUtils.roundDoubleToLong;
|
||||||
import static bisq.common.util.MathUtils.scaleUpByPowerOf10;
|
import static bisq.common.util.MathUtils.scaleUpByPowerOf10;
|
||||||
import static bisq.core.locale.CurrencyUtil.isCryptoCurrency;
|
import static bisq.core.locale.CurrencyUtil.isCryptoCurrency;
|
||||||
import static bisq.core.offer.Offer.State;
|
import static bisq.core.offer.Offer.State;
|
||||||
|
import static bisq.core.offer.OfferDirection.BUY;
|
||||||
import static bisq.core.offer.OpenOffer.State.AVAILABLE;
|
import static bisq.core.offer.OpenOffer.State.AVAILABLE;
|
||||||
import static bisq.core.offer.OpenOffer.State.DEACTIVATED;
|
import static bisq.core.offer.OpenOffer.State.DEACTIVATED;
|
||||||
import static bisq.core.offer.bisq_v1.OfferDirection.BUY;
|
|
||||||
import static bisq.core.payment.PaymentAccountUtil.isPaymentAccountValidForOffer;
|
import static bisq.core.payment.PaymentAccountUtil.isPaymentAccountValidForOffer;
|
||||||
import static bisq.proto.grpc.EditOfferRequest.EditType;
|
import static bisq.proto.grpc.EditOfferRequest.EditType;
|
||||||
import static bisq.proto.grpc.EditOfferRequest.EditType.*;
|
import static bisq.proto.grpc.EditOfferRequest.EditType.*;
|
||||||
|
|
|
@ -26,7 +26,7 @@ import bisq.core.notifications.MobileMessageType;
|
||||||
import bisq.core.notifications.MobileNotificationService;
|
import bisq.core.notifications.MobileNotificationService;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.OfferBookService;
|
import bisq.core.offer.OfferBookService;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.provider.price.MarketPrice;
|
import bisq.core.provider.price.MarketPrice;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.user.User;
|
import bisq.core.user.User;
|
||||||
|
|
|
@ -25,7 +25,6 @@ import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.availability.OfferAvailabilityModel;
|
import bisq.core.offer.availability.OfferAvailabilityModel;
|
||||||
import bisq.core.offer.availability.OfferAvailabilityProtocol;
|
import bisq.core.offer.availability.OfferAvailabilityProtocol;
|
||||||
import bisq.core.offer.bisq_v1.MarketPriceNotAvailableException;
|
import bisq.core.offer.bisq_v1.MarketPriceNotAvailableException;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
import bisq.core.provider.price.MarketPrice;
|
import bisq.core.provider.price.MarketPrice;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package bisq.core.offer.bisq_v1;
|
package bisq.core.offer;
|
||||||
|
|
||||||
import bisq.common.proto.ProtoUtil;
|
import bisq.common.proto.ProtoUtil;
|
||||||
|
|
|
@ -21,7 +21,6 @@ import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
|
|
||||||
import bisq.common.util.MathUtils;
|
import bisq.common.util.MathUtils;
|
||||||
|
|
|
@ -26,7 +26,6 @@ import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.bisq_v1.MutableOfferPayloadFields;
|
import bisq.core.offer.bisq_v1.MutableOfferPayloadFields;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
import bisq.core.payment.CashByMailAccount;
|
import bisq.core.payment.CashByMailAccount;
|
||||||
import bisq.core.payment.F2FAccount;
|
import bisq.core.payment.F2FAccount;
|
||||||
|
|
|
@ -24,6 +24,7 @@ import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.PaymentAccountUtil;
|
import bisq.core.payment.PaymentAccountUtil;
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
package bisq.core.offer.bisq_v1;
|
package bisq.core.offer.bisq_v1;
|
||||||
|
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
|
|
||||||
import bisq.network.p2p.NodeAddress;
|
import bisq.network.p2p.NodeAddress;
|
||||||
import bisq.network.p2p.storage.payload.ExpirablePayload;
|
import bisq.network.p2p.storage.payload.ExpirablePayload;
|
||||||
import bisq.network.p2p.storage.payload.ProtectedStoragePayload;
|
import bisq.network.p2p.storage.payload.ProtectedStoragePayload;
|
||||||
|
|
|
@ -46,7 +46,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import static bisq.core.btc.model.AddressEntry.Context.OFFER_FUNDING;
|
import static bisq.core.btc.model.AddressEntry.Context.OFFER_FUNDING;
|
||||||
import static bisq.core.offer.bisq_v1.OfferDirection.SELL;
|
import static bisq.core.offer.OfferDirection.SELL;
|
||||||
import static bisq.core.util.VolumeUtil.getAdjustedVolumeForHalCash;
|
import static bisq.core.util.VolumeUtil.getAdjustedVolumeForHalCash;
|
||||||
import static bisq.core.util.VolumeUtil.getRoundedFiatVolume;
|
import static bisq.core.util.VolumeUtil.getRoundedFiatVolume;
|
||||||
import static bisq.core.util.coin.CoinUtil.minCoin;
|
import static bisq.core.util.coin.CoinUtil.minCoin;
|
||||||
|
|
|
@ -21,6 +21,7 @@ import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.monetary.Altcoin;
|
import bisq.core.monetary.Altcoin;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.provider.mempool.MempoolService;
|
import bisq.core.provider.mempool.MempoolService;
|
||||||
|
|
|
@ -19,9 +19,9 @@ package bisq.core.proto;
|
||||||
|
|
||||||
import bisq.core.btc.model.AddressEntry;
|
import bisq.core.btc.model.AddressEntry;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.availability.AvailabilityResult;
|
import bisq.core.offer.availability.AvailabilityResult;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.support.dispute.DisputeResult;
|
import bisq.core.support.dispute.DisputeResult;
|
||||||
import bisq.core.trade.model.bisq_v1.Trade;
|
import bisq.core.trade.model.bisq_v1.Trade;
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,10 @@ import bisq.core.btc.wallet.BsqWalletService;
|
||||||
import bisq.core.btc.wallet.BtcWalletService;
|
import bisq.core.btc.wallet.BtcWalletService;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.offer.availability.OfferAvailabilityModel;
|
import bisq.core.offer.availability.OfferAvailabilityModel;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
||||||
import bisq.core.support.dispute.mediation.mediator.MediatorManager;
|
import bisq.core.support.dispute.mediation.mediator.MediatorManager;
|
||||||
|
|
|
@ -22,7 +22,7 @@ import bisq.core.monetary.AltcoinExchangeRate;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
import bisq.core.trade.model.bisq_v1.Trade;
|
import bisq.core.trade.model.bisq_v1.Trade;
|
||||||
import bisq.core.util.VolumeUtil;
|
import bisq.core.util.VolumeUtil;
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
package bisq.core.offer;
|
package bisq.core.offer;
|
||||||
|
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
|
|
||||||
import com.natpryce.makeiteasy.Instantiator;
|
import com.natpryce.makeiteasy.Instantiator;
|
||||||
|
|
|
@ -34,7 +34,7 @@ import bisq.core.locale.FiatCurrency;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.locale.TradeCurrency;
|
import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.payment.AssetAccount;
|
import bisq.core.payment.AssetAccount;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
|
|
|
@ -26,7 +26,7 @@ import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Altcoin;
|
import bisq.core.monetary.Altcoin;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.provider.price.MarketPrice;
|
import bisq.core.provider.price.MarketPrice;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.trade.statistics.TradeStatisticsManager;
|
import bisq.core.trade.statistics.TradeStatisticsManager;
|
||||||
|
|
|
@ -37,7 +37,7 @@ import bisq.desktop.util.GUIUtil;
|
||||||
import bisq.core.locale.CurrencyUtil;
|
import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.util.FormattingUtils;
|
import bisq.core.util.FormattingUtils;
|
||||||
import bisq.core.util.VolumeUtil;
|
import bisq.core.util.VolumeUtil;
|
||||||
import bisq.core.util.coin.CoinFormatter;
|
import bisq.core.util.coin.CoinFormatter;
|
||||||
|
|
|
@ -35,7 +35,7 @@ import bisq.core.locale.GlobalSettings;
|
||||||
import bisq.core.locale.TradeCurrency;
|
import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.user.Preferences;
|
import bisq.core.user.Preferences;
|
||||||
import bisq.core.util.VolumeUtil;
|
import bisq.core.util.VolumeUtil;
|
||||||
|
|
|
@ -27,7 +27,7 @@ import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Altcoin;
|
import bisq.core.monetary.Altcoin;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.provider.price.MarketPrice;
|
import bisq.core.provider.price.MarketPrice;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.util.FormattingUtils;
|
import bisq.core.util.FormattingUtils;
|
||||||
|
|
|
@ -21,7 +21,7 @@ import bisq.desktop.Navigation;
|
||||||
import bisq.desktop.common.view.FxmlView;
|
import bisq.desktop.common.view.FxmlView;
|
||||||
import bisq.desktop.common.view.ViewLoader;
|
import bisq.desktop.common.view.ViewLoader;
|
||||||
|
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
||||||
import bisq.core.user.Preferences;
|
import bisq.core.user.Preferences;
|
||||||
import bisq.core.user.User;
|
import bisq.core.user.User;
|
||||||
|
|
|
@ -34,7 +34,7 @@ import bisq.core.locale.LanguageUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.locale.TradeCurrency;
|
import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
||||||
import bisq.core.user.Preferences;
|
import bisq.core.user.Preferences;
|
||||||
import bisq.core.user.User;
|
import bisq.core.user.User;
|
||||||
|
|
|
@ -21,7 +21,7 @@ import bisq.desktop.Navigation;
|
||||||
import bisq.desktop.common.view.FxmlView;
|
import bisq.desktop.common.view.FxmlView;
|
||||||
import bisq.desktop.common.view.ViewLoader;
|
import bisq.desktop.common.view.ViewLoader;
|
||||||
|
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
||||||
import bisq.core.user.Preferences;
|
import bisq.core.user.Preferences;
|
||||||
import bisq.core.user.User;
|
import bisq.core.user.User;
|
||||||
|
|
|
@ -34,10 +34,10 @@ import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.offer.bisq_v1.CreateOfferService;
|
import bisq.core.offer.bisq_v1.CreateOfferService;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.provider.fee.FeeService;
|
import bisq.core.provider.fee.FeeService;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
|
|
|
@ -49,7 +49,7 @@ import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.locale.TradeCurrency;
|
import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.payment.FasterPaymentsAccount;
|
import bisq.core.payment.FasterPaymentsAccount;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
|
|
|
@ -45,9 +45,9 @@ import bisq.core.monetary.Altcoin;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferRestrictions;
|
import bisq.core.offer.OfferRestrictions;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
import bisq.core.provider.fee.FeeService;
|
import bisq.core.provider.fee.FeeService;
|
||||||
|
|
|
@ -36,8 +36,8 @@ import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.PaymentAccountUtil;
|
import bisq.core.payment.PaymentAccountUtil;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
|
|
|
@ -52,7 +52,7 @@ import bisq.desktop.util.Transitions;
|
||||||
import bisq.core.locale.CurrencyUtil;
|
import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.payment.FasterPaymentsAccount;
|
import bisq.core.payment.FasterPaymentsAccount;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
|
|
|
@ -35,9 +35,9 @@ import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferRestrictions;
|
import bisq.core.offer.OfferRestrictions;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
import bisq.core.provider.fee.FeeService;
|
import bisq.core.provider.fee.FeeService;
|
||||||
|
|
|
@ -39,7 +39,7 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
import static bisq.core.offer.bisq_v1.OfferDirection.BUY;
|
import static bisq.core.offer.OfferDirection.BUY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds and manages the unsorted and unfiltered offerbook list (except for banned offers) of both buy and sell offers.
|
* Holds and manages the unsorted and unfiltered offerbook list (except for banned offers) of both buy and sell offers.
|
||||||
|
|
|
@ -53,9 +53,9 @@ import bisq.core.locale.Res;
|
||||||
import bisq.core.locale.TradeCurrency;
|
import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferFilterService;
|
import bisq.core.offer.OfferFilterService;
|
||||||
import bisq.core.offer.OfferRestrictions;
|
import bisq.core.offer.OfferRestrictions;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
import bisq.core.user.DontShowAgainLookup;
|
import bisq.core.user.DontShowAgainLookup;
|
||||||
|
|
|
@ -38,9 +38,9 @@ import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferFilterService;
|
import bisq.core.offer.OfferFilterService;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.PaymentAccountUtil;
|
import bisq.core.payment.PaymentAccountUtil;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
|
|
|
@ -32,8 +32,8 @@ import bisq.core.locale.CountryUtil;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
import bisq.core.user.User;
|
import bisq.core.user.User;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import bisq.desktop.main.PriceUtil;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.provider.price.MarketPrice;
|
import bisq.core.provider.price.MarketPrice;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.trade.bisq_v1.ClosedTradableManager;
|
import bisq.core.trade.bisq_v1.ClosedTradableManager;
|
||||||
|
|
|
@ -28,12 +28,12 @@ import bisq.core.btc.wallet.Restrictions;
|
||||||
import bisq.core.locale.CurrencyUtil;
|
import bisq.core.locale.CurrencyUtil;
|
||||||
import bisq.core.locale.TradeCurrency;
|
import bisq.core.locale.TradeCurrency;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.offer.bisq_v1.CreateOfferService;
|
import bisq.core.offer.bisq_v1.CreateOfferService;
|
||||||
import bisq.core.offer.bisq_v1.MutableOfferPayloadFields;
|
import bisq.core.offer.bisq_v1.MutableOfferPayloadFields;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.proto.persistable.CorePersistenceProtoResolver;
|
import bisq.core.proto.persistable.CorePersistenceProtoResolver;
|
||||||
|
|
|
@ -20,7 +20,7 @@ package bisq.desktop.main.portfolio.failedtrades;
|
||||||
import bisq.desktop.common.model.ActivatableDataModel;
|
import bisq.desktop.common.model.ActivatableDataModel;
|
||||||
|
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.trade.TradeManager;
|
import bisq.core.trade.TradeManager;
|
||||||
import bisq.core.trade.bisq_v1.FailedTradesManager;
|
import bisq.core.trade.bisq_v1.FailedTradesManager;
|
||||||
import bisq.core.trade.model.bisq_v1.Trade;
|
import bisq.core.trade.model.bisq_v1.Trade;
|
||||||
|
|
|
@ -20,9 +20,9 @@ package bisq.desktop.main.portfolio.openoffer;
|
||||||
import bisq.desktop.common.model.ActivatableDataModel;
|
import bisq.desktop.common.model.ActivatableDataModel;
|
||||||
|
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.OpenOfferManager;
|
import bisq.core.offer.OpenOfferManager;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.offer.bisq_v1.TriggerPriceService;
|
import bisq.core.offer.bisq_v1.TriggerPriceService;
|
||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,8 @@ import bisq.core.btc.wallet.BtcWalletService;
|
||||||
import bisq.core.dao.DaoFacade;
|
import bisq.core.dao.DaoFacade;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.payload.PaymentAccountPayload;
|
import bisq.core.payment.payload.PaymentAccountPayload;
|
||||||
import bisq.core.support.SupportType;
|
import bisq.core.support.SupportType;
|
||||||
import bisq.core.support.dispute.Dispute;
|
import bisq.core.support.dispute.Dispute;
|
||||||
|
|
|
@ -6,7 +6,7 @@ import bisq.core.locale.Res;
|
||||||
import bisq.core.monetary.Price;
|
import bisq.core.monetary.Price;
|
||||||
import bisq.core.monetary.Volume;
|
import bisq.core.monetary.Volume;
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.util.FormattingUtils;
|
import bisq.core.util.FormattingUtils;
|
||||||
import bisq.core.util.ParsingUtils;
|
import bisq.core.util.ParsingUtils;
|
||||||
import bisq.core.util.VolumeUtil;
|
import bisq.core.util.VolumeUtil;
|
||||||
|
|
|
@ -7,9 +7,9 @@ import bisq.core.locale.CryptoCurrency;
|
||||||
import bisq.core.locale.FiatCurrency;
|
import bisq.core.locale.FiatCurrency;
|
||||||
import bisq.core.locale.GlobalSettings;
|
import bisq.core.locale.GlobalSettings;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.CreateOfferService;
|
import bisq.core.offer.bisq_v1.CreateOfferService;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.ClearXchangeAccount;
|
import bisq.core.payment.ClearXchangeAccount;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.RevolutAccount;
|
import bisq.core.payment.RevolutAccount;
|
||||||
|
|
|
@ -30,9 +30,9 @@ import bisq.core.locale.Country;
|
||||||
import bisq.core.locale.CryptoCurrency;
|
import bisq.core.locale.CryptoCurrency;
|
||||||
import bisq.core.locale.GlobalSettings;
|
import bisq.core.locale.GlobalSettings;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.bisq_v1.CreateOfferService;
|
import bisq.core.offer.bisq_v1.CreateOfferService;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.payment.payload.PaymentMethod;
|
import bisq.core.payment.payload.PaymentMethod;
|
||||||
import bisq.core.provider.fee.FeeService;
|
import bisq.core.provider.fee.FeeService;
|
||||||
|
|
|
@ -19,7 +19,7 @@ package bisq.desktop.main.offer.offerbook;
|
||||||
|
|
||||||
import bisq.desktop.maker.OfferMaker;
|
import bisq.desktop.maker.OfferMaker;
|
||||||
|
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
|
|
||||||
import com.natpryce.makeiteasy.Instantiator;
|
import com.natpryce.makeiteasy.Instantiator;
|
||||||
import com.natpryce.makeiteasy.MakeItEasy;
|
import com.natpryce.makeiteasy.MakeItEasy;
|
||||||
|
|
|
@ -10,10 +10,10 @@ import bisq.core.locale.Country;
|
||||||
import bisq.core.locale.CryptoCurrency;
|
import bisq.core.locale.CryptoCurrency;
|
||||||
import bisq.core.locale.GlobalSettings;
|
import bisq.core.locale.GlobalSettings;
|
||||||
import bisq.core.locale.Res;
|
import bisq.core.locale.Res;
|
||||||
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.OfferUtil;
|
import bisq.core.offer.OfferUtil;
|
||||||
import bisq.core.offer.OpenOffer;
|
import bisq.core.offer.OpenOffer;
|
||||||
import bisq.core.offer.bisq_v1.CreateOfferService;
|
import bisq.core.offer.bisq_v1.CreateOfferService;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
|
||||||
import bisq.core.payment.CryptoCurrencyAccount;
|
import bisq.core.payment.CryptoCurrencyAccount;
|
||||||
import bisq.core.payment.PaymentAccount;
|
import bisq.core.payment.PaymentAccount;
|
||||||
import bisq.core.provider.fee.FeeService;
|
import bisq.core.provider.fee.FeeService;
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
package bisq.desktop.maker;
|
package bisq.desktop.maker;
|
||||||
|
|
||||||
import bisq.core.offer.Offer;
|
import bisq.core.offer.Offer;
|
||||||
import bisq.core.offer.bisq_v1.OfferDirection;
|
import bisq.core.offer.OfferDirection;
|
||||||
import bisq.core.offer.bisq_v1.OfferPayload;
|
import bisq.core.offer.bisq_v1.OfferPayload;
|
||||||
|
|
||||||
import bisq.network.p2p.NodeAddress;
|
import bisq.network.p2p.NodeAddress;
|
||||||
|
|
Loading…
Add table
Reference in a new issue