21: Add sizeUsd to JupiterPerpsPosition
This commit is contained in:
+3
@@ -47,11 +47,14 @@ class AnchorIdlJupiterPerpsPositionDecoder {
|
||||
.valueOf(rawCollateralUsd)
|
||||
.movePointLeft(6);
|
||||
|
||||
ΩUSDCAmountΩ sizeUsd = BigDecimal.ZERO;
|
||||
|
||||
JupiterPerpsPosition pos = new JupiterPerpsPosition(
|
||||
positionAccount,
|
||||
entryPrice,
|
||||
direction,
|
||||
tradedTokenMint,
|
||||
sizeUsd,
|
||||
collateralUsd
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user