From 214bb2ceeb38a42c8ddbf51754bc669b5f8430504251f13d2e863e3fa797bbeb 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