Compare commits
3 Commits
0.1-test
...
92fc07aebc
| Author | SHA256 | Date | |
|---|---|---|---|
| 92fc07aebc | |||
| fb5cca043e | |||
| 93ddb6b704 |
@@ -0,0 +1,5 @@
|
||||
package com.r35157.libs.codec;
|
||||
|
||||
public interface Base58Codec {
|
||||
String encode(byte[] input);
|
||||
}
|
||||
@@ -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
|
||||
) {
|
||||
}
|
||||
Reference in New Issue
Block a user