@omnipair/dusk-sdk 2.27.0 → 3.0.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/README.md +92 -104
- package/dist/constants.d.ts +0 -6
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +0 -12
- package/dist/constants.js.map +1 -1
- package/dist/get.d.ts +97 -345
- package/dist/get.d.ts.map +1 -1
- package/dist/get.js +1 -2
- package/dist/get.js.map +1 -1
- package/dist/hlp-liquidation-client.d.ts.map +1 -1
- package/dist/hlp-liquidation-client.js +0 -1
- package/dist/hlp-liquidation-client.js.map +1 -1
- package/dist/idl_delegate.json +82 -390
- package/dist/idl_v2.json +226 -1098
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/indexer.d.ts +1 -1
- package/dist/indexer.d.ts.map +1 -1
- package/dist/interest-accounting.d.ts +82 -47
- package/dist/interest-accounting.d.ts.map +1 -1
- package/dist/interest-accounting.js +103 -53
- package/dist/interest-accounting.js.map +1 -1
- package/dist/leverage-preview.d.ts +24 -86
- package/dist/leverage-preview.d.ts.map +1 -1
- package/dist/liquidation-client.js +2 -2
- package/dist/liquidation-client.js.map +1 -1
- package/dist/operator-client.d.ts.map +1 -1
- package/dist/operator-client.js +8 -9
- package/dist/operator-client.js.map +1 -1
- package/dist/referral.d.ts +6 -3
- package/dist/referral.d.ts.map +1 -1
- package/dist/referral.js +8 -7
- package/dist/referral.js.map +1 -1
- package/dist/tranche-client.d.ts +0 -56
- package/dist/tranche-client.d.ts.map +1 -1
- package/dist/tranche-client.js +2 -103
- package/dist/tranche-client.js.map +1 -1
- package/dist/transfer-fees.d.ts +6 -0
- package/dist/transfer-fees.d.ts.map +1 -1
- package/dist/transfer-fees.js +19 -0
- package/dist/transfer-fees.js.map +1 -1
- package/dist/type-aliases.d.ts +3 -15
- package/dist/type-aliases.d.ts.map +1 -1
- package/dist/types_delegate.d.ts +82 -390
- package/dist/types_delegate.d.ts.map +1 -1
- package/dist/types_v2.d.ts +227 -1099
- package/dist/types_v2.d.ts.map +1 -1
- package/dist/virtual-book/market.d.ts +24 -86
- package/dist/virtual-book/market.d.ts.map +1 -1
- package/dist/virtual-book/quotes.d.ts +61 -173
- package/dist/virtual-book/quotes.d.ts.map +1 -1
- package/dist/virtual-book/quotes.js +55 -6
- package/dist/virtual-book/quotes.js.map +1 -1
- package/dist/write.d.ts +1 -3
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +7 -24
- package/dist/write.js.map +1 -1
- package/dist/yield-client.d.ts +7 -20
- package/dist/yield-client.d.ts.map +1 -1
- package/dist/yield-client.js +6 -37
- package/dist/yield-client.js.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +0 -25
- package/src/get.ts +0 -3
- package/src/hlp-liquidation-client.ts +0 -1
- package/src/idl_delegate.json +82 -390
- package/src/idl_v2.json +226 -1098
- package/src/index.ts +0 -1
- package/src/indexer.ts +1 -1
- package/src/interest-accounting.ts +149 -71
- package/src/liquidation-client.ts +2 -2
- package/src/operator-client.ts +8 -9
- package/src/referral.ts +9 -14
- package/src/tranche-client.ts +3 -106
- package/src/transfer-fees.ts +18 -0
- package/src/type-aliases.ts +3 -15
- package/src/types_delegate.ts +82 -390
- package/src/types_v2.ts +226 -1098
- package/src/virtual-book/quotes.ts +70 -6
- package/src/write.ts +8 -36
- package/src/yield-client.ts +9 -48
- package/dist/income-receivable.d.ts +0 -77
- package/dist/income-receivable.d.ts.map +0 -1
- package/dist/income-receivable.js +0 -135
- package/dist/income-receivable.js.map +0 -1
- package/src/income-receivable.ts +0 -145
package/dist/get.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export declare function duskPdas(programId?: PublicKey): {
|
|
|
22
22
|
readonly tokenMetadata: typeof deriveTokenMetadataAddress;
|
|
23
23
|
readonly marketReserveVault: (market: PublicKey, reserveMint: PublicKey, id?: PublicKey) => [PublicKey, number];
|
|
24
24
|
readonly marketCollateralVault: (market: PublicKey, collateralMint: PublicKey, id?: PublicKey) => [PublicKey, number];
|
|
25
|
-
readonly marketInterestVault: (market: PublicKey, interestMint: PublicKey, id?: PublicKey) => [PublicKey, number];
|
|
26
25
|
readonly borrowPosition: (market: PublicKey, owner: PublicKey, positionId: PublicKey, id?: PublicKey) => [PublicKey, number];
|
|
27
26
|
readonly leveragePosition: (market: PublicKey, positionOwner: PublicKey, positionId: PublicKey, namespaceAuthority?: PublicKey, id?: PublicKey) => [PublicKey, number];
|
|
28
27
|
readonly yieldAccount: (market: PublicKey, owner: PublicKey, lpMint: PublicKey, assetMint: PublicKey, tokenKind: YieldTokenKind, id?: PublicKey) => [PublicKey, number];
|
|
@@ -158,7 +157,6 @@ export declare class DuskGet {
|
|
|
158
157
|
hlpMint: PublicKey;
|
|
159
158
|
reserveVault: PublicKey;
|
|
160
159
|
collateralVault: PublicKey;
|
|
161
|
-
interestVault: PublicKey;
|
|
162
160
|
reserves: {
|
|
163
161
|
flashReceivable: BN;
|
|
164
162
|
liveReserve: BN;
|
|
@@ -191,29 +189,29 @@ export declare class DuskGet {
|
|
|
191
189
|
swapRemainderBps: number;
|
|
192
190
|
};
|
|
193
191
|
};
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
192
|
+
ledger: {
|
|
193
|
+
publicRecognized: BN;
|
|
194
|
+
fundingRecognized: BN;
|
|
195
|
+
credited: BN;
|
|
196
|
+
protocolUnpaid: BN;
|
|
197
|
+
operatorClaimable: BN;
|
|
198
|
+
protocolFractionQ64: BN;
|
|
199
|
+
operatorFractionQ64: BN;
|
|
200
|
+
protocolPending: BN;
|
|
201
|
+
deficit: BN;
|
|
199
202
|
};
|
|
200
203
|
swapFeeGrowthIndexQ64: BN;
|
|
201
204
|
interestGrowthIndexQ64: BN;
|
|
202
205
|
swapFeeGrowthRemainderScaled: BN;
|
|
203
206
|
interestGrowthRemainderScaled: BN;
|
|
204
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
205
207
|
swapFeeCustodyBalance: BN;
|
|
206
|
-
interestVaultBalance: BN;
|
|
207
208
|
swapFeeLiability: BN;
|
|
208
|
-
interestLiability: BN;
|
|
209
209
|
unallocatedSwapFeeLiability: BN;
|
|
210
|
-
unallocatedInterestLiability: BN;
|
|
211
210
|
swapProtocolFeeLiability: BN;
|
|
212
211
|
swapBuybackFeeLiability: BN;
|
|
213
212
|
interestProtocolFeeLiability: BN;
|
|
214
213
|
interestBuybackFeeLiability: BN;
|
|
215
214
|
referralInterestLiability: BN;
|
|
216
|
-
revenueInterestLiability: BN;
|
|
217
215
|
feeSwapAuction: {
|
|
218
216
|
acceptedMint: PublicKey;
|
|
219
217
|
virtualSoldReserve: BN;
|
|
@@ -259,7 +257,6 @@ export declare class DuskGet {
|
|
|
259
257
|
hlpMint: PublicKey;
|
|
260
258
|
reserveVault: PublicKey;
|
|
261
259
|
collateralVault: PublicKey;
|
|
262
|
-
interestVault: PublicKey;
|
|
263
260
|
reserves: {
|
|
264
261
|
flashReceivable: BN;
|
|
265
262
|
liveReserve: BN;
|
|
@@ -292,29 +289,29 @@ export declare class DuskGet {
|
|
|
292
289
|
swapRemainderBps: number;
|
|
293
290
|
};
|
|
294
291
|
};
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
292
|
+
ledger: {
|
|
293
|
+
publicRecognized: BN;
|
|
294
|
+
fundingRecognized: BN;
|
|
295
|
+
credited: BN;
|
|
296
|
+
protocolUnpaid: BN;
|
|
297
|
+
operatorClaimable: BN;
|
|
298
|
+
protocolFractionQ64: BN;
|
|
299
|
+
operatorFractionQ64: BN;
|
|
300
|
+
protocolPending: BN;
|
|
301
|
+
deficit: BN;
|
|
300
302
|
};
|
|
301
303
|
swapFeeGrowthIndexQ64: BN;
|
|
302
304
|
interestGrowthIndexQ64: BN;
|
|
303
305
|
swapFeeGrowthRemainderScaled: BN;
|
|
304
306
|
interestGrowthRemainderScaled: BN;
|
|
305
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
306
307
|
swapFeeCustodyBalance: BN;
|
|
307
|
-
interestVaultBalance: BN;
|
|
308
308
|
swapFeeLiability: BN;
|
|
309
|
-
interestLiability: BN;
|
|
310
309
|
unallocatedSwapFeeLiability: BN;
|
|
311
|
-
unallocatedInterestLiability: BN;
|
|
312
310
|
swapProtocolFeeLiability: BN;
|
|
313
311
|
swapBuybackFeeLiability: BN;
|
|
314
312
|
interestProtocolFeeLiability: BN;
|
|
315
313
|
interestBuybackFeeLiability: BN;
|
|
316
314
|
referralInterestLiability: BN;
|
|
317
|
-
revenueInterestLiability: BN;
|
|
318
315
|
feeSwapAuction: {
|
|
319
316
|
acceptedMint: PublicKey;
|
|
320
317
|
virtualSoldReserve: BN;
|
|
@@ -497,62 +494,6 @@ export declare class DuskGet {
|
|
|
497
494
|
queuedReceipts: BN;
|
|
498
495
|
generation: BN;
|
|
499
496
|
};
|
|
500
|
-
income: {
|
|
501
|
-
books: {
|
|
502
|
-
epoch: BN;
|
|
503
|
-
unpaid: BN;
|
|
504
|
-
units: BN;
|
|
505
|
-
paidPerUnitQ64: BN;
|
|
506
|
-
paidRemainder: BN;
|
|
507
|
-
growth: {
|
|
508
|
-
unitsQ64: BN;
|
|
509
|
-
weightedPaidQ128: BN[];
|
|
510
|
-
}[];
|
|
511
|
-
}[];
|
|
512
|
-
revenue: {
|
|
513
|
-
grossUnpaid: BN;
|
|
514
|
-
protocolUnpaid: BN;
|
|
515
|
-
operatorUnpaid: BN;
|
|
516
|
-
pendingGross: BN;
|
|
517
|
-
pendingProtocolGross: BN;
|
|
518
|
-
operatorClaimable: BN;
|
|
519
|
-
protocolFractionQ64: BN;
|
|
520
|
-
operatorFractionQ64: BN;
|
|
521
|
-
protocolCashFractionQ64: BN;
|
|
522
|
-
}[];
|
|
523
|
-
pending: BN[];
|
|
524
|
-
seed: {
|
|
525
|
-
epoch: BN;
|
|
526
|
-
unitsQ64: BN;
|
|
527
|
-
paidCheckpointQ64: BN;
|
|
528
|
-
growthCheckpoint: {
|
|
529
|
-
unitsQ64: BN;
|
|
530
|
-
weightedPaidQ128: BN[];
|
|
531
|
-
};
|
|
532
|
-
paidFractionQ128: BN;
|
|
533
|
-
claimable: BN;
|
|
534
|
-
}[];
|
|
535
|
-
hlp: {
|
|
536
|
-
epoch: BN;
|
|
537
|
-
unitsQ64: BN;
|
|
538
|
-
paidCheckpointQ64: BN;
|
|
539
|
-
growthCheckpoint: {
|
|
540
|
-
unitsQ64: BN;
|
|
541
|
-
weightedPaidQ128: BN[];
|
|
542
|
-
};
|
|
543
|
-
paidFractionQ128: BN;
|
|
544
|
-
claimable: BN;
|
|
545
|
-
}[][];
|
|
546
|
-
juniorEnd: {
|
|
547
|
-
ended: boolean;
|
|
548
|
-
epoch: BN;
|
|
549
|
-
growth: {
|
|
550
|
-
unitsQ64: BN;
|
|
551
|
-
weightedPaidQ128: BN[];
|
|
552
|
-
};
|
|
553
|
-
}[];
|
|
554
|
-
splitCarryBps: number[];
|
|
555
|
-
};
|
|
556
497
|
juniorExitConfig: {
|
|
557
498
|
minimumNoticeSlots: BN;
|
|
558
499
|
maximumNoticeSlots: BN;
|
|
@@ -577,13 +518,9 @@ export declare class DuskGet {
|
|
|
577
518
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
578
519
|
quoteInterestGrowthIndexQ64: BN;
|
|
579
520
|
baseSwapFeeCheckpointQ64: BN;
|
|
580
|
-
baseInterestCheckpointQ64: BN;
|
|
581
521
|
quoteSwapFeeCheckpointQ64: BN;
|
|
582
|
-
quoteInterestCheckpointQ64: BN;
|
|
583
522
|
baseSwapFeeRemainderQ64: BN;
|
|
584
|
-
baseInterestRemainderQ64: BN;
|
|
585
523
|
quoteSwapFeeRemainderQ64: BN;
|
|
586
|
-
quoteInterestRemainderQ64: BN;
|
|
587
524
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
588
525
|
baseInterestGrowthRemainderScaled: BN;
|
|
589
526
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -596,6 +533,8 @@ export declare class DuskGet {
|
|
|
596
533
|
cachedSettlementPriceNad: BN;
|
|
597
534
|
fundingAprEmaNad: BN;
|
|
598
535
|
fundingAprEmaLastSlot: BN;
|
|
536
|
+
heldBaseInterest: BN;
|
|
537
|
+
heldQuoteInterest: BN;
|
|
599
538
|
};
|
|
600
539
|
quoteHlpVault: {
|
|
601
540
|
flashCollateralDebit: BN;
|
|
@@ -612,13 +551,9 @@ export declare class DuskGet {
|
|
|
612
551
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
613
552
|
quoteInterestGrowthIndexQ64: BN;
|
|
614
553
|
baseSwapFeeCheckpointQ64: BN;
|
|
615
|
-
baseInterestCheckpointQ64: BN;
|
|
616
554
|
quoteSwapFeeCheckpointQ64: BN;
|
|
617
|
-
quoteInterestCheckpointQ64: BN;
|
|
618
555
|
baseSwapFeeRemainderQ64: BN;
|
|
619
|
-
baseInterestRemainderQ64: BN;
|
|
620
556
|
quoteSwapFeeRemainderQ64: BN;
|
|
621
|
-
quoteInterestRemainderQ64: BN;
|
|
622
557
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
623
558
|
baseInterestGrowthRemainderScaled: BN;
|
|
624
559
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -631,6 +566,8 @@ export declare class DuskGet {
|
|
|
631
566
|
cachedSettlementPriceNad: BN;
|
|
632
567
|
fundingAprEmaNad: BN;
|
|
633
568
|
fundingAprEmaLastSlot: BN;
|
|
569
|
+
heldBaseInterest: BN;
|
|
570
|
+
heldQuoteInterest: BN;
|
|
634
571
|
};
|
|
635
572
|
risk: {
|
|
636
573
|
basePriceEmaNad: BN;
|
|
@@ -880,7 +817,6 @@ export declare class DuskGet {
|
|
|
880
817
|
hlpMint: PublicKey;
|
|
881
818
|
reserveVault: PublicKey;
|
|
882
819
|
collateralVault: PublicKey;
|
|
883
|
-
interestVault: PublicKey;
|
|
884
820
|
reserves: {
|
|
885
821
|
flashReceivable: BN;
|
|
886
822
|
liveReserve: BN;
|
|
@@ -913,29 +849,29 @@ export declare class DuskGet {
|
|
|
913
849
|
swapRemainderBps: number;
|
|
914
850
|
};
|
|
915
851
|
};
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
852
|
+
ledger: {
|
|
853
|
+
publicRecognized: BN;
|
|
854
|
+
fundingRecognized: BN;
|
|
855
|
+
credited: BN;
|
|
856
|
+
protocolUnpaid: BN;
|
|
857
|
+
operatorClaimable: BN;
|
|
858
|
+
protocolFractionQ64: BN;
|
|
859
|
+
operatorFractionQ64: BN;
|
|
860
|
+
protocolPending: BN;
|
|
861
|
+
deficit: BN;
|
|
921
862
|
};
|
|
922
863
|
swapFeeGrowthIndexQ64: BN;
|
|
923
864
|
interestGrowthIndexQ64: BN;
|
|
924
865
|
swapFeeGrowthRemainderScaled: BN;
|
|
925
866
|
interestGrowthRemainderScaled: BN;
|
|
926
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
927
867
|
swapFeeCustodyBalance: BN;
|
|
928
|
-
interestVaultBalance: BN;
|
|
929
868
|
swapFeeLiability: BN;
|
|
930
|
-
interestLiability: BN;
|
|
931
869
|
unallocatedSwapFeeLiability: BN;
|
|
932
|
-
unallocatedInterestLiability: BN;
|
|
933
870
|
swapProtocolFeeLiability: BN;
|
|
934
871
|
swapBuybackFeeLiability: BN;
|
|
935
872
|
interestProtocolFeeLiability: BN;
|
|
936
873
|
interestBuybackFeeLiability: BN;
|
|
937
874
|
referralInterestLiability: BN;
|
|
938
|
-
revenueInterestLiability: BN;
|
|
939
875
|
feeSwapAuction: {
|
|
940
876
|
acceptedMint: PublicKey;
|
|
941
877
|
virtualSoldReserve: BN;
|
|
@@ -981,7 +917,6 @@ export declare class DuskGet {
|
|
|
981
917
|
hlpMint: PublicKey;
|
|
982
918
|
reserveVault: PublicKey;
|
|
983
919
|
collateralVault: PublicKey;
|
|
984
|
-
interestVault: PublicKey;
|
|
985
920
|
reserves: {
|
|
986
921
|
flashReceivable: BN;
|
|
987
922
|
liveReserve: BN;
|
|
@@ -1014,29 +949,29 @@ export declare class DuskGet {
|
|
|
1014
949
|
swapRemainderBps: number;
|
|
1015
950
|
};
|
|
1016
951
|
};
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
952
|
+
ledger: {
|
|
953
|
+
publicRecognized: BN;
|
|
954
|
+
fundingRecognized: BN;
|
|
955
|
+
credited: BN;
|
|
956
|
+
protocolUnpaid: BN;
|
|
957
|
+
operatorClaimable: BN;
|
|
958
|
+
protocolFractionQ64: BN;
|
|
959
|
+
operatorFractionQ64: BN;
|
|
960
|
+
protocolPending: BN;
|
|
961
|
+
deficit: BN;
|
|
1022
962
|
};
|
|
1023
963
|
swapFeeGrowthIndexQ64: BN;
|
|
1024
964
|
interestGrowthIndexQ64: BN;
|
|
1025
965
|
swapFeeGrowthRemainderScaled: BN;
|
|
1026
966
|
interestGrowthRemainderScaled: BN;
|
|
1027
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
1028
967
|
swapFeeCustodyBalance: BN;
|
|
1029
|
-
interestVaultBalance: BN;
|
|
1030
968
|
swapFeeLiability: BN;
|
|
1031
|
-
interestLiability: BN;
|
|
1032
969
|
unallocatedSwapFeeLiability: BN;
|
|
1033
|
-
unallocatedInterestLiability: BN;
|
|
1034
970
|
swapProtocolFeeLiability: BN;
|
|
1035
971
|
swapBuybackFeeLiability: BN;
|
|
1036
972
|
interestProtocolFeeLiability: BN;
|
|
1037
973
|
interestBuybackFeeLiability: BN;
|
|
1038
974
|
referralInterestLiability: BN;
|
|
1039
|
-
revenueInterestLiability: BN;
|
|
1040
975
|
feeSwapAuction: {
|
|
1041
976
|
acceptedMint: PublicKey;
|
|
1042
977
|
virtualSoldReserve: BN;
|
|
@@ -1219,62 +1154,6 @@ export declare class DuskGet {
|
|
|
1219
1154
|
queuedReceipts: BN;
|
|
1220
1155
|
generation: BN;
|
|
1221
1156
|
};
|
|
1222
|
-
income: {
|
|
1223
|
-
books: {
|
|
1224
|
-
epoch: BN;
|
|
1225
|
-
unpaid: BN;
|
|
1226
|
-
units: BN;
|
|
1227
|
-
paidPerUnitQ64: BN;
|
|
1228
|
-
paidRemainder: BN;
|
|
1229
|
-
growth: {
|
|
1230
|
-
unitsQ64: BN;
|
|
1231
|
-
weightedPaidQ128: BN[];
|
|
1232
|
-
}[];
|
|
1233
|
-
}[];
|
|
1234
|
-
revenue: {
|
|
1235
|
-
grossUnpaid: BN;
|
|
1236
|
-
protocolUnpaid: BN;
|
|
1237
|
-
operatorUnpaid: BN;
|
|
1238
|
-
pendingGross: BN;
|
|
1239
|
-
pendingProtocolGross: BN;
|
|
1240
|
-
operatorClaimable: BN;
|
|
1241
|
-
protocolFractionQ64: BN;
|
|
1242
|
-
operatorFractionQ64: BN;
|
|
1243
|
-
protocolCashFractionQ64: BN;
|
|
1244
|
-
}[];
|
|
1245
|
-
pending: BN[];
|
|
1246
|
-
seed: {
|
|
1247
|
-
epoch: BN;
|
|
1248
|
-
unitsQ64: BN;
|
|
1249
|
-
paidCheckpointQ64: BN;
|
|
1250
|
-
growthCheckpoint: {
|
|
1251
|
-
unitsQ64: BN;
|
|
1252
|
-
weightedPaidQ128: BN[];
|
|
1253
|
-
};
|
|
1254
|
-
paidFractionQ128: BN;
|
|
1255
|
-
claimable: BN;
|
|
1256
|
-
}[];
|
|
1257
|
-
hlp: {
|
|
1258
|
-
epoch: BN;
|
|
1259
|
-
unitsQ64: BN;
|
|
1260
|
-
paidCheckpointQ64: BN;
|
|
1261
|
-
growthCheckpoint: {
|
|
1262
|
-
unitsQ64: BN;
|
|
1263
|
-
weightedPaidQ128: BN[];
|
|
1264
|
-
};
|
|
1265
|
-
paidFractionQ128: BN;
|
|
1266
|
-
claimable: BN;
|
|
1267
|
-
}[][];
|
|
1268
|
-
juniorEnd: {
|
|
1269
|
-
ended: boolean;
|
|
1270
|
-
epoch: BN;
|
|
1271
|
-
growth: {
|
|
1272
|
-
unitsQ64: BN;
|
|
1273
|
-
weightedPaidQ128: BN[];
|
|
1274
|
-
};
|
|
1275
|
-
}[];
|
|
1276
|
-
splitCarryBps: number[];
|
|
1277
|
-
};
|
|
1278
1157
|
juniorExitConfig: {
|
|
1279
1158
|
minimumNoticeSlots: BN;
|
|
1280
1159
|
maximumNoticeSlots: BN;
|
|
@@ -1299,13 +1178,9 @@ export declare class DuskGet {
|
|
|
1299
1178
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
1300
1179
|
quoteInterestGrowthIndexQ64: BN;
|
|
1301
1180
|
baseSwapFeeCheckpointQ64: BN;
|
|
1302
|
-
baseInterestCheckpointQ64: BN;
|
|
1303
1181
|
quoteSwapFeeCheckpointQ64: BN;
|
|
1304
|
-
quoteInterestCheckpointQ64: BN;
|
|
1305
1182
|
baseSwapFeeRemainderQ64: BN;
|
|
1306
|
-
baseInterestRemainderQ64: BN;
|
|
1307
1183
|
quoteSwapFeeRemainderQ64: BN;
|
|
1308
|
-
quoteInterestRemainderQ64: BN;
|
|
1309
1184
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
1310
1185
|
baseInterestGrowthRemainderScaled: BN;
|
|
1311
1186
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -1318,6 +1193,8 @@ export declare class DuskGet {
|
|
|
1318
1193
|
cachedSettlementPriceNad: BN;
|
|
1319
1194
|
fundingAprEmaNad: BN;
|
|
1320
1195
|
fundingAprEmaLastSlot: BN;
|
|
1196
|
+
heldBaseInterest: BN;
|
|
1197
|
+
heldQuoteInterest: BN;
|
|
1321
1198
|
};
|
|
1322
1199
|
quoteHlpVault: {
|
|
1323
1200
|
flashCollateralDebit: BN;
|
|
@@ -1334,13 +1211,9 @@ export declare class DuskGet {
|
|
|
1334
1211
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
1335
1212
|
quoteInterestGrowthIndexQ64: BN;
|
|
1336
1213
|
baseSwapFeeCheckpointQ64: BN;
|
|
1337
|
-
baseInterestCheckpointQ64: BN;
|
|
1338
1214
|
quoteSwapFeeCheckpointQ64: BN;
|
|
1339
|
-
quoteInterestCheckpointQ64: BN;
|
|
1340
1215
|
baseSwapFeeRemainderQ64: BN;
|
|
1341
|
-
baseInterestRemainderQ64: BN;
|
|
1342
1216
|
quoteSwapFeeRemainderQ64: BN;
|
|
1343
|
-
quoteInterestRemainderQ64: BN;
|
|
1344
1217
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
1345
1218
|
baseInterestGrowthRemainderScaled: BN;
|
|
1346
1219
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -1353,6 +1226,8 @@ export declare class DuskGet {
|
|
|
1353
1226
|
cachedSettlementPriceNad: BN;
|
|
1354
1227
|
fundingAprEmaNad: BN;
|
|
1355
1228
|
fundingAprEmaLastSlot: BN;
|
|
1229
|
+
heldBaseInterest: BN;
|
|
1230
|
+
heldQuoteInterest: BN;
|
|
1356
1231
|
};
|
|
1357
1232
|
risk: {
|
|
1358
1233
|
basePriceEmaNad: BN;
|
|
@@ -1517,7 +1392,6 @@ export declare class DuskGet {
|
|
|
1517
1392
|
hlpMint: PublicKey;
|
|
1518
1393
|
reserveVault: PublicKey;
|
|
1519
1394
|
collateralVault: PublicKey;
|
|
1520
|
-
interestVault: PublicKey;
|
|
1521
1395
|
reserves: {
|
|
1522
1396
|
flashReceivable: BN;
|
|
1523
1397
|
liveReserve: BN;
|
|
@@ -1550,29 +1424,29 @@ export declare class DuskGet {
|
|
|
1550
1424
|
swapRemainderBps: number;
|
|
1551
1425
|
};
|
|
1552
1426
|
};
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1427
|
+
ledger: {
|
|
1428
|
+
publicRecognized: BN;
|
|
1429
|
+
fundingRecognized: BN;
|
|
1430
|
+
credited: BN;
|
|
1431
|
+
protocolUnpaid: BN;
|
|
1432
|
+
operatorClaimable: BN;
|
|
1433
|
+
protocolFractionQ64: BN;
|
|
1434
|
+
operatorFractionQ64: BN;
|
|
1435
|
+
protocolPending: BN;
|
|
1436
|
+
deficit: BN;
|
|
1558
1437
|
};
|
|
1559
1438
|
swapFeeGrowthIndexQ64: BN;
|
|
1560
1439
|
interestGrowthIndexQ64: BN;
|
|
1561
1440
|
swapFeeGrowthRemainderScaled: BN;
|
|
1562
1441
|
interestGrowthRemainderScaled: BN;
|
|
1563
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
1564
1442
|
swapFeeCustodyBalance: BN;
|
|
1565
|
-
interestVaultBalance: BN;
|
|
1566
1443
|
swapFeeLiability: BN;
|
|
1567
|
-
interestLiability: BN;
|
|
1568
1444
|
unallocatedSwapFeeLiability: BN;
|
|
1569
|
-
unallocatedInterestLiability: BN;
|
|
1570
1445
|
swapProtocolFeeLiability: BN;
|
|
1571
1446
|
swapBuybackFeeLiability: BN;
|
|
1572
1447
|
interestProtocolFeeLiability: BN;
|
|
1573
1448
|
interestBuybackFeeLiability: BN;
|
|
1574
1449
|
referralInterestLiability: BN;
|
|
1575
|
-
revenueInterestLiability: BN;
|
|
1576
1450
|
feeSwapAuction: {
|
|
1577
1451
|
acceptedMint: PublicKey;
|
|
1578
1452
|
virtualSoldReserve: BN;
|
|
@@ -1618,7 +1492,6 @@ export declare class DuskGet {
|
|
|
1618
1492
|
hlpMint: PublicKey;
|
|
1619
1493
|
reserveVault: PublicKey;
|
|
1620
1494
|
collateralVault: PublicKey;
|
|
1621
|
-
interestVault: PublicKey;
|
|
1622
1495
|
reserves: {
|
|
1623
1496
|
flashReceivable: BN;
|
|
1624
1497
|
liveReserve: BN;
|
|
@@ -1651,29 +1524,29 @@ export declare class DuskGet {
|
|
|
1651
1524
|
swapRemainderBps: number;
|
|
1652
1525
|
};
|
|
1653
1526
|
};
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1527
|
+
ledger: {
|
|
1528
|
+
publicRecognized: BN;
|
|
1529
|
+
fundingRecognized: BN;
|
|
1530
|
+
credited: BN;
|
|
1531
|
+
protocolUnpaid: BN;
|
|
1532
|
+
operatorClaimable: BN;
|
|
1533
|
+
protocolFractionQ64: BN;
|
|
1534
|
+
operatorFractionQ64: BN;
|
|
1535
|
+
protocolPending: BN;
|
|
1536
|
+
deficit: BN;
|
|
1659
1537
|
};
|
|
1660
1538
|
swapFeeGrowthIndexQ64: BN;
|
|
1661
1539
|
interestGrowthIndexQ64: BN;
|
|
1662
1540
|
swapFeeGrowthRemainderScaled: BN;
|
|
1663
1541
|
interestGrowthRemainderScaled: BN;
|
|
1664
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
1665
1542
|
swapFeeCustodyBalance: BN;
|
|
1666
|
-
interestVaultBalance: BN;
|
|
1667
1543
|
swapFeeLiability: BN;
|
|
1668
|
-
interestLiability: BN;
|
|
1669
1544
|
unallocatedSwapFeeLiability: BN;
|
|
1670
|
-
unallocatedInterestLiability: BN;
|
|
1671
1545
|
swapProtocolFeeLiability: BN;
|
|
1672
1546
|
swapBuybackFeeLiability: BN;
|
|
1673
1547
|
interestProtocolFeeLiability: BN;
|
|
1674
1548
|
interestBuybackFeeLiability: BN;
|
|
1675
1549
|
referralInterestLiability: BN;
|
|
1676
|
-
revenueInterestLiability: BN;
|
|
1677
1550
|
feeSwapAuction: {
|
|
1678
1551
|
acceptedMint: PublicKey;
|
|
1679
1552
|
virtualSoldReserve: BN;
|
|
@@ -1856,62 +1729,6 @@ export declare class DuskGet {
|
|
|
1856
1729
|
queuedReceipts: BN;
|
|
1857
1730
|
generation: BN;
|
|
1858
1731
|
};
|
|
1859
|
-
income: {
|
|
1860
|
-
books: {
|
|
1861
|
-
epoch: BN;
|
|
1862
|
-
unpaid: BN;
|
|
1863
|
-
units: BN;
|
|
1864
|
-
paidPerUnitQ64: BN;
|
|
1865
|
-
paidRemainder: BN;
|
|
1866
|
-
growth: {
|
|
1867
|
-
unitsQ64: BN;
|
|
1868
|
-
weightedPaidQ128: BN[];
|
|
1869
|
-
}[];
|
|
1870
|
-
}[];
|
|
1871
|
-
revenue: {
|
|
1872
|
-
grossUnpaid: BN;
|
|
1873
|
-
protocolUnpaid: BN;
|
|
1874
|
-
operatorUnpaid: BN;
|
|
1875
|
-
pendingGross: BN;
|
|
1876
|
-
pendingProtocolGross: BN;
|
|
1877
|
-
operatorClaimable: BN;
|
|
1878
|
-
protocolFractionQ64: BN;
|
|
1879
|
-
operatorFractionQ64: BN;
|
|
1880
|
-
protocolCashFractionQ64: BN;
|
|
1881
|
-
}[];
|
|
1882
|
-
pending: BN[];
|
|
1883
|
-
seed: {
|
|
1884
|
-
epoch: BN;
|
|
1885
|
-
unitsQ64: BN;
|
|
1886
|
-
paidCheckpointQ64: BN;
|
|
1887
|
-
growthCheckpoint: {
|
|
1888
|
-
unitsQ64: BN;
|
|
1889
|
-
weightedPaidQ128: BN[];
|
|
1890
|
-
};
|
|
1891
|
-
paidFractionQ128: BN;
|
|
1892
|
-
claimable: BN;
|
|
1893
|
-
}[];
|
|
1894
|
-
hlp: {
|
|
1895
|
-
epoch: BN;
|
|
1896
|
-
unitsQ64: BN;
|
|
1897
|
-
paidCheckpointQ64: BN;
|
|
1898
|
-
growthCheckpoint: {
|
|
1899
|
-
unitsQ64: BN;
|
|
1900
|
-
weightedPaidQ128: BN[];
|
|
1901
|
-
};
|
|
1902
|
-
paidFractionQ128: BN;
|
|
1903
|
-
claimable: BN;
|
|
1904
|
-
}[][];
|
|
1905
|
-
juniorEnd: {
|
|
1906
|
-
ended: boolean;
|
|
1907
|
-
epoch: BN;
|
|
1908
|
-
growth: {
|
|
1909
|
-
unitsQ64: BN;
|
|
1910
|
-
weightedPaidQ128: BN[];
|
|
1911
|
-
};
|
|
1912
|
-
}[];
|
|
1913
|
-
splitCarryBps: number[];
|
|
1914
|
-
};
|
|
1915
1732
|
juniorExitConfig: {
|
|
1916
1733
|
minimumNoticeSlots: BN;
|
|
1917
1734
|
maximumNoticeSlots: BN;
|
|
@@ -1936,13 +1753,9 @@ export declare class DuskGet {
|
|
|
1936
1753
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
1937
1754
|
quoteInterestGrowthIndexQ64: BN;
|
|
1938
1755
|
baseSwapFeeCheckpointQ64: BN;
|
|
1939
|
-
baseInterestCheckpointQ64: BN;
|
|
1940
1756
|
quoteSwapFeeCheckpointQ64: BN;
|
|
1941
|
-
quoteInterestCheckpointQ64: BN;
|
|
1942
1757
|
baseSwapFeeRemainderQ64: BN;
|
|
1943
|
-
baseInterestRemainderQ64: BN;
|
|
1944
1758
|
quoteSwapFeeRemainderQ64: BN;
|
|
1945
|
-
quoteInterestRemainderQ64: BN;
|
|
1946
1759
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
1947
1760
|
baseInterestGrowthRemainderScaled: BN;
|
|
1948
1761
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -1955,6 +1768,8 @@ export declare class DuskGet {
|
|
|
1955
1768
|
cachedSettlementPriceNad: BN;
|
|
1956
1769
|
fundingAprEmaNad: BN;
|
|
1957
1770
|
fundingAprEmaLastSlot: BN;
|
|
1771
|
+
heldBaseInterest: BN;
|
|
1772
|
+
heldQuoteInterest: BN;
|
|
1958
1773
|
};
|
|
1959
1774
|
quoteHlpVault: {
|
|
1960
1775
|
flashCollateralDebit: BN;
|
|
@@ -1971,13 +1786,9 @@ export declare class DuskGet {
|
|
|
1971
1786
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
1972
1787
|
quoteInterestGrowthIndexQ64: BN;
|
|
1973
1788
|
baseSwapFeeCheckpointQ64: BN;
|
|
1974
|
-
baseInterestCheckpointQ64: BN;
|
|
1975
1789
|
quoteSwapFeeCheckpointQ64: BN;
|
|
1976
|
-
quoteInterestCheckpointQ64: BN;
|
|
1977
1790
|
baseSwapFeeRemainderQ64: BN;
|
|
1978
|
-
baseInterestRemainderQ64: BN;
|
|
1979
1791
|
quoteSwapFeeRemainderQ64: BN;
|
|
1980
|
-
quoteInterestRemainderQ64: BN;
|
|
1981
1792
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
1982
1793
|
baseInterestGrowthRemainderScaled: BN;
|
|
1983
1794
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -1990,6 +1801,8 @@ export declare class DuskGet {
|
|
|
1990
1801
|
cachedSettlementPriceNad: BN;
|
|
1991
1802
|
fundingAprEmaNad: BN;
|
|
1992
1803
|
fundingAprEmaLastSlot: BN;
|
|
1804
|
+
heldBaseInterest: BN;
|
|
1805
|
+
heldQuoteInterest: BN;
|
|
1993
1806
|
};
|
|
1994
1807
|
risk: {
|
|
1995
1808
|
basePriceEmaNad: BN;
|
|
@@ -2118,6 +1931,7 @@ export declare class DuskGet {
|
|
|
2118
1931
|
}[];
|
|
2119
1932
|
slot: number;
|
|
2120
1933
|
epoch: bigint;
|
|
1934
|
+
unixTimestamp: bigint;
|
|
2121
1935
|
state: string;
|
|
2122
1936
|
}>;
|
|
2123
1937
|
previewVirtualBookQuotes(snapshot: DuskVirtualBookSnapshot, options?: VirtualBookQuoteOptions): Promise<import("./virtual-book/quotes.js").DuskVirtualBookQuotes>;
|
|
@@ -2169,7 +1983,6 @@ export declare class DuskGet {
|
|
|
2169
1983
|
hlpMint: PublicKey;
|
|
2170
1984
|
reserveVault: PublicKey;
|
|
2171
1985
|
collateralVault: PublicKey;
|
|
2172
|
-
interestVault: PublicKey;
|
|
2173
1986
|
reserves: {
|
|
2174
1987
|
flashReceivable: BN;
|
|
2175
1988
|
liveReserve: BN;
|
|
@@ -2202,29 +2015,29 @@ export declare class DuskGet {
|
|
|
2202
2015
|
swapRemainderBps: number;
|
|
2203
2016
|
};
|
|
2204
2017
|
};
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2018
|
+
ledger: {
|
|
2019
|
+
publicRecognized: BN;
|
|
2020
|
+
fundingRecognized: BN;
|
|
2021
|
+
credited: BN;
|
|
2022
|
+
protocolUnpaid: BN;
|
|
2023
|
+
operatorClaimable: BN;
|
|
2024
|
+
protocolFractionQ64: BN;
|
|
2025
|
+
operatorFractionQ64: BN;
|
|
2026
|
+
protocolPending: BN;
|
|
2027
|
+
deficit: BN;
|
|
2210
2028
|
};
|
|
2211
2029
|
swapFeeGrowthIndexQ64: BN;
|
|
2212
2030
|
interestGrowthIndexQ64: BN;
|
|
2213
2031
|
swapFeeGrowthRemainderScaled: BN;
|
|
2214
2032
|
interestGrowthRemainderScaled: BN;
|
|
2215
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
2216
2033
|
swapFeeCustodyBalance: BN;
|
|
2217
|
-
interestVaultBalance: BN;
|
|
2218
2034
|
swapFeeLiability: BN;
|
|
2219
|
-
interestLiability: BN;
|
|
2220
2035
|
unallocatedSwapFeeLiability: BN;
|
|
2221
|
-
unallocatedInterestLiability: BN;
|
|
2222
2036
|
swapProtocolFeeLiability: BN;
|
|
2223
2037
|
swapBuybackFeeLiability: BN;
|
|
2224
2038
|
interestProtocolFeeLiability: BN;
|
|
2225
2039
|
interestBuybackFeeLiability: BN;
|
|
2226
2040
|
referralInterestLiability: BN;
|
|
2227
|
-
revenueInterestLiability: BN;
|
|
2228
2041
|
feeSwapAuction: {
|
|
2229
2042
|
acceptedMint: PublicKey;
|
|
2230
2043
|
virtualSoldReserve: BN;
|
|
@@ -2270,7 +2083,6 @@ export declare class DuskGet {
|
|
|
2270
2083
|
hlpMint: PublicKey;
|
|
2271
2084
|
reserveVault: PublicKey;
|
|
2272
2085
|
collateralVault: PublicKey;
|
|
2273
|
-
interestVault: PublicKey;
|
|
2274
2086
|
reserves: {
|
|
2275
2087
|
flashReceivable: BN;
|
|
2276
2088
|
liveReserve: BN;
|
|
@@ -2303,29 +2115,29 @@ export declare class DuskGet {
|
|
|
2303
2115
|
swapRemainderBps: number;
|
|
2304
2116
|
};
|
|
2305
2117
|
};
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2118
|
+
ledger: {
|
|
2119
|
+
publicRecognized: BN;
|
|
2120
|
+
fundingRecognized: BN;
|
|
2121
|
+
credited: BN;
|
|
2122
|
+
protocolUnpaid: BN;
|
|
2123
|
+
operatorClaimable: BN;
|
|
2124
|
+
protocolFractionQ64: BN;
|
|
2125
|
+
operatorFractionQ64: BN;
|
|
2126
|
+
protocolPending: BN;
|
|
2127
|
+
deficit: BN;
|
|
2311
2128
|
};
|
|
2312
2129
|
swapFeeGrowthIndexQ64: BN;
|
|
2313
2130
|
interestGrowthIndexQ64: BN;
|
|
2314
2131
|
swapFeeGrowthRemainderScaled: BN;
|
|
2315
2132
|
interestGrowthRemainderScaled: BN;
|
|
2316
|
-
hlpFundingInterestGrowthRemainderScaled: BN;
|
|
2317
2133
|
swapFeeCustodyBalance: BN;
|
|
2318
|
-
interestVaultBalance: BN;
|
|
2319
2134
|
swapFeeLiability: BN;
|
|
2320
|
-
interestLiability: BN;
|
|
2321
2135
|
unallocatedSwapFeeLiability: BN;
|
|
2322
|
-
unallocatedInterestLiability: BN;
|
|
2323
2136
|
swapProtocolFeeLiability: BN;
|
|
2324
2137
|
swapBuybackFeeLiability: BN;
|
|
2325
2138
|
interestProtocolFeeLiability: BN;
|
|
2326
2139
|
interestBuybackFeeLiability: BN;
|
|
2327
2140
|
referralInterestLiability: BN;
|
|
2328
|
-
revenueInterestLiability: BN;
|
|
2329
2141
|
feeSwapAuction: {
|
|
2330
2142
|
acceptedMint: PublicKey;
|
|
2331
2143
|
virtualSoldReserve: BN;
|
|
@@ -2508,62 +2320,6 @@ export declare class DuskGet {
|
|
|
2508
2320
|
queuedReceipts: BN;
|
|
2509
2321
|
generation: BN;
|
|
2510
2322
|
};
|
|
2511
|
-
income: {
|
|
2512
|
-
books: {
|
|
2513
|
-
epoch: BN;
|
|
2514
|
-
unpaid: BN;
|
|
2515
|
-
units: BN;
|
|
2516
|
-
paidPerUnitQ64: BN;
|
|
2517
|
-
paidRemainder: BN;
|
|
2518
|
-
growth: {
|
|
2519
|
-
unitsQ64: BN;
|
|
2520
|
-
weightedPaidQ128: BN[];
|
|
2521
|
-
}[];
|
|
2522
|
-
}[];
|
|
2523
|
-
revenue: {
|
|
2524
|
-
grossUnpaid: BN;
|
|
2525
|
-
protocolUnpaid: BN;
|
|
2526
|
-
operatorUnpaid: BN;
|
|
2527
|
-
pendingGross: BN;
|
|
2528
|
-
pendingProtocolGross: BN;
|
|
2529
|
-
operatorClaimable: BN;
|
|
2530
|
-
protocolFractionQ64: BN;
|
|
2531
|
-
operatorFractionQ64: BN;
|
|
2532
|
-
protocolCashFractionQ64: BN;
|
|
2533
|
-
}[];
|
|
2534
|
-
pending: BN[];
|
|
2535
|
-
seed: {
|
|
2536
|
-
epoch: BN;
|
|
2537
|
-
unitsQ64: BN;
|
|
2538
|
-
paidCheckpointQ64: BN;
|
|
2539
|
-
growthCheckpoint: {
|
|
2540
|
-
unitsQ64: BN;
|
|
2541
|
-
weightedPaidQ128: BN[];
|
|
2542
|
-
};
|
|
2543
|
-
paidFractionQ128: BN;
|
|
2544
|
-
claimable: BN;
|
|
2545
|
-
}[];
|
|
2546
|
-
hlp: {
|
|
2547
|
-
epoch: BN;
|
|
2548
|
-
unitsQ64: BN;
|
|
2549
|
-
paidCheckpointQ64: BN;
|
|
2550
|
-
growthCheckpoint: {
|
|
2551
|
-
unitsQ64: BN;
|
|
2552
|
-
weightedPaidQ128: BN[];
|
|
2553
|
-
};
|
|
2554
|
-
paidFractionQ128: BN;
|
|
2555
|
-
claimable: BN;
|
|
2556
|
-
}[][];
|
|
2557
|
-
juniorEnd: {
|
|
2558
|
-
ended: boolean;
|
|
2559
|
-
epoch: BN;
|
|
2560
|
-
growth: {
|
|
2561
|
-
unitsQ64: BN;
|
|
2562
|
-
weightedPaidQ128: BN[];
|
|
2563
|
-
};
|
|
2564
|
-
}[];
|
|
2565
|
-
splitCarryBps: number[];
|
|
2566
|
-
};
|
|
2567
2323
|
juniorExitConfig: {
|
|
2568
2324
|
minimumNoticeSlots: BN;
|
|
2569
2325
|
maximumNoticeSlots: BN;
|
|
@@ -2588,13 +2344,9 @@ export declare class DuskGet {
|
|
|
2588
2344
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
2589
2345
|
quoteInterestGrowthIndexQ64: BN;
|
|
2590
2346
|
baseSwapFeeCheckpointQ64: BN;
|
|
2591
|
-
baseInterestCheckpointQ64: BN;
|
|
2592
2347
|
quoteSwapFeeCheckpointQ64: BN;
|
|
2593
|
-
quoteInterestCheckpointQ64: BN;
|
|
2594
2348
|
baseSwapFeeRemainderQ64: BN;
|
|
2595
|
-
baseInterestRemainderQ64: BN;
|
|
2596
2349
|
quoteSwapFeeRemainderQ64: BN;
|
|
2597
|
-
quoteInterestRemainderQ64: BN;
|
|
2598
2350
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
2599
2351
|
baseInterestGrowthRemainderScaled: BN;
|
|
2600
2352
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -2607,6 +2359,8 @@ export declare class DuskGet {
|
|
|
2607
2359
|
cachedSettlementPriceNad: BN;
|
|
2608
2360
|
fundingAprEmaNad: BN;
|
|
2609
2361
|
fundingAprEmaLastSlot: BN;
|
|
2362
|
+
heldBaseInterest: BN;
|
|
2363
|
+
heldQuoteInterest: BN;
|
|
2610
2364
|
};
|
|
2611
2365
|
quoteHlpVault: {
|
|
2612
2366
|
flashCollateralDebit: BN;
|
|
@@ -2623,13 +2377,9 @@ export declare class DuskGet {
|
|
|
2623
2377
|
quoteSwapFeeGrowthIndexQ64: BN;
|
|
2624
2378
|
quoteInterestGrowthIndexQ64: BN;
|
|
2625
2379
|
baseSwapFeeCheckpointQ64: BN;
|
|
2626
|
-
baseInterestCheckpointQ64: BN;
|
|
2627
2380
|
quoteSwapFeeCheckpointQ64: BN;
|
|
2628
|
-
quoteInterestCheckpointQ64: BN;
|
|
2629
2381
|
baseSwapFeeRemainderQ64: BN;
|
|
2630
|
-
baseInterestRemainderQ64: BN;
|
|
2631
2382
|
quoteSwapFeeRemainderQ64: BN;
|
|
2632
|
-
quoteInterestRemainderQ64: BN;
|
|
2633
2383
|
baseSwapFeeGrowthRemainderScaled: BN;
|
|
2634
2384
|
baseInterestGrowthRemainderScaled: BN;
|
|
2635
2385
|
quoteSwapFeeGrowthRemainderScaled: BN;
|
|
@@ -2642,6 +2392,8 @@ export declare class DuskGet {
|
|
|
2642
2392
|
cachedSettlementPriceNad: BN;
|
|
2643
2393
|
fundingAprEmaNad: BN;
|
|
2644
2394
|
fundingAprEmaLastSlot: BN;
|
|
2395
|
+
heldBaseInterest: BN;
|
|
2396
|
+
heldQuoteInterest: BN;
|
|
2645
2397
|
};
|
|
2646
2398
|
risk: {
|
|
2647
2399
|
basePriceEmaNad: BN;
|