mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Add offerID
This commit is contained in:
parent
a6660d04c9
commit
38cc71c6aa
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ public final class TradeStatistics implements StoragePayload, CapabilityRequirin
|
|||
public final double marketPriceMargin;
|
||||
public final long offerAmount;
|
||||
public final long offerMinAmount;
|
||||
public final String offerId;
|
||||
public final String depositTxId;
|
||||
@JsonExclude
|
||||
public final PubKeyRing pubKeyRing;
|
||||
|
@ -46,6 +47,8 @@ public final class TradeStatistics implements StoragePayload, CapabilityRequirin
|
|||
this.marketPriceMargin = offer.getMarketPriceMargin();
|
||||
this.offerAmount = offer.getAmount().value;
|
||||
this.offerMinAmount = offer.getMinAmount().value;
|
||||
this.offerId = offer.getId();
|
||||
|
||||
this.tradePrice = tradePrice.longValue();
|
||||
this.tradeAmount = tradeAmount.value;
|
||||
this.tradeDate = tradeDate.getTime();
|
||||
|
|
Loading…
Add table
Reference in a new issue