From 93ddb6b7046d93f17ccd994712439e9a74042d00a2d777036db0443f883cd4fd Mon Sep 17 00:00:00 2001 From: Minimons Date: Fri, 26 Jun 2026 19:20:07 +0200 Subject: [PATCH] 17 - Add mint address field in JupiterPerpsPosition --- .../com/r35157/libs/jupiter/perps/JupiterPerpsPosition.tjava | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/tjava/com/r35157/libs/jupiter/perps/JupiterPerpsPosition.tjava b/src/main/tjava/com/r35157/libs/jupiter/perps/JupiterPerpsPosition.tjava index 81a863d..00bceac 100644 --- a/src/main/tjava/com/r35157/libs/jupiter/perps/JupiterPerpsPosition.tjava +++ b/src/main/tjava/com/r35157/libs/jupiter/perps/JupiterPerpsPosition.tjava @@ -12,10 +12,12 @@ import java.math.BigDecimal; * @param positionAccount the Solana account address of the Jupiter Perps position * @param entryPrice the entry price of the position, denominated in USDC * @param direction whether the position is long or short + * @param tradedTokenMint the mint address of the token being traded */ public record JupiterPerpsPosition( ΩJupiterPerpsPositionAccountΩ positionAccount, ΩUSDCPriceΩ entryPrice, - JupiterPerpsPositionDirection direction + JupiterPerpsPositionDirection direction, + ΩSPLMintAddressΩ tradedTokenMint ) { } \ No newline at end of file