X: Move JupiterPerpsPosition to API from implementation

This commit is contained in:
2026-06-26 18:08:26 +02:00
parent 760ba0e823
commit c8ca946fcc
@@ -1,22 +0,0 @@
package com.r35157.libs.jupiter.perps;
import java.math.BigDecimal;
/**
* Represents a Jupiter Perps position.
*
* <p>A Jupiter Perps position is represented on-chain by a Solana account owned by
* the Jupiter Perps program. This record contains the public API view of such a
* position.</p>
*
* <p>The initial version of this API only exposes the position account and the entry
* price. More position fields may be added later as the Jupiter Perps API matures.</p>
*
* @param positionAccount the Solana account address of the Jupiter Perps position
* @param entryPrice the entry price of the position, denominated in USDC
*/
public record JupiterPerpsPosition(
ΩJupiterPerpsPositionAccountΩ positionAccount,
ΩUSDCPriceΩ entryPrice
) {
}