flash-sdk 2.52.1 → 2.52.3
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 +8 -8
- package/dist/PerpetualsClient.js +691 -691
- package/dist/PoolConfig.json +16 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -4553,14 +4553,6 @@ export declare class PerpetualsClient {
|
|
4553
4553
|
instructions: TransactionInstruction[];
|
4554
4554
|
additionalSigners: Signer[];
|
4555
4555
|
}>;
|
4556
|
-
swap: (userInputTokenSymbol: string, userOutputTokenSymbol: string, amountIn: BN, minAmountOut: BN, poolConfig: PoolConfig, useFeesPool?: boolean, createUserATA?: boolean, unWrapSol?: boolean, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any) => Promise<{
|
4557
|
-
instructions: TransactionInstruction[];
|
4558
|
-
additionalSigners: Signer[];
|
4559
|
-
}>;
|
4560
|
-
swapFeeInternal: (rewardTokenSymbol: string, swapTokenSymbol: string, poolConfig: PoolConfig) => Promise<{
|
4561
|
-
instructions: TransactionInstruction[];
|
4562
|
-
additionalSigners: Signer[];
|
4563
|
-
}>;
|
4564
4556
|
addCollateral: (collateralWithFee: BN, targetSymbol: string, collateralSymbol: string, side: Side, positionPubKey: PublicKey, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any) => Promise<{
|
4565
4557
|
instructions: TransactionInstruction[];
|
4566
4558
|
additionalSigners: Signer[];
|
@@ -4765,6 +4757,14 @@ export declare class PerpetualsClient {
|
|
4765
4757
|
signature: string;
|
4766
4758
|
versionedTransaction: VersionedTransaction;
|
4767
4759
|
}>;
|
4760
|
+
swap: (userInputTokenSymbol: string, userOutputTokenSymbol: string, amountIn: BN, minAmountOut: BN, poolConfig: PoolConfig, useFeesPool?: boolean, createUserATA?: boolean, unWrapSol?: boolean, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any) => Promise<{
|
4761
|
+
instructions: TransactionInstruction[];
|
4762
|
+
additionalSigners: Signer[];
|
4763
|
+
}>;
|
4764
|
+
swapFeeInternal: (rewardTokenSymbol: string, swapTokenSymbol: string, poolConfig: PoolConfig) => Promise<{
|
4765
|
+
instructions: TransactionInstruction[];
|
4766
|
+
additionalSigners: Signer[];
|
4767
|
+
}>;
|
4768
4768
|
init: (admins: PublicKey[], config: any) => Promise<void>;
|
4769
4769
|
setAdminSigners: (admins: PublicKey[], minSignatures: number) => Promise<void>;
|
4770
4770
|
addPool: (name: string, maxAumUsd: BN, permissions: Permissions, metadataSymbol: string, metadataTitle: string, metadataUri: string, stakingFeeShareBps: BN, vpVolumeFactor: number) => Promise<void>;
|