flash-sdk 2.25.8 → 2.26.1
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/CustodyAccount.d.ts +1 -1
- package/dist/PerpetualsClient.d.ts +14 -14
- package/dist/PerpetualsClient.js +289 -352
- package/dist/PoolConfig.d.ts +0 -1
- package/dist/PoolConfig.json +167 -219
- package/dist/idl/perpetuals.d.ts +14 -192
- package/dist/idl/perpetuals.js +14 -192
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/CustodyAccount.d.ts
CHANGED
@@ -193,7 +193,7 @@ export declare class PerpetualsClient {
|
|
193
193
|
bump: number;
|
194
194
|
tokenAccountBump: number;
|
195
195
|
sizeFactorForSpread: number;
|
196
|
-
|
196
|
+
null: number;
|
197
197
|
reservedAmount: BN;
|
198
198
|
minReserveUsd: BN;
|
199
199
|
limitPriceBufferBps: BN;
|
@@ -481,7 +481,7 @@ export declare class PerpetualsClient {
|
|
481
481
|
bump: number;
|
482
482
|
tokenAccountBump: number;
|
483
483
|
sizeFactorForSpread: number;
|
484
|
-
|
484
|
+
null: number;
|
485
485
|
reservedAmount: BN;
|
486
486
|
minReserveUsd: BN;
|
487
487
|
limitPriceBufferBps: BN;
|
@@ -768,7 +768,7 @@ export declare class PerpetualsClient {
|
|
768
768
|
bump: number;
|
769
769
|
tokenAccountBump: number;
|
770
770
|
sizeFactorForSpread: number;
|
771
|
-
|
771
|
+
null: number;
|
772
772
|
reservedAmount: BN;
|
773
773
|
minReserveUsd: BN;
|
774
774
|
limitPriceBufferBps: BN;
|
@@ -1059,7 +1059,7 @@ export declare class PerpetualsClient {
|
|
1059
1059
|
bump: number;
|
1060
1060
|
tokenAccountBump: number;
|
1061
1061
|
sizeFactorForSpread: number;
|
1062
|
-
|
1062
|
+
null: number;
|
1063
1063
|
reservedAmount: BN;
|
1064
1064
|
minReserveUsd: BN;
|
1065
1065
|
limitPriceBufferBps: BN;
|
@@ -1349,7 +1349,7 @@ export declare class PerpetualsClient {
|
|
1349
1349
|
bump: number;
|
1350
1350
|
tokenAccountBump: number;
|
1351
1351
|
sizeFactorForSpread: number;
|
1352
|
-
|
1352
|
+
null: number;
|
1353
1353
|
reservedAmount: BN;
|
1354
1354
|
minReserveUsd: BN;
|
1355
1355
|
limitPriceBufferBps: BN;
|
@@ -1636,7 +1636,7 @@ export declare class PerpetualsClient {
|
|
1636
1636
|
bump: number;
|
1637
1637
|
tokenAccountBump: number;
|
1638
1638
|
sizeFactorForSpread: number;
|
1639
|
-
|
1639
|
+
null: number;
|
1640
1640
|
reservedAmount: BN;
|
1641
1641
|
minReserveUsd: BN;
|
1642
1642
|
limitPriceBufferBps: BN;
|
@@ -1923,7 +1923,7 @@ export declare class PerpetualsClient {
|
|
1923
1923
|
bump: number;
|
1924
1924
|
tokenAccountBump: number;
|
1925
1925
|
sizeFactorForSpread: number;
|
1926
|
-
|
1926
|
+
null: number;
|
1927
1927
|
reservedAmount: BN;
|
1928
1928
|
minReserveUsd: BN;
|
1929
1929
|
limitPriceBufferBps: BN;
|
@@ -2210,7 +2210,7 @@ export declare class PerpetualsClient {
|
|
2210
2210
|
bump: number;
|
2211
2211
|
tokenAccountBump: number;
|
2212
2212
|
sizeFactorForSpread: number;
|
2213
|
-
|
2213
|
+
null: number;
|
2214
2214
|
reservedAmount: BN;
|
2215
2215
|
minReserveUsd: BN;
|
2216
2216
|
limitPriceBufferBps: BN;
|
@@ -2547,7 +2547,7 @@ export declare class PerpetualsClient {
|
|
2547
2547
|
bump: number;
|
2548
2548
|
tokenAccountBump: number;
|
2549
2549
|
sizeFactorForSpread: number;
|
2550
|
-
|
2550
|
+
null: number;
|
2551
2551
|
reservedAmount: BN;
|
2552
2552
|
minReserveUsd: BN;
|
2553
2553
|
limitPriceBufferBps: BN;
|
@@ -2834,7 +2834,7 @@ export declare class PerpetualsClient {
|
|
2834
2834
|
bump: number;
|
2835
2835
|
tokenAccountBump: number;
|
2836
2836
|
sizeFactorForSpread: number;
|
2837
|
-
|
2837
|
+
null: number;
|
2838
2838
|
reservedAmount: BN;
|
2839
2839
|
minReserveUsd: BN;
|
2840
2840
|
limitPriceBufferBps: BN;
|
@@ -3121,7 +3121,7 @@ export declare class PerpetualsClient {
|
|
3121
3121
|
bump: number;
|
3122
3122
|
tokenAccountBump: number;
|
3123
3123
|
sizeFactorForSpread: number;
|
3124
|
-
|
3124
|
+
null: number;
|
3125
3125
|
reservedAmount: BN;
|
3126
3126
|
minReserveUsd: BN;
|
3127
3127
|
limitPriceBufferBps: BN;
|
@@ -3408,7 +3408,7 @@ export declare class PerpetualsClient {
|
|
3408
3408
|
bump: number;
|
3409
3409
|
tokenAccountBump: number;
|
3410
3410
|
sizeFactorForSpread: number;
|
3411
|
-
|
3411
|
+
null: number;
|
3412
3412
|
reservedAmount: BN;
|
3413
3413
|
minReserveUsd: BN;
|
3414
3414
|
limitPriceBufferBps: BN;
|
@@ -3695,7 +3695,7 @@ export declare class PerpetualsClient {
|
|
3695
3695
|
bump: number;
|
3696
3696
|
tokenAccountBump: number;
|
3697
3697
|
sizeFactorForSpread: number;
|
3698
|
-
|
3698
|
+
null: number;
|
3699
3699
|
reservedAmount: BN;
|
3700
3700
|
minReserveUsd: BN;
|
3701
3701
|
limitPriceBufferBps: BN;
|
@@ -3869,7 +3869,7 @@ export declare class PerpetualsClient {
|
|
3869
3869
|
setAdminSigners: (admins: PublicKey[], minSignatures: number) => Promise<void>;
|
3870
3870
|
addPool: (name: string, maxAumUsd: BN, permissions: Permissions, metadataSymbol: string, metadataTitle: string, metadataUri: string, stakingFeeShareBps: BN, vpVolumeFactor: number) => Promise<void>;
|
3871
3871
|
removePool: (name: string) => Promise<void>;
|
3872
|
-
addCustody: (poolName: string, tokenMint: PublicKey, isStable: boolean, isVirtual: boolean,
|
3872
|
+
addCustody: (poolName: string, tokenMint: PublicKey, isStable: boolean, isVirtual: boolean, oracle: OracleParams, pricing: PricingParams, permissions: Permissions, fees: Fees, borrowRate: BorrowRateParams, ratios: TokenRatios[], depegAdjustment: boolean) => Promise<void>;
|
3873
3873
|
editCustody: (poolName: string, tokenMint: PublicKey, isStable: boolean, oracle: OracleParams, pricing: PricingParams, permissions: Permissions, fees: Fees, borrowRate: BorrowRateParams, ratios: TokenRatios[]) => Promise<void>;
|
3874
3874
|
removeCustody: (poolName: string, tokenMint: PublicKey, ratios: TokenRatios[]) => Promise<void>;
|
3875
3875
|
liquidate: (positionAccount: PublicKey, poolConfig: PoolConfig, tokenMint: PublicKey, collateralMint: PublicKey, marketPk: PublicKey) => Promise<TransactionInstruction>;
|