flash-sdk 10.5.0 → 10.6.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
- /// <reference types="bn.js" />
2
1
  import { BN } from "@coral-xyz/anchor";
3
2
  import { ContractOraclePrice } from "./types";
4
3
  export declare class OraclePrice {
@@ -1,4 +1,3 @@
1
- /// <reference types="bn.js" />
2
1
  import { BN } from "@coral-xyz/anchor";
3
2
  import { PublicKey } from "@solana/web3.js";
4
3
  import { LimitOrder, Order, TriggerOrder } from "./types";
@@ -1,5 +1,3 @@
1
- /// <reference types="bn.js" />
2
- /// <reference types="node" />
3
1
  import { Program, AnchorProvider, BN } from "@coral-xyz/anchor";
4
2
  import { PublicKey, TransactionInstruction, Commitment, Signer, AddressLookupTableAccount, VersionedTransaction } from "@solana/web3.js";
5
3
  import { PoolAccount } from "./PoolAccount";
@@ -4723,14 +4721,6 @@ export declare class PerpetualsClient {
4723
4721
  instructions: TransactionInstruction[];
4724
4722
  additionalSigners: Signer[];
4725
4723
  }>;
4726
- updateNftAccount: (nftMint: PublicKey, updateReferer: boolean, updateBooster: boolean, flpStakeAccounts: PublicKey[]) => Promise<{
4727
- instructions: TransactionInstruction[];
4728
- additionalSigners: Signer[];
4729
- }>;
4730
- levelUp: (poolConfig: PoolConfig, nftMint: PublicKey, authorizationRulesAccount: PublicKey) => Promise<{
4731
- instructions: TransactionInstruction[];
4732
- additionalSigners: Signer[];
4733
- }>;
4734
4724
  depositStake: (owner: PublicKey, feePayer: PublicKey, depositAmount: BN, poolConfig: PoolConfig) => Promise<{
4735
4725
  instructions: TransactionInstruction[];
4736
4726
  additionalSigners: Signer[];
@@ -4774,14 +4764,6 @@ export declare class PerpetualsClient {
4774
4764
  instructions: TransactionInstruction[];
4775
4765
  additionalSigners: Signer[];
4776
4766
  }>;
4777
- burnAndClaim: (owner: PublicKey, nftMint: PublicKey, poolConfig: PoolConfig, createAta: boolean) => Promise<{
4778
- instructions: TransactionInstruction[];
4779
- additionalSigners: Signer[];
4780
- }>;
4781
- burnAndStake: (owner: PublicKey, feePayer: PublicKey, nftMint: PublicKey, poolConfig: PoolConfig) => Promise<{
4782
- instructions: TransactionInstruction[];
4783
- additionalSigners: Signer[];
4784
- }>;
4785
4767
  depositTokenStake: (owner: PublicKey, feePayer: PublicKey, depositAmount: BN, poolConfig: PoolConfig) => Promise<{
4786
4768
  instructions: TransactionInstruction[];
4787
4769
  additionalSigners: Signer[];
@@ -4943,6 +4925,10 @@ export declare class PerpetualsClient {
4943
4925
  instructions: TransactionInstruction[];
4944
4926
  additionalSigners: Signer[];
4945
4927
  }>;
4928
+ withdrawUnclaimedTokens: (poolConfig: PoolConfig) => Promise<{
4929
+ instructions: TransactionInstruction[];
4930
+ additionalSigners: Signer[];
4931
+ }>;
4946
4932
  initRevenueTokenAccount: (feeShareBps: BN, rewardSymbol: string, poolConfig: PoolConfig) => Promise<{
4947
4933
  instructions: TransactionInstruction[];
4948
4934
  additionalSigners: Signer[];