22: Add dummy AnchorIdlJupiterPerpsCustodyDecoder.decodeCurrentCumulativeInterestRate() method
This commit is contained in:
+5
@@ -4,6 +4,7 @@ import com.r35157.libs.codec.Base58Codec;
|
|||||||
import com.r35157.libs.codec.impl.ref.Base58CodecImpl;
|
import com.r35157.libs.codec.impl.ref.Base58CodecImpl;
|
||||||
import com.r35157.libs.solana.SolanaAccountInfo;
|
import com.r35157.libs.solana.SolanaAccountInfo;
|
||||||
|
|
||||||
|
import java.math.BigInteger;
|
||||||
import java.util.Base64;
|
import java.util.Base64;
|
||||||
|
|
||||||
class AnchorIdlJupiterPerpsCustodyDecoder {
|
class AnchorIdlJupiterPerpsCustodyDecoder {
|
||||||
@@ -22,6 +23,10 @@ class AnchorIdlJupiterPerpsCustodyDecoder {
|
|||||||
return readPublicKey(data, MINT_OFFSET);
|
return readPublicKey(data, MINT_OFFSET);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BigInteger decodeCurrentCumulativeInterestRate(SolanaAccountInfo custodyAccountInfo) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
private ΩSPLMintAddressΩ readPublicKey(
|
private ΩSPLMintAddressΩ readPublicKey(
|
||||||
byte[] data,
|
byte[] data,
|
||||||
int offset
|
int offset
|
||||||
|
|||||||
Reference in New Issue
Block a user