@vaultsfyi/sdk 2.1.18 → 2.2.0
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/CHANGELOG.md +12 -0
- package/dist/client.d.mts +197 -20
- package/dist/client.d.ts +197 -20
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
package/dist/client.d.mts
CHANGED
|
@@ -2310,6 +2310,8 @@ interface paths {
|
|
|
2310
2310
|
maxCapacity?: string;
|
|
2311
2311
|
/** @description Indicates if the vault is corrupted */
|
|
2312
2312
|
isCorrupted: boolean;
|
|
2313
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
2314
|
+
userEventsIndexed: boolean;
|
|
2313
2315
|
/** @description List of child vaults */
|
|
2314
2316
|
childrenVaults?: {
|
|
2315
2317
|
/** @description Address of the child vault */
|
|
@@ -2434,10 +2436,10 @@ interface paths {
|
|
|
2434
2436
|
/** @description Unix timestamp (seconds) when this flag expires */
|
|
2435
2437
|
endDate: number;
|
|
2436
2438
|
}[];
|
|
2437
|
-
/** @description
|
|
2438
|
-
|
|
2439
|
-
/** @description
|
|
2440
|
-
|
|
2439
|
+
/** @description Composite APY data when vault asset is another vault LP token. When present, totalApy compounds the current vault with the underlying vault and intrinsicApy shows the underlying vault's own APY */
|
|
2440
|
+
apyComposite?: {
|
|
2441
|
+
/** @description Compounded APY details combining the vault and its underlying vault */
|
|
2442
|
+
totalApy: {
|
|
2441
2443
|
/** @description 1day APY details */
|
|
2442
2444
|
'1day': {
|
|
2443
2445
|
/** @description Base APY */
|
|
@@ -2475,7 +2477,46 @@ interface paths {
|
|
|
2475
2477
|
total: number;
|
|
2476
2478
|
};
|
|
2477
2479
|
};
|
|
2478
|
-
/** @description
|
|
2480
|
+
/** @description APY details of the underlying vault before compounding */
|
|
2481
|
+
intrinsicApy: {
|
|
2482
|
+
/** @description 1day APY details */
|
|
2483
|
+
'1day': {
|
|
2484
|
+
/** @description Base APY */
|
|
2485
|
+
base: number;
|
|
2486
|
+
/** @description Reward APY */
|
|
2487
|
+
reward: number;
|
|
2488
|
+
/** @description Total APY */
|
|
2489
|
+
total: number;
|
|
2490
|
+
};
|
|
2491
|
+
/** @description 7day APY details */
|
|
2492
|
+
'7day': {
|
|
2493
|
+
/** @description Base APY */
|
|
2494
|
+
base: number;
|
|
2495
|
+
/** @description Reward APY */
|
|
2496
|
+
reward: number;
|
|
2497
|
+
/** @description Total APY */
|
|
2498
|
+
total: number;
|
|
2499
|
+
};
|
|
2500
|
+
/** @description 30day APY details */
|
|
2501
|
+
'30day': {
|
|
2502
|
+
/** @description Base APY */
|
|
2503
|
+
base: number;
|
|
2504
|
+
/** @description Reward APY */
|
|
2505
|
+
reward: number;
|
|
2506
|
+
/** @description Total APY */
|
|
2507
|
+
total: number;
|
|
2508
|
+
};
|
|
2509
|
+
/** @description 1hour APY details */
|
|
2510
|
+
'1hour': {
|
|
2511
|
+
/** @description Base APY */
|
|
2512
|
+
base: number;
|
|
2513
|
+
/** @description Reward APY */
|
|
2514
|
+
reward: number;
|
|
2515
|
+
/** @description Total APY */
|
|
2516
|
+
total: number;
|
|
2517
|
+
};
|
|
2518
|
+
};
|
|
2519
|
+
/** @description Asset details of the underlying vault */
|
|
2479
2520
|
asset: {
|
|
2480
2521
|
/** @description Address of the asset */
|
|
2481
2522
|
address: string;
|
|
@@ -2886,6 +2927,8 @@ interface paths {
|
|
|
2886
2927
|
maxCapacity?: string;
|
|
2887
2928
|
/** @description Indicates if the vault is corrupted */
|
|
2888
2929
|
isCorrupted: boolean;
|
|
2930
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
2931
|
+
userEventsIndexed: boolean;
|
|
2889
2932
|
/** @description List of child vaults */
|
|
2890
2933
|
childrenVaults?: {
|
|
2891
2934
|
/** @description Address of the child vault */
|
|
@@ -3010,10 +3053,49 @@ interface paths {
|
|
|
3010
3053
|
/** @description Unix timestamp (seconds) when this flag expires */
|
|
3011
3054
|
endDate: number;
|
|
3012
3055
|
}[];
|
|
3013
|
-
/** @description
|
|
3014
|
-
|
|
3015
|
-
/** @description
|
|
3016
|
-
|
|
3056
|
+
/** @description Composite APY data when vault asset is another vault LP token. When present, totalApy compounds the current vault with the underlying vault and intrinsicApy shows the underlying vault's own APY */
|
|
3057
|
+
apyComposite?: {
|
|
3058
|
+
/** @description Compounded APY details combining the vault and its underlying vault */
|
|
3059
|
+
totalApy: {
|
|
3060
|
+
/** @description 1day APY details */
|
|
3061
|
+
'1day': {
|
|
3062
|
+
/** @description Base APY */
|
|
3063
|
+
base: number;
|
|
3064
|
+
/** @description Reward APY */
|
|
3065
|
+
reward: number;
|
|
3066
|
+
/** @description Total APY */
|
|
3067
|
+
total: number;
|
|
3068
|
+
};
|
|
3069
|
+
/** @description 7day APY details */
|
|
3070
|
+
'7day': {
|
|
3071
|
+
/** @description Base APY */
|
|
3072
|
+
base: number;
|
|
3073
|
+
/** @description Reward APY */
|
|
3074
|
+
reward: number;
|
|
3075
|
+
/** @description Total APY */
|
|
3076
|
+
total: number;
|
|
3077
|
+
};
|
|
3078
|
+
/** @description 30day APY details */
|
|
3079
|
+
'30day': {
|
|
3080
|
+
/** @description Base APY */
|
|
3081
|
+
base: number;
|
|
3082
|
+
/** @description Reward APY */
|
|
3083
|
+
reward: number;
|
|
3084
|
+
/** @description Total APY */
|
|
3085
|
+
total: number;
|
|
3086
|
+
};
|
|
3087
|
+
/** @description 1hour APY details */
|
|
3088
|
+
'1hour': {
|
|
3089
|
+
/** @description Base APY */
|
|
3090
|
+
base: number;
|
|
3091
|
+
/** @description Reward APY */
|
|
3092
|
+
reward: number;
|
|
3093
|
+
/** @description Total APY */
|
|
3094
|
+
total: number;
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
/** @description APY details of the underlying vault before compounding */
|
|
3098
|
+
intrinsicApy: {
|
|
3017
3099
|
/** @description 1day APY details */
|
|
3018
3100
|
'1day': {
|
|
3019
3101
|
/** @description Base APY */
|
|
@@ -3051,7 +3133,7 @@ interface paths {
|
|
|
3051
3133
|
total: number;
|
|
3052
3134
|
};
|
|
3053
3135
|
};
|
|
3054
|
-
/** @description
|
|
3136
|
+
/** @description Asset details of the underlying vault */
|
|
3055
3137
|
asset: {
|
|
3056
3138
|
/** @description Address of the asset */
|
|
3057
3139
|
address: string;
|
|
@@ -4009,6 +4091,8 @@ interface paths {
|
|
|
4009
4091
|
isTransactional: boolean;
|
|
4010
4092
|
/** @description Indicates if the vault is featured in app.vaults.fyi */
|
|
4011
4093
|
isAppFeatured: boolean;
|
|
4094
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
4095
|
+
userEventsIndexed: boolean;
|
|
4012
4096
|
/** @description Name of the vault */
|
|
4013
4097
|
name: string;
|
|
4014
4098
|
/** @description Protocol details of the vault */
|
|
@@ -4419,6 +4503,8 @@ interface paths {
|
|
|
4419
4503
|
isTransactional: boolean;
|
|
4420
4504
|
/** @description Indicates if the vault is featured in app.vaults.fyi */
|
|
4421
4505
|
isAppFeatured: boolean;
|
|
4506
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
4507
|
+
userEventsIndexed: boolean;
|
|
4422
4508
|
/** @description Name of the vault */
|
|
4423
4509
|
name: string;
|
|
4424
4510
|
/** @description Protocol details of the vault */
|
|
@@ -5987,7 +6073,7 @@ interface paths {
|
|
|
5987
6073
|
type: 'deposit' | 'redeem';
|
|
5988
6074
|
/** @enum {string} */
|
|
5989
6075
|
status: 'pending' | 'ready';
|
|
5990
|
-
assetAmount
|
|
6076
|
+
assetAmount?: string;
|
|
5991
6077
|
lpTokenAmount?: string;
|
|
5992
6078
|
timestamp?: number;
|
|
5993
6079
|
deadline?: number;
|
|
@@ -6023,7 +6109,7 @@ interface paths {
|
|
|
6023
6109
|
type: 'deposit' | 'redeem';
|
|
6024
6110
|
/** @enum {string} */
|
|
6025
6111
|
status: 'pending' | 'ready';
|
|
6026
|
-
assetAmount
|
|
6112
|
+
assetAmount?: string;
|
|
6027
6113
|
lpTokenAmount?: string;
|
|
6028
6114
|
timestamp?: number;
|
|
6029
6115
|
deadline?: number;
|
|
@@ -6055,7 +6141,7 @@ interface paths {
|
|
|
6055
6141
|
type: 'deposit' | 'redeem';
|
|
6056
6142
|
/** @enum {string} */
|
|
6057
6143
|
status: 'pending' | 'ready';
|
|
6058
|
-
assetAmount
|
|
6144
|
+
assetAmount?: string;
|
|
6059
6145
|
lpTokenAmount?: string;
|
|
6060
6146
|
timestamp?: number;
|
|
6061
6147
|
deadline?: number;
|
|
@@ -6068,6 +6154,29 @@ interface paths {
|
|
|
6068
6154
|
claimTimestamp: string;
|
|
6069
6155
|
}[];
|
|
6070
6156
|
} | Record<string, never>;
|
|
6157
|
+
/** @description Pending requests */
|
|
6158
|
+
pendingRequests?: {
|
|
6159
|
+
deposits: {
|
|
6160
|
+
/** @enum {string} */
|
|
6161
|
+
status: 'pending' | 'ready';
|
|
6162
|
+
assetAmount?: string;
|
|
6163
|
+
lpTokenAmount?: string;
|
|
6164
|
+
requestTimestamp?: number;
|
|
6165
|
+
estimatedResolution?: number;
|
|
6166
|
+
withdrawalStart?: number;
|
|
6167
|
+
withdrawalEnd?: number;
|
|
6168
|
+
}[];
|
|
6169
|
+
redeems: {
|
|
6170
|
+
/** @enum {string} */
|
|
6171
|
+
status: 'pending' | 'ready';
|
|
6172
|
+
assetAmount?: string;
|
|
6173
|
+
lpTokenAmount?: string;
|
|
6174
|
+
requestTimestamp?: number;
|
|
6175
|
+
estimatedResolution?: number;
|
|
6176
|
+
withdrawalStart?: number;
|
|
6177
|
+
withdrawalEnd?: number;
|
|
6178
|
+
}[];
|
|
6179
|
+
};
|
|
6071
6180
|
rewards?: {
|
|
6072
6181
|
claimable: {
|
|
6073
6182
|
/** @description Amount of the claimable reward */
|
|
@@ -9172,6 +9281,7 @@ declare class VaultsSdk {
|
|
|
9172
9281
|
};
|
|
9173
9282
|
isTransactional: boolean;
|
|
9174
9283
|
isAppFeatured: boolean;
|
|
9284
|
+
userEventsIndexed: boolean;
|
|
9175
9285
|
name: string;
|
|
9176
9286
|
protocol: {
|
|
9177
9287
|
name: string;
|
|
@@ -9291,6 +9401,7 @@ declare class VaultsSdk {
|
|
|
9291
9401
|
};
|
|
9292
9402
|
isTransactional: boolean;
|
|
9293
9403
|
isAppFeatured: boolean;
|
|
9404
|
+
userEventsIndexed: boolean;
|
|
9294
9405
|
name: string;
|
|
9295
9406
|
protocol: {
|
|
9296
9407
|
name: string;
|
|
@@ -9546,6 +9657,7 @@ declare class VaultsSdk {
|
|
|
9546
9657
|
remainingCapacity?: string;
|
|
9547
9658
|
maxCapacity?: string;
|
|
9548
9659
|
isCorrupted: boolean;
|
|
9660
|
+
userEventsIndexed: boolean;
|
|
9549
9661
|
childrenVaults?: {
|
|
9550
9662
|
address: string;
|
|
9551
9663
|
asset: {
|
|
@@ -9603,8 +9715,30 @@ declare class VaultsSdk {
|
|
|
9603
9715
|
severity: "info" | "warning" | "critical";
|
|
9604
9716
|
endDate: number;
|
|
9605
9717
|
}[];
|
|
9606
|
-
|
|
9607
|
-
|
|
9718
|
+
apyComposite?: {
|
|
9719
|
+
totalApy: {
|
|
9720
|
+
"1day": {
|
|
9721
|
+
base: number;
|
|
9722
|
+
reward: number;
|
|
9723
|
+
total: number;
|
|
9724
|
+
};
|
|
9725
|
+
"7day": {
|
|
9726
|
+
base: number;
|
|
9727
|
+
reward: number;
|
|
9728
|
+
total: number;
|
|
9729
|
+
};
|
|
9730
|
+
"30day": {
|
|
9731
|
+
base: number;
|
|
9732
|
+
reward: number;
|
|
9733
|
+
total: number;
|
|
9734
|
+
};
|
|
9735
|
+
"1hour": {
|
|
9736
|
+
base: number;
|
|
9737
|
+
reward: number;
|
|
9738
|
+
total: number;
|
|
9739
|
+
};
|
|
9740
|
+
};
|
|
9741
|
+
intrinsicApy: {
|
|
9608
9742
|
"1day": {
|
|
9609
9743
|
base: number;
|
|
9610
9744
|
reward: number;
|
|
@@ -9756,6 +9890,7 @@ declare class VaultsSdk {
|
|
|
9756
9890
|
remainingCapacity?: string;
|
|
9757
9891
|
maxCapacity?: string;
|
|
9758
9892
|
isCorrupted: boolean;
|
|
9893
|
+
userEventsIndexed: boolean;
|
|
9759
9894
|
childrenVaults?: {
|
|
9760
9895
|
address: string;
|
|
9761
9896
|
asset: {
|
|
@@ -9813,8 +9948,30 @@ declare class VaultsSdk {
|
|
|
9813
9948
|
severity: "info" | "warning" | "critical";
|
|
9814
9949
|
endDate: number;
|
|
9815
9950
|
}[];
|
|
9816
|
-
|
|
9817
|
-
|
|
9951
|
+
apyComposite?: {
|
|
9952
|
+
totalApy: {
|
|
9953
|
+
"1day": {
|
|
9954
|
+
base: number;
|
|
9955
|
+
reward: number;
|
|
9956
|
+
total: number;
|
|
9957
|
+
};
|
|
9958
|
+
"7day": {
|
|
9959
|
+
base: number;
|
|
9960
|
+
reward: number;
|
|
9961
|
+
total: number;
|
|
9962
|
+
};
|
|
9963
|
+
"30day": {
|
|
9964
|
+
base: number;
|
|
9965
|
+
reward: number;
|
|
9966
|
+
total: number;
|
|
9967
|
+
};
|
|
9968
|
+
"1hour": {
|
|
9969
|
+
base: number;
|
|
9970
|
+
reward: number;
|
|
9971
|
+
total: number;
|
|
9972
|
+
};
|
|
9973
|
+
};
|
|
9974
|
+
intrinsicApy: {
|
|
9818
9975
|
"1day": {
|
|
9819
9976
|
base: number;
|
|
9820
9977
|
reward: number;
|
|
@@ -10030,7 +10187,7 @@ declare class VaultsSdk {
|
|
|
10030
10187
|
id?: string;
|
|
10031
10188
|
type: "deposit" | "redeem";
|
|
10032
10189
|
status: "pending" | "ready";
|
|
10033
|
-
assetAmount
|
|
10190
|
+
assetAmount?: string;
|
|
10034
10191
|
lpTokenAmount?: string;
|
|
10035
10192
|
timestamp?: number;
|
|
10036
10193
|
deadline?: number;
|
|
@@ -10064,7 +10221,7 @@ declare class VaultsSdk {
|
|
|
10064
10221
|
id?: string;
|
|
10065
10222
|
type: "deposit" | "redeem";
|
|
10066
10223
|
status: "pending" | "ready";
|
|
10067
|
-
assetAmount
|
|
10224
|
+
assetAmount?: string;
|
|
10068
10225
|
lpTokenAmount?: string;
|
|
10069
10226
|
timestamp?: number;
|
|
10070
10227
|
deadline?: number;
|
|
@@ -10092,7 +10249,7 @@ declare class VaultsSdk {
|
|
|
10092
10249
|
id?: string;
|
|
10093
10250
|
type: "deposit" | "redeem";
|
|
10094
10251
|
status: "pending" | "ready";
|
|
10095
|
-
assetAmount
|
|
10252
|
+
assetAmount?: string;
|
|
10096
10253
|
lpTokenAmount?: string;
|
|
10097
10254
|
timestamp?: number;
|
|
10098
10255
|
deadline?: number;
|
|
@@ -10105,6 +10262,26 @@ declare class VaultsSdk {
|
|
|
10105
10262
|
claimTimestamp: string;
|
|
10106
10263
|
}[];
|
|
10107
10264
|
} | Record<string, never>;
|
|
10265
|
+
pendingRequests?: {
|
|
10266
|
+
deposits: {
|
|
10267
|
+
status: "pending" | "ready";
|
|
10268
|
+
assetAmount?: string;
|
|
10269
|
+
lpTokenAmount?: string;
|
|
10270
|
+
requestTimestamp?: number;
|
|
10271
|
+
estimatedResolution?: number;
|
|
10272
|
+
withdrawalStart?: number;
|
|
10273
|
+
withdrawalEnd?: number;
|
|
10274
|
+
}[];
|
|
10275
|
+
redeems: {
|
|
10276
|
+
status: "pending" | "ready";
|
|
10277
|
+
assetAmount?: string;
|
|
10278
|
+
lpTokenAmount?: string;
|
|
10279
|
+
requestTimestamp?: number;
|
|
10280
|
+
estimatedResolution?: number;
|
|
10281
|
+
withdrawalStart?: number;
|
|
10282
|
+
withdrawalEnd?: number;
|
|
10283
|
+
}[];
|
|
10284
|
+
};
|
|
10108
10285
|
rewards?: {
|
|
10109
10286
|
claimable: {
|
|
10110
10287
|
amount: string;
|
package/dist/client.d.ts
CHANGED
|
@@ -2310,6 +2310,8 @@ interface paths {
|
|
|
2310
2310
|
maxCapacity?: string;
|
|
2311
2311
|
/** @description Indicates if the vault is corrupted */
|
|
2312
2312
|
isCorrupted: boolean;
|
|
2313
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
2314
|
+
userEventsIndexed: boolean;
|
|
2313
2315
|
/** @description List of child vaults */
|
|
2314
2316
|
childrenVaults?: {
|
|
2315
2317
|
/** @description Address of the child vault */
|
|
@@ -2434,10 +2436,10 @@ interface paths {
|
|
|
2434
2436
|
/** @description Unix timestamp (seconds) when this flag expires */
|
|
2435
2437
|
endDate: number;
|
|
2436
2438
|
}[];
|
|
2437
|
-
/** @description
|
|
2438
|
-
|
|
2439
|
-
/** @description
|
|
2440
|
-
|
|
2439
|
+
/** @description Composite APY data when vault asset is another vault LP token. When present, totalApy compounds the current vault with the underlying vault and intrinsicApy shows the underlying vault's own APY */
|
|
2440
|
+
apyComposite?: {
|
|
2441
|
+
/** @description Compounded APY details combining the vault and its underlying vault */
|
|
2442
|
+
totalApy: {
|
|
2441
2443
|
/** @description 1day APY details */
|
|
2442
2444
|
'1day': {
|
|
2443
2445
|
/** @description Base APY */
|
|
@@ -2475,7 +2477,46 @@ interface paths {
|
|
|
2475
2477
|
total: number;
|
|
2476
2478
|
};
|
|
2477
2479
|
};
|
|
2478
|
-
/** @description
|
|
2480
|
+
/** @description APY details of the underlying vault before compounding */
|
|
2481
|
+
intrinsicApy: {
|
|
2482
|
+
/** @description 1day APY details */
|
|
2483
|
+
'1day': {
|
|
2484
|
+
/** @description Base APY */
|
|
2485
|
+
base: number;
|
|
2486
|
+
/** @description Reward APY */
|
|
2487
|
+
reward: number;
|
|
2488
|
+
/** @description Total APY */
|
|
2489
|
+
total: number;
|
|
2490
|
+
};
|
|
2491
|
+
/** @description 7day APY details */
|
|
2492
|
+
'7day': {
|
|
2493
|
+
/** @description Base APY */
|
|
2494
|
+
base: number;
|
|
2495
|
+
/** @description Reward APY */
|
|
2496
|
+
reward: number;
|
|
2497
|
+
/** @description Total APY */
|
|
2498
|
+
total: number;
|
|
2499
|
+
};
|
|
2500
|
+
/** @description 30day APY details */
|
|
2501
|
+
'30day': {
|
|
2502
|
+
/** @description Base APY */
|
|
2503
|
+
base: number;
|
|
2504
|
+
/** @description Reward APY */
|
|
2505
|
+
reward: number;
|
|
2506
|
+
/** @description Total APY */
|
|
2507
|
+
total: number;
|
|
2508
|
+
};
|
|
2509
|
+
/** @description 1hour APY details */
|
|
2510
|
+
'1hour': {
|
|
2511
|
+
/** @description Base APY */
|
|
2512
|
+
base: number;
|
|
2513
|
+
/** @description Reward APY */
|
|
2514
|
+
reward: number;
|
|
2515
|
+
/** @description Total APY */
|
|
2516
|
+
total: number;
|
|
2517
|
+
};
|
|
2518
|
+
};
|
|
2519
|
+
/** @description Asset details of the underlying vault */
|
|
2479
2520
|
asset: {
|
|
2480
2521
|
/** @description Address of the asset */
|
|
2481
2522
|
address: string;
|
|
@@ -2886,6 +2927,8 @@ interface paths {
|
|
|
2886
2927
|
maxCapacity?: string;
|
|
2887
2928
|
/** @description Indicates if the vault is corrupted */
|
|
2888
2929
|
isCorrupted: boolean;
|
|
2930
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
2931
|
+
userEventsIndexed: boolean;
|
|
2889
2932
|
/** @description List of child vaults */
|
|
2890
2933
|
childrenVaults?: {
|
|
2891
2934
|
/** @description Address of the child vault */
|
|
@@ -3010,10 +3053,49 @@ interface paths {
|
|
|
3010
3053
|
/** @description Unix timestamp (seconds) when this flag expires */
|
|
3011
3054
|
endDate: number;
|
|
3012
3055
|
}[];
|
|
3013
|
-
/** @description
|
|
3014
|
-
|
|
3015
|
-
/** @description
|
|
3016
|
-
|
|
3056
|
+
/** @description Composite APY data when vault asset is another vault LP token. When present, totalApy compounds the current vault with the underlying vault and intrinsicApy shows the underlying vault's own APY */
|
|
3057
|
+
apyComposite?: {
|
|
3058
|
+
/** @description Compounded APY details combining the vault and its underlying vault */
|
|
3059
|
+
totalApy: {
|
|
3060
|
+
/** @description 1day APY details */
|
|
3061
|
+
'1day': {
|
|
3062
|
+
/** @description Base APY */
|
|
3063
|
+
base: number;
|
|
3064
|
+
/** @description Reward APY */
|
|
3065
|
+
reward: number;
|
|
3066
|
+
/** @description Total APY */
|
|
3067
|
+
total: number;
|
|
3068
|
+
};
|
|
3069
|
+
/** @description 7day APY details */
|
|
3070
|
+
'7day': {
|
|
3071
|
+
/** @description Base APY */
|
|
3072
|
+
base: number;
|
|
3073
|
+
/** @description Reward APY */
|
|
3074
|
+
reward: number;
|
|
3075
|
+
/** @description Total APY */
|
|
3076
|
+
total: number;
|
|
3077
|
+
};
|
|
3078
|
+
/** @description 30day APY details */
|
|
3079
|
+
'30day': {
|
|
3080
|
+
/** @description Base APY */
|
|
3081
|
+
base: number;
|
|
3082
|
+
/** @description Reward APY */
|
|
3083
|
+
reward: number;
|
|
3084
|
+
/** @description Total APY */
|
|
3085
|
+
total: number;
|
|
3086
|
+
};
|
|
3087
|
+
/** @description 1hour APY details */
|
|
3088
|
+
'1hour': {
|
|
3089
|
+
/** @description Base APY */
|
|
3090
|
+
base: number;
|
|
3091
|
+
/** @description Reward APY */
|
|
3092
|
+
reward: number;
|
|
3093
|
+
/** @description Total APY */
|
|
3094
|
+
total: number;
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
/** @description APY details of the underlying vault before compounding */
|
|
3098
|
+
intrinsicApy: {
|
|
3017
3099
|
/** @description 1day APY details */
|
|
3018
3100
|
'1day': {
|
|
3019
3101
|
/** @description Base APY */
|
|
@@ -3051,7 +3133,7 @@ interface paths {
|
|
|
3051
3133
|
total: number;
|
|
3052
3134
|
};
|
|
3053
3135
|
};
|
|
3054
|
-
/** @description
|
|
3136
|
+
/** @description Asset details of the underlying vault */
|
|
3055
3137
|
asset: {
|
|
3056
3138
|
/** @description Address of the asset */
|
|
3057
3139
|
address: string;
|
|
@@ -4009,6 +4091,8 @@ interface paths {
|
|
|
4009
4091
|
isTransactional: boolean;
|
|
4010
4092
|
/** @description Indicates if the vault is featured in app.vaults.fyi */
|
|
4011
4093
|
isAppFeatured: boolean;
|
|
4094
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
4095
|
+
userEventsIndexed: boolean;
|
|
4012
4096
|
/** @description Name of the vault */
|
|
4013
4097
|
name: string;
|
|
4014
4098
|
/** @description Protocol details of the vault */
|
|
@@ -4419,6 +4503,8 @@ interface paths {
|
|
|
4419
4503
|
isTransactional: boolean;
|
|
4420
4504
|
/** @description Indicates if the vault is featured in app.vaults.fyi */
|
|
4421
4505
|
isAppFeatured: boolean;
|
|
4506
|
+
/** @description Indicates if user events related to the vault are indexed and available in the API */
|
|
4507
|
+
userEventsIndexed: boolean;
|
|
4422
4508
|
/** @description Name of the vault */
|
|
4423
4509
|
name: string;
|
|
4424
4510
|
/** @description Protocol details of the vault */
|
|
@@ -5987,7 +6073,7 @@ interface paths {
|
|
|
5987
6073
|
type: 'deposit' | 'redeem';
|
|
5988
6074
|
/** @enum {string} */
|
|
5989
6075
|
status: 'pending' | 'ready';
|
|
5990
|
-
assetAmount
|
|
6076
|
+
assetAmount?: string;
|
|
5991
6077
|
lpTokenAmount?: string;
|
|
5992
6078
|
timestamp?: number;
|
|
5993
6079
|
deadline?: number;
|
|
@@ -6023,7 +6109,7 @@ interface paths {
|
|
|
6023
6109
|
type: 'deposit' | 'redeem';
|
|
6024
6110
|
/** @enum {string} */
|
|
6025
6111
|
status: 'pending' | 'ready';
|
|
6026
|
-
assetAmount
|
|
6112
|
+
assetAmount?: string;
|
|
6027
6113
|
lpTokenAmount?: string;
|
|
6028
6114
|
timestamp?: number;
|
|
6029
6115
|
deadline?: number;
|
|
@@ -6055,7 +6141,7 @@ interface paths {
|
|
|
6055
6141
|
type: 'deposit' | 'redeem';
|
|
6056
6142
|
/** @enum {string} */
|
|
6057
6143
|
status: 'pending' | 'ready';
|
|
6058
|
-
assetAmount
|
|
6144
|
+
assetAmount?: string;
|
|
6059
6145
|
lpTokenAmount?: string;
|
|
6060
6146
|
timestamp?: number;
|
|
6061
6147
|
deadline?: number;
|
|
@@ -6068,6 +6154,29 @@ interface paths {
|
|
|
6068
6154
|
claimTimestamp: string;
|
|
6069
6155
|
}[];
|
|
6070
6156
|
} | Record<string, never>;
|
|
6157
|
+
/** @description Pending requests */
|
|
6158
|
+
pendingRequests?: {
|
|
6159
|
+
deposits: {
|
|
6160
|
+
/** @enum {string} */
|
|
6161
|
+
status: 'pending' | 'ready';
|
|
6162
|
+
assetAmount?: string;
|
|
6163
|
+
lpTokenAmount?: string;
|
|
6164
|
+
requestTimestamp?: number;
|
|
6165
|
+
estimatedResolution?: number;
|
|
6166
|
+
withdrawalStart?: number;
|
|
6167
|
+
withdrawalEnd?: number;
|
|
6168
|
+
}[];
|
|
6169
|
+
redeems: {
|
|
6170
|
+
/** @enum {string} */
|
|
6171
|
+
status: 'pending' | 'ready';
|
|
6172
|
+
assetAmount?: string;
|
|
6173
|
+
lpTokenAmount?: string;
|
|
6174
|
+
requestTimestamp?: number;
|
|
6175
|
+
estimatedResolution?: number;
|
|
6176
|
+
withdrawalStart?: number;
|
|
6177
|
+
withdrawalEnd?: number;
|
|
6178
|
+
}[];
|
|
6179
|
+
};
|
|
6071
6180
|
rewards?: {
|
|
6072
6181
|
claimable: {
|
|
6073
6182
|
/** @description Amount of the claimable reward */
|
|
@@ -9172,6 +9281,7 @@ declare class VaultsSdk {
|
|
|
9172
9281
|
};
|
|
9173
9282
|
isTransactional: boolean;
|
|
9174
9283
|
isAppFeatured: boolean;
|
|
9284
|
+
userEventsIndexed: boolean;
|
|
9175
9285
|
name: string;
|
|
9176
9286
|
protocol: {
|
|
9177
9287
|
name: string;
|
|
@@ -9291,6 +9401,7 @@ declare class VaultsSdk {
|
|
|
9291
9401
|
};
|
|
9292
9402
|
isTransactional: boolean;
|
|
9293
9403
|
isAppFeatured: boolean;
|
|
9404
|
+
userEventsIndexed: boolean;
|
|
9294
9405
|
name: string;
|
|
9295
9406
|
protocol: {
|
|
9296
9407
|
name: string;
|
|
@@ -9546,6 +9657,7 @@ declare class VaultsSdk {
|
|
|
9546
9657
|
remainingCapacity?: string;
|
|
9547
9658
|
maxCapacity?: string;
|
|
9548
9659
|
isCorrupted: boolean;
|
|
9660
|
+
userEventsIndexed: boolean;
|
|
9549
9661
|
childrenVaults?: {
|
|
9550
9662
|
address: string;
|
|
9551
9663
|
asset: {
|
|
@@ -9603,8 +9715,30 @@ declare class VaultsSdk {
|
|
|
9603
9715
|
severity: "info" | "warning" | "critical";
|
|
9604
9716
|
endDate: number;
|
|
9605
9717
|
}[];
|
|
9606
|
-
|
|
9607
|
-
|
|
9718
|
+
apyComposite?: {
|
|
9719
|
+
totalApy: {
|
|
9720
|
+
"1day": {
|
|
9721
|
+
base: number;
|
|
9722
|
+
reward: number;
|
|
9723
|
+
total: number;
|
|
9724
|
+
};
|
|
9725
|
+
"7day": {
|
|
9726
|
+
base: number;
|
|
9727
|
+
reward: number;
|
|
9728
|
+
total: number;
|
|
9729
|
+
};
|
|
9730
|
+
"30day": {
|
|
9731
|
+
base: number;
|
|
9732
|
+
reward: number;
|
|
9733
|
+
total: number;
|
|
9734
|
+
};
|
|
9735
|
+
"1hour": {
|
|
9736
|
+
base: number;
|
|
9737
|
+
reward: number;
|
|
9738
|
+
total: number;
|
|
9739
|
+
};
|
|
9740
|
+
};
|
|
9741
|
+
intrinsicApy: {
|
|
9608
9742
|
"1day": {
|
|
9609
9743
|
base: number;
|
|
9610
9744
|
reward: number;
|
|
@@ -9756,6 +9890,7 @@ declare class VaultsSdk {
|
|
|
9756
9890
|
remainingCapacity?: string;
|
|
9757
9891
|
maxCapacity?: string;
|
|
9758
9892
|
isCorrupted: boolean;
|
|
9893
|
+
userEventsIndexed: boolean;
|
|
9759
9894
|
childrenVaults?: {
|
|
9760
9895
|
address: string;
|
|
9761
9896
|
asset: {
|
|
@@ -9813,8 +9948,30 @@ declare class VaultsSdk {
|
|
|
9813
9948
|
severity: "info" | "warning" | "critical";
|
|
9814
9949
|
endDate: number;
|
|
9815
9950
|
}[];
|
|
9816
|
-
|
|
9817
|
-
|
|
9951
|
+
apyComposite?: {
|
|
9952
|
+
totalApy: {
|
|
9953
|
+
"1day": {
|
|
9954
|
+
base: number;
|
|
9955
|
+
reward: number;
|
|
9956
|
+
total: number;
|
|
9957
|
+
};
|
|
9958
|
+
"7day": {
|
|
9959
|
+
base: number;
|
|
9960
|
+
reward: number;
|
|
9961
|
+
total: number;
|
|
9962
|
+
};
|
|
9963
|
+
"30day": {
|
|
9964
|
+
base: number;
|
|
9965
|
+
reward: number;
|
|
9966
|
+
total: number;
|
|
9967
|
+
};
|
|
9968
|
+
"1hour": {
|
|
9969
|
+
base: number;
|
|
9970
|
+
reward: number;
|
|
9971
|
+
total: number;
|
|
9972
|
+
};
|
|
9973
|
+
};
|
|
9974
|
+
intrinsicApy: {
|
|
9818
9975
|
"1day": {
|
|
9819
9976
|
base: number;
|
|
9820
9977
|
reward: number;
|
|
@@ -10030,7 +10187,7 @@ declare class VaultsSdk {
|
|
|
10030
10187
|
id?: string;
|
|
10031
10188
|
type: "deposit" | "redeem";
|
|
10032
10189
|
status: "pending" | "ready";
|
|
10033
|
-
assetAmount
|
|
10190
|
+
assetAmount?: string;
|
|
10034
10191
|
lpTokenAmount?: string;
|
|
10035
10192
|
timestamp?: number;
|
|
10036
10193
|
deadline?: number;
|
|
@@ -10064,7 +10221,7 @@ declare class VaultsSdk {
|
|
|
10064
10221
|
id?: string;
|
|
10065
10222
|
type: "deposit" | "redeem";
|
|
10066
10223
|
status: "pending" | "ready";
|
|
10067
|
-
assetAmount
|
|
10224
|
+
assetAmount?: string;
|
|
10068
10225
|
lpTokenAmount?: string;
|
|
10069
10226
|
timestamp?: number;
|
|
10070
10227
|
deadline?: number;
|
|
@@ -10092,7 +10249,7 @@ declare class VaultsSdk {
|
|
|
10092
10249
|
id?: string;
|
|
10093
10250
|
type: "deposit" | "redeem";
|
|
10094
10251
|
status: "pending" | "ready";
|
|
10095
|
-
assetAmount
|
|
10252
|
+
assetAmount?: string;
|
|
10096
10253
|
lpTokenAmount?: string;
|
|
10097
10254
|
timestamp?: number;
|
|
10098
10255
|
deadline?: number;
|
|
@@ -10105,6 +10262,26 @@ declare class VaultsSdk {
|
|
|
10105
10262
|
claimTimestamp: string;
|
|
10106
10263
|
}[];
|
|
10107
10264
|
} | Record<string, never>;
|
|
10265
|
+
pendingRequests?: {
|
|
10266
|
+
deposits: {
|
|
10267
|
+
status: "pending" | "ready";
|
|
10268
|
+
assetAmount?: string;
|
|
10269
|
+
lpTokenAmount?: string;
|
|
10270
|
+
requestTimestamp?: number;
|
|
10271
|
+
estimatedResolution?: number;
|
|
10272
|
+
withdrawalStart?: number;
|
|
10273
|
+
withdrawalEnd?: number;
|
|
10274
|
+
}[];
|
|
10275
|
+
redeems: {
|
|
10276
|
+
status: "pending" | "ready";
|
|
10277
|
+
assetAmount?: string;
|
|
10278
|
+
lpTokenAmount?: string;
|
|
10279
|
+
requestTimestamp?: number;
|
|
10280
|
+
estimatedResolution?: number;
|
|
10281
|
+
withdrawalStart?: number;
|
|
10282
|
+
withdrawalEnd?: number;
|
|
10283
|
+
}[];
|
|
10284
|
+
};
|
|
10108
10285
|
rewards?: {
|
|
10109
10286
|
claimable: {
|
|
10110
10287
|
amount: string;
|