flash-sdk 10.6.1 → 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.
- package/dist/PerpetualsClient.d.ts +4 -16
 - package/dist/PerpetualsClient.js +271 -470
 - package/dist/idl/perpetuals.d.ts +72 -505
 - package/dist/idl/perpetuals.js +72 -505
 - package/dist/tsconfig.tsbuildinfo +1 -1
 - package/dist/types/index.d.ts +0 -2
 - package/package.json +1 -1
 
| 
         @@ -4723,14 +4723,6 @@ export declare class PerpetualsClient { 
     | 
|
| 
       4723 
4723 
     | 
    
         
             
                    instructions: TransactionInstruction[];
         
     | 
| 
       4724 
4724 
     | 
    
         
             
                    additionalSigners: Signer[];
         
     | 
| 
       4725 
4725 
     | 
    
         
             
                }>;
         
     | 
| 
       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 
4726 
     | 
    
         
             
                depositStake: (owner: PublicKey, feePayer: PublicKey, depositAmount: BN, poolConfig: PoolConfig) => Promise<{
         
     | 
| 
       4735 
4727 
     | 
    
         
             
                    instructions: TransactionInstruction[];
         
     | 
| 
       4736 
4728 
     | 
    
         
             
                    additionalSigners: Signer[];
         
     | 
| 
         @@ -4774,14 +4766,6 @@ export declare class PerpetualsClient { 
     | 
|
| 
       4774 
4766 
     | 
    
         
             
                    instructions: TransactionInstruction[];
         
     | 
| 
       4775 
4767 
     | 
    
         
             
                    additionalSigners: Signer[];
         
     | 
| 
       4776 
4768 
     | 
    
         
             
                }>;
         
     | 
| 
       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 
4769 
     | 
    
         
             
                depositTokenStake: (owner: PublicKey, feePayer: PublicKey, depositAmount: BN, poolConfig: PoolConfig) => Promise<{
         
     | 
| 
       4786 
4770 
     | 
    
         
             
                    instructions: TransactionInstruction[];
         
     | 
| 
       4787 
4771 
     | 
    
         
             
                    additionalSigners: Signer[];
         
     | 
| 
         @@ -4943,6 +4927,10 @@ export declare class PerpetualsClient { 
     | 
|
| 
       4943 
4927 
     | 
    
         
             
                    instructions: TransactionInstruction[];
         
     | 
| 
       4944 
4928 
     | 
    
         
             
                    additionalSigners: Signer[];
         
     | 
| 
       4945 
4929 
     | 
    
         
             
                }>;
         
     | 
| 
      
 4930 
     | 
    
         
            +
                withdrawUnclaimedTokens: (poolConfig: PoolConfig) => Promise<{
         
     | 
| 
      
 4931 
     | 
    
         
            +
                    instructions: TransactionInstruction[];
         
     | 
| 
      
 4932 
     | 
    
         
            +
                    additionalSigners: Signer[];
         
     | 
| 
      
 4933 
     | 
    
         
            +
                }>;
         
     | 
| 
       4946 
4934 
     | 
    
         
             
                initRevenueTokenAccount: (feeShareBps: BN, rewardSymbol: string, poolConfig: PoolConfig) => Promise<{
         
     | 
| 
       4947 
4935 
     | 
    
         
             
                    instructions: TransactionInstruction[];
         
     | 
| 
       4948 
4936 
     | 
    
         
             
                    additionalSigners: Signer[];
         
     |