mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Add offerID
This commit is contained in:
parent
a6660d04c9
commit
38cc71c6aa
@ -33,6 +33,7 @@ public final class TradeStatistics implements StoragePayload, CapabilityRequirin
|
|||||||
public final double marketPriceMargin;
|
public final double marketPriceMargin;
|
||||||
public final long offerAmount;
|
public final long offerAmount;
|
||||||
public final long offerMinAmount;
|
public final long offerMinAmount;
|
||||||
|
public final String offerId;
|
||||||
public final String depositTxId;
|
public final String depositTxId;
|
||||||
@JsonExclude
|
@JsonExclude
|
||||||
public final PubKeyRing pubKeyRing;
|
public final PubKeyRing pubKeyRing;
|
||||||
@ -46,6 +47,8 @@ public final class TradeStatistics implements StoragePayload, CapabilityRequirin
|
|||||||
this.marketPriceMargin = offer.getMarketPriceMargin();
|
this.marketPriceMargin = offer.getMarketPriceMargin();
|
||||||
this.offerAmount = offer.getAmount().value;
|
this.offerAmount = offer.getAmount().value;
|
||||||
this.offerMinAmount = offer.getMinAmount().value;
|
this.offerMinAmount = offer.getMinAmount().value;
|
||||||
|
this.offerId = offer.getId();
|
||||||
|
|
||||||
this.tradePrice = tradePrice.longValue();
|
this.tradePrice = tradePrice.longValue();
|
||||||
this.tradeAmount = tradeAmount.value;
|
this.tradeAmount = tradeAmount.value;
|
||||||
this.tradeDate = tradeDate.getTime();
|
this.tradeDate = tradeDate.getTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user