@paxoslabs/amplify-sdk 1.0.0 → 1.0.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/LICENSE +28 -0
- package/README.md +145 -0
- package/dist/index.d.mts +280 -306
- package/dist/index.d.ts +280 -306
- package/dist/index.js +554 -518
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +554 -518
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -14
package/dist/index.d.mts
CHANGED
|
@@ -205,8 +205,8 @@ interface ObjectUtils<Raw, Parsed> {
|
|
|
205
205
|
/**
|
|
206
206
|
* This file was auto-generated by Fern from our API Definition.
|
|
207
207
|
*/
|
|
208
|
-
type
|
|
209
|
-
declare const
|
|
208
|
+
type GetApysVaultsRequestOrderByTimestamp$1 = "asc" | "desc";
|
|
209
|
+
declare const GetApysVaultsRequestOrderByTimestamp$1: {
|
|
210
210
|
readonly Asc: "asc";
|
|
211
211
|
readonly Desc: "desc";
|
|
212
212
|
};
|
|
@@ -214,8 +214,8 @@ declare const GetApysRequestOrderByTimestamp$1: {
|
|
|
214
214
|
/**
|
|
215
215
|
* This file was auto-generated by Fern from our API Definition.
|
|
216
216
|
*/
|
|
217
|
-
type
|
|
218
|
-
declare const
|
|
217
|
+
type GetTvlsVaultsRequestOrderByTimestamp$1 = "asc" | "desc";
|
|
218
|
+
declare const GetTvlsVaultsRequestOrderByTimestamp$1: {
|
|
219
219
|
readonly Asc: "asc";
|
|
220
220
|
readonly Desc: "desc";
|
|
221
221
|
};
|
|
@@ -230,7 +230,7 @@ declare const GetTvlsRequestOrderByTimestamp$1: {
|
|
|
230
230
|
* filter: "withdrawable=true AND chainId=1 AND assetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
|
|
231
231
|
* }
|
|
232
232
|
*/
|
|
233
|
-
interface
|
|
233
|
+
interface ListAssetsVaultsRequest {
|
|
234
234
|
/**
|
|
235
235
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
236
236
|
*/
|
|
@@ -260,7 +260,7 @@ interface ListAssetsRequest {
|
|
|
260
260
|
* filter: "vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
261
261
|
* }
|
|
262
262
|
*/
|
|
263
|
-
interface
|
|
263
|
+
interface GetApysVaultsRequest {
|
|
264
264
|
/**
|
|
265
265
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
266
266
|
*/
|
|
@@ -288,7 +288,7 @@ interface GetApysRequest {
|
|
|
288
288
|
/**
|
|
289
289
|
* Order by timestamp. Allowed: asc, desc. Default: asc.
|
|
290
290
|
*/
|
|
291
|
-
orderByTimestamp?:
|
|
291
|
+
orderByTimestamp?: GetApysVaultsRequestOrderByTimestamp$1;
|
|
292
292
|
/**
|
|
293
293
|
* Filter string. Flags: vaultAddress. Optional.
|
|
294
294
|
*/
|
|
@@ -312,7 +312,7 @@ interface GetApysRequest {
|
|
|
312
312
|
* filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
313
313
|
* }
|
|
314
314
|
*/
|
|
315
|
-
interface
|
|
315
|
+
interface GetTvlsVaultsRequest {
|
|
316
316
|
/**
|
|
317
317
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
318
318
|
*/
|
|
@@ -344,7 +344,7 @@ interface GetTvlsRequest {
|
|
|
344
344
|
/**
|
|
345
345
|
* Order by timestamp. Allowed: asc, desc. Default: asc.
|
|
346
346
|
*/
|
|
347
|
-
orderByTimestamp?:
|
|
347
|
+
orderByTimestamp?: GetTvlsVaultsRequestOrderByTimestamp$1;
|
|
348
348
|
/**
|
|
349
349
|
* When true, TVL is summed across all chains for each vault and returned with chainId=0. Default: false.
|
|
350
350
|
*/
|
|
@@ -365,7 +365,7 @@ interface GetTvlsRequest {
|
|
|
365
365
|
* filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
366
366
|
* }
|
|
367
367
|
*/
|
|
368
|
-
interface
|
|
368
|
+
interface ListCompositionsVaultsRequest {
|
|
369
369
|
/**
|
|
370
370
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
371
371
|
*/
|
|
@@ -390,7 +390,7 @@ interface ListCompositionsRequest {
|
|
|
390
390
|
* filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
391
391
|
* }
|
|
392
392
|
*/
|
|
393
|
-
interface
|
|
393
|
+
interface GetLiquidityShortfallsVaultsRequest {
|
|
394
394
|
/**
|
|
395
395
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
396
396
|
*/
|
|
@@ -415,7 +415,7 @@ interface GetLiquidityShortfallsRequest {
|
|
|
415
415
|
* filter: "chainId=1 AND inDeprecation=false"
|
|
416
416
|
* }
|
|
417
417
|
*/
|
|
418
|
-
interface
|
|
418
|
+
interface ListVaultsRequest {
|
|
419
419
|
/**
|
|
420
420
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
421
421
|
*/
|
|
@@ -440,7 +440,7 @@ interface ListRequest {
|
|
|
440
440
|
* filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
|
|
441
441
|
* }
|
|
442
442
|
*/
|
|
443
|
-
interface
|
|
443
|
+
interface GetSupplyCapsVaultsRequest {
|
|
444
444
|
/**
|
|
445
445
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
446
446
|
*/
|
|
@@ -455,22 +455,22 @@ interface GetSupplyCapsRequest {
|
|
|
455
455
|
filter?: string;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
type index_d$
|
|
459
|
-
type index_d$
|
|
460
|
-
type index_d$
|
|
461
|
-
type index_d$
|
|
462
|
-
type index_d$
|
|
463
|
-
type index_d$
|
|
464
|
-
type index_d$
|
|
465
|
-
declare namespace index_d$
|
|
466
|
-
export { type index_d$
|
|
458
|
+
type index_d$e_GetApysVaultsRequest = GetApysVaultsRequest;
|
|
459
|
+
type index_d$e_GetLiquidityShortfallsVaultsRequest = GetLiquidityShortfallsVaultsRequest;
|
|
460
|
+
type index_d$e_GetSupplyCapsVaultsRequest = GetSupplyCapsVaultsRequest;
|
|
461
|
+
type index_d$e_GetTvlsVaultsRequest = GetTvlsVaultsRequest;
|
|
462
|
+
type index_d$e_ListAssetsVaultsRequest = ListAssetsVaultsRequest;
|
|
463
|
+
type index_d$e_ListCompositionsVaultsRequest = ListCompositionsVaultsRequest;
|
|
464
|
+
type index_d$e_ListVaultsRequest = ListVaultsRequest;
|
|
465
|
+
declare namespace index_d$e {
|
|
466
|
+
export { type index_d$e_GetApysVaultsRequest as GetApysVaultsRequest, GetApysVaultsRequestOrderByTimestamp$1 as GetApysVaultsRequestOrderByTimestamp, type index_d$e_GetLiquidityShortfallsVaultsRequest as GetLiquidityShortfallsVaultsRequest, type index_d$e_GetSupplyCapsVaultsRequest as GetSupplyCapsVaultsRequest, type index_d$e_GetTvlsVaultsRequest as GetTvlsVaultsRequest, GetTvlsVaultsRequestOrderByTimestamp$1 as GetTvlsVaultsRequestOrderByTimestamp, type index_d$e_ListAssetsVaultsRequest as ListAssetsVaultsRequest, type index_d$e_ListCompositionsVaultsRequest as ListCompositionsVaultsRequest, type index_d$e_ListVaultsRequest as ListVaultsRequest };
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
/**
|
|
470
470
|
* This file was auto-generated by Fern from our API Definition.
|
|
471
471
|
*/
|
|
472
|
-
type
|
|
473
|
-
declare const
|
|
472
|
+
type GetVolumesWithdrawRequestOrderByTimestamp$1 = "asc" | "desc";
|
|
473
|
+
declare const GetVolumesWithdrawRequestOrderByTimestamp$1: {
|
|
474
474
|
readonly Asc: "asc";
|
|
475
475
|
readonly Desc: "desc";
|
|
476
476
|
};
|
|
@@ -478,8 +478,8 @@ declare const GetVolumesRequestOrderByTimestamp$1: {
|
|
|
478
478
|
/**
|
|
479
479
|
* This file was auto-generated by Fern from our API Definition.
|
|
480
480
|
*/
|
|
481
|
-
type
|
|
482
|
-
declare const
|
|
481
|
+
type PrepareWithdrawRequestResponseFormat$1 = "encoded" | "full" | "structured";
|
|
482
|
+
declare const PrepareWithdrawRequestResponseFormat$1: {
|
|
483
483
|
readonly Encoded: "encoded";
|
|
484
484
|
readonly Full: "full";
|
|
485
485
|
readonly Structured: "structured";
|
|
@@ -488,8 +488,8 @@ declare const PrepareWithdrawalRequestResponseFormat$1: {
|
|
|
488
488
|
/**
|
|
489
489
|
* This file was auto-generated by Fern from our API Definition.
|
|
490
490
|
*/
|
|
491
|
-
type
|
|
492
|
-
declare const
|
|
491
|
+
type CancelWithdrawRequestResponseFormat$1 = "encoded" | "full" | "structured";
|
|
492
|
+
declare const CancelWithdrawRequestResponseFormat$1: {
|
|
493
493
|
readonly Encoded: "encoded";
|
|
494
494
|
readonly Full: "full";
|
|
495
495
|
readonly Structured: "structured";
|
|
@@ -505,7 +505,7 @@ declare const CancelRequestResponseFormat$1: {
|
|
|
505
505
|
* filter: "status=PENDING AND chainId=1 AND wantAssetAddress=0x1234567890abcdef1234567890abcdef12345678 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678 AND userAddress=0x1234567890abcdef1234567890abcdef12345678 AND isMarkedForRefund=false"
|
|
506
506
|
* }
|
|
507
507
|
*/
|
|
508
|
-
interface
|
|
508
|
+
interface ListRequestsWithdrawRequest {
|
|
509
509
|
/**
|
|
510
510
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
511
511
|
*/
|
|
@@ -535,7 +535,7 @@ interface ListRequestsRequest {
|
|
|
535
535
|
* filter: "chainId=1 AND wantAssetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
|
|
536
536
|
* }
|
|
537
537
|
*/
|
|
538
|
-
interface
|
|
538
|
+
interface GetVolumesWithdrawRequest {
|
|
539
539
|
/**
|
|
540
540
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
541
541
|
*/
|
|
@@ -563,7 +563,7 @@ interface GetVolumesRequest {
|
|
|
563
563
|
/**
|
|
564
564
|
* Order by timestamp. Allowed: asc, desc. Default: asc.
|
|
565
565
|
*/
|
|
566
|
-
orderByTimestamp?:
|
|
566
|
+
orderByTimestamp?: GetVolumesWithdrawRequestOrderByTimestamp$1;
|
|
567
567
|
/**
|
|
568
568
|
* Filter string. Flags: chainId, wantAssetAddress. Optional.
|
|
569
569
|
*/
|
|
@@ -587,7 +587,7 @@ interface GetVolumesRequest {
|
|
|
587
587
|
* chainId: 1
|
|
588
588
|
* }
|
|
589
589
|
*/
|
|
590
|
-
interface
|
|
590
|
+
interface PrepareWithdrawRequest {
|
|
591
591
|
/**
|
|
592
592
|
* BoringVault contract address (0x + 40 hex chars)
|
|
593
593
|
*/
|
|
@@ -623,7 +623,7 @@ interface PrepareWithdrawalRequest {
|
|
|
623
623
|
/**
|
|
624
624
|
* Controls response fields. "encoded" (default): ABI-encoded calldata only. "full": calldata + ABI fragment, function name, args. "structured": ABI fragment, function name, args only.
|
|
625
625
|
*/
|
|
626
|
-
responseFormat?:
|
|
626
|
+
responseFormat?: PrepareWithdrawRequestResponseFormat$1;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
/**
|
|
@@ -638,7 +638,7 @@ interface PrepareWithdrawalRequest {
|
|
|
638
638
|
* chainId: 1
|
|
639
639
|
* }
|
|
640
640
|
*/
|
|
641
|
-
interface
|
|
641
|
+
interface CancelWithdrawRequest {
|
|
642
642
|
/**
|
|
643
643
|
* BoringVault contract address (0x + 40 hex chars)
|
|
644
644
|
*/
|
|
@@ -654,7 +654,7 @@ interface CancelRequest {
|
|
|
654
654
|
/**
|
|
655
655
|
* Controls response fields. "encoded" (default): ABI-encoded calldata only. "full": calldata + ABI fragment, function name, args. "structured": ABI fragment, function name, args only.
|
|
656
656
|
*/
|
|
657
|
-
responseFormat?:
|
|
657
|
+
responseFormat?: CancelWithdrawRequestResponseFormat$1;
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
/**
|
|
@@ -669,7 +669,7 @@ interface CancelRequest {
|
|
|
669
669
|
* chainId: 1
|
|
670
670
|
* }
|
|
671
671
|
*/
|
|
672
|
-
interface
|
|
672
|
+
interface CalculateFeeWithdrawRequest {
|
|
673
673
|
/**
|
|
674
674
|
* Share amount to withdraw (base units decimal string)
|
|
675
675
|
*/
|
|
@@ -688,13 +688,13 @@ interface CalculateFeeRequest {
|
|
|
688
688
|
chainId: number;
|
|
689
689
|
}
|
|
690
690
|
|
|
691
|
-
type index_d$
|
|
692
|
-
type index_d$
|
|
693
|
-
type index_d$
|
|
694
|
-
type index_d$
|
|
695
|
-
type index_d$
|
|
696
|
-
declare namespace index_d$
|
|
697
|
-
export { type index_d$
|
|
691
|
+
type index_d$d_CalculateFeeWithdrawRequest = CalculateFeeWithdrawRequest;
|
|
692
|
+
type index_d$d_CancelWithdrawRequest = CancelWithdrawRequest;
|
|
693
|
+
type index_d$d_GetVolumesWithdrawRequest = GetVolumesWithdrawRequest;
|
|
694
|
+
type index_d$d_ListRequestsWithdrawRequest = ListRequestsWithdrawRequest;
|
|
695
|
+
type index_d$d_PrepareWithdrawRequest = PrepareWithdrawRequest;
|
|
696
|
+
declare namespace index_d$d {
|
|
697
|
+
export { type index_d$d_CalculateFeeWithdrawRequest as CalculateFeeWithdrawRequest, type index_d$d_CancelWithdrawRequest as CancelWithdrawRequest, CancelWithdrawRequestResponseFormat$1 as CancelWithdrawRequestResponseFormat, type index_d$d_GetVolumesWithdrawRequest as GetVolumesWithdrawRequest, GetVolumesWithdrawRequestOrderByTimestamp$1 as GetVolumesWithdrawRequestOrderByTimestamp, type index_d$d_ListRequestsWithdrawRequest as ListRequestsWithdrawRequest, type index_d$d_PrepareWithdrawRequest as PrepareWithdrawRequest, PrepareWithdrawRequestResponseFormat$1 as PrepareWithdrawRequestResponseFormat };
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
/**
|
|
@@ -763,9 +763,9 @@ interface PrepareDepositRequest {
|
|
|
763
763
|
responseFormat?: PrepareDepositRequestResponseFormat$1;
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
-
type index_d$
|
|
767
|
-
declare namespace index_d$
|
|
768
|
-
export { type index_d$
|
|
766
|
+
type index_d$c_PrepareDepositRequest = PrepareDepositRequest;
|
|
767
|
+
declare namespace index_d$c {
|
|
768
|
+
export { type index_d$c_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat };
|
|
769
769
|
}
|
|
770
770
|
|
|
771
771
|
/**
|
|
@@ -779,7 +779,7 @@ declare namespace index_d$a {
|
|
|
779
779
|
* filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
|
|
780
780
|
* }
|
|
781
781
|
*/
|
|
782
|
-
interface
|
|
782
|
+
interface GetPositionsUsersRequest {
|
|
783
783
|
/**
|
|
784
784
|
* Maximum items per page. Default: 25. Min: 1, max: 100.
|
|
785
785
|
*/
|
|
@@ -798,33 +798,9 @@ interface GetPositionsRequest {
|
|
|
798
798
|
filter?: string;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
type index_d$
|
|
802
|
-
declare namespace index_d$
|
|
803
|
-
export type { index_d$
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
808
|
-
*/
|
|
809
|
-
/**
|
|
810
|
-
* @example
|
|
811
|
-
* {
|
|
812
|
-
* to: "0x0000000000000000000000000000000000000123",
|
|
813
|
-
* from: "0x0000000000000000000000000000000000000456",
|
|
814
|
-
* chain: "base"
|
|
815
|
-
* }
|
|
816
|
-
*/
|
|
817
|
-
interface KytRequestDto$1 {
|
|
818
|
-
/** Destination address for funds */
|
|
819
|
-
to: string;
|
|
820
|
-
/** User wallet address to evaluate */
|
|
821
|
-
from: string;
|
|
822
|
-
/** Chain name */
|
|
823
|
-
chain: string;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
declare namespace index_d$8 {
|
|
827
|
-
export type { KytRequestDto$1 as KytRequestDto };
|
|
801
|
+
type index_d$b_GetPositionsUsersRequest = GetPositionsUsersRequest;
|
|
802
|
+
declare namespace index_d$b {
|
|
803
|
+
export type { index_d$b_GetPositionsUsersRequest as GetPositionsUsersRequest };
|
|
828
804
|
}
|
|
829
805
|
|
|
830
806
|
/**
|
|
@@ -833,28 +809,43 @@ declare namespace index_d$8 {
|
|
|
833
809
|
/**
|
|
834
810
|
* @example
|
|
835
811
|
* {
|
|
836
|
-
*
|
|
837
|
-
*
|
|
812
|
+
* userDestinationAddress: "0x0000000000000000000000000000000000000123",
|
|
813
|
+
* vaultAddress: "0x1234567890abcdef1234567890abcdef12345678",
|
|
814
|
+
* inputToken: "0xf08a50178dfcde18524640ea6618a1f965821715",
|
|
815
|
+
* chainId: 1
|
|
838
816
|
* }
|
|
839
817
|
*/
|
|
840
|
-
interface
|
|
841
|
-
/**
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* Filter string. Flags: chainId, address, name. Optional.
|
|
851
|
-
*/
|
|
852
|
-
filter?: string;
|
|
818
|
+
interface SmartDepositAddressRequestDto$1 {
|
|
819
|
+
/** Address of end user who we are depositing funds on behalf of */
|
|
820
|
+
userDestinationAddress: string;
|
|
821
|
+
/** Vault contract address */
|
|
822
|
+
vaultAddress: string;
|
|
823
|
+
/** Underlying token address to deposit into the vault */
|
|
824
|
+
inputToken: string;
|
|
825
|
+
/** Chain ID where the vault exists */
|
|
826
|
+
chainId: number;
|
|
853
827
|
}
|
|
854
828
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
829
|
+
declare namespace index_d$a {
|
|
830
|
+
export type { SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto };
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
type index_d$9_CalculateFeeWithdrawRequest = CalculateFeeWithdrawRequest;
|
|
834
|
+
type index_d$9_CancelWithdrawRequest = CancelWithdrawRequest;
|
|
835
|
+
type index_d$9_GetApysVaultsRequest = GetApysVaultsRequest;
|
|
836
|
+
type index_d$9_GetLiquidityShortfallsVaultsRequest = GetLiquidityShortfallsVaultsRequest;
|
|
837
|
+
type index_d$9_GetPositionsUsersRequest = GetPositionsUsersRequest;
|
|
838
|
+
type index_d$9_GetSupplyCapsVaultsRequest = GetSupplyCapsVaultsRequest;
|
|
839
|
+
type index_d$9_GetTvlsVaultsRequest = GetTvlsVaultsRequest;
|
|
840
|
+
type index_d$9_GetVolumesWithdrawRequest = GetVolumesWithdrawRequest;
|
|
841
|
+
type index_d$9_ListAssetsVaultsRequest = ListAssetsVaultsRequest;
|
|
842
|
+
type index_d$9_ListCompositionsVaultsRequest = ListCompositionsVaultsRequest;
|
|
843
|
+
type index_d$9_ListRequestsWithdrawRequest = ListRequestsWithdrawRequest;
|
|
844
|
+
type index_d$9_ListVaultsRequest = ListVaultsRequest;
|
|
845
|
+
type index_d$9_PrepareDepositRequest = PrepareDepositRequest;
|
|
846
|
+
type index_d$9_PrepareWithdrawRequest = PrepareWithdrawRequest;
|
|
847
|
+
declare namespace index_d$9 {
|
|
848
|
+
export { type index_d$9_CalculateFeeWithdrawRequest as CalculateFeeWithdrawRequest, type index_d$9_CancelWithdrawRequest as CancelWithdrawRequest, CancelWithdrawRequestResponseFormat$1 as CancelWithdrawRequestResponseFormat, type index_d$9_GetApysVaultsRequest as GetApysVaultsRequest, GetApysVaultsRequestOrderByTimestamp$1 as GetApysVaultsRequestOrderByTimestamp, type index_d$9_GetLiquidityShortfallsVaultsRequest as GetLiquidityShortfallsVaultsRequest, type index_d$9_GetPositionsUsersRequest as GetPositionsUsersRequest, type index_d$9_GetSupplyCapsVaultsRequest as GetSupplyCapsVaultsRequest, type index_d$9_GetTvlsVaultsRequest as GetTvlsVaultsRequest, GetTvlsVaultsRequestOrderByTimestamp$1 as GetTvlsVaultsRequestOrderByTimestamp, type index_d$9_GetVolumesWithdrawRequest as GetVolumesWithdrawRequest, GetVolumesWithdrawRequestOrderByTimestamp$1 as GetVolumesWithdrawRequestOrderByTimestamp, type index_d$9_ListAssetsVaultsRequest as ListAssetsVaultsRequest, type index_d$9_ListCompositionsVaultsRequest as ListCompositionsVaultsRequest, type index_d$9_ListRequestsWithdrawRequest as ListRequestsWithdrawRequest, type index_d$9_ListVaultsRequest as ListVaultsRequest, type index_d$9_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat, type index_d$9_PrepareWithdrawRequest as PrepareWithdrawRequest, PrepareWithdrawRequestResponseFormat$1 as PrepareWithdrawRequestResponseFormat, type SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto, index_d$c as deposit, index_d$a as smartDeposits, index_d$b as users, index_d$e as vaults, index_d$d as withdraw };
|
|
858
849
|
}
|
|
859
850
|
|
|
860
851
|
/**
|
|
@@ -870,7 +861,7 @@ declare namespace index_d$7 {
|
|
|
870
861
|
* chainId: 1
|
|
871
862
|
* }
|
|
872
863
|
*/
|
|
873
|
-
interface
|
|
864
|
+
interface DetectAuthorizationRequest {
|
|
874
865
|
/**
|
|
875
866
|
* BoringVault contract address (0x + 40 hex chars)
|
|
876
867
|
*/
|
|
@@ -893,9 +884,14 @@ interface AuthorizeRequest {
|
|
|
893
884
|
chainId: number;
|
|
894
885
|
}
|
|
895
886
|
|
|
896
|
-
type index_d$
|
|
897
|
-
declare namespace index_d$
|
|
898
|
-
export type { index_d$
|
|
887
|
+
type index_d$8_DetectAuthorizationRequest = DetectAuthorizationRequest;
|
|
888
|
+
declare namespace index_d$8 {
|
|
889
|
+
export type { index_d$8_DetectAuthorizationRequest as DetectAuthorizationRequest };
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
type index_d$7_DetectAuthorizationRequest = DetectAuthorizationRequest;
|
|
893
|
+
declare namespace index_d$7 {
|
|
894
|
+
export { type index_d$7_DetectAuthorizationRequest as DetectAuthorizationRequest, index_d$8 as authorization };
|
|
899
895
|
}
|
|
900
896
|
|
|
901
897
|
/**
|
|
@@ -1560,23 +1556,21 @@ interface UserPositionsResponseDto$1 {
|
|
|
1560
1556
|
/**
|
|
1561
1557
|
* This file was auto-generated by Fern from our API Definition.
|
|
1562
1558
|
*/
|
|
1563
|
-
interface
|
|
1564
|
-
/**
|
|
1565
|
-
|
|
1566
|
-
/** Vault contract address */
|
|
1567
|
-
vaultAddress: string;
|
|
1568
|
-
/** Underlying token address to deposit into the vault */
|
|
1569
|
-
inputToken: string;
|
|
1570
|
-
/** Chain ID where the vault exists */
|
|
1571
|
-
chainId: number;
|
|
1559
|
+
interface SmartDepositAddressResponseDto$1 {
|
|
1560
|
+
/** The smart deposit address for the given user */
|
|
1561
|
+
smartDepositAddress: string;
|
|
1572
1562
|
}
|
|
1573
1563
|
|
|
1574
1564
|
/**
|
|
1575
1565
|
* This file was auto-generated by Fern from our API Definition.
|
|
1576
1566
|
*/
|
|
1577
|
-
interface
|
|
1578
|
-
/**
|
|
1579
|
-
|
|
1567
|
+
interface KytRequestDto$1 {
|
|
1568
|
+
/** Destination address for funds */
|
|
1569
|
+
to: string;
|
|
1570
|
+
/** User wallet address to evaluate */
|
|
1571
|
+
from: string;
|
|
1572
|
+
/** Chain name */
|
|
1573
|
+
chain: string;
|
|
1580
1574
|
}
|
|
1581
1575
|
|
|
1582
1576
|
/**
|
|
@@ -1675,8 +1669,8 @@ interface ApprovalTransactionDto$1 {
|
|
|
1675
1669
|
/**
|
|
1676
1670
|
* This file was auto-generated by Fern from our API Definition.
|
|
1677
1671
|
*/
|
|
1678
|
-
type
|
|
1679
|
-
declare const
|
|
1672
|
+
type AuthorizationResponseDtoMethod$1 = "permit" | "approval" | "already_approved";
|
|
1673
|
+
declare const AuthorizationResponseDtoMethod$1: {
|
|
1680
1674
|
readonly Permit: "permit";
|
|
1681
1675
|
readonly Approval: "approval";
|
|
1682
1676
|
readonly AlreadyApproved: "already_approved";
|
|
@@ -1686,8 +1680,8 @@ declare const PermitResponseDtoMethod$1: {
|
|
|
1686
1680
|
* This file was auto-generated by Fern from our API Definition.
|
|
1687
1681
|
*/
|
|
1688
1682
|
|
|
1689
|
-
interface
|
|
1690
|
-
method:
|
|
1683
|
+
interface AuthorizationResponseDto$1 {
|
|
1684
|
+
method: AuthorizationResponseDtoMethod$1;
|
|
1691
1685
|
/** Present when method=permit */
|
|
1692
1686
|
permitData?: PermitTypedDataResponseDto$1;
|
|
1693
1687
|
/** Present when method=approval */
|
|
@@ -1784,32 +1778,16 @@ declare class ForbiddenError extends AmplifyError {
|
|
|
1784
1778
|
constructor(body: ErrorResponseDto$1, rawResponse?: RawResponse);
|
|
1785
1779
|
}
|
|
1786
1780
|
|
|
1787
|
-
type index_d$
|
|
1788
|
-
|
|
1789
|
-
type index_d$
|
|
1790
|
-
declare const index_d$
|
|
1791
|
-
type index_d$
|
|
1792
|
-
|
|
1793
|
-
type index_d$
|
|
1794
|
-
declare const index_d$
|
|
1795
|
-
|
|
1796
|
-
type index_d$
|
|
1797
|
-
type index_d$5_GetPositionsRequest = GetPositionsRequest;
|
|
1798
|
-
type index_d$5_GetSupplyCapsRequest = GetSupplyCapsRequest;
|
|
1799
|
-
type index_d$5_GetTvlsRequest = GetTvlsRequest;
|
|
1800
|
-
type index_d$5_GetVolumesRequest = GetVolumesRequest;
|
|
1801
|
-
type index_d$5_ListAssetsRequest = ListAssetsRequest;
|
|
1802
|
-
type index_d$5_ListCompositionsRequest = ListCompositionsRequest;
|
|
1803
|
-
type index_d$5_ListRequest = ListRequest;
|
|
1804
|
-
type index_d$5_ListRequestsRequest = ListRequestsRequest;
|
|
1805
|
-
type index_d$5_NotFoundError = NotFoundError;
|
|
1806
|
-
declare const index_d$5_NotFoundError: typeof NotFoundError;
|
|
1807
|
-
type index_d$5_PrepareDepositRequest = PrepareDepositRequest;
|
|
1808
|
-
type index_d$5_PrepareWithdrawalRequest = PrepareWithdrawalRequest;
|
|
1809
|
-
type index_d$5_ServiceUnavailableError = ServiceUnavailableError;
|
|
1810
|
-
declare const index_d$5_ServiceUnavailableError: typeof ServiceUnavailableError;
|
|
1811
|
-
declare namespace index_d$5 {
|
|
1812
|
-
export { type index_d$5_AddressBookControllerGetAddressBookEntriesV2Request as AddressBookControllerGetAddressBookEntriesV2Request, type AddressBookEntriesResponseDto$1 as AddressBookEntriesResponseDto, type AddressBookEntryDto$1 as AddressBookEntryDto, type ApprovalTransactionDto$1 as ApprovalTransactionDto, type index_d$5_AuthorizeRequest as AuthorizeRequest, index_d$5_BadRequestError as BadRequestError, type index_d$5_CalculateFeeRequest as CalculateFeeRequest, type CalculateWithdrawalFeeResponseDto$1 as CalculateWithdrawalFeeResponseDto, type index_d$5_CancelRequest as CancelRequest, CancelRequestResponseFormat$1 as CancelRequestResponseFormat, type ErrorDetailDto$1 as ErrorDetailDto, type ErrorObjectDto$1 as ErrorObjectDto, ErrorObjectDtoStatus$1 as ErrorObjectDtoStatus, type ErrorResponseDto$1 as ErrorResponseDto, type FeeDto$1 as FeeDto, type FieldViolationDto$1 as FieldViolationDto, index_d$5_ForbiddenError as ForbiddenError, type index_d$5_GetApysRequest as GetApysRequest, GetApysRequestOrderByTimestamp$1 as GetApysRequestOrderByTimestamp, type index_d$5_GetLiquidityShortfallsRequest as GetLiquidityShortfallsRequest, type index_d$5_GetPositionsRequest as GetPositionsRequest, type index_d$5_GetSupplyCapsRequest as GetSupplyCapsRequest, type index_d$5_GetTvlsRequest as GetTvlsRequest, GetTvlsRequestOrderByTimestamp$1 as GetTvlsRequestOrderByTimestamp, type index_d$5_GetVolumesRequest as GetVolumesRequest, GetVolumesRequestOrderByTimestamp$1 as GetVolumesRequestOrderByTimestamp, type KytAttestationDto$1 as KytAttestationDto, type KytRequestDto$1 as KytRequestDto, type KytResponseDto$1 as KytResponseDto, type LiquidityShortfallDto$1 as LiquidityShortfallDto, type LiquidityShortfallsResponseDto$1 as LiquidityShortfallsResponseDto, type index_d$5_ListAssetsRequest as ListAssetsRequest, type index_d$5_ListCompositionsRequest as ListCompositionsRequest, type index_d$5_ListRequest as ListRequest, type index_d$5_ListRequestsRequest as ListRequestsRequest, type ListVaultRewardsResponseDto$1 as ListVaultRewardsResponseDto, index_d$5_NotFoundError as NotFoundError, type PermitDomainDto$1 as PermitDomainDto, type PermitResponseDto$1 as PermitResponseDto, PermitResponseDtoMethod$1 as PermitResponseDtoMethod, type PermitTypedDataResponseDto$1 as PermitTypedDataResponseDto, type PermitValueDto$1 as PermitValueDto, type PrepareCancelWithdrawResponseDto$1 as PrepareCancelWithdrawResponseDto, type index_d$5_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat, type PrepareDepositResponseDto$1 as PrepareDepositResponseDto, type PrepareWithdrawResponseDto$1 as PrepareWithdrawResponseDto, type index_d$5_PrepareWithdrawalRequest as PrepareWithdrawalRequest, PrepareWithdrawalRequestResponseFormat$1 as PrepareWithdrawalRequestResponseFormat, type PreparedTransactionDto$1 as PreparedTransactionDto, index_d$5_ServiceUnavailableError as ServiceUnavailableError, type SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto, type SmartDepositAddressResponseDto$1 as SmartDepositAddressResponseDto, type SupplyCapEntryDto$1 as SupplyCapEntryDto, type SupplyCapsResponseDto$1 as SupplyCapsResponseDto, type TokenAmountDto$1 as TokenAmountDto, type TokenAmountWithCapDto$1 as TokenAmountWithCapDto, type UserPositionEntryDto$1 as UserPositionEntryDto, type UserPositionsResponseDto$1 as UserPositionsResponseDto, type VaultApyDto$1 as VaultApyDto, type VaultApysResponseDto$1 as VaultApysResponseDto, type VaultAssetConfigDto$1 as VaultAssetConfigDto, type VaultAssetDto$1 as VaultAssetDto, type VaultAssetsResponseDto$1 as VaultAssetsResponseDto, type VaultCompositionComponentDto$1 as VaultCompositionComponentDto, VaultCompositionComponentDtoInstrumentType$1 as VaultCompositionComponentDtoInstrumentType, VaultCompositionComponentDtoPositionKind$1 as VaultCompositionComponentDtoPositionKind, type VaultCompositionDto$1 as VaultCompositionDto, type VaultCompositionPositionRefDto$1 as VaultCompositionPositionRefDto, VaultCompositionPositionRefDtoType$1 as VaultCompositionPositionRefDtoType, type VaultCompositionsResponseDto$1 as VaultCompositionsResponseDto, type VaultDeploymentDto$1 as VaultDeploymentDto, type VaultDto$1 as VaultDto, type VaultRewardDto$1 as VaultRewardDto, type VaultTvlDto$1 as VaultTvlDto, type VaultTvlsResponseDto$1 as VaultTvlsResponseDto, type VaultsResponseDto$1 as VaultsResponseDto, type WithdrawalRequestDto$1 as WithdrawalRequestDto, WithdrawalRequestDtoStatus$1 as WithdrawalRequestDtoStatus, type WithdrawalRequestsResponseDto$1 as WithdrawalRequestsResponseDto, type WithdrawalSlAsDto$1 as WithdrawalSlAsDto, type WithdrawalVolumeDto$1 as WithdrawalVolumeDto, type WithdrawalVolumesResponseDto$1 as WithdrawalVolumesResponseDto, index_d$7 as addressBook, index_d$a as deposit, index_d$8 as kyt, index_d$6 as permit, index_d$9 as users, index_d$c as vaults, index_d$b as withdraw };
|
|
1781
|
+
type index_d$6_BadRequestError = BadRequestError;
|
|
1782
|
+
declare const index_d$6_BadRequestError: typeof BadRequestError;
|
|
1783
|
+
type index_d$6_ForbiddenError = ForbiddenError;
|
|
1784
|
+
declare const index_d$6_ForbiddenError: typeof ForbiddenError;
|
|
1785
|
+
type index_d$6_NotFoundError = NotFoundError;
|
|
1786
|
+
declare const index_d$6_NotFoundError: typeof NotFoundError;
|
|
1787
|
+
type index_d$6_ServiceUnavailableError = ServiceUnavailableError;
|
|
1788
|
+
declare const index_d$6_ServiceUnavailableError: typeof ServiceUnavailableError;
|
|
1789
|
+
declare namespace index_d$6 {
|
|
1790
|
+
export { type AddressBookEntriesResponseDto$1 as AddressBookEntriesResponseDto, type AddressBookEntryDto$1 as AddressBookEntryDto, type ApprovalTransactionDto$1 as ApprovalTransactionDto, type AuthorizationResponseDto$1 as AuthorizationResponseDto, AuthorizationResponseDtoMethod$1 as AuthorizationResponseDtoMethod, index_d$6_BadRequestError as BadRequestError, type CalculateWithdrawalFeeResponseDto$1 as CalculateWithdrawalFeeResponseDto, type ErrorDetailDto$1 as ErrorDetailDto, type ErrorObjectDto$1 as ErrorObjectDto, ErrorObjectDtoStatus$1 as ErrorObjectDtoStatus, type ErrorResponseDto$1 as ErrorResponseDto, type FeeDto$1 as FeeDto, type FieldViolationDto$1 as FieldViolationDto, index_d$6_ForbiddenError as ForbiddenError, type KytAttestationDto$1 as KytAttestationDto, type KytRequestDto$1 as KytRequestDto, type KytResponseDto$1 as KytResponseDto, type LiquidityShortfallDto$1 as LiquidityShortfallDto, type LiquidityShortfallsResponseDto$1 as LiquidityShortfallsResponseDto, type ListVaultRewardsResponseDto$1 as ListVaultRewardsResponseDto, index_d$6_NotFoundError as NotFoundError, type PermitDomainDto$1 as PermitDomainDto, type PermitTypedDataResponseDto$1 as PermitTypedDataResponseDto, type PermitValueDto$1 as PermitValueDto, type PrepareCancelWithdrawResponseDto$1 as PrepareCancelWithdrawResponseDto, type PrepareDepositResponseDto$1 as PrepareDepositResponseDto, type PrepareWithdrawResponseDto$1 as PrepareWithdrawResponseDto, type PreparedTransactionDto$1 as PreparedTransactionDto, index_d$6_ServiceUnavailableError as ServiceUnavailableError, type SmartDepositAddressResponseDto$1 as SmartDepositAddressResponseDto, type SupplyCapEntryDto$1 as SupplyCapEntryDto, type SupplyCapsResponseDto$1 as SupplyCapsResponseDto, type TokenAmountDto$1 as TokenAmountDto, type TokenAmountWithCapDto$1 as TokenAmountWithCapDto, type UserPositionEntryDto$1 as UserPositionEntryDto, type UserPositionsResponseDto$1 as UserPositionsResponseDto, type VaultApyDto$1 as VaultApyDto, type VaultApysResponseDto$1 as VaultApysResponseDto, type VaultAssetConfigDto$1 as VaultAssetConfigDto, type VaultAssetDto$1 as VaultAssetDto, type VaultAssetsResponseDto$1 as VaultAssetsResponseDto, type VaultCompositionComponentDto$1 as VaultCompositionComponentDto, VaultCompositionComponentDtoInstrumentType$1 as VaultCompositionComponentDtoInstrumentType, VaultCompositionComponentDtoPositionKind$1 as VaultCompositionComponentDtoPositionKind, type VaultCompositionDto$1 as VaultCompositionDto, type VaultCompositionPositionRefDto$1 as VaultCompositionPositionRefDto, VaultCompositionPositionRefDtoType$1 as VaultCompositionPositionRefDtoType, type VaultCompositionsResponseDto$1 as VaultCompositionsResponseDto, type VaultDeploymentDto$1 as VaultDeploymentDto, type VaultDto$1 as VaultDto, type VaultRewardDto$1 as VaultRewardDto, type VaultTvlDto$1 as VaultTvlDto, type VaultTvlsResponseDto$1 as VaultTvlsResponseDto, type VaultsResponseDto$1 as VaultsResponseDto, type WithdrawalRequestDto$1 as WithdrawalRequestDto, WithdrawalRequestDtoStatus$1 as WithdrawalRequestDtoStatus, type WithdrawalRequestsResponseDto$1 as WithdrawalRequestsResponseDto, type WithdrawalSlAsDto$1 as WithdrawalSlAsDto, type WithdrawalVolumeDto$1 as WithdrawalVolumeDto, type WithdrawalVolumesResponseDto$1 as WithdrawalVolumesResponseDto, index_d$9 as amplify, index_d$7 as core };
|
|
1813
1791
|
}
|
|
1814
1792
|
|
|
1815
1793
|
/**
|
|
@@ -1840,29 +1818,29 @@ declare class Vaults {
|
|
|
1840
1818
|
/**
|
|
1841
1819
|
* Returns depositable and withdrawable assets for vaults. Filter by vault address, chain ID, or asset capabilities. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
|
|
1842
1820
|
*
|
|
1843
|
-
* @param {Amplify.
|
|
1821
|
+
* @param {Amplify.amplify.ListAssetsVaultsRequest} request
|
|
1844
1822
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1845
1823
|
*
|
|
1846
1824
|
* @throws {@link Amplify.BadRequestError}
|
|
1847
1825
|
*
|
|
1848
1826
|
* @example
|
|
1849
|
-
* await client.vaults.listAssets({
|
|
1827
|
+
* await client.amplify.vaults.listAssets({
|
|
1850
1828
|
* pageSize: 25,
|
|
1851
1829
|
* filter: "withdrawable=true AND chainId=1 AND assetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
|
|
1852
1830
|
* })
|
|
1853
1831
|
*/
|
|
1854
|
-
listAssets(request?:
|
|
1832
|
+
listAssets(request?: ListAssetsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultAssetsResponseDto$1>;
|
|
1855
1833
|
private __listAssets;
|
|
1856
1834
|
/**
|
|
1857
1835
|
* Returns historical and current APY data for vaults. APY is returned in percent (e.g. 4.25 for 4.25%). Time range: provide startTime+endTime, or lookback from now; if all omitted, lookback defaults to 30 days (2592000s). startTime/endTime take precedence over lookback when both are set. Defaults: interval=86400s (1 day); orderByTimestamp=asc; pageSize=25 (max 100); omit pageToken for the first page.
|
|
1858
1836
|
*
|
|
1859
|
-
* @param {Amplify.
|
|
1837
|
+
* @param {Amplify.amplify.GetApysVaultsRequest} request
|
|
1860
1838
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1861
1839
|
*
|
|
1862
1840
|
* @throws {@link Amplify.BadRequestError}
|
|
1863
1841
|
*
|
|
1864
1842
|
* @example
|
|
1865
|
-
* await client.vaults.getApys({
|
|
1843
|
+
* await client.amplify.vaults.getApys({
|
|
1866
1844
|
* pageSize: 25,
|
|
1867
1845
|
* startTime: "2026-01-01T00:00:00Z",
|
|
1868
1846
|
* endTime: "2026-01-21T00:00:00Z",
|
|
@@ -1871,18 +1849,18 @@ declare class Vaults {
|
|
|
1871
1849
|
* filter: "vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
1872
1850
|
* })
|
|
1873
1851
|
*/
|
|
1874
|
-
getApys(request?:
|
|
1852
|
+
getApys(request?: GetApysVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultApysResponseDto$1>;
|
|
1875
1853
|
private __getApys;
|
|
1876
1854
|
/**
|
|
1877
1855
|
* Returns historical and current TVL data for vaults. Time range: provide startTime+endTime, or lookback from now; if all omitted, lookback defaults to 30 days (2592000s). startTime/endTime take precedence over lookback when both are set. Defaults: interval=86400s (1 day); orderByTimestamp=asc; pageSize=25 (max 100); omit pageToken for the first page.
|
|
1878
1856
|
*
|
|
1879
|
-
* @param {Amplify.
|
|
1857
|
+
* @param {Amplify.amplify.GetTvlsVaultsRequest} request
|
|
1880
1858
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1881
1859
|
*
|
|
1882
1860
|
* @throws {@link Amplify.BadRequestError}
|
|
1883
1861
|
*
|
|
1884
1862
|
* @example
|
|
1885
|
-
* await client.vaults.getTvls({
|
|
1863
|
+
* await client.amplify.vaults.getTvls({
|
|
1886
1864
|
* pageSize: 25,
|
|
1887
1865
|
* startTime: "2026-01-01T00:00:00Z",
|
|
1888
1866
|
* endTime: "2026-01-21T00:00:00Z",
|
|
@@ -1893,72 +1871,72 @@ declare class Vaults {
|
|
|
1893
1871
|
* filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
1894
1872
|
* })
|
|
1895
1873
|
*/
|
|
1896
|
-
getTvls(request?:
|
|
1874
|
+
getTvls(request?: GetTvlsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultTvlsResponseDto$1>;
|
|
1897
1875
|
private __getTvls;
|
|
1898
1876
|
/**
|
|
1899
1877
|
* Returns current asset composition for vaults, including component weights and values. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
|
|
1900
1878
|
*
|
|
1901
|
-
* @param {Amplify.
|
|
1879
|
+
* @param {Amplify.amplify.ListCompositionsVaultsRequest} request
|
|
1902
1880
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1903
1881
|
*
|
|
1904
1882
|
* @throws {@link Amplify.BadRequestError}
|
|
1905
1883
|
*
|
|
1906
1884
|
* @example
|
|
1907
|
-
* await client.vaults.listCompositions({
|
|
1885
|
+
* await client.amplify.vaults.listCompositions({
|
|
1908
1886
|
* pageSize: 25,
|
|
1909
1887
|
* filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
1910
1888
|
* })
|
|
1911
1889
|
*/
|
|
1912
|
-
listCompositions(request?:
|
|
1890
|
+
listCompositions(request?: ListCompositionsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultCompositionsResponseDto$1>;
|
|
1913
1891
|
private __listCompositions;
|
|
1914
1892
|
/**
|
|
1915
1893
|
* Returns current liquidity shortfalls, indicating assets where demand exceeds available liquidity. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
|
|
1916
1894
|
*
|
|
1917
|
-
* @param {Amplify.
|
|
1895
|
+
* @param {Amplify.amplify.GetLiquidityShortfallsVaultsRequest} request
|
|
1918
1896
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1919
1897
|
*
|
|
1920
1898
|
* @throws {@link Amplify.BadRequestError}
|
|
1921
1899
|
*
|
|
1922
1900
|
* @example
|
|
1923
|
-
* await client.vaults.getLiquidityShortfalls({
|
|
1901
|
+
* await client.amplify.vaults.getLiquidityShortfalls({
|
|
1924
1902
|
* pageSize: 25,
|
|
1925
1903
|
* filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
|
|
1926
1904
|
* })
|
|
1927
1905
|
*/
|
|
1928
|
-
getLiquidityShortfalls(request?:
|
|
1906
|
+
getLiquidityShortfalls(request?: GetLiquidityShortfallsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<LiquidityShortfallsResponseDto$1>;
|
|
1929
1907
|
private __getLiquidityShortfalls;
|
|
1930
1908
|
/**
|
|
1931
1909
|
* Returns aggregated vault configuration grouped by vault name: chain deployments (contract addresses, KYT flag, deposit supply cap, minimum withdrawal order size, in-deprecation flag) with nested per-asset config (depositable/withdrawable flags, deposit/withdraw fees, withdrawal SLAs).
|
|
1932
1910
|
*
|
|
1933
|
-
* @param {Amplify.
|
|
1911
|
+
* @param {Amplify.amplify.ListVaultsRequest} request
|
|
1934
1912
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1935
1913
|
*
|
|
1936
1914
|
* @throws {@link Amplify.BadRequestError}
|
|
1937
1915
|
*
|
|
1938
1916
|
* @example
|
|
1939
|
-
* await client.vaults.list({
|
|
1917
|
+
* await client.amplify.vaults.list({
|
|
1940
1918
|
* pageSize: 25,
|
|
1941
1919
|
* filter: "chainId=1 AND inDeprecation=false"
|
|
1942
1920
|
* })
|
|
1943
1921
|
*/
|
|
1944
|
-
list(request?:
|
|
1922
|
+
list(request?: ListVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultsResponseDto$1>;
|
|
1945
1923
|
private __list;
|
|
1946
1924
|
/**
|
|
1947
1925
|
* Returns up-to-the-block totalSupplyInBase, supplyCap, and percentageFilled per chain each vault is deployed on. totalSupplyInBase and supplyCap are both denominated in the vault base asset, so they are directly comparable. The filter parameter is optional; narrow with the vaultAddress and/or chainId flags, or omit it to return every live vault deployment. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
|
|
1948
1926
|
*
|
|
1949
|
-
* @param {Amplify.
|
|
1927
|
+
* @param {Amplify.amplify.GetSupplyCapsVaultsRequest} request
|
|
1950
1928
|
* @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
|
|
1951
1929
|
*
|
|
1952
1930
|
* @throws {@link Amplify.BadRequestError}
|
|
1953
1931
|
* @throws {@link Amplify.ServiceUnavailableError}
|
|
1954
1932
|
*
|
|
1955
1933
|
* @example
|
|
1956
|
-
* await client.vaults.getSupplyCaps({
|
|
1934
|
+
* await client.amplify.vaults.getSupplyCaps({
|
|
1957
1935
|
* pageSize: 25,
|
|
1958
1936
|
* filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
|
|
1959
1937
|
* })
|
|
1960
1938
|
*/
|
|
1961
|
-
getSupplyCaps(request?:
|
|
1939
|
+
getSupplyCaps(request?: GetSupplyCapsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<SupplyCapsResponseDto$1>;
|
|
1962
1940
|
private __getSupplyCaps;
|
|
1963
1941
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
1964
1942
|
"x-api-key": string;
|
|
@@ -1993,29 +1971,29 @@ declare class Withdraw {
|
|
|
1993
1971
|
/**
|
|
1994
1972
|
* Returns withdrawal requests filtered by status, chain, asset, participants, and queue-processing metadata. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
|
|
1995
1973
|
*
|
|
1996
|
-
* @param {Amplify.
|
|
1974
|
+
* @param {Amplify.amplify.ListRequestsWithdrawRequest} request
|
|
1997
1975
|
* @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
|
|
1998
1976
|
*
|
|
1999
1977
|
* @throws {@link Amplify.BadRequestError}
|
|
2000
1978
|
*
|
|
2001
1979
|
* @example
|
|
2002
|
-
* await client.withdraw.listRequests({
|
|
1980
|
+
* await client.amplify.withdraw.listRequests({
|
|
2003
1981
|
* pageSize: 25,
|
|
2004
1982
|
* filter: "status=PENDING AND chainId=1 AND wantAssetAddress=0x1234567890abcdef1234567890abcdef12345678 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678 AND userAddress=0x1234567890abcdef1234567890abcdef12345678 AND isMarkedForRefund=false"
|
|
2005
1983
|
* })
|
|
2006
1984
|
*/
|
|
2007
|
-
listRequests(request?:
|
|
1985
|
+
listRequests(request?: ListRequestsWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<WithdrawalRequestsResponseDto$1>;
|
|
2008
1986
|
private __listRequests;
|
|
2009
1987
|
/**
|
|
2010
1988
|
* Returns historical withdrawal volume aggregated by time interval. startTime, endTime, and vaultAddress are required. Optionally filter by chainId and wantAssetAddress using the filter parameter. Defaults: orderByTimestamp=asc; pageSize=25 (max 100); omit pageToken for the first page. interval is optional.
|
|
2011
1989
|
*
|
|
2012
|
-
* @param {Amplify.
|
|
1990
|
+
* @param {Amplify.amplify.GetVolumesWithdrawRequest} request
|
|
2013
1991
|
* @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
|
|
2014
1992
|
*
|
|
2015
1993
|
* @throws {@link Amplify.BadRequestError}
|
|
2016
1994
|
*
|
|
2017
1995
|
* @example
|
|
2018
|
-
* await client.withdraw.getVolumes({
|
|
1996
|
+
* await client.amplify.withdraw.getVolumes({
|
|
2019
1997
|
* pageSize: 25,
|
|
2020
1998
|
* startTime: "2026-01-01T00:00:00Z",
|
|
2021
1999
|
* endTime: "2026-01-21T00:00:00Z",
|
|
@@ -2024,19 +2002,19 @@ declare class Withdraw {
|
|
|
2024
2002
|
* filter: "chainId=1 AND wantAssetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
|
|
2025
2003
|
* })
|
|
2026
2004
|
*/
|
|
2027
|
-
getVolumes(request:
|
|
2005
|
+
getVolumes(request: GetVolumesWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<WithdrawalVolumesResponseDto$1>;
|
|
2028
2006
|
private __getVolumes;
|
|
2029
2007
|
/**
|
|
2030
2008
|
* Returns ABI-encoded calldata for submitting a vault withdrawal order. Identify the vault by its BoringVault contract address. The caller must have pre-approved the WithdrawQueue to spend vault shares.
|
|
2031
2009
|
*
|
|
2032
|
-
* @param {Amplify.
|
|
2010
|
+
* @param {Amplify.amplify.PrepareWithdrawRequest} request
|
|
2033
2011
|
* @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
|
|
2034
2012
|
*
|
|
2035
2013
|
* @throws {@link Amplify.BadRequestError}
|
|
2036
2014
|
* @throws {@link Amplify.NotFoundError}
|
|
2037
2015
|
*
|
|
2038
2016
|
* @example
|
|
2039
|
-
* await client.withdraw.
|
|
2017
|
+
* await client.amplify.withdraw.prepare({
|
|
2040
2018
|
* vaultAddress: "0xbbbb000000000000000000000000000000000001",
|
|
2041
2019
|
* wantAsset: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
2042
2020
|
* shareAmount: "1000000000000000000",
|
|
@@ -2047,32 +2025,32 @@ declare class Withdraw {
|
|
|
2047
2025
|
* chainId: 1
|
|
2048
2026
|
* })
|
|
2049
2027
|
*/
|
|
2050
|
-
|
|
2051
|
-
private
|
|
2028
|
+
prepare(request: PrepareWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<PrepareWithdrawResponseDto$1>;
|
|
2029
|
+
private __prepare;
|
|
2052
2030
|
/**
|
|
2053
2031
|
* Returns ABI-encoded calldata for cancelling a pending vault withdrawal order on the WithdrawQueue contract. Identify the vault by its BoringVault contract address and the order by its index in the WithdrawQueue. Only the original order owner can successfully submit this transaction — ownership is enforced on-chain via msg.sender.
|
|
2054
2032
|
*
|
|
2055
2033
|
* To retrieve the required `orderIndex` parameter, call `GET /v2/amplify/withdrawalRequests` filtered by `userAddress` and `vaultAddress`; each returned item includes its `orderIndex`.
|
|
2056
2034
|
*
|
|
2057
|
-
* @param {Amplify.
|
|
2035
|
+
* @param {Amplify.amplify.CancelWithdrawRequest} request
|
|
2058
2036
|
* @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
|
|
2059
2037
|
*
|
|
2060
2038
|
* @throws {@link Amplify.BadRequestError}
|
|
2061
2039
|
* @throws {@link Amplify.NotFoundError}
|
|
2062
2040
|
*
|
|
2063
2041
|
* @example
|
|
2064
|
-
* await client.withdraw.cancel({
|
|
2042
|
+
* await client.amplify.withdraw.cancel({
|
|
2065
2043
|
* vaultAddress: "0xbbbb000000000000000000000000000000000001",
|
|
2066
2044
|
* orderIndex: "42",
|
|
2067
2045
|
* chainId: 1
|
|
2068
2046
|
* })
|
|
2069
2047
|
*/
|
|
2070
|
-
cancel(request:
|
|
2048
|
+
cancel(request: CancelWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<PrepareCancelWithdrawResponseDto$1>;
|
|
2071
2049
|
private __cancel;
|
|
2072
2050
|
/**
|
|
2073
2051
|
* Calculates the withdrawal fee the user would be charged for a given offer amount and want asset.
|
|
2074
2052
|
*
|
|
2075
|
-
* @param {Amplify.
|
|
2053
|
+
* @param {Amplify.amplify.CalculateFeeWithdrawRequest} request
|
|
2076
2054
|
* @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
|
|
2077
2055
|
*
|
|
2078
2056
|
* @throws {@link Amplify.BadRequestError}
|
|
@@ -2080,14 +2058,14 @@ declare class Withdraw {
|
|
|
2080
2058
|
* @throws {@link Amplify.ServiceUnavailableError}
|
|
2081
2059
|
*
|
|
2082
2060
|
* @example
|
|
2083
|
-
* await client.withdraw.calculateFee({
|
|
2061
|
+
* await client.amplify.withdraw.calculateFee({
|
|
2084
2062
|
* offerAmount: "1000000000000000000",
|
|
2085
2063
|
* wantAsset: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
2086
2064
|
* vaultAddress: "0xbbbb000000000000000000000000000000000001",
|
|
2087
2065
|
* chainId: 1
|
|
2088
2066
|
* })
|
|
2089
2067
|
*/
|
|
2090
|
-
calculateFee(request:
|
|
2068
|
+
calculateFee(request: CalculateFeeWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<CalculateWithdrawalFeeResponseDto$1>;
|
|
2091
2069
|
private __calculateFee;
|
|
2092
2070
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
2093
2071
|
"x-api-key": string;
|
|
@@ -2120,9 +2098,9 @@ declare class Deposit {
|
|
|
2120
2098
|
protected readonly _options: Deposit.Options;
|
|
2121
2099
|
constructor(_options: Deposit.Options);
|
|
2122
2100
|
/**
|
|
2123
|
-
* Returns ABI-encoded calldata for a vault deposit. Identify the vault by its BoringVault contract address. Provide a permit signature from the authorize step (GET /v2/core/
|
|
2101
|
+
* Returns ABI-encoded calldata for a vault deposit. Identify the vault by its BoringVault contract address. Provide a permit signature from the authorize step (GET /v2/core/authorization) to use the gas-free permit path; omit to use a standard approve+deposit flow. Note: permit signatures are bound to a specific spender, amount, nonce, and deadline, so replay is bounded — but because they are passed as query params they may appear in access logs, browser history, and proxy/CDN caches. Callers should use short `permitDeadline` values to minimize the exposure window.
|
|
2124
2102
|
*
|
|
2125
|
-
* @param {Amplify.PrepareDepositRequest} request
|
|
2103
|
+
* @param {Amplify.amplify.PrepareDepositRequest} request
|
|
2126
2104
|
* @param {Deposit.RequestOptions} requestOptions - Request-specific configuration.
|
|
2127
2105
|
*
|
|
2128
2106
|
* @throws {@link Amplify.BadRequestError}
|
|
@@ -2130,7 +2108,7 @@ declare class Deposit {
|
|
|
2130
2108
|
* @throws {@link Amplify.ServiceUnavailableError}
|
|
2131
2109
|
*
|
|
2132
2110
|
* @example
|
|
2133
|
-
* await client.deposit.
|
|
2111
|
+
* await client.amplify.deposit.prepare({
|
|
2134
2112
|
* vaultAddress: "0xbbbb000000000000000000000000000000000001",
|
|
2135
2113
|
* depositAsset: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
2136
2114
|
* depositAmount: "1000000",
|
|
@@ -2141,8 +2119,8 @@ declare class Deposit {
|
|
|
2141
2119
|
* permitDeadline: 9999999999
|
|
2142
2120
|
* })
|
|
2143
2121
|
*/
|
|
2144
|
-
|
|
2145
|
-
private
|
|
2122
|
+
prepare(request: PrepareDepositRequest, requestOptions?: Deposit.RequestOptions): HttpResponsePromise<PrepareDepositResponseDto$1>;
|
|
2123
|
+
private __prepare;
|
|
2146
2124
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
2147
2125
|
"x-api-key": string;
|
|
2148
2126
|
}>;
|
|
@@ -2176,20 +2154,20 @@ declare class Users {
|
|
|
2176
2154
|
/**
|
|
2177
2155
|
* Returns a user's share balance and current position value (in the vault base asset) per chain each vault is deployed on. userAddress is required as a top-level query param. filter is optional; narrow with the vaultAddress and/or chainId flags, or omit it to return the user's position in every live vault deployment. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
|
|
2178
2156
|
*
|
|
2179
|
-
* @param {Amplify.
|
|
2157
|
+
* @param {Amplify.amplify.GetPositionsUsersRequest} request
|
|
2180
2158
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
2181
2159
|
*
|
|
2182
2160
|
* @throws {@link Amplify.BadRequestError}
|
|
2183
2161
|
* @throws {@link Amplify.ServiceUnavailableError}
|
|
2184
2162
|
*
|
|
2185
2163
|
* @example
|
|
2186
|
-
* await client.users.getPositions({
|
|
2164
|
+
* await client.amplify.users.getPositions({
|
|
2187
2165
|
* pageSize: 25,
|
|
2188
2166
|
* userAddress: "0xdEADdE9539A00Bbd9A8494f45EB38aEe89d7C001",
|
|
2189
2167
|
* filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
|
|
2190
2168
|
* })
|
|
2191
2169
|
*/
|
|
2192
|
-
getPositions(request:
|
|
2170
|
+
getPositions(request: GetPositionsUsersRequest, requestOptions?: Users.RequestOptions): HttpResponsePromise<UserPositionsResponseDto$1>;
|
|
2193
2171
|
private __getPositions;
|
|
2194
2172
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
2195
2173
|
"x-api-key": string;
|
|
@@ -2200,7 +2178,7 @@ declare class Users {
|
|
|
2200
2178
|
* This file was auto-generated by Fern from our API Definition.
|
|
2201
2179
|
*/
|
|
2202
2180
|
|
|
2203
|
-
declare namespace
|
|
2181
|
+
declare namespace SmartDeposits {
|
|
2204
2182
|
interface Options {
|
|
2205
2183
|
environment?: Supplier<AmplifyEnvironment | string>;
|
|
2206
2184
|
/** Specify a custom URL to connect the client to. */
|
|
@@ -2218,26 +2196,28 @@ declare namespace Kyt {
|
|
|
2218
2196
|
headers?: Record<string, string>;
|
|
2219
2197
|
}
|
|
2220
2198
|
}
|
|
2221
|
-
declare class
|
|
2222
|
-
protected readonly _options:
|
|
2223
|
-
constructor(_options:
|
|
2199
|
+
declare class SmartDeposits {
|
|
2200
|
+
protected readonly _options: SmartDeposits.Options;
|
|
2201
|
+
constructor(_options: SmartDeposits.Options);
|
|
2224
2202
|
/**
|
|
2225
|
-
* Returns
|
|
2203
|
+
* Returns the smart deposit address for a given user, vault, input token, and chain.
|
|
2226
2204
|
*
|
|
2227
|
-
* @param {Amplify.
|
|
2228
|
-
* @param {
|
|
2205
|
+
* @param {Amplify.amplify.SmartDepositAddressRequestDto} request
|
|
2206
|
+
* @param {SmartDeposits.RequestOptions} requestOptions - Request-specific configuration.
|
|
2229
2207
|
*
|
|
2208
|
+
* @throws {@link Amplify.BadRequestError}
|
|
2230
2209
|
* @throws {@link Amplify.ForbiddenError}
|
|
2231
2210
|
*
|
|
2232
2211
|
* @example
|
|
2233
|
-
* await client.
|
|
2234
|
-
*
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2212
|
+
* await client.amplify.smartDeposits.getAddress({
|
|
2213
|
+
* userDestinationAddress: "0x0000000000000000000000000000000000000123",
|
|
2214
|
+
* vaultAddress: "0x1234567890abcdef1234567890abcdef12345678",
|
|
2215
|
+
* inputToken: "0xf08a50178dfcde18524640ea6618a1f965821715",
|
|
2216
|
+
* chainId: 1
|
|
2237
2217
|
* })
|
|
2238
2218
|
*/
|
|
2239
|
-
|
|
2240
|
-
private
|
|
2219
|
+
getAddress(request: SmartDepositAddressRequestDto$1, requestOptions?: SmartDeposits.RequestOptions): HttpResponsePromise<SmartDepositAddressResponseDto$1>;
|
|
2220
|
+
private __getAddress;
|
|
2241
2221
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
2242
2222
|
"x-api-key": string;
|
|
2243
2223
|
}>;
|
|
@@ -2247,53 +2227,34 @@ declare class Kyt {
|
|
|
2247
2227
|
* This file was auto-generated by Fern from our API Definition.
|
|
2248
2228
|
*/
|
|
2249
2229
|
|
|
2250
|
-
declare namespace
|
|
2230
|
+
declare namespace AmplifyService {
|
|
2251
2231
|
interface Options {
|
|
2252
2232
|
environment?: Supplier<AmplifyEnvironment | string>;
|
|
2253
2233
|
/** Specify a custom URL to connect the client to. */
|
|
2254
2234
|
baseUrl?: Supplier<string>;
|
|
2255
2235
|
apiKey: Supplier<string>;
|
|
2256
2236
|
}
|
|
2257
|
-
interface RequestOptions {
|
|
2258
|
-
/** The maximum time to wait for a response in seconds. */
|
|
2259
|
-
timeoutInSeconds?: number;
|
|
2260
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
2261
|
-
maxRetries?: number;
|
|
2262
|
-
/** A hook to abort the request. */
|
|
2263
|
-
abortSignal?: AbortSignal;
|
|
2264
|
-
/** Additional headers to include in the request. */
|
|
2265
|
-
headers?: Record<string, string>;
|
|
2266
|
-
}
|
|
2267
2237
|
}
|
|
2268
|
-
declare class
|
|
2269
|
-
protected readonly _options:
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
* pageSize: 25,
|
|
2282
|
-
* filter: "chainId=1 AND name=\"Treasury\""
|
|
2283
|
-
* })
|
|
2284
|
-
*/
|
|
2285
|
-
addressBookControllerGetAddressBookEntriesV2(request?: AddressBookControllerGetAddressBookEntriesV2Request, requestOptions?: AddressBook.RequestOptions): HttpResponsePromise<AddressBookEntriesResponseDto$1>;
|
|
2286
|
-
private __addressBookControllerGetAddressBookEntriesV2;
|
|
2287
|
-
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
2288
|
-
"x-api-key": string;
|
|
2289
|
-
}>;
|
|
2238
|
+
declare class AmplifyService {
|
|
2239
|
+
protected readonly _options: AmplifyService.Options;
|
|
2240
|
+
protected _vaults: Vaults | undefined;
|
|
2241
|
+
protected _withdraw: Withdraw | undefined;
|
|
2242
|
+
protected _deposit: Deposit | undefined;
|
|
2243
|
+
protected _users: Users | undefined;
|
|
2244
|
+
protected _smartDeposits: SmartDeposits | undefined;
|
|
2245
|
+
constructor(_options: AmplifyService.Options);
|
|
2246
|
+
get vaults(): Vaults;
|
|
2247
|
+
get withdraw(): Withdraw;
|
|
2248
|
+
get deposit(): Deposit;
|
|
2249
|
+
get users(): Users;
|
|
2250
|
+
get smartDeposits(): SmartDeposits;
|
|
2290
2251
|
}
|
|
2291
2252
|
|
|
2292
2253
|
/**
|
|
2293
2254
|
* This file was auto-generated by Fern from our API Definition.
|
|
2294
2255
|
*/
|
|
2295
2256
|
|
|
2296
|
-
declare namespace
|
|
2257
|
+
declare namespace Authorization {
|
|
2297
2258
|
interface Options {
|
|
2298
2259
|
environment?: Supplier<AmplifyEnvironment | string>;
|
|
2299
2260
|
/** Specify a custom URL to connect the client to. */
|
|
@@ -2311,19 +2272,19 @@ declare namespace Permit {
|
|
|
2311
2272
|
headers?: Record<string, string>;
|
|
2312
2273
|
}
|
|
2313
2274
|
}
|
|
2314
|
-
declare class
|
|
2315
|
-
protected readonly _options:
|
|
2316
|
-
constructor(_options:
|
|
2275
|
+
declare class Authorization {
|
|
2276
|
+
protected readonly _options: Authorization.Options;
|
|
2277
|
+
constructor(_options: Authorization.Options);
|
|
2317
2278
|
/**
|
|
2318
|
-
* @param {Amplify.
|
|
2319
|
-
* @param {
|
|
2279
|
+
* @param {Amplify.core.DetectAuthorizationRequest} request
|
|
2280
|
+
* @param {Authorization.RequestOptions} requestOptions - Request-specific configuration.
|
|
2320
2281
|
*
|
|
2321
2282
|
* @throws {@link Amplify.BadRequestError}
|
|
2322
2283
|
* @throws {@link Amplify.NotFoundError}
|
|
2323
2284
|
* @throws {@link Amplify.ServiceUnavailableError}
|
|
2324
2285
|
*
|
|
2325
2286
|
* @example
|
|
2326
|
-
* await client.
|
|
2287
|
+
* await client.core.authorization.detect({
|
|
2327
2288
|
* vaultAddress: "0x...",
|
|
2328
2289
|
* tokenAddress: "0x...",
|
|
2329
2290
|
* amount: "1000000000000000000",
|
|
@@ -2331,13 +2292,32 @@ declare class Permit {
|
|
|
2331
2292
|
* chainId: 1
|
|
2332
2293
|
* })
|
|
2333
2294
|
*/
|
|
2334
|
-
|
|
2335
|
-
private
|
|
2295
|
+
detect(request: DetectAuthorizationRequest, requestOptions?: Authorization.RequestOptions): HttpResponsePromise<AuthorizationResponseDto$1>;
|
|
2296
|
+
private __detect;
|
|
2336
2297
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
2337
2298
|
"x-api-key": string;
|
|
2338
2299
|
}>;
|
|
2339
2300
|
}
|
|
2340
2301
|
|
|
2302
|
+
/**
|
|
2303
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
2304
|
+
*/
|
|
2305
|
+
|
|
2306
|
+
declare namespace Core {
|
|
2307
|
+
interface Options {
|
|
2308
|
+
environment?: Supplier<AmplifyEnvironment | string>;
|
|
2309
|
+
/** Specify a custom URL to connect the client to. */
|
|
2310
|
+
baseUrl?: Supplier<string>;
|
|
2311
|
+
apiKey: Supplier<string>;
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
declare class Core {
|
|
2315
|
+
protected readonly _options: Core.Options;
|
|
2316
|
+
protected _authorization: Authorization | undefined;
|
|
2317
|
+
constructor(_options: Core.Options);
|
|
2318
|
+
get authorization(): Authorization;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2341
2321
|
/**
|
|
2342
2322
|
* This file was auto-generated by Fern from our API Definition.
|
|
2343
2323
|
*/
|
|
@@ -2362,29 +2342,19 @@ declare namespace AmplifyClient {
|
|
|
2362
2342
|
}
|
|
2363
2343
|
declare class AmplifyClient {
|
|
2364
2344
|
protected readonly _options: AmplifyClient.Options;
|
|
2365
|
-
protected
|
|
2366
|
-
protected
|
|
2367
|
-
protected _deposit: Deposit | undefined;
|
|
2368
|
-
protected _users: Users | undefined;
|
|
2369
|
-
protected _kyt: Kyt | undefined;
|
|
2370
|
-
protected _addressBook: AddressBook | undefined;
|
|
2371
|
-
protected _permit: Permit | undefined;
|
|
2345
|
+
protected _amplify: AmplifyService | undefined;
|
|
2346
|
+
protected _core: Core | undefined;
|
|
2372
2347
|
constructor(_options: AmplifyClient.Options);
|
|
2373
|
-
get
|
|
2374
|
-
get
|
|
2375
|
-
get deposit(): Deposit;
|
|
2376
|
-
get users(): Users;
|
|
2377
|
-
get kyt(): Kyt;
|
|
2378
|
-
get addressBook(): AddressBook;
|
|
2379
|
-
get permit(): Permit;
|
|
2348
|
+
get amplify(): AmplifyService;
|
|
2349
|
+
get core(): Core;
|
|
2380
2350
|
}
|
|
2381
2351
|
|
|
2382
2352
|
/**
|
|
2383
2353
|
* This file was auto-generated by Fern from our API Definition.
|
|
2384
2354
|
*/
|
|
2385
2355
|
|
|
2386
|
-
declare const
|
|
2387
|
-
declare namespace
|
|
2356
|
+
declare const GetApysVaultsRequestOrderByTimestamp: Schema<GetApysVaultsRequestOrderByTimestamp.Raw, GetApysVaultsRequestOrderByTimestamp$1>;
|
|
2357
|
+
declare namespace GetApysVaultsRequestOrderByTimestamp {
|
|
2388
2358
|
type Raw = "asc" | "desc";
|
|
2389
2359
|
}
|
|
2390
2360
|
|
|
@@ -2392,23 +2362,23 @@ declare namespace GetApysRequestOrderByTimestamp {
|
|
|
2392
2362
|
* This file was auto-generated by Fern from our API Definition.
|
|
2393
2363
|
*/
|
|
2394
2364
|
|
|
2395
|
-
declare const
|
|
2396
|
-
declare namespace
|
|
2365
|
+
declare const GetTvlsVaultsRequestOrderByTimestamp: Schema<GetTvlsVaultsRequestOrderByTimestamp.Raw, GetTvlsVaultsRequestOrderByTimestamp$1>;
|
|
2366
|
+
declare namespace GetTvlsVaultsRequestOrderByTimestamp {
|
|
2397
2367
|
type Raw = "asc" | "desc";
|
|
2398
2368
|
}
|
|
2399
2369
|
|
|
2400
|
-
declare const index_d$
|
|
2401
|
-
declare const index_d$
|
|
2402
|
-
declare namespace index_d$
|
|
2403
|
-
export { index_d$
|
|
2370
|
+
declare const index_d$5_GetApysVaultsRequestOrderByTimestamp: typeof GetApysVaultsRequestOrderByTimestamp;
|
|
2371
|
+
declare const index_d$5_GetTvlsVaultsRequestOrderByTimestamp: typeof GetTvlsVaultsRequestOrderByTimestamp;
|
|
2372
|
+
declare namespace index_d$5 {
|
|
2373
|
+
export { index_d$5_GetApysVaultsRequestOrderByTimestamp as GetApysVaultsRequestOrderByTimestamp, index_d$5_GetTvlsVaultsRequestOrderByTimestamp as GetTvlsVaultsRequestOrderByTimestamp };
|
|
2404
2374
|
}
|
|
2405
2375
|
|
|
2406
2376
|
/**
|
|
2407
2377
|
* This file was auto-generated by Fern from our API Definition.
|
|
2408
2378
|
*/
|
|
2409
2379
|
|
|
2410
|
-
declare const
|
|
2411
|
-
declare namespace
|
|
2380
|
+
declare const GetVolumesWithdrawRequestOrderByTimestamp: Schema<GetVolumesWithdrawRequestOrderByTimestamp.Raw, GetVolumesWithdrawRequestOrderByTimestamp$1>;
|
|
2381
|
+
declare namespace GetVolumesWithdrawRequestOrderByTimestamp {
|
|
2412
2382
|
type Raw = "asc" | "desc";
|
|
2413
2383
|
}
|
|
2414
2384
|
|
|
@@ -2416,8 +2386,8 @@ declare namespace GetVolumesRequestOrderByTimestamp {
|
|
|
2416
2386
|
* This file was auto-generated by Fern from our API Definition.
|
|
2417
2387
|
*/
|
|
2418
2388
|
|
|
2419
|
-
declare const
|
|
2420
|
-
declare namespace
|
|
2389
|
+
declare const PrepareWithdrawRequestResponseFormat: Schema<PrepareWithdrawRequestResponseFormat.Raw, PrepareWithdrawRequestResponseFormat$1>;
|
|
2390
|
+
declare namespace PrepareWithdrawRequestResponseFormat {
|
|
2421
2391
|
type Raw = "encoded" | "full" | "structured";
|
|
2422
2392
|
}
|
|
2423
2393
|
|
|
@@ -2425,16 +2395,16 @@ declare namespace PrepareWithdrawalRequestResponseFormat {
|
|
|
2425
2395
|
* This file was auto-generated by Fern from our API Definition.
|
|
2426
2396
|
*/
|
|
2427
2397
|
|
|
2428
|
-
declare const
|
|
2429
|
-
declare namespace
|
|
2398
|
+
declare const CancelWithdrawRequestResponseFormat: Schema<CancelWithdrawRequestResponseFormat.Raw, CancelWithdrawRequestResponseFormat$1>;
|
|
2399
|
+
declare namespace CancelWithdrawRequestResponseFormat {
|
|
2430
2400
|
type Raw = "encoded" | "full" | "structured";
|
|
2431
2401
|
}
|
|
2432
2402
|
|
|
2433
|
-
declare const index_d$
|
|
2434
|
-
declare const index_d$
|
|
2435
|
-
declare const index_d$
|
|
2436
|
-
declare namespace index_d$
|
|
2437
|
-
export { index_d$
|
|
2403
|
+
declare const index_d$4_CancelWithdrawRequestResponseFormat: typeof CancelWithdrawRequestResponseFormat;
|
|
2404
|
+
declare const index_d$4_GetVolumesWithdrawRequestOrderByTimestamp: typeof GetVolumesWithdrawRequestOrderByTimestamp;
|
|
2405
|
+
declare const index_d$4_PrepareWithdrawRequestResponseFormat: typeof PrepareWithdrawRequestResponseFormat;
|
|
2406
|
+
declare namespace index_d$4 {
|
|
2407
|
+
export { index_d$4_CancelWithdrawRequestResponseFormat as CancelWithdrawRequestResponseFormat, index_d$4_GetVolumesWithdrawRequestOrderByTimestamp as GetVolumesWithdrawRequestOrderByTimestamp, index_d$4_PrepareWithdrawRequestResponseFormat as PrepareWithdrawRequestResponseFormat };
|
|
2438
2408
|
}
|
|
2439
2409
|
|
|
2440
2410
|
/**
|
|
@@ -2446,27 +2416,39 @@ declare namespace PrepareDepositRequestResponseFormat {
|
|
|
2446
2416
|
type Raw = "encoded" | "full" | "structured";
|
|
2447
2417
|
}
|
|
2448
2418
|
|
|
2449
|
-
declare const index_d$
|
|
2450
|
-
declare namespace index_d$
|
|
2451
|
-
export { index_d$
|
|
2419
|
+
declare const index_d$3_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
|
|
2420
|
+
declare namespace index_d$3 {
|
|
2421
|
+
export { index_d$3_PrepareDepositRequestResponseFormat as PrepareDepositRequestResponseFormat };
|
|
2452
2422
|
}
|
|
2453
2423
|
|
|
2454
2424
|
/**
|
|
2455
2425
|
* This file was auto-generated by Fern from our API Definition.
|
|
2456
2426
|
*/
|
|
2457
2427
|
|
|
2458
|
-
declare const
|
|
2459
|
-
declare namespace
|
|
2428
|
+
declare const SmartDepositAddressRequestDto: Schema<SmartDepositAddressRequestDto.Raw, SmartDepositAddressRequestDto$1>;
|
|
2429
|
+
declare namespace SmartDepositAddressRequestDto {
|
|
2460
2430
|
interface Raw {
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2431
|
+
userDestinationAddress: string;
|
|
2432
|
+
vaultAddress: string;
|
|
2433
|
+
inputToken: string;
|
|
2434
|
+
chainId: number;
|
|
2464
2435
|
}
|
|
2465
2436
|
}
|
|
2466
2437
|
|
|
2467
|
-
declare const index_d$
|
|
2438
|
+
declare const index_d$2_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
|
|
2439
|
+
declare namespace index_d$2 {
|
|
2440
|
+
export { index_d$2_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto };
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
declare const index_d$1_CancelWithdrawRequestResponseFormat: typeof CancelWithdrawRequestResponseFormat;
|
|
2444
|
+
declare const index_d$1_GetApysVaultsRequestOrderByTimestamp: typeof GetApysVaultsRequestOrderByTimestamp;
|
|
2445
|
+
declare const index_d$1_GetTvlsVaultsRequestOrderByTimestamp: typeof GetTvlsVaultsRequestOrderByTimestamp;
|
|
2446
|
+
declare const index_d$1_GetVolumesWithdrawRequestOrderByTimestamp: typeof GetVolumesWithdrawRequestOrderByTimestamp;
|
|
2447
|
+
declare const index_d$1_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
|
|
2448
|
+
declare const index_d$1_PrepareWithdrawRequestResponseFormat: typeof PrepareWithdrawRequestResponseFormat;
|
|
2449
|
+
declare const index_d$1_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
|
|
2468
2450
|
declare namespace index_d$1 {
|
|
2469
|
-
export { index_d$
|
|
2451
|
+
export { index_d$1_CancelWithdrawRequestResponseFormat as CancelWithdrawRequestResponseFormat, index_d$1_GetApysVaultsRequestOrderByTimestamp as GetApysVaultsRequestOrderByTimestamp, index_d$1_GetTvlsVaultsRequestOrderByTimestamp as GetTvlsVaultsRequestOrderByTimestamp, index_d$1_GetVolumesWithdrawRequestOrderByTimestamp as GetVolumesWithdrawRequestOrderByTimestamp, index_d$1_PrepareDepositRequestResponseFormat as PrepareDepositRequestResponseFormat, index_d$1_PrepareWithdrawRequestResponseFormat as PrepareWithdrawRequestResponseFormat, index_d$1_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto, index_d$3 as deposit, index_d$2 as smartDeposits, index_d$5 as vaults, index_d$4 as withdraw };
|
|
2470
2452
|
}
|
|
2471
2453
|
|
|
2472
2454
|
/**
|
|
@@ -3046,13 +3028,10 @@ declare namespace UserPositionsResponseDto {
|
|
|
3046
3028
|
* This file was auto-generated by Fern from our API Definition.
|
|
3047
3029
|
*/
|
|
3048
3030
|
|
|
3049
|
-
declare const
|
|
3050
|
-
declare namespace
|
|
3031
|
+
declare const SmartDepositAddressResponseDto: ObjectSchema<SmartDepositAddressResponseDto.Raw, SmartDepositAddressResponseDto$1>;
|
|
3032
|
+
declare namespace SmartDepositAddressResponseDto {
|
|
3051
3033
|
interface Raw {
|
|
3052
|
-
|
|
3053
|
-
vaultAddress: string;
|
|
3054
|
-
inputToken: string;
|
|
3055
|
-
chainId: number;
|
|
3034
|
+
smartDepositAddress: string;
|
|
3056
3035
|
}
|
|
3057
3036
|
}
|
|
3058
3037
|
|
|
@@ -3060,10 +3039,12 @@ declare namespace SmartDepositAddressRequestDto {
|
|
|
3060
3039
|
* This file was auto-generated by Fern from our API Definition.
|
|
3061
3040
|
*/
|
|
3062
3041
|
|
|
3063
|
-
declare const
|
|
3064
|
-
declare namespace
|
|
3042
|
+
declare const KytRequestDto: ObjectSchema<KytRequestDto.Raw, KytRequestDto$1>;
|
|
3043
|
+
declare namespace KytRequestDto {
|
|
3065
3044
|
interface Raw {
|
|
3066
|
-
|
|
3045
|
+
to: string;
|
|
3046
|
+
from: string;
|
|
3047
|
+
chain: string;
|
|
3067
3048
|
}
|
|
3068
3049
|
}
|
|
3069
3050
|
|
|
@@ -3178,8 +3159,8 @@ declare namespace ApprovalTransactionDto {
|
|
|
3178
3159
|
* This file was auto-generated by Fern from our API Definition.
|
|
3179
3160
|
*/
|
|
3180
3161
|
|
|
3181
|
-
declare const
|
|
3182
|
-
declare namespace
|
|
3162
|
+
declare const AuthorizationResponseDtoMethod: Schema<AuthorizationResponseDtoMethod.Raw, AuthorizationResponseDtoMethod$1>;
|
|
3163
|
+
declare namespace AuthorizationResponseDtoMethod {
|
|
3183
3164
|
type Raw = "permit" | "approval" | "already_approved";
|
|
3184
3165
|
}
|
|
3185
3166
|
|
|
@@ -3187,10 +3168,10 @@ declare namespace PermitResponseDtoMethod {
|
|
|
3187
3168
|
* This file was auto-generated by Fern from our API Definition.
|
|
3188
3169
|
*/
|
|
3189
3170
|
|
|
3190
|
-
declare const
|
|
3191
|
-
declare namespace
|
|
3171
|
+
declare const AuthorizationResponseDto: ObjectSchema<AuthorizationResponseDto.Raw, AuthorizationResponseDto$1>;
|
|
3172
|
+
declare namespace AuthorizationResponseDto {
|
|
3192
3173
|
interface Raw {
|
|
3193
|
-
method:
|
|
3174
|
+
method: AuthorizationResponseDtoMethod.Raw;
|
|
3194
3175
|
permitData?: PermitTypedDataResponseDto.Raw | null;
|
|
3195
3176
|
approvalTransaction?: ApprovalTransactionDto.Raw | null;
|
|
3196
3177
|
}
|
|
@@ -3230,17 +3211,15 @@ declare namespace ListVaultRewardsResponseDto {
|
|
|
3230
3211
|
declare const index_d_AddressBookEntriesResponseDto: typeof AddressBookEntriesResponseDto;
|
|
3231
3212
|
declare const index_d_AddressBookEntryDto: typeof AddressBookEntryDto;
|
|
3232
3213
|
declare const index_d_ApprovalTransactionDto: typeof ApprovalTransactionDto;
|
|
3214
|
+
declare const index_d_AuthorizationResponseDto: typeof AuthorizationResponseDto;
|
|
3215
|
+
declare const index_d_AuthorizationResponseDtoMethod: typeof AuthorizationResponseDtoMethod;
|
|
3233
3216
|
declare const index_d_CalculateWithdrawalFeeResponseDto: typeof CalculateWithdrawalFeeResponseDto;
|
|
3234
|
-
declare const index_d_CancelRequestResponseFormat: typeof CancelRequestResponseFormat;
|
|
3235
3217
|
declare const index_d_ErrorDetailDto: typeof ErrorDetailDto;
|
|
3236
3218
|
declare const index_d_ErrorObjectDto: typeof ErrorObjectDto;
|
|
3237
3219
|
declare const index_d_ErrorObjectDtoStatus: typeof ErrorObjectDtoStatus;
|
|
3238
3220
|
declare const index_d_ErrorResponseDto: typeof ErrorResponseDto;
|
|
3239
3221
|
declare const index_d_FeeDto: typeof FeeDto;
|
|
3240
3222
|
declare const index_d_FieldViolationDto: typeof FieldViolationDto;
|
|
3241
|
-
declare const index_d_GetApysRequestOrderByTimestamp: typeof GetApysRequestOrderByTimestamp;
|
|
3242
|
-
declare const index_d_GetTvlsRequestOrderByTimestamp: typeof GetTvlsRequestOrderByTimestamp;
|
|
3243
|
-
declare const index_d_GetVolumesRequestOrderByTimestamp: typeof GetVolumesRequestOrderByTimestamp;
|
|
3244
3223
|
declare const index_d_KytAttestationDto: typeof KytAttestationDto;
|
|
3245
3224
|
declare const index_d_KytRequestDto: typeof KytRequestDto;
|
|
3246
3225
|
declare const index_d_KytResponseDto: typeof KytResponseDto;
|
|
@@ -3248,17 +3227,12 @@ declare const index_d_LiquidityShortfallDto: typeof LiquidityShortfallDto;
|
|
|
3248
3227
|
declare const index_d_LiquidityShortfallsResponseDto: typeof LiquidityShortfallsResponseDto;
|
|
3249
3228
|
declare const index_d_ListVaultRewardsResponseDto: typeof ListVaultRewardsResponseDto;
|
|
3250
3229
|
declare const index_d_PermitDomainDto: typeof PermitDomainDto;
|
|
3251
|
-
declare const index_d_PermitResponseDto: typeof PermitResponseDto;
|
|
3252
|
-
declare const index_d_PermitResponseDtoMethod: typeof PermitResponseDtoMethod;
|
|
3253
3230
|
declare const index_d_PermitTypedDataResponseDto: typeof PermitTypedDataResponseDto;
|
|
3254
3231
|
declare const index_d_PermitValueDto: typeof PermitValueDto;
|
|
3255
3232
|
declare const index_d_PrepareCancelWithdrawResponseDto: typeof PrepareCancelWithdrawResponseDto;
|
|
3256
|
-
declare const index_d_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
|
|
3257
3233
|
declare const index_d_PrepareDepositResponseDto: typeof PrepareDepositResponseDto;
|
|
3258
3234
|
declare const index_d_PrepareWithdrawResponseDto: typeof PrepareWithdrawResponseDto;
|
|
3259
|
-
declare const index_d_PrepareWithdrawalRequestResponseFormat: typeof PrepareWithdrawalRequestResponseFormat;
|
|
3260
3235
|
declare const index_d_PreparedTransactionDto: typeof PreparedTransactionDto;
|
|
3261
|
-
declare const index_d_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
|
|
3262
3236
|
declare const index_d_SmartDepositAddressResponseDto: typeof SmartDepositAddressResponseDto;
|
|
3263
3237
|
declare const index_d_SupplyCapEntryDto: typeof SupplyCapEntryDto;
|
|
3264
3238
|
declare const index_d_SupplyCapsResponseDto: typeof SupplyCapsResponseDto;
|
|
@@ -3291,7 +3265,7 @@ declare const index_d_WithdrawalSlAsDto: typeof WithdrawalSlAsDto;
|
|
|
3291
3265
|
declare const index_d_WithdrawalVolumeDto: typeof WithdrawalVolumeDto;
|
|
3292
3266
|
declare const index_d_WithdrawalVolumesResponseDto: typeof WithdrawalVolumesResponseDto;
|
|
3293
3267
|
declare namespace index_d {
|
|
3294
|
-
export { index_d_AddressBookEntriesResponseDto as AddressBookEntriesResponseDto, index_d_AddressBookEntryDto as AddressBookEntryDto, index_d_ApprovalTransactionDto as ApprovalTransactionDto,
|
|
3268
|
+
export { index_d_AddressBookEntriesResponseDto as AddressBookEntriesResponseDto, index_d_AddressBookEntryDto as AddressBookEntryDto, index_d_ApprovalTransactionDto as ApprovalTransactionDto, index_d_AuthorizationResponseDto as AuthorizationResponseDto, index_d_AuthorizationResponseDtoMethod as AuthorizationResponseDtoMethod, index_d_CalculateWithdrawalFeeResponseDto as CalculateWithdrawalFeeResponseDto, index_d_ErrorDetailDto as ErrorDetailDto, index_d_ErrorObjectDto as ErrorObjectDto, index_d_ErrorObjectDtoStatus as ErrorObjectDtoStatus, index_d_ErrorResponseDto as ErrorResponseDto, index_d_FeeDto as FeeDto, index_d_FieldViolationDto as FieldViolationDto, index_d_KytAttestationDto as KytAttestationDto, index_d_KytRequestDto as KytRequestDto, index_d_KytResponseDto as KytResponseDto, index_d_LiquidityShortfallDto as LiquidityShortfallDto, index_d_LiquidityShortfallsResponseDto as LiquidityShortfallsResponseDto, index_d_ListVaultRewardsResponseDto as ListVaultRewardsResponseDto, index_d_PermitDomainDto as PermitDomainDto, index_d_PermitTypedDataResponseDto as PermitTypedDataResponseDto, index_d_PermitValueDto as PermitValueDto, index_d_PrepareCancelWithdrawResponseDto as PrepareCancelWithdrawResponseDto, index_d_PrepareDepositResponseDto as PrepareDepositResponseDto, index_d_PrepareWithdrawResponseDto as PrepareWithdrawResponseDto, index_d_PreparedTransactionDto as PreparedTransactionDto, index_d_SmartDepositAddressResponseDto as SmartDepositAddressResponseDto, index_d_SupplyCapEntryDto as SupplyCapEntryDto, index_d_SupplyCapsResponseDto as SupplyCapsResponseDto, index_d_TokenAmountDto as TokenAmountDto, index_d_TokenAmountWithCapDto as TokenAmountWithCapDto, index_d_UserPositionEntryDto as UserPositionEntryDto, index_d_UserPositionsResponseDto as UserPositionsResponseDto, index_d_VaultApyDto as VaultApyDto, index_d_VaultApysResponseDto as VaultApysResponseDto, index_d_VaultAssetConfigDto as VaultAssetConfigDto, index_d_VaultAssetDto as VaultAssetDto, index_d_VaultAssetsResponseDto as VaultAssetsResponseDto, index_d_VaultCompositionComponentDto as VaultCompositionComponentDto, index_d_VaultCompositionComponentDtoInstrumentType as VaultCompositionComponentDtoInstrumentType, index_d_VaultCompositionComponentDtoPositionKind as VaultCompositionComponentDtoPositionKind, index_d_VaultCompositionDto as VaultCompositionDto, index_d_VaultCompositionPositionRefDto as VaultCompositionPositionRefDto, index_d_VaultCompositionPositionRefDtoType as VaultCompositionPositionRefDtoType, index_d_VaultCompositionsResponseDto as VaultCompositionsResponseDto, index_d_VaultDeploymentDto as VaultDeploymentDto, index_d_VaultDto as VaultDto, index_d_VaultRewardDto as VaultRewardDto, index_d_VaultTvlDto as VaultTvlDto, index_d_VaultTvlsResponseDto as VaultTvlsResponseDto, index_d_VaultsResponseDto as VaultsResponseDto, index_d_WithdrawalRequestDto as WithdrawalRequestDto, index_d_WithdrawalRequestDtoStatus as WithdrawalRequestDtoStatus, index_d_WithdrawalRequestsResponseDto as WithdrawalRequestsResponseDto, index_d_WithdrawalSlAsDto as WithdrawalSlAsDto, index_d_WithdrawalVolumeDto as WithdrawalVolumeDto, index_d_WithdrawalVolumesResponseDto as WithdrawalVolumesResponseDto, index_d$1 as amplify };
|
|
3295
3269
|
}
|
|
3296
3270
|
|
|
3297
|
-
export { index_d$
|
|
3271
|
+
export { index_d$6 as Amplify, AmplifyClient, AmplifyError, AmplifyTimeoutError, index_d as serialization };
|