19: Add 'collateralUsd' to JupiterPerpsPosition

This commit is contained in:
2026-06-29 13:46:29 +02:00
parent 86171c9440
commit 8de6dc259e
@@ -15,7 +15,7 @@ import java.math.BigDecimal;
* @param tradedTokenMint the mint address of the token being traded * @param tradedTokenMint the mint address of the token being traded
* @param collateralUsd the amount of USD representing the collateral for this position * @param collateralUsd the amount of USD representing the collateral for this position
*/ */
public record JupiterPerpsPosition( public record JupiterPerpsPositiono(
ΩJupiterPerpsPositionAccountΩ positionAccount, ΩJupiterPerpsPositionAccountΩ positionAccount,
ΩUSDCPriceΩ entryPrice, ΩUSDCPriceΩ entryPrice,
JupiterPerpsPositionDirection direction, JupiterPerpsPositionDirection direction,