flash-sdk 10.6.0 → 10.6.2

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,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { ContractOraclePrice } from "./types";
3
4
  export declare class OraclePrice {
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { LimitOrder, Order, TriggerOrder } from "./types";
@@ -1,3 +1,5 @@
1
+ /// <reference types="bn.js" />
2
+ /// <reference types="node" />
1
3
  import { Program, AnchorProvider, BN } from "@coral-xyz/anchor";
2
4
  import { PublicKey, TransactionInstruction, Commitment, Signer, AddressLookupTableAccount, VersionedTransaction } from "@solana/web3.js";
3
5
  import { PoolAccount } from "./PoolAccount";
@@ -4721,14 +4723,6 @@ export declare class PerpetualsClient {
4721
4723
  instructions: TransactionInstruction[];
4722
4724
  additionalSigners: Signer[];
4723
4725
  }>;
4724
- updateNftAccount: (nftMint: PublicKey, updateReferer: boolean, updateBooster: boolean, flpStakeAccounts: PublicKey[]) => Promise<{
4725
- instructions: TransactionInstruction[];
4726
- additionalSigners: Signer[];
4727
- }>;
4728
- levelUp: (poolConfig: PoolConfig, nftMint: PublicKey, authorizationRulesAccount: PublicKey) => Promise<{
4729
- instructions: TransactionInstruction[];
4730
- additionalSigners: Signer[];
4731
- }>;
4732
4726
  depositStake: (owner: PublicKey, feePayer: PublicKey, depositAmount: BN, poolConfig: PoolConfig) => Promise<{
4733
4727
  instructions: TransactionInstruction[];
4734
4728
  additionalSigners: Signer[];
@@ -4772,14 +4766,6 @@ export declare class PerpetualsClient {
4772
4766
  instructions: TransactionInstruction[];
4773
4767
  additionalSigners: Signer[];
4774
4768
  }>;
4775
- burnAndClaim: (owner: PublicKey, nftMint: PublicKey, poolConfig: PoolConfig, createAta: boolean) => Promise<{
4776
- instructions: TransactionInstruction[];
4777
- additionalSigners: Signer[];
4778
- }>;
4779
- burnAndStake: (owner: PublicKey, feePayer: PublicKey, nftMint: PublicKey, poolConfig: PoolConfig) => Promise<{
4780
- instructions: TransactionInstruction[];
4781
- additionalSigners: Signer[];
4782
- }>;
4783
4769
  depositTokenStake: (owner: PublicKey, feePayer: PublicKey, depositAmount: BN, poolConfig: PoolConfig) => Promise<{
4784
4770
  instructions: TransactionInstruction[];
4785
4771
  additionalSigners: Signer[];
@@ -4941,6 +4927,10 @@ export declare class PerpetualsClient {
4941
4927
  instructions: TransactionInstruction[];
4942
4928
  additionalSigners: Signer[];
4943
4929
  }>;
4930
+ withdrawUnclaimedTokens: (poolConfig: PoolConfig) => Promise<{
4931
+ instructions: TransactionInstruction[];
4932
+ additionalSigners: Signer[];
4933
+ }>;
4944
4934
  initRevenueTokenAccount: (feeShareBps: BN, rewardSymbol: string, poolConfig: PoolConfig) => Promise<{
4945
4935
  instructions: TransactionInstruction[];
4946
4936
  additionalSigners: Signer[];