flash-sdk 2.19.6 → 2.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/PerpetualsClient.d.ts +1 -9
- package/dist/PerpetualsClient.js +77 -264
- package/dist/PoolConfig.json +12 -12
- package/dist/idl/perpetuals.d.ts +1 -496
- package/dist/idl/perpetuals.js +1 -496
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/utils/alt.d.ts +1 -0
- package/package.json +1 -1
@@ -4106,10 +4106,6 @@ export declare class PerpetualsClient {
|
|
4106
4106
|
instructions: TransactionInstruction[];
|
4107
4107
|
additionalSigners: Signer[];
|
4108
4108
|
}>;
|
4109
|
-
executeLimitWithSwap: (userPubkey: PublicKey, targetSymbol: string, collateralSymbol: string, reserveSymbol: string, side: Side, orderId: number, poolConfig: PoolConfig, privilege: Privilege, nftTradingAccount?: PublicKey, nftReferralAccount?: PublicKey, nftRebateTokenAccount?: PublicKey) => Promise<{
|
4110
|
-
instructions: TransactionInstruction[];
|
4111
|
-
additionalSigners: Signer[];
|
4112
|
-
}>;
|
4113
4109
|
placeTriggerOrder: (targetSymbol: string, collateralSymbol: string, side: Side, triggerPrice: ContractOraclePrice, deltaSizeAmount: BN, isStopLoss: boolean, receiveCustodyId: number, poolConfig: PoolConfig) => Promise<{
|
4114
4110
|
instructions: TransactionInstruction[];
|
4115
4111
|
additionalSigners: Signer[];
|
@@ -4122,15 +4118,11 @@ export declare class PerpetualsClient {
|
|
4122
4118
|
instructions: TransactionInstruction[];
|
4123
4119
|
additionalSigners: Signer[];
|
4124
4120
|
}>;
|
4125
|
-
executeTriggerWithSwap: (owner: PublicKey, targetSymbol: string, collateralSymbol: string, receivingSymbol: string, side: Side, orderId: number, isStopLoss: boolean, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any) => Promise<{
|
4126
|
-
instructions: TransactionInstruction[];
|
4127
|
-
additionalSigners: Signer[];
|
4128
|
-
}>;
|
4129
4121
|
executeTriggerOrder: (owner: PublicKey, targetSymbol: string, collateralSymbol: string, side: Side, orderId: number, isStopLoss: boolean, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any) => Promise<{
|
4130
4122
|
instructions: TransactionInstruction[];
|
4131
4123
|
additionalSigners: Signer[];
|
4132
4124
|
}>;
|
4133
|
-
migrateTriggerOrder: (owner: PublicKey,
|
4125
|
+
migrateTriggerOrder: (owner: PublicKey, targetSymbol: string, collateralSymbol: string, side: Side, poolConfig: PoolConfig) => Promise<{
|
4134
4126
|
instructions: TransactionInstruction[];
|
4135
4127
|
additionalSigners: Signer[];
|
4136
4128
|
}>;
|