@vaultsfyi/sdk 2.1.15 → 2.1.16
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 +6 -0
- package/dist/client.d.mts +315 -105
- package/dist/client.d.ts +315 -105
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -2422,6 +2422,74 @@ interface paths {
|
|
|
2422
2422
|
};
|
|
2423
2423
|
/** @description List of warnings related to the vault */
|
|
2424
2424
|
warnings: string[];
|
|
2425
|
+
/** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
|
|
2426
|
+
intrinsic?: {
|
|
2427
|
+
/** @description Intrinsic APY details */
|
|
2428
|
+
apy: {
|
|
2429
|
+
/** @description 1day APY details */
|
|
2430
|
+
'1day': {
|
|
2431
|
+
/** @description Base APY */
|
|
2432
|
+
base: number;
|
|
2433
|
+
/** @description Reward APY */
|
|
2434
|
+
reward: number;
|
|
2435
|
+
/** @description Total APY */
|
|
2436
|
+
total: number;
|
|
2437
|
+
};
|
|
2438
|
+
/** @description 7day APY details */
|
|
2439
|
+
'7day': {
|
|
2440
|
+
/** @description Base APY */
|
|
2441
|
+
base: number;
|
|
2442
|
+
/** @description Reward APY */
|
|
2443
|
+
reward: number;
|
|
2444
|
+
/** @description Total APY */
|
|
2445
|
+
total: number;
|
|
2446
|
+
};
|
|
2447
|
+
/** @description 30day APY details */
|
|
2448
|
+
'30day': {
|
|
2449
|
+
/** @description Base APY */
|
|
2450
|
+
base: number;
|
|
2451
|
+
/** @description Reward APY */
|
|
2452
|
+
reward: number;
|
|
2453
|
+
/** @description Total APY */
|
|
2454
|
+
total: number;
|
|
2455
|
+
};
|
|
2456
|
+
/** @description 1hour APY details */
|
|
2457
|
+
'1hour': {
|
|
2458
|
+
/** @description Base APY */
|
|
2459
|
+
base: number;
|
|
2460
|
+
/** @description Reward APY */
|
|
2461
|
+
reward: number;
|
|
2462
|
+
/** @description Total APY */
|
|
2463
|
+
total: number;
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
/** @description Lowest level underlying asset that is not a vault LP token */
|
|
2467
|
+
asset: {
|
|
2468
|
+
/** @description Address of the asset */
|
|
2469
|
+
address: string;
|
|
2470
|
+
/** @description CAIP-2 of the asset */
|
|
2471
|
+
assetCaip: string;
|
|
2472
|
+
/** @description Name of the asset */
|
|
2473
|
+
name: string;
|
|
2474
|
+
/** @description Symbol of the asset */
|
|
2475
|
+
symbol: string;
|
|
2476
|
+
/** @description Number of decimals of the asset */
|
|
2477
|
+
decimals: number;
|
|
2478
|
+
/**
|
|
2479
|
+
* Format: uri
|
|
2480
|
+
* @description URL of the asset logo
|
|
2481
|
+
*/
|
|
2482
|
+
assetLogo?: string;
|
|
2483
|
+
/** @description Price of the asset in USD */
|
|
2484
|
+
assetPriceInUsd?: string;
|
|
2485
|
+
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
2486
|
+
assetGroup: string;
|
|
2487
|
+
};
|
|
2488
|
+
vault: {
|
|
2489
|
+
/** @description Address of the underlying vault */
|
|
2490
|
+
address: string;
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2425
2493
|
}[];
|
|
2426
2494
|
errors: {
|
|
2427
2495
|
unsupportedNetworks: string[];
|
|
@@ -2918,6 +2986,74 @@ interface paths {
|
|
|
2918
2986
|
};
|
|
2919
2987
|
/** @description List of warnings related to the vault */
|
|
2920
2988
|
warnings: string[];
|
|
2989
|
+
/** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
|
|
2990
|
+
intrinsic?: {
|
|
2991
|
+
/** @description Intrinsic APY details */
|
|
2992
|
+
apy: {
|
|
2993
|
+
/** @description 1day APY details */
|
|
2994
|
+
'1day': {
|
|
2995
|
+
/** @description Base APY */
|
|
2996
|
+
base: number;
|
|
2997
|
+
/** @description Reward APY */
|
|
2998
|
+
reward: number;
|
|
2999
|
+
/** @description Total APY */
|
|
3000
|
+
total: number;
|
|
3001
|
+
};
|
|
3002
|
+
/** @description 7day APY details */
|
|
3003
|
+
'7day': {
|
|
3004
|
+
/** @description Base APY */
|
|
3005
|
+
base: number;
|
|
3006
|
+
/** @description Reward APY */
|
|
3007
|
+
reward: number;
|
|
3008
|
+
/** @description Total APY */
|
|
3009
|
+
total: number;
|
|
3010
|
+
};
|
|
3011
|
+
/** @description 30day APY details */
|
|
3012
|
+
'30day': {
|
|
3013
|
+
/** @description Base APY */
|
|
3014
|
+
base: number;
|
|
3015
|
+
/** @description Reward APY */
|
|
3016
|
+
reward: number;
|
|
3017
|
+
/** @description Total APY */
|
|
3018
|
+
total: number;
|
|
3019
|
+
};
|
|
3020
|
+
/** @description 1hour APY details */
|
|
3021
|
+
'1hour': {
|
|
3022
|
+
/** @description Base APY */
|
|
3023
|
+
base: number;
|
|
3024
|
+
/** @description Reward APY */
|
|
3025
|
+
reward: number;
|
|
3026
|
+
/** @description Total APY */
|
|
3027
|
+
total: number;
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
/** @description Lowest level underlying asset that is not a vault LP token */
|
|
3031
|
+
asset: {
|
|
3032
|
+
/** @description Address of the asset */
|
|
3033
|
+
address: string;
|
|
3034
|
+
/** @description CAIP-2 of the asset */
|
|
3035
|
+
assetCaip: string;
|
|
3036
|
+
/** @description Name of the asset */
|
|
3037
|
+
name: string;
|
|
3038
|
+
/** @description Symbol of the asset */
|
|
3039
|
+
symbol: string;
|
|
3040
|
+
/** @description Number of decimals of the asset */
|
|
3041
|
+
decimals: number;
|
|
3042
|
+
/**
|
|
3043
|
+
* Format: uri
|
|
3044
|
+
* @description URL of the asset logo
|
|
3045
|
+
*/
|
|
3046
|
+
assetLogo?: string;
|
|
3047
|
+
/** @description Price of the asset in USD */
|
|
3048
|
+
assetPriceInUsd?: string;
|
|
3049
|
+
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3050
|
+
assetGroup: string;
|
|
3051
|
+
};
|
|
3052
|
+
vault: {
|
|
3053
|
+
/** @description Address of the underlying vault */
|
|
3054
|
+
address: string;
|
|
3055
|
+
};
|
|
3056
|
+
};
|
|
2921
3057
|
};
|
|
2922
3058
|
};
|
|
2923
3059
|
};
|
|
@@ -3518,7 +3654,7 @@ interface paths {
|
|
|
3518
3654
|
/** @description Balance of the asset */
|
|
3519
3655
|
balanceNative: string;
|
|
3520
3656
|
/** @description USD value of the asset */
|
|
3521
|
-
balanceUsd
|
|
3657
|
+
balanceUsd?: string;
|
|
3522
3658
|
};
|
|
3523
3659
|
/** @description Best vault details for the requested asset */
|
|
3524
3660
|
vault?: {
|
|
@@ -3834,15 +3970,15 @@ interface paths {
|
|
|
3834
3970
|
assetPriceInUsd?: string;
|
|
3835
3971
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3836
3972
|
assetGroup: string;
|
|
3837
|
-
/** @description Balance of the asset denominated in asset
|
|
3973
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3838
3974
|
balanceNative: string;
|
|
3839
|
-
/** @description Balance of the asset denominated in usd */
|
|
3840
|
-
balanceUsd
|
|
3841
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
3975
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
3976
|
+
balanceUsd?: string;
|
|
3977
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
3842
3978
|
unclaimedNative?: string;
|
|
3843
3979
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3844
3980
|
unclaimedUsd?: string;
|
|
3845
|
-
/** @description Position value in asset denominated in asset
|
|
3981
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3846
3982
|
positionValueInAsset?: string;
|
|
3847
3983
|
};
|
|
3848
3984
|
/** @description Indicates if the vault supports transactional endpoints */
|
|
@@ -3896,15 +4032,15 @@ interface paths {
|
|
|
3896
4032
|
assetPriceInUsd?: string;
|
|
3897
4033
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3898
4034
|
assetGroup: string;
|
|
3899
|
-
/** @description Balance of the asset denominated in asset
|
|
4035
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3900
4036
|
balanceNative: string;
|
|
3901
|
-
/** @description Balance of the asset denominated in usd */
|
|
3902
|
-
balanceUsd
|
|
3903
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4037
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4038
|
+
balanceUsd?: string;
|
|
4039
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
3904
4040
|
unclaimedNative?: string;
|
|
3905
4041
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3906
4042
|
unclaimedUsd?: string;
|
|
3907
|
-
/** @description Position value in asset denominated in asset
|
|
4043
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3908
4044
|
positionValueInAsset?: string;
|
|
3909
4045
|
}[];
|
|
3910
4046
|
/** @description LP token details of the vault */
|
|
@@ -3919,15 +4055,15 @@ interface paths {
|
|
|
3919
4055
|
symbol: string;
|
|
3920
4056
|
/** @description Number of decimals of the LP token */
|
|
3921
4057
|
decimals: number;
|
|
3922
|
-
/** @description Balance of the asset denominated in asset
|
|
4058
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3923
4059
|
balanceNative: string;
|
|
3924
|
-
/** @description Balance of the asset denominated in usd */
|
|
3925
|
-
balanceUsd
|
|
3926
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4060
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4061
|
+
balanceUsd?: string;
|
|
4062
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
3927
4063
|
unclaimedNative?: string;
|
|
3928
4064
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3929
4065
|
unclaimedUsd?: string;
|
|
3930
|
-
/** @description Position value in asset denominated in asset
|
|
4066
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3931
4067
|
positionValueInAsset?: string;
|
|
3932
4068
|
/** @description Price of the asset in USD */
|
|
3933
4069
|
assetPriceInUsd?: string;
|
|
@@ -3957,15 +4093,15 @@ interface paths {
|
|
|
3957
4093
|
assetPriceInUsd?: string;
|
|
3958
4094
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3959
4095
|
assetGroup: string;
|
|
3960
|
-
/** @description Balance of the asset denominated in asset
|
|
4096
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3961
4097
|
balanceNative: string;
|
|
3962
|
-
/** @description Balance of the asset denominated in usd */
|
|
3963
|
-
balanceUsd
|
|
3964
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4098
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4099
|
+
balanceUsd?: string;
|
|
4100
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
3965
4101
|
unclaimedNative?: string;
|
|
3966
4102
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3967
4103
|
unclaimedUsd?: string;
|
|
3968
|
-
/** @description Position value in asset denominated in asset
|
|
4104
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3969
4105
|
positionValueInAsset?: string;
|
|
3970
4106
|
};
|
|
3971
4107
|
/** @description LP token details of the child vault */
|
|
@@ -3980,15 +4116,15 @@ interface paths {
|
|
|
3980
4116
|
symbol: string;
|
|
3981
4117
|
/** @description Number of decimals of the LP token */
|
|
3982
4118
|
decimals: number;
|
|
3983
|
-
/** @description Balance of the asset denominated in asset
|
|
4119
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3984
4120
|
balanceNative: string;
|
|
3985
|
-
/** @description Balance of the asset denominated in usd */
|
|
3986
|
-
balanceUsd
|
|
3987
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4121
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4122
|
+
balanceUsd?: string;
|
|
4123
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
3988
4124
|
unclaimedNative?: string;
|
|
3989
4125
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3990
4126
|
unclaimedUsd?: string;
|
|
3991
|
-
/** @description Position value in asset denominated in asset
|
|
4127
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3992
4128
|
positionValueInAsset?: string;
|
|
3993
4129
|
/** @description Price of the asset in USD */
|
|
3994
4130
|
assetPriceInUsd?: string;
|
|
@@ -4014,15 +4150,15 @@ interface paths {
|
|
|
4014
4150
|
assetPriceInUsd?: string;
|
|
4015
4151
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
4016
4152
|
assetGroup: string;
|
|
4017
|
-
/** @description Balance of the asset denominated in asset
|
|
4153
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4018
4154
|
balanceNative: string;
|
|
4019
|
-
/** @description Balance of the asset denominated in usd */
|
|
4020
|
-
balanceUsd
|
|
4021
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4155
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4156
|
+
balanceUsd?: string;
|
|
4157
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4022
4158
|
unclaimedNative?: string;
|
|
4023
4159
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4024
4160
|
unclaimedUsd?: string;
|
|
4025
|
-
/** @description Position value in asset denominated in asset
|
|
4161
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4026
4162
|
positionValueInAsset?: string;
|
|
4027
4163
|
}[];
|
|
4028
4164
|
}[];
|
|
@@ -4244,15 +4380,15 @@ interface paths {
|
|
|
4244
4380
|
assetPriceInUsd?: string;
|
|
4245
4381
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
4246
4382
|
assetGroup: string;
|
|
4247
|
-
/** @description Balance of the asset denominated in asset
|
|
4383
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4248
4384
|
balanceNative: string;
|
|
4249
|
-
/** @description Balance of the asset denominated in usd */
|
|
4250
|
-
balanceUsd
|
|
4251
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4385
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4386
|
+
balanceUsd?: string;
|
|
4387
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4252
4388
|
unclaimedNative?: string;
|
|
4253
4389
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4254
4390
|
unclaimedUsd?: string;
|
|
4255
|
-
/** @description Position value in asset denominated in asset
|
|
4391
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4256
4392
|
positionValueInAsset?: string;
|
|
4257
4393
|
};
|
|
4258
4394
|
/** @description Indicates if the vault supports transactional endpoints */
|
|
@@ -4306,15 +4442,15 @@ interface paths {
|
|
|
4306
4442
|
assetPriceInUsd?: string;
|
|
4307
4443
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
4308
4444
|
assetGroup: string;
|
|
4309
|
-
/** @description Balance of the asset denominated in asset
|
|
4445
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4310
4446
|
balanceNative: string;
|
|
4311
|
-
/** @description Balance of the asset denominated in usd */
|
|
4312
|
-
balanceUsd
|
|
4313
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4447
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4448
|
+
balanceUsd?: string;
|
|
4449
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4314
4450
|
unclaimedNative?: string;
|
|
4315
4451
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4316
4452
|
unclaimedUsd?: string;
|
|
4317
|
-
/** @description Position value in asset denominated in asset
|
|
4453
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4318
4454
|
positionValueInAsset?: string;
|
|
4319
4455
|
}[];
|
|
4320
4456
|
/** @description LP token details of the vault */
|
|
@@ -4329,15 +4465,15 @@ interface paths {
|
|
|
4329
4465
|
symbol: string;
|
|
4330
4466
|
/** @description Number of decimals of the LP token */
|
|
4331
4467
|
decimals: number;
|
|
4332
|
-
/** @description Balance of the asset denominated in asset
|
|
4468
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4333
4469
|
balanceNative: string;
|
|
4334
|
-
/** @description Balance of the asset denominated in usd */
|
|
4335
|
-
balanceUsd
|
|
4336
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4470
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4471
|
+
balanceUsd?: string;
|
|
4472
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4337
4473
|
unclaimedNative?: string;
|
|
4338
4474
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4339
4475
|
unclaimedUsd?: string;
|
|
4340
|
-
/** @description Position value in asset denominated in asset
|
|
4476
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4341
4477
|
positionValueInAsset?: string;
|
|
4342
4478
|
/** @description Price of the asset in USD */
|
|
4343
4479
|
assetPriceInUsd?: string;
|
|
@@ -4367,15 +4503,15 @@ interface paths {
|
|
|
4367
4503
|
assetPriceInUsd?: string;
|
|
4368
4504
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
4369
4505
|
assetGroup: string;
|
|
4370
|
-
/** @description Balance of the asset denominated in asset
|
|
4506
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4371
4507
|
balanceNative: string;
|
|
4372
|
-
/** @description Balance of the asset denominated in usd */
|
|
4373
|
-
balanceUsd
|
|
4374
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4508
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4509
|
+
balanceUsd?: string;
|
|
4510
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4375
4511
|
unclaimedNative?: string;
|
|
4376
4512
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4377
4513
|
unclaimedUsd?: string;
|
|
4378
|
-
/** @description Position value in asset denominated in asset
|
|
4514
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4379
4515
|
positionValueInAsset?: string;
|
|
4380
4516
|
};
|
|
4381
4517
|
/** @description LP token details of the child vault */
|
|
@@ -4390,15 +4526,15 @@ interface paths {
|
|
|
4390
4526
|
symbol: string;
|
|
4391
4527
|
/** @description Number of decimals of the LP token */
|
|
4392
4528
|
decimals: number;
|
|
4393
|
-
/** @description Balance of the asset denominated in asset
|
|
4529
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4394
4530
|
balanceNative: string;
|
|
4395
|
-
/** @description Balance of the asset denominated in usd */
|
|
4396
|
-
balanceUsd
|
|
4397
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4531
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4532
|
+
balanceUsd?: string;
|
|
4533
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4398
4534
|
unclaimedNative?: string;
|
|
4399
4535
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4400
4536
|
unclaimedUsd?: string;
|
|
4401
|
-
/** @description Position value in asset denominated in asset
|
|
4537
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4402
4538
|
positionValueInAsset?: string;
|
|
4403
4539
|
/** @description Price of the asset in USD */
|
|
4404
4540
|
assetPriceInUsd?: string;
|
|
@@ -4424,15 +4560,15 @@ interface paths {
|
|
|
4424
4560
|
assetPriceInUsd?: string;
|
|
4425
4561
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
4426
4562
|
assetGroup: string;
|
|
4427
|
-
/** @description Balance of the asset denominated in asset
|
|
4563
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4428
4564
|
balanceNative: string;
|
|
4429
|
-
/** @description Balance of the asset denominated in usd */
|
|
4430
|
-
balanceUsd
|
|
4431
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
4565
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
4566
|
+
balanceUsd?: string;
|
|
4567
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
4432
4568
|
unclaimedNative?: string;
|
|
4433
4569
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4434
4570
|
unclaimedUsd?: string;
|
|
4435
|
-
/** @description Position value in asset denominated in asset
|
|
4571
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4436
4572
|
positionValueInAsset?: string;
|
|
4437
4573
|
}[];
|
|
4438
4574
|
}[];
|
|
@@ -4667,7 +4803,7 @@ interface paths {
|
|
|
4667
4803
|
/** @description Balance of the asset */
|
|
4668
4804
|
balanceNative: string;
|
|
4669
4805
|
/** @description USD value of the asset */
|
|
4670
|
-
balanceUsd
|
|
4806
|
+
balanceUsd?: string;
|
|
4671
4807
|
};
|
|
4672
4808
|
depositOptions: {
|
|
4673
4809
|
/** @description Name of the vault */
|
|
@@ -4944,7 +5080,7 @@ interface paths {
|
|
|
4944
5080
|
/** @description Balance of the asset */
|
|
4945
5081
|
balanceNative: string;
|
|
4946
5082
|
/** @description USD value of the asset */
|
|
4947
|
-
balanceUsd
|
|
5083
|
+
balanceUsd?: string;
|
|
4948
5084
|
/** @description Network details of the vault */
|
|
4949
5085
|
network: {
|
|
4950
5086
|
/**
|
|
@@ -5603,7 +5739,7 @@ interface paths {
|
|
|
5603
5739
|
/** @description Balance of the LP token */
|
|
5604
5740
|
balanceNative: string;
|
|
5605
5741
|
/** @description USD value of the LP token */
|
|
5606
|
-
balanceUsd
|
|
5742
|
+
balanceUsd?: string;
|
|
5607
5743
|
};
|
|
5608
5744
|
/** @description Asset details */
|
|
5609
5745
|
asset: {
|
|
@@ -5626,15 +5762,15 @@ interface paths {
|
|
|
5626
5762
|
assetPriceInUsd?: string;
|
|
5627
5763
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5628
5764
|
assetGroup: string;
|
|
5629
|
-
/** @description Balance of the asset denominated in asset
|
|
5765
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5630
5766
|
balanceNative: string;
|
|
5631
|
-
/** @description Balance of the asset denominated in usd */
|
|
5632
|
-
balanceUsd
|
|
5633
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
5767
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
5768
|
+
balanceUsd?: string;
|
|
5769
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
5634
5770
|
unclaimedNative?: string;
|
|
5635
5771
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5636
5772
|
unclaimedUsd?: string;
|
|
5637
|
-
/** @description Position value in asset denominated in asset
|
|
5773
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5638
5774
|
positionValueInAsset?: string;
|
|
5639
5775
|
/** @description Maximum amount that can be deposited */
|
|
5640
5776
|
depositLimit?: string;
|
|
@@ -5660,15 +5796,15 @@ interface paths {
|
|
|
5660
5796
|
assetPriceInUsd?: string;
|
|
5661
5797
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5662
5798
|
assetGroup: string;
|
|
5663
|
-
/** @description Balance of the asset denominated in asset
|
|
5799
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5664
5800
|
balanceNative: string;
|
|
5665
|
-
/** @description Balance of the asset denominated in usd */
|
|
5666
|
-
balanceUsd
|
|
5667
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
5801
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
5802
|
+
balanceUsd?: string;
|
|
5803
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
5668
5804
|
unclaimedNative?: string;
|
|
5669
5805
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5670
5806
|
unclaimedUsd?: string;
|
|
5671
|
-
/** @description Position value in asset denominated in asset
|
|
5807
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5672
5808
|
positionValueInAsset?: string;
|
|
5673
5809
|
/** @description Maximum amount that can be deposited */
|
|
5674
5810
|
depositLimit?: string;
|
|
@@ -5691,7 +5827,7 @@ interface paths {
|
|
|
5691
5827
|
/** @description Balance of the LP token */
|
|
5692
5828
|
balanceNative: string;
|
|
5693
5829
|
/** @description USD value of the LP token */
|
|
5694
|
-
balanceUsd
|
|
5830
|
+
balanceUsd?: string;
|
|
5695
5831
|
};
|
|
5696
5832
|
/** @description Asset details of the child vault */
|
|
5697
5833
|
asset: {
|
|
@@ -5714,15 +5850,15 @@ interface paths {
|
|
|
5714
5850
|
assetPriceInUsd?: string;
|
|
5715
5851
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5716
5852
|
assetGroup: string;
|
|
5717
|
-
/** @description Balance of the asset denominated in asset
|
|
5853
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5718
5854
|
balanceNative: string;
|
|
5719
|
-
/** @description Balance of the asset denominated in usd */
|
|
5720
|
-
balanceUsd
|
|
5721
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
5855
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
5856
|
+
balanceUsd?: string;
|
|
5857
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
5722
5858
|
unclaimedNative?: string;
|
|
5723
5859
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5724
5860
|
unclaimedUsd?: string;
|
|
5725
|
-
/** @description Position value in asset denominated in asset
|
|
5861
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5726
5862
|
positionValueInAsset?: string;
|
|
5727
5863
|
/** @description Maximum amount that can be deposited */
|
|
5728
5864
|
depositLimit?: string;
|
|
@@ -5748,15 +5884,15 @@ interface paths {
|
|
|
5748
5884
|
assetPriceInUsd?: string;
|
|
5749
5885
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5750
5886
|
assetGroup: string;
|
|
5751
|
-
/** @description Balance of the asset denominated in asset
|
|
5887
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5752
5888
|
balanceNative: string;
|
|
5753
|
-
/** @description Balance of the asset denominated in usd */
|
|
5754
|
-
balanceUsd
|
|
5755
|
-
/** @description Unclaimed balance of the asset in the position denominated in asset
|
|
5889
|
+
/** @description Balance of the asset denominated in usd. Omitted when no price is available. */
|
|
5890
|
+
balanceUsd?: string;
|
|
5891
|
+
/** @description Unclaimed balance of the asset in the position denominated in asset precision */
|
|
5756
5892
|
unclaimedNative?: string;
|
|
5757
5893
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5758
5894
|
unclaimedUsd?: string;
|
|
5759
|
-
/** @description Position value in asset denominated in asset
|
|
5895
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5760
5896
|
positionValueInAsset?: string;
|
|
5761
5897
|
/** @description Maximum amount that can be deposited */
|
|
5762
5898
|
depositLimit?: string;
|
|
@@ -8778,7 +8914,7 @@ declare class VaultsSdk {
|
|
|
8778
8914
|
assetPriceInUsd?: string;
|
|
8779
8915
|
assetGroup: string;
|
|
8780
8916
|
balanceNative: string;
|
|
8781
|
-
balanceUsd
|
|
8917
|
+
balanceUsd?: string;
|
|
8782
8918
|
unclaimedNative?: string;
|
|
8783
8919
|
unclaimedUsd?: string;
|
|
8784
8920
|
positionValueInAsset?: string;
|
|
@@ -8809,7 +8945,7 @@ declare class VaultsSdk {
|
|
|
8809
8945
|
assetPriceInUsd?: string;
|
|
8810
8946
|
assetGroup: string;
|
|
8811
8947
|
balanceNative: string;
|
|
8812
|
-
balanceUsd
|
|
8948
|
+
balanceUsd?: string;
|
|
8813
8949
|
unclaimedNative?: string;
|
|
8814
8950
|
unclaimedUsd?: string;
|
|
8815
8951
|
positionValueInAsset?: string;
|
|
@@ -8821,7 +8957,7 @@ declare class VaultsSdk {
|
|
|
8821
8957
|
symbol: string;
|
|
8822
8958
|
decimals: number;
|
|
8823
8959
|
balanceNative: string;
|
|
8824
|
-
balanceUsd
|
|
8960
|
+
balanceUsd?: string;
|
|
8825
8961
|
unclaimedNative?: string;
|
|
8826
8962
|
unclaimedUsd?: string;
|
|
8827
8963
|
positionValueInAsset?: string;
|
|
@@ -8839,7 +8975,7 @@ declare class VaultsSdk {
|
|
|
8839
8975
|
assetPriceInUsd?: string;
|
|
8840
8976
|
assetGroup: string;
|
|
8841
8977
|
balanceNative: string;
|
|
8842
|
-
balanceUsd
|
|
8978
|
+
balanceUsd?: string;
|
|
8843
8979
|
unclaimedNative?: string;
|
|
8844
8980
|
unclaimedUsd?: string;
|
|
8845
8981
|
positionValueInAsset?: string;
|
|
@@ -8851,7 +8987,7 @@ declare class VaultsSdk {
|
|
|
8851
8987
|
symbol: string;
|
|
8852
8988
|
decimals: number;
|
|
8853
8989
|
balanceNative: string;
|
|
8854
|
-
balanceUsd
|
|
8990
|
+
balanceUsd?: string;
|
|
8855
8991
|
unclaimedNative?: string;
|
|
8856
8992
|
unclaimedUsd?: string;
|
|
8857
8993
|
positionValueInAsset?: string;
|
|
@@ -8867,7 +9003,7 @@ declare class VaultsSdk {
|
|
|
8867
9003
|
assetPriceInUsd?: string;
|
|
8868
9004
|
assetGroup: string;
|
|
8869
9005
|
balanceNative: string;
|
|
8870
|
-
balanceUsd
|
|
9006
|
+
balanceUsd?: string;
|
|
8871
9007
|
unclaimedNative?: string;
|
|
8872
9008
|
unclaimedUsd?: string;
|
|
8873
9009
|
positionValueInAsset?: string;
|
|
@@ -8897,7 +9033,7 @@ declare class VaultsSdk {
|
|
|
8897
9033
|
assetPriceInUsd?: string;
|
|
8898
9034
|
assetGroup: string;
|
|
8899
9035
|
balanceNative: string;
|
|
8900
|
-
balanceUsd
|
|
9036
|
+
balanceUsd?: string;
|
|
8901
9037
|
unclaimedNative?: string;
|
|
8902
9038
|
unclaimedUsd?: string;
|
|
8903
9039
|
positionValueInAsset?: string;
|
|
@@ -8928,7 +9064,7 @@ declare class VaultsSdk {
|
|
|
8928
9064
|
assetPriceInUsd?: string;
|
|
8929
9065
|
assetGroup: string;
|
|
8930
9066
|
balanceNative: string;
|
|
8931
|
-
balanceUsd
|
|
9067
|
+
balanceUsd?: string;
|
|
8932
9068
|
unclaimedNative?: string;
|
|
8933
9069
|
unclaimedUsd?: string;
|
|
8934
9070
|
positionValueInAsset?: string;
|
|
@@ -8940,7 +9076,7 @@ declare class VaultsSdk {
|
|
|
8940
9076
|
symbol: string;
|
|
8941
9077
|
decimals: number;
|
|
8942
9078
|
balanceNative: string;
|
|
8943
|
-
balanceUsd
|
|
9079
|
+
balanceUsd?: string;
|
|
8944
9080
|
unclaimedNative?: string;
|
|
8945
9081
|
unclaimedUsd?: string;
|
|
8946
9082
|
positionValueInAsset?: string;
|
|
@@ -8958,7 +9094,7 @@ declare class VaultsSdk {
|
|
|
8958
9094
|
assetPriceInUsd?: string;
|
|
8959
9095
|
assetGroup: string;
|
|
8960
9096
|
balanceNative: string;
|
|
8961
|
-
balanceUsd
|
|
9097
|
+
balanceUsd?: string;
|
|
8962
9098
|
unclaimedNative?: string;
|
|
8963
9099
|
unclaimedUsd?: string;
|
|
8964
9100
|
positionValueInAsset?: string;
|
|
@@ -8970,7 +9106,7 @@ declare class VaultsSdk {
|
|
|
8970
9106
|
symbol: string;
|
|
8971
9107
|
decimals: number;
|
|
8972
9108
|
balanceNative: string;
|
|
8973
|
-
balanceUsd
|
|
9109
|
+
balanceUsd?: string;
|
|
8974
9110
|
unclaimedNative?: string;
|
|
8975
9111
|
unclaimedUsd?: string;
|
|
8976
9112
|
positionValueInAsset?: string;
|
|
@@ -8986,7 +9122,7 @@ declare class VaultsSdk {
|
|
|
8986
9122
|
assetPriceInUsd?: string;
|
|
8987
9123
|
assetGroup: string;
|
|
8988
9124
|
balanceNative: string;
|
|
8989
|
-
balanceUsd
|
|
9125
|
+
balanceUsd?: string;
|
|
8990
9126
|
unclaimedNative?: string;
|
|
8991
9127
|
unclaimedUsd?: string;
|
|
8992
9128
|
positionValueInAsset?: string;
|
|
@@ -9006,7 +9142,7 @@ declare class VaultsSdk {
|
|
|
9006
9142
|
assetPriceInUsd?: string;
|
|
9007
9143
|
assetGroup: string;
|
|
9008
9144
|
balanceNative: string;
|
|
9009
|
-
balanceUsd
|
|
9145
|
+
balanceUsd?: string;
|
|
9010
9146
|
};
|
|
9011
9147
|
depositOptions: {
|
|
9012
9148
|
name: string;
|
|
@@ -9211,6 +9347,43 @@ declare class VaultsSdk {
|
|
|
9211
9347
|
depositFee?: number;
|
|
9212
9348
|
};
|
|
9213
9349
|
warnings: string[];
|
|
9350
|
+
intrinsic?: {
|
|
9351
|
+
apy: {
|
|
9352
|
+
"1day": {
|
|
9353
|
+
base: number;
|
|
9354
|
+
reward: number;
|
|
9355
|
+
total: number;
|
|
9356
|
+
};
|
|
9357
|
+
"7day": {
|
|
9358
|
+
base: number;
|
|
9359
|
+
reward: number;
|
|
9360
|
+
total: number;
|
|
9361
|
+
};
|
|
9362
|
+
"30day": {
|
|
9363
|
+
base: number;
|
|
9364
|
+
reward: number;
|
|
9365
|
+
total: number;
|
|
9366
|
+
};
|
|
9367
|
+
"1hour": {
|
|
9368
|
+
base: number;
|
|
9369
|
+
reward: number;
|
|
9370
|
+
total: number;
|
|
9371
|
+
};
|
|
9372
|
+
};
|
|
9373
|
+
asset: {
|
|
9374
|
+
address: string;
|
|
9375
|
+
assetCaip: string;
|
|
9376
|
+
name: string;
|
|
9377
|
+
symbol: string;
|
|
9378
|
+
decimals: number;
|
|
9379
|
+
assetLogo?: string;
|
|
9380
|
+
assetPriceInUsd?: string;
|
|
9381
|
+
assetGroup: string;
|
|
9382
|
+
};
|
|
9383
|
+
vault: {
|
|
9384
|
+
address: string;
|
|
9385
|
+
};
|
|
9386
|
+
};
|
|
9214
9387
|
}[];
|
|
9215
9388
|
errors: {
|
|
9216
9389
|
unsupportedNetworks: string[];
|
|
@@ -9379,6 +9552,43 @@ declare class VaultsSdk {
|
|
|
9379
9552
|
depositFee?: number;
|
|
9380
9553
|
};
|
|
9381
9554
|
warnings: string[];
|
|
9555
|
+
intrinsic?: {
|
|
9556
|
+
apy: {
|
|
9557
|
+
"1day": {
|
|
9558
|
+
base: number;
|
|
9559
|
+
reward: number;
|
|
9560
|
+
total: number;
|
|
9561
|
+
};
|
|
9562
|
+
"7day": {
|
|
9563
|
+
base: number;
|
|
9564
|
+
reward: number;
|
|
9565
|
+
total: number;
|
|
9566
|
+
};
|
|
9567
|
+
"30day": {
|
|
9568
|
+
base: number;
|
|
9569
|
+
reward: number;
|
|
9570
|
+
total: number;
|
|
9571
|
+
};
|
|
9572
|
+
"1hour": {
|
|
9573
|
+
base: number;
|
|
9574
|
+
reward: number;
|
|
9575
|
+
total: number;
|
|
9576
|
+
};
|
|
9577
|
+
};
|
|
9578
|
+
asset: {
|
|
9579
|
+
address: string;
|
|
9580
|
+
assetCaip: string;
|
|
9581
|
+
name: string;
|
|
9582
|
+
symbol: string;
|
|
9583
|
+
decimals: number;
|
|
9584
|
+
assetLogo?: string;
|
|
9585
|
+
assetPriceInUsd?: string;
|
|
9586
|
+
assetGroup: string;
|
|
9587
|
+
};
|
|
9588
|
+
vault: {
|
|
9589
|
+
address: string;
|
|
9590
|
+
};
|
|
9591
|
+
};
|
|
9382
9592
|
}>;
|
|
9383
9593
|
getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
|
|
9384
9594
|
data: {
|
|
@@ -9391,7 +9601,7 @@ declare class VaultsSdk {
|
|
|
9391
9601
|
assetPriceInUsd?: string;
|
|
9392
9602
|
assetGroup: string;
|
|
9393
9603
|
balanceNative: string;
|
|
9394
|
-
balanceUsd
|
|
9604
|
+
balanceUsd?: string;
|
|
9395
9605
|
network: {
|
|
9396
9606
|
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9397
9607
|
chainId: number;
|
|
@@ -9423,7 +9633,7 @@ declare class VaultsSdk {
|
|
|
9423
9633
|
symbol: string;
|
|
9424
9634
|
decimals: number;
|
|
9425
9635
|
balanceNative: string;
|
|
9426
|
-
balanceUsd
|
|
9636
|
+
balanceUsd?: string;
|
|
9427
9637
|
};
|
|
9428
9638
|
asset: {
|
|
9429
9639
|
address: string;
|
|
@@ -9435,7 +9645,7 @@ declare class VaultsSdk {
|
|
|
9435
9645
|
assetPriceInUsd?: string;
|
|
9436
9646
|
assetGroup: string;
|
|
9437
9647
|
balanceNative: string;
|
|
9438
|
-
balanceUsd
|
|
9648
|
+
balanceUsd?: string;
|
|
9439
9649
|
unclaimedNative?: string;
|
|
9440
9650
|
unclaimedUsd?: string;
|
|
9441
9651
|
positionValueInAsset?: string;
|
|
@@ -9451,7 +9661,7 @@ declare class VaultsSdk {
|
|
|
9451
9661
|
assetPriceInUsd?: string;
|
|
9452
9662
|
assetGroup: string;
|
|
9453
9663
|
balanceNative: string;
|
|
9454
|
-
balanceUsd
|
|
9664
|
+
balanceUsd?: string;
|
|
9455
9665
|
unclaimedNative?: string;
|
|
9456
9666
|
unclaimedUsd?: string;
|
|
9457
9667
|
positionValueInAsset?: string;
|
|
@@ -9466,7 +9676,7 @@ declare class VaultsSdk {
|
|
|
9466
9676
|
symbol: string;
|
|
9467
9677
|
decimals: number;
|
|
9468
9678
|
balanceNative: string;
|
|
9469
|
-
balanceUsd
|
|
9679
|
+
balanceUsd?: string;
|
|
9470
9680
|
};
|
|
9471
9681
|
asset: {
|
|
9472
9682
|
address: string;
|
|
@@ -9478,7 +9688,7 @@ declare class VaultsSdk {
|
|
|
9478
9688
|
assetPriceInUsd?: string;
|
|
9479
9689
|
assetGroup: string;
|
|
9480
9690
|
balanceNative: string;
|
|
9481
|
-
balanceUsd
|
|
9691
|
+
balanceUsd?: string;
|
|
9482
9692
|
unclaimedNative?: string;
|
|
9483
9693
|
unclaimedUsd?: string;
|
|
9484
9694
|
positionValueInAsset?: string;
|
|
@@ -9494,7 +9704,7 @@ declare class VaultsSdk {
|
|
|
9494
9704
|
assetPriceInUsd?: string;
|
|
9495
9705
|
assetGroup: string;
|
|
9496
9706
|
balanceNative: string;
|
|
9497
|
-
balanceUsd
|
|
9707
|
+
balanceUsd?: string;
|
|
9498
9708
|
unclaimedNative?: string;
|
|
9499
9709
|
unclaimedUsd?: string;
|
|
9500
9710
|
positionValueInAsset?: string;
|