@vaultsfyi/sdk 2.1.14 → 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 +12 -0
- package/dist/client.d.mts +882 -107
- package/dist/client.d.ts +882 -107
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -237,6 +237,19 @@ interface paths {
|
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
239
|
/** @description Default Response */
|
|
240
|
+
404: {
|
|
241
|
+
headers: {
|
|
242
|
+
[name: string]: unknown;
|
|
243
|
+
};
|
|
244
|
+
content: {
|
|
245
|
+
'application/json': {
|
|
246
|
+
/** @enum {string} */
|
|
247
|
+
error: 'Not Found';
|
|
248
|
+
message: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
/** @description Default Response */
|
|
240
253
|
408: {
|
|
241
254
|
headers: {
|
|
242
255
|
[name: string]: unknown;
|
|
@@ -435,6 +448,19 @@ interface paths {
|
|
|
435
448
|
};
|
|
436
449
|
};
|
|
437
450
|
/** @description Default Response */
|
|
451
|
+
404: {
|
|
452
|
+
headers: {
|
|
453
|
+
[name: string]: unknown;
|
|
454
|
+
};
|
|
455
|
+
content: {
|
|
456
|
+
'application/json': {
|
|
457
|
+
/** @enum {string} */
|
|
458
|
+
error: 'Not Found';
|
|
459
|
+
message: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
/** @description Default Response */
|
|
438
464
|
408: {
|
|
439
465
|
headers: {
|
|
440
466
|
[name: string]: unknown;
|
|
@@ -588,6 +614,19 @@ interface paths {
|
|
|
588
614
|
};
|
|
589
615
|
};
|
|
590
616
|
/** @description Default Response */
|
|
617
|
+
404: {
|
|
618
|
+
headers: {
|
|
619
|
+
[name: string]: unknown;
|
|
620
|
+
};
|
|
621
|
+
content: {
|
|
622
|
+
'application/json': {
|
|
623
|
+
/** @enum {string} */
|
|
624
|
+
error: 'Not Found';
|
|
625
|
+
message: string;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
/** @description Default Response */
|
|
591
630
|
408: {
|
|
592
631
|
headers: {
|
|
593
632
|
[name: string]: unknown;
|
|
@@ -751,6 +790,19 @@ interface paths {
|
|
|
751
790
|
};
|
|
752
791
|
};
|
|
753
792
|
/** @description Default Response */
|
|
793
|
+
404: {
|
|
794
|
+
headers: {
|
|
795
|
+
[name: string]: unknown;
|
|
796
|
+
};
|
|
797
|
+
content: {
|
|
798
|
+
'application/json': {
|
|
799
|
+
/** @enum {string} */
|
|
800
|
+
error: 'Not Found';
|
|
801
|
+
message: string;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
/** @description Default Response */
|
|
754
806
|
408: {
|
|
755
807
|
headers: {
|
|
756
808
|
[name: string]: unknown;
|
|
@@ -911,6 +963,19 @@ interface paths {
|
|
|
911
963
|
};
|
|
912
964
|
};
|
|
913
965
|
/** @description Default Response */
|
|
966
|
+
404: {
|
|
967
|
+
headers: {
|
|
968
|
+
[name: string]: unknown;
|
|
969
|
+
};
|
|
970
|
+
content: {
|
|
971
|
+
'application/json': {
|
|
972
|
+
/** @enum {string} */
|
|
973
|
+
error: 'Not Found';
|
|
974
|
+
message: string;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
/** @description Default Response */
|
|
914
979
|
408: {
|
|
915
980
|
headers: {
|
|
916
981
|
[name: string]: unknown;
|
|
@@ -1111,6 +1176,19 @@ interface paths {
|
|
|
1111
1176
|
};
|
|
1112
1177
|
};
|
|
1113
1178
|
/** @description Default Response */
|
|
1179
|
+
404: {
|
|
1180
|
+
headers: {
|
|
1181
|
+
[name: string]: unknown;
|
|
1182
|
+
};
|
|
1183
|
+
content: {
|
|
1184
|
+
'application/json': {
|
|
1185
|
+
/** @enum {string} */
|
|
1186
|
+
error: 'Not Found';
|
|
1187
|
+
message: string;
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
/** @description Default Response */
|
|
1114
1192
|
408: {
|
|
1115
1193
|
headers: {
|
|
1116
1194
|
[name: string]: unknown;
|
|
@@ -1302,6 +1380,19 @@ interface paths {
|
|
|
1302
1380
|
};
|
|
1303
1381
|
};
|
|
1304
1382
|
/** @description Default Response */
|
|
1383
|
+
404: {
|
|
1384
|
+
headers: {
|
|
1385
|
+
[name: string]: unknown;
|
|
1386
|
+
};
|
|
1387
|
+
content: {
|
|
1388
|
+
'application/json': {
|
|
1389
|
+
/** @enum {string} */
|
|
1390
|
+
error: 'Not Found';
|
|
1391
|
+
message: string;
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
/** @description Default Response */
|
|
1305
1396
|
408: {
|
|
1306
1397
|
headers: {
|
|
1307
1398
|
[name: string]: unknown;
|
|
@@ -1491,6 +1582,19 @@ interface paths {
|
|
|
1491
1582
|
};
|
|
1492
1583
|
};
|
|
1493
1584
|
/** @description Default Response */
|
|
1585
|
+
404: {
|
|
1586
|
+
headers: {
|
|
1587
|
+
[name: string]: unknown;
|
|
1588
|
+
};
|
|
1589
|
+
content: {
|
|
1590
|
+
'application/json': {
|
|
1591
|
+
/** @enum {string} */
|
|
1592
|
+
error: 'Not Found';
|
|
1593
|
+
message: string;
|
|
1594
|
+
};
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
/** @description Default Response */
|
|
1494
1598
|
408: {
|
|
1495
1599
|
headers: {
|
|
1496
1600
|
[name: string]: unknown;
|
|
@@ -1675,6 +1779,212 @@ interface paths {
|
|
|
1675
1779
|
};
|
|
1676
1780
|
};
|
|
1677
1781
|
/** @description Default Response */
|
|
1782
|
+
404: {
|
|
1783
|
+
headers: {
|
|
1784
|
+
[name: string]: unknown;
|
|
1785
|
+
};
|
|
1786
|
+
content: {
|
|
1787
|
+
'application/json': {
|
|
1788
|
+
/** @enum {string} */
|
|
1789
|
+
error: 'Not Found';
|
|
1790
|
+
message: string;
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
/** @description Default Response */
|
|
1795
|
+
408: {
|
|
1796
|
+
headers: {
|
|
1797
|
+
[name: string]: unknown;
|
|
1798
|
+
};
|
|
1799
|
+
content: {
|
|
1800
|
+
'application/json': {
|
|
1801
|
+
message?: string;
|
|
1802
|
+
errorId?: string;
|
|
1803
|
+
} | unknown;
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
/** @description Default Response */
|
|
1807
|
+
500: {
|
|
1808
|
+
headers: {
|
|
1809
|
+
[name: string]: unknown;
|
|
1810
|
+
};
|
|
1811
|
+
content: {
|
|
1812
|
+
'application/json': {
|
|
1813
|
+
/** @enum {string} */
|
|
1814
|
+
error: 'Internal Server Error';
|
|
1815
|
+
message: string;
|
|
1816
|
+
errorId?: string;
|
|
1817
|
+
} | unknown;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
/** @description Default Response */
|
|
1821
|
+
503: {
|
|
1822
|
+
headers: {
|
|
1823
|
+
[name: string]: unknown;
|
|
1824
|
+
};
|
|
1825
|
+
content: {
|
|
1826
|
+
'application/json': {
|
|
1827
|
+
/** @enum {string} */
|
|
1828
|
+
error: 'Service Unavailable';
|
|
1829
|
+
message: string;
|
|
1830
|
+
errorId?: string;
|
|
1831
|
+
} | unknown;
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
put?: never;
|
|
1837
|
+
post?: never;
|
|
1838
|
+
delete?: never;
|
|
1839
|
+
options?: never;
|
|
1840
|
+
head?: never;
|
|
1841
|
+
patch?: never;
|
|
1842
|
+
trace?: never;
|
|
1843
|
+
};
|
|
1844
|
+
'/v2/historical/asset-prices/{network}/{assetAddress}': {
|
|
1845
|
+
parameters: {
|
|
1846
|
+
query?: never;
|
|
1847
|
+
header?: never;
|
|
1848
|
+
path?: never;
|
|
1849
|
+
cookie?: never;
|
|
1850
|
+
};
|
|
1851
|
+
/** @description Retrieves historical USD prices for a specific asset on a given network. */
|
|
1852
|
+
get: {
|
|
1853
|
+
parameters: {
|
|
1854
|
+
query?: {
|
|
1855
|
+
/** @description Page number (starting from 0) */
|
|
1856
|
+
page?: number;
|
|
1857
|
+
/** @description Number of items per page */
|
|
1858
|
+
perPage?: number;
|
|
1859
|
+
/** @description Granularity for historical data (even intervals starting from epoch 0). Possible values: 1hour, 1day, 1week */
|
|
1860
|
+
granularity?: '1hour' | '1day' | '1week';
|
|
1861
|
+
/** @description Timestamp for the start of the time period for which data will be fetched */
|
|
1862
|
+
fromTimestamp?: number;
|
|
1863
|
+
/** @description Timestamp for the end of the time period for which data will be fetched */
|
|
1864
|
+
toTimestamp?: number;
|
|
1865
|
+
};
|
|
1866
|
+
header?: never;
|
|
1867
|
+
path: {
|
|
1868
|
+
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1869
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'eip155:1' | 'eip155:10' | 'eip155:42161' | 'eip155:137' | 'eip155:100' | 'eip155:8453' | 'eip155:130' | 'eip155:1923' | 'eip155:42220' | 'eip155:480' | 'eip155:80094' | 'eip155:57073' | 'eip155:56' | 'eip155:999' | 'eip155:9745' | 'eip155:43114' | 'eip155:747474' | 'eip155:59144' | 'eip155:4326' | 'eip155:143';
|
|
1870
|
+
/** @description Asset address to get the historical prices for */
|
|
1871
|
+
assetAddress: string;
|
|
1872
|
+
};
|
|
1873
|
+
cookie?: never;
|
|
1874
|
+
};
|
|
1875
|
+
requestBody?: never;
|
|
1876
|
+
responses: {
|
|
1877
|
+
/** @description Historical price data for an asset, paginated by timestamp */
|
|
1878
|
+
200: {
|
|
1879
|
+
headers: {
|
|
1880
|
+
[name: string]: unknown;
|
|
1881
|
+
};
|
|
1882
|
+
content: {
|
|
1883
|
+
'application/json': {
|
|
1884
|
+
/** @description Number of items on the current page */
|
|
1885
|
+
itemsOnPage: number;
|
|
1886
|
+
/** @description Next page number */
|
|
1887
|
+
nextPage?: number;
|
|
1888
|
+
data: {
|
|
1889
|
+
/** @description Aggregating timestamp of the price data point */
|
|
1890
|
+
timestamp: number;
|
|
1891
|
+
/** @description Asset price in USD */
|
|
1892
|
+
priceInUsd: string;
|
|
1893
|
+
}[];
|
|
1894
|
+
};
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
/** @description Default Response */
|
|
1898
|
+
400: {
|
|
1899
|
+
headers: {
|
|
1900
|
+
[name: string]: unknown;
|
|
1901
|
+
};
|
|
1902
|
+
content: {
|
|
1903
|
+
'application/json': {
|
|
1904
|
+
statusCode: number;
|
|
1905
|
+
/** @enum {string} */
|
|
1906
|
+
error: 'Bad Request';
|
|
1907
|
+
message: string;
|
|
1908
|
+
errorId?: string;
|
|
1909
|
+
} | unknown;
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
/** @description Default Response */
|
|
1913
|
+
401: {
|
|
1914
|
+
headers: {
|
|
1915
|
+
[name: string]: unknown;
|
|
1916
|
+
};
|
|
1917
|
+
content: {
|
|
1918
|
+
'application/json': {
|
|
1919
|
+
/** @enum {string} */
|
|
1920
|
+
error: 'Unauthorized';
|
|
1921
|
+
/** @enum {string} */
|
|
1922
|
+
message: 'API key required. Please contact vaults.fyi support at https://t.me/vaultsfyisupport or email (support@wallfacer.io) for further assistance.' | 'This endpoint is only available to vaults.fyi PRO subscribers. Please upgrade your API key to access this feature.';
|
|
1923
|
+
errorId?: string;
|
|
1924
|
+
} | unknown;
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
/** @description Default Response */
|
|
1928
|
+
402: {
|
|
1929
|
+
headers: {
|
|
1930
|
+
[name: string]: unknown;
|
|
1931
|
+
};
|
|
1932
|
+
content: {
|
|
1933
|
+
'application/json': {
|
|
1934
|
+
x402Version: number | string;
|
|
1935
|
+
error: string;
|
|
1936
|
+
accepts?: {
|
|
1937
|
+
/** @enum {string} */
|
|
1938
|
+
scheme: 'exact';
|
|
1939
|
+
/** @enum {string} */
|
|
1940
|
+
network: 'base';
|
|
1941
|
+
maxAmountRequired: string;
|
|
1942
|
+
resource: string;
|
|
1943
|
+
description: string;
|
|
1944
|
+
mimeType: string;
|
|
1945
|
+
outputSchema?: {
|
|
1946
|
+
[key: string]: unknown;
|
|
1947
|
+
};
|
|
1948
|
+
payTo: string;
|
|
1949
|
+
maxTimeoutSeconds: number;
|
|
1950
|
+
asset: string;
|
|
1951
|
+
extra: {
|
|
1952
|
+
name: string;
|
|
1953
|
+
version: string;
|
|
1954
|
+
};
|
|
1955
|
+
}[] | unknown;
|
|
1956
|
+
} | unknown;
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
/** @description Default Response */
|
|
1960
|
+
403: {
|
|
1961
|
+
headers: {
|
|
1962
|
+
[name: string]: unknown;
|
|
1963
|
+
};
|
|
1964
|
+
content: {
|
|
1965
|
+
'application/json': {
|
|
1966
|
+
/** @enum {string} */
|
|
1967
|
+
error: 'Forbidden';
|
|
1968
|
+
/** @enum {string} */
|
|
1969
|
+
message: 'The provided API key has exhausted its available credits. Please contact vaults.fyi support at https://t.me/vaultsfyisupport or email (support@wallfacer.io) for further assistance.';
|
|
1970
|
+
errorId?: string;
|
|
1971
|
+
} | unknown;
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
/** @description Default Response */
|
|
1975
|
+
404: {
|
|
1976
|
+
headers: {
|
|
1977
|
+
[name: string]: unknown;
|
|
1978
|
+
};
|
|
1979
|
+
content: {
|
|
1980
|
+
'application/json': {
|
|
1981
|
+
/** @enum {string} */
|
|
1982
|
+
error: 'Not Found';
|
|
1983
|
+
message: string;
|
|
1984
|
+
};
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
/** @description Default Response */
|
|
1678
1988
|
408: {
|
|
1679
1989
|
headers: {
|
|
1680
1990
|
[name: string]: unknown;
|
|
@@ -2099,8 +2409,87 @@ interface paths {
|
|
|
2099
2409
|
/** @description Indicates if the vault supports rewards transaction flows */
|
|
2100
2410
|
rewardsSupported: boolean;
|
|
2101
2411
|
};
|
|
2412
|
+
/** @description Fee structure of the vault */
|
|
2413
|
+
fees?: {
|
|
2414
|
+
/** @description Performance fee as decimal */
|
|
2415
|
+
performanceFee?: number;
|
|
2416
|
+
/** @description Management fee as decimal */
|
|
2417
|
+
managementFee?: number;
|
|
2418
|
+
/** @description Withdrawal fee as decimal */
|
|
2419
|
+
withdrawalFee?: number;
|
|
2420
|
+
/** @description Deposit fee as decimal */
|
|
2421
|
+
depositFee?: number;
|
|
2422
|
+
};
|
|
2102
2423
|
/** @description List of warnings related to the vault */
|
|
2103
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
|
+
};
|
|
2104
2493
|
}[];
|
|
2105
2494
|
errors: {
|
|
2106
2495
|
unsupportedNetworks: string[];
|
|
@@ -2188,6 +2577,19 @@ interface paths {
|
|
|
2188
2577
|
};
|
|
2189
2578
|
};
|
|
2190
2579
|
/** @description Default Response */
|
|
2580
|
+
404: {
|
|
2581
|
+
headers: {
|
|
2582
|
+
[name: string]: unknown;
|
|
2583
|
+
};
|
|
2584
|
+
content: {
|
|
2585
|
+
'application/json': {
|
|
2586
|
+
/** @enum {string} */
|
|
2587
|
+
error: 'Not Found';
|
|
2588
|
+
message: string;
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
/** @description Default Response */
|
|
2191
2593
|
408: {
|
|
2192
2594
|
headers: {
|
|
2193
2595
|
[name: string]: unknown;
|
|
@@ -2571,8 +2973,87 @@ interface paths {
|
|
|
2571
2973
|
/** @description Indicates if the vault supports rewards transaction flows */
|
|
2572
2974
|
rewardsSupported: boolean;
|
|
2573
2975
|
};
|
|
2574
|
-
/** @description
|
|
2575
|
-
|
|
2976
|
+
/** @description Fee structure of the vault */
|
|
2977
|
+
fees?: {
|
|
2978
|
+
/** @description Performance fee as decimal */
|
|
2979
|
+
performanceFee?: number;
|
|
2980
|
+
/** @description Management fee as decimal */
|
|
2981
|
+
managementFee?: number;
|
|
2982
|
+
/** @description Withdrawal fee as decimal */
|
|
2983
|
+
withdrawalFee?: number;
|
|
2984
|
+
/** @description Deposit fee as decimal */
|
|
2985
|
+
depositFee?: number;
|
|
2986
|
+
};
|
|
2987
|
+
/** @description List of warnings related to the vault */
|
|
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
|
+
};
|
|
2576
3057
|
};
|
|
2577
3058
|
};
|
|
2578
3059
|
};
|
|
@@ -2654,6 +3135,19 @@ interface paths {
|
|
|
2654
3135
|
};
|
|
2655
3136
|
};
|
|
2656
3137
|
/** @description Default Response */
|
|
3138
|
+
404: {
|
|
3139
|
+
headers: {
|
|
3140
|
+
[name: string]: unknown;
|
|
3141
|
+
};
|
|
3142
|
+
content: {
|
|
3143
|
+
'application/json': {
|
|
3144
|
+
/** @enum {string} */
|
|
3145
|
+
error: 'Not Found';
|
|
3146
|
+
message: string;
|
|
3147
|
+
};
|
|
3148
|
+
};
|
|
3149
|
+
};
|
|
3150
|
+
/** @description Default Response */
|
|
2657
3151
|
408: {
|
|
2658
3152
|
headers: {
|
|
2659
3153
|
[name: string]: unknown;
|
|
@@ -2840,6 +3334,19 @@ interface paths {
|
|
|
2840
3334
|
};
|
|
2841
3335
|
};
|
|
2842
3336
|
/** @description Default Response */
|
|
3337
|
+
404: {
|
|
3338
|
+
headers: {
|
|
3339
|
+
[name: string]: unknown;
|
|
3340
|
+
};
|
|
3341
|
+
content: {
|
|
3342
|
+
'application/json': {
|
|
3343
|
+
/** @enum {string} */
|
|
3344
|
+
error: 'Not Found';
|
|
3345
|
+
message: string;
|
|
3346
|
+
};
|
|
3347
|
+
};
|
|
3348
|
+
};
|
|
3349
|
+
/** @description Default Response */
|
|
2843
3350
|
408: {
|
|
2844
3351
|
headers: {
|
|
2845
3352
|
[name: string]: unknown;
|
|
@@ -3003,6 +3510,19 @@ interface paths {
|
|
|
3003
3510
|
};
|
|
3004
3511
|
};
|
|
3005
3512
|
/** @description Default Response */
|
|
3513
|
+
404: {
|
|
3514
|
+
headers: {
|
|
3515
|
+
[name: string]: unknown;
|
|
3516
|
+
};
|
|
3517
|
+
content: {
|
|
3518
|
+
'application/json': {
|
|
3519
|
+
/** @enum {string} */
|
|
3520
|
+
error: 'Not Found';
|
|
3521
|
+
message: string;
|
|
3522
|
+
};
|
|
3523
|
+
};
|
|
3524
|
+
};
|
|
3525
|
+
/** @description Default Response */
|
|
3006
3526
|
408: {
|
|
3007
3527
|
headers: {
|
|
3008
3528
|
[name: string]: unknown;
|
|
@@ -3134,7 +3654,7 @@ interface paths {
|
|
|
3134
3654
|
/** @description Balance of the asset */
|
|
3135
3655
|
balanceNative: string;
|
|
3136
3656
|
/** @description USD value of the asset */
|
|
3137
|
-
balanceUsd
|
|
3657
|
+
balanceUsd?: string;
|
|
3138
3658
|
};
|
|
3139
3659
|
/** @description Best vault details for the requested asset */
|
|
3140
3660
|
vault?: {
|
|
@@ -3284,6 +3804,19 @@ interface paths {
|
|
|
3284
3804
|
};
|
|
3285
3805
|
};
|
|
3286
3806
|
/** @description Default Response */
|
|
3807
|
+
404: {
|
|
3808
|
+
headers: {
|
|
3809
|
+
[name: string]: unknown;
|
|
3810
|
+
};
|
|
3811
|
+
content: {
|
|
3812
|
+
'application/json': {
|
|
3813
|
+
/** @enum {string} */
|
|
3814
|
+
error: 'Not Found';
|
|
3815
|
+
message: string;
|
|
3816
|
+
};
|
|
3817
|
+
};
|
|
3818
|
+
};
|
|
3819
|
+
/** @description Default Response */
|
|
3287
3820
|
408: {
|
|
3288
3821
|
headers: {
|
|
3289
3822
|
[name: string]: unknown;
|
|
@@ -3437,15 +3970,15 @@ interface paths {
|
|
|
3437
3970
|
assetPriceInUsd?: string;
|
|
3438
3971
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3439
3972
|
assetGroup: string;
|
|
3440
|
-
/** @description Balance of the asset denominated in asset
|
|
3973
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3441
3974
|
balanceNative: string;
|
|
3442
|
-
/** @description Balance of the asset denominated in usd */
|
|
3443
|
-
balanceUsd
|
|
3444
|
-
/** @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 */
|
|
3445
3978
|
unclaimedNative?: string;
|
|
3446
3979
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3447
3980
|
unclaimedUsd?: string;
|
|
3448
|
-
/** @description Position value in asset denominated in asset
|
|
3981
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3449
3982
|
positionValueInAsset?: string;
|
|
3450
3983
|
};
|
|
3451
3984
|
/** @description Indicates if the vault supports transactional endpoints */
|
|
@@ -3499,15 +4032,15 @@ interface paths {
|
|
|
3499
4032
|
assetPriceInUsd?: string;
|
|
3500
4033
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3501
4034
|
assetGroup: string;
|
|
3502
|
-
/** @description Balance of the asset denominated in asset
|
|
4035
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3503
4036
|
balanceNative: string;
|
|
3504
|
-
/** @description Balance of the asset denominated in usd */
|
|
3505
|
-
balanceUsd
|
|
3506
|
-
/** @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 */
|
|
3507
4040
|
unclaimedNative?: string;
|
|
3508
4041
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3509
4042
|
unclaimedUsd?: string;
|
|
3510
|
-
/** @description Position value in asset denominated in asset
|
|
4043
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3511
4044
|
positionValueInAsset?: string;
|
|
3512
4045
|
}[];
|
|
3513
4046
|
/** @description LP token details of the vault */
|
|
@@ -3522,15 +4055,15 @@ interface paths {
|
|
|
3522
4055
|
symbol: string;
|
|
3523
4056
|
/** @description Number of decimals of the LP token */
|
|
3524
4057
|
decimals: number;
|
|
3525
|
-
/** @description Balance of the asset denominated in asset
|
|
4058
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3526
4059
|
balanceNative: string;
|
|
3527
|
-
/** @description Balance of the asset denominated in usd */
|
|
3528
|
-
balanceUsd
|
|
3529
|
-
/** @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 */
|
|
3530
4063
|
unclaimedNative?: string;
|
|
3531
4064
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3532
4065
|
unclaimedUsd?: string;
|
|
3533
|
-
/** @description Position value in asset denominated in asset
|
|
4066
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3534
4067
|
positionValueInAsset?: string;
|
|
3535
4068
|
/** @description Price of the asset in USD */
|
|
3536
4069
|
assetPriceInUsd?: string;
|
|
@@ -3560,15 +4093,15 @@ interface paths {
|
|
|
3560
4093
|
assetPriceInUsd?: string;
|
|
3561
4094
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3562
4095
|
assetGroup: string;
|
|
3563
|
-
/** @description Balance of the asset denominated in asset
|
|
4096
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3564
4097
|
balanceNative: string;
|
|
3565
|
-
/** @description Balance of the asset denominated in usd */
|
|
3566
|
-
balanceUsd
|
|
3567
|
-
/** @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 */
|
|
3568
4101
|
unclaimedNative?: string;
|
|
3569
4102
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3570
4103
|
unclaimedUsd?: string;
|
|
3571
|
-
/** @description Position value in asset denominated in asset
|
|
4104
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3572
4105
|
positionValueInAsset?: string;
|
|
3573
4106
|
};
|
|
3574
4107
|
/** @description LP token details of the child vault */
|
|
@@ -3583,15 +4116,15 @@ interface paths {
|
|
|
3583
4116
|
symbol: string;
|
|
3584
4117
|
/** @description Number of decimals of the LP token */
|
|
3585
4118
|
decimals: number;
|
|
3586
|
-
/** @description Balance of the asset denominated in asset
|
|
4119
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3587
4120
|
balanceNative: string;
|
|
3588
|
-
/** @description Balance of the asset denominated in usd */
|
|
3589
|
-
balanceUsd
|
|
3590
|
-
/** @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 */
|
|
3591
4124
|
unclaimedNative?: string;
|
|
3592
4125
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3593
4126
|
unclaimedUsd?: string;
|
|
3594
|
-
/** @description Position value in asset denominated in asset
|
|
4127
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3595
4128
|
positionValueInAsset?: string;
|
|
3596
4129
|
/** @description Price of the asset in USD */
|
|
3597
4130
|
assetPriceInUsd?: string;
|
|
@@ -3617,15 +4150,15 @@ interface paths {
|
|
|
3617
4150
|
assetPriceInUsd?: string;
|
|
3618
4151
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3619
4152
|
assetGroup: string;
|
|
3620
|
-
/** @description Balance of the asset denominated in asset
|
|
4153
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3621
4154
|
balanceNative: string;
|
|
3622
|
-
/** @description Balance of the asset denominated in usd */
|
|
3623
|
-
balanceUsd
|
|
3624
|
-
/** @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 */
|
|
3625
4158
|
unclaimedNative?: string;
|
|
3626
4159
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3627
4160
|
unclaimedUsd?: string;
|
|
3628
|
-
/** @description Position value in asset denominated in asset
|
|
4161
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3629
4162
|
positionValueInAsset?: string;
|
|
3630
4163
|
}[];
|
|
3631
4164
|
}[];
|
|
@@ -3716,6 +4249,19 @@ interface paths {
|
|
|
3716
4249
|
};
|
|
3717
4250
|
};
|
|
3718
4251
|
/** @description Default Response */
|
|
4252
|
+
404: {
|
|
4253
|
+
headers: {
|
|
4254
|
+
[name: string]: unknown;
|
|
4255
|
+
};
|
|
4256
|
+
content: {
|
|
4257
|
+
'application/json': {
|
|
4258
|
+
/** @enum {string} */
|
|
4259
|
+
error: 'Not Found';
|
|
4260
|
+
message: string;
|
|
4261
|
+
};
|
|
4262
|
+
};
|
|
4263
|
+
};
|
|
4264
|
+
/** @description Default Response */
|
|
3719
4265
|
408: {
|
|
3720
4266
|
headers: {
|
|
3721
4267
|
[name: string]: unknown;
|
|
@@ -3834,15 +4380,15 @@ interface paths {
|
|
|
3834
4380
|
assetPriceInUsd?: string;
|
|
3835
4381
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3836
4382
|
assetGroup: string;
|
|
3837
|
-
/** @description Balance of the asset denominated in asset
|
|
4383
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3838
4384
|
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
|
|
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 */
|
|
3842
4388
|
unclaimedNative?: string;
|
|
3843
4389
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3844
4390
|
unclaimedUsd?: string;
|
|
3845
|
-
/** @description Position value in asset denominated in asset
|
|
4391
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3846
4392
|
positionValueInAsset?: string;
|
|
3847
4393
|
};
|
|
3848
4394
|
/** @description Indicates if the vault supports transactional endpoints */
|
|
@@ -3896,15 +4442,15 @@ interface paths {
|
|
|
3896
4442
|
assetPriceInUsd?: string;
|
|
3897
4443
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3898
4444
|
assetGroup: string;
|
|
3899
|
-
/** @description Balance of the asset denominated in asset
|
|
4445
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3900
4446
|
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
|
|
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 */
|
|
3904
4450
|
unclaimedNative?: string;
|
|
3905
4451
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3906
4452
|
unclaimedUsd?: string;
|
|
3907
|
-
/** @description Position value in asset denominated in asset
|
|
4453
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3908
4454
|
positionValueInAsset?: string;
|
|
3909
4455
|
}[];
|
|
3910
4456
|
/** @description LP token details of the vault */
|
|
@@ -3919,15 +4465,15 @@ interface paths {
|
|
|
3919
4465
|
symbol: string;
|
|
3920
4466
|
/** @description Number of decimals of the LP token */
|
|
3921
4467
|
decimals: number;
|
|
3922
|
-
/** @description Balance of the asset denominated in asset
|
|
4468
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3923
4469
|
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
|
|
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 */
|
|
3927
4473
|
unclaimedNative?: string;
|
|
3928
4474
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3929
4475
|
unclaimedUsd?: string;
|
|
3930
|
-
/** @description Position value in asset denominated in asset
|
|
4476
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3931
4477
|
positionValueInAsset?: string;
|
|
3932
4478
|
/** @description Price of the asset in USD */
|
|
3933
4479
|
assetPriceInUsd?: string;
|
|
@@ -3957,15 +4503,15 @@ interface paths {
|
|
|
3957
4503
|
assetPriceInUsd?: string;
|
|
3958
4504
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
3959
4505
|
assetGroup: string;
|
|
3960
|
-
/** @description Balance of the asset denominated in asset
|
|
4506
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3961
4507
|
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
|
|
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 */
|
|
3965
4511
|
unclaimedNative?: string;
|
|
3966
4512
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3967
4513
|
unclaimedUsd?: string;
|
|
3968
|
-
/** @description Position value in asset denominated in asset
|
|
4514
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3969
4515
|
positionValueInAsset?: string;
|
|
3970
4516
|
};
|
|
3971
4517
|
/** @description LP token details of the child vault */
|
|
@@ -3980,15 +4526,15 @@ interface paths {
|
|
|
3980
4526
|
symbol: string;
|
|
3981
4527
|
/** @description Number of decimals of the LP token */
|
|
3982
4528
|
decimals: number;
|
|
3983
|
-
/** @description Balance of the asset denominated in asset
|
|
4529
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
3984
4530
|
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
|
|
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 */
|
|
3988
4534
|
unclaimedNative?: string;
|
|
3989
4535
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
3990
4536
|
unclaimedUsd?: string;
|
|
3991
|
-
/** @description Position value in asset denominated in asset
|
|
4537
|
+
/** @description Position value in asset denominated in asset precision */
|
|
3992
4538
|
positionValueInAsset?: string;
|
|
3993
4539
|
/** @description Price of the asset in USD */
|
|
3994
4540
|
assetPriceInUsd?: string;
|
|
@@ -4014,15 +4560,15 @@ interface paths {
|
|
|
4014
4560
|
assetPriceInUsd?: string;
|
|
4015
4561
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
4016
4562
|
assetGroup: string;
|
|
4017
|
-
/** @description Balance of the asset denominated in asset
|
|
4563
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
4018
4564
|
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
|
|
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 */
|
|
4022
4568
|
unclaimedNative?: string;
|
|
4023
4569
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
4024
4570
|
unclaimedUsd?: string;
|
|
4025
|
-
/** @description Position value in asset denominated in asset
|
|
4571
|
+
/** @description Position value in asset denominated in asset precision */
|
|
4026
4572
|
positionValueInAsset?: string;
|
|
4027
4573
|
}[];
|
|
4028
4574
|
}[];
|
|
@@ -4107,6 +4653,19 @@ interface paths {
|
|
|
4107
4653
|
};
|
|
4108
4654
|
};
|
|
4109
4655
|
/** @description Default Response */
|
|
4656
|
+
404: {
|
|
4657
|
+
headers: {
|
|
4658
|
+
[name: string]: unknown;
|
|
4659
|
+
};
|
|
4660
|
+
content: {
|
|
4661
|
+
'application/json': {
|
|
4662
|
+
/** @enum {string} */
|
|
4663
|
+
error: 'Not Found';
|
|
4664
|
+
message: string;
|
|
4665
|
+
};
|
|
4666
|
+
};
|
|
4667
|
+
};
|
|
4668
|
+
/** @description Default Response */
|
|
4110
4669
|
408: {
|
|
4111
4670
|
headers: {
|
|
4112
4671
|
[name: string]: unknown;
|
|
@@ -4244,7 +4803,7 @@ interface paths {
|
|
|
4244
4803
|
/** @description Balance of the asset */
|
|
4245
4804
|
balanceNative: string;
|
|
4246
4805
|
/** @description USD value of the asset */
|
|
4247
|
-
balanceUsd
|
|
4806
|
+
balanceUsd?: string;
|
|
4248
4807
|
};
|
|
4249
4808
|
depositOptions: {
|
|
4250
4809
|
/** @description Name of the vault */
|
|
@@ -4394,6 +4953,19 @@ interface paths {
|
|
|
4394
4953
|
};
|
|
4395
4954
|
};
|
|
4396
4955
|
/** @description Default Response */
|
|
4956
|
+
404: {
|
|
4957
|
+
headers: {
|
|
4958
|
+
[name: string]: unknown;
|
|
4959
|
+
};
|
|
4960
|
+
content: {
|
|
4961
|
+
'application/json': {
|
|
4962
|
+
/** @enum {string} */
|
|
4963
|
+
error: 'Not Found';
|
|
4964
|
+
message: string;
|
|
4965
|
+
};
|
|
4966
|
+
};
|
|
4967
|
+
};
|
|
4968
|
+
/** @description Default Response */
|
|
4397
4969
|
408: {
|
|
4398
4970
|
headers: {
|
|
4399
4971
|
[name: string]: unknown;
|
|
@@ -4508,7 +5080,7 @@ interface paths {
|
|
|
4508
5080
|
/** @description Balance of the asset */
|
|
4509
5081
|
balanceNative: string;
|
|
4510
5082
|
/** @description USD value of the asset */
|
|
4511
|
-
balanceUsd
|
|
5083
|
+
balanceUsd?: string;
|
|
4512
5084
|
/** @description Network details of the vault */
|
|
4513
5085
|
network: {
|
|
4514
5086
|
/**
|
|
@@ -4607,6 +5179,19 @@ interface paths {
|
|
|
4607
5179
|
};
|
|
4608
5180
|
};
|
|
4609
5181
|
/** @description Default Response */
|
|
5182
|
+
404: {
|
|
5183
|
+
headers: {
|
|
5184
|
+
[name: string]: unknown;
|
|
5185
|
+
};
|
|
5186
|
+
content: {
|
|
5187
|
+
'application/json': {
|
|
5188
|
+
/** @enum {string} */
|
|
5189
|
+
error: 'Not Found';
|
|
5190
|
+
message: string;
|
|
5191
|
+
};
|
|
5192
|
+
};
|
|
5193
|
+
};
|
|
5194
|
+
/** @description Default Response */
|
|
4610
5195
|
408: {
|
|
4611
5196
|
headers: {
|
|
4612
5197
|
[name: string]: unknown;
|
|
@@ -4789,6 +5374,19 @@ interface paths {
|
|
|
4789
5374
|
};
|
|
4790
5375
|
};
|
|
4791
5376
|
/** @description Default Response */
|
|
5377
|
+
404: {
|
|
5378
|
+
headers: {
|
|
5379
|
+
[name: string]: unknown;
|
|
5380
|
+
};
|
|
5381
|
+
content: {
|
|
5382
|
+
'application/json': {
|
|
5383
|
+
/** @enum {string} */
|
|
5384
|
+
error: 'Not Found';
|
|
5385
|
+
message: string;
|
|
5386
|
+
};
|
|
5387
|
+
};
|
|
5388
|
+
};
|
|
5389
|
+
/** @description Default Response */
|
|
4792
5390
|
408: {
|
|
4793
5391
|
headers: {
|
|
4794
5392
|
[name: string]: unknown;
|
|
@@ -5009,6 +5607,19 @@ interface paths {
|
|
|
5009
5607
|
};
|
|
5010
5608
|
};
|
|
5011
5609
|
/** @description Default Response */
|
|
5610
|
+
404: {
|
|
5611
|
+
headers: {
|
|
5612
|
+
[name: string]: unknown;
|
|
5613
|
+
};
|
|
5614
|
+
content: {
|
|
5615
|
+
'application/json': {
|
|
5616
|
+
/** @enum {string} */
|
|
5617
|
+
error: 'Not Found';
|
|
5618
|
+
message: string;
|
|
5619
|
+
};
|
|
5620
|
+
};
|
|
5621
|
+
};
|
|
5622
|
+
/** @description Default Response */
|
|
5012
5623
|
408: {
|
|
5013
5624
|
headers: {
|
|
5014
5625
|
[name: string]: unknown;
|
|
@@ -5128,7 +5739,7 @@ interface paths {
|
|
|
5128
5739
|
/** @description Balance of the LP token */
|
|
5129
5740
|
balanceNative: string;
|
|
5130
5741
|
/** @description USD value of the LP token */
|
|
5131
|
-
balanceUsd
|
|
5742
|
+
balanceUsd?: string;
|
|
5132
5743
|
};
|
|
5133
5744
|
/** @description Asset details */
|
|
5134
5745
|
asset: {
|
|
@@ -5151,15 +5762,15 @@ interface paths {
|
|
|
5151
5762
|
assetPriceInUsd?: string;
|
|
5152
5763
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5153
5764
|
assetGroup: string;
|
|
5154
|
-
/** @description Balance of the asset denominated in asset
|
|
5765
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5155
5766
|
balanceNative: string;
|
|
5156
|
-
/** @description Balance of the asset denominated in usd */
|
|
5157
|
-
balanceUsd
|
|
5158
|
-
/** @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 */
|
|
5159
5770
|
unclaimedNative?: string;
|
|
5160
5771
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5161
5772
|
unclaimedUsd?: string;
|
|
5162
|
-
/** @description Position value in asset denominated in asset
|
|
5773
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5163
5774
|
positionValueInAsset?: string;
|
|
5164
5775
|
/** @description Maximum amount that can be deposited */
|
|
5165
5776
|
depositLimit?: string;
|
|
@@ -5185,15 +5796,15 @@ interface paths {
|
|
|
5185
5796
|
assetPriceInUsd?: string;
|
|
5186
5797
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5187
5798
|
assetGroup: string;
|
|
5188
|
-
/** @description Balance of the asset denominated in asset
|
|
5799
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5189
5800
|
balanceNative: string;
|
|
5190
|
-
/** @description Balance of the asset denominated in usd */
|
|
5191
|
-
balanceUsd
|
|
5192
|
-
/** @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 */
|
|
5193
5804
|
unclaimedNative?: string;
|
|
5194
5805
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5195
5806
|
unclaimedUsd?: string;
|
|
5196
|
-
/** @description Position value in asset denominated in asset
|
|
5807
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5197
5808
|
positionValueInAsset?: string;
|
|
5198
5809
|
/** @description Maximum amount that can be deposited */
|
|
5199
5810
|
depositLimit?: string;
|
|
@@ -5216,7 +5827,7 @@ interface paths {
|
|
|
5216
5827
|
/** @description Balance of the LP token */
|
|
5217
5828
|
balanceNative: string;
|
|
5218
5829
|
/** @description USD value of the LP token */
|
|
5219
|
-
balanceUsd
|
|
5830
|
+
balanceUsd?: string;
|
|
5220
5831
|
};
|
|
5221
5832
|
/** @description Asset details of the child vault */
|
|
5222
5833
|
asset: {
|
|
@@ -5239,15 +5850,15 @@ interface paths {
|
|
|
5239
5850
|
assetPriceInUsd?: string;
|
|
5240
5851
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5241
5852
|
assetGroup: string;
|
|
5242
|
-
/** @description Balance of the asset denominated in asset
|
|
5853
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5243
5854
|
balanceNative: string;
|
|
5244
|
-
/** @description Balance of the asset denominated in usd */
|
|
5245
|
-
balanceUsd
|
|
5246
|
-
/** @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 */
|
|
5247
5858
|
unclaimedNative?: string;
|
|
5248
5859
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5249
5860
|
unclaimedUsd?: string;
|
|
5250
|
-
/** @description Position value in asset denominated in asset
|
|
5861
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5251
5862
|
positionValueInAsset?: string;
|
|
5252
5863
|
/** @description Maximum amount that can be deposited */
|
|
5253
5864
|
depositLimit?: string;
|
|
@@ -5273,15 +5884,15 @@ interface paths {
|
|
|
5273
5884
|
assetPriceInUsd?: string;
|
|
5274
5885
|
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
5275
5886
|
assetGroup: string;
|
|
5276
|
-
/** @description Balance of the asset denominated in asset
|
|
5887
|
+
/** @description Balance of the asset denominated in asset precision */
|
|
5277
5888
|
balanceNative: string;
|
|
5278
|
-
/** @description Balance of the asset denominated in usd */
|
|
5279
|
-
balanceUsd
|
|
5280
|
-
/** @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 */
|
|
5281
5892
|
unclaimedNative?: string;
|
|
5282
5893
|
/** @description Unclaimed balance of the asset in the position denominated in usd */
|
|
5283
5894
|
unclaimedUsd?: string;
|
|
5284
|
-
/** @description Position value in asset denominated in asset
|
|
5895
|
+
/** @description Position value in asset denominated in asset precision */
|
|
5285
5896
|
positionValueInAsset?: string;
|
|
5286
5897
|
/** @description Maximum amount that can be deposited */
|
|
5287
5898
|
depositLimit?: string;
|
|
@@ -5414,6 +6025,19 @@ interface paths {
|
|
|
5414
6025
|
};
|
|
5415
6026
|
};
|
|
5416
6027
|
/** @description Default Response */
|
|
6028
|
+
404: {
|
|
6029
|
+
headers: {
|
|
6030
|
+
[name: string]: unknown;
|
|
6031
|
+
};
|
|
6032
|
+
content: {
|
|
6033
|
+
'application/json': {
|
|
6034
|
+
/** @enum {string} */
|
|
6035
|
+
error: 'Not Found';
|
|
6036
|
+
message: string;
|
|
6037
|
+
};
|
|
6038
|
+
};
|
|
6039
|
+
};
|
|
6040
|
+
/** @description Default Response */
|
|
5417
6041
|
408: {
|
|
5418
6042
|
headers: {
|
|
5419
6043
|
[name: string]: unknown;
|
|
@@ -5618,6 +6242,19 @@ interface paths {
|
|
|
5618
6242
|
};
|
|
5619
6243
|
};
|
|
5620
6244
|
/** @description Default Response */
|
|
6245
|
+
404: {
|
|
6246
|
+
headers: {
|
|
6247
|
+
[name: string]: unknown;
|
|
6248
|
+
};
|
|
6249
|
+
content: {
|
|
6250
|
+
'application/json': {
|
|
6251
|
+
/** @enum {string} */
|
|
6252
|
+
error: 'Not Found';
|
|
6253
|
+
message: string;
|
|
6254
|
+
};
|
|
6255
|
+
};
|
|
6256
|
+
};
|
|
6257
|
+
/** @description Default Response */
|
|
5621
6258
|
408: {
|
|
5622
6259
|
headers: {
|
|
5623
6260
|
[name: string]: unknown;
|
|
@@ -6760,6 +7397,19 @@ interface paths {
|
|
|
6760
7397
|
};
|
|
6761
7398
|
};
|
|
6762
7399
|
/** @description Default Response */
|
|
7400
|
+
404: {
|
|
7401
|
+
headers: {
|
|
7402
|
+
[name: string]: unknown;
|
|
7403
|
+
};
|
|
7404
|
+
content: {
|
|
7405
|
+
'application/json': {
|
|
7406
|
+
/** @enum {string} */
|
|
7407
|
+
error: 'Not Found';
|
|
7408
|
+
message: string;
|
|
7409
|
+
};
|
|
7410
|
+
};
|
|
7411
|
+
};
|
|
7412
|
+
/** @description Default Response */
|
|
6763
7413
|
408: {
|
|
6764
7414
|
headers: {
|
|
6765
7415
|
[name: string]: unknown;
|
|
@@ -7602,6 +8252,19 @@ interface paths {
|
|
|
7602
8252
|
};
|
|
7603
8253
|
};
|
|
7604
8254
|
/** @description Default Response */
|
|
8255
|
+
404: {
|
|
8256
|
+
headers: {
|
|
8257
|
+
[name: string]: unknown;
|
|
8258
|
+
};
|
|
8259
|
+
content: {
|
|
8260
|
+
'application/json': {
|
|
8261
|
+
/** @enum {string} */
|
|
8262
|
+
error: 'Not Found';
|
|
8263
|
+
message: string;
|
|
8264
|
+
};
|
|
8265
|
+
};
|
|
8266
|
+
};
|
|
8267
|
+
/** @description Default Response */
|
|
7605
8268
|
408: {
|
|
7606
8269
|
headers: {
|
|
7607
8270
|
[name: string]: unknown;
|
|
@@ -7794,6 +8457,19 @@ interface paths {
|
|
|
7794
8457
|
};
|
|
7795
8458
|
};
|
|
7796
8459
|
/** @description Default Response */
|
|
8460
|
+
404: {
|
|
8461
|
+
headers: {
|
|
8462
|
+
[name: string]: unknown;
|
|
8463
|
+
};
|
|
8464
|
+
content: {
|
|
8465
|
+
'application/json': {
|
|
8466
|
+
/** @enum {string} */
|
|
8467
|
+
error: 'Not Found';
|
|
8468
|
+
message: string;
|
|
8469
|
+
};
|
|
8470
|
+
};
|
|
8471
|
+
};
|
|
8472
|
+
/** @description Default Response */
|
|
7797
8473
|
408: {
|
|
7798
8474
|
headers: {
|
|
7799
8475
|
[name: string]: unknown;
|
|
@@ -8000,6 +8676,19 @@ interface paths {
|
|
|
8000
8676
|
};
|
|
8001
8677
|
};
|
|
8002
8678
|
/** @description Default Response */
|
|
8679
|
+
404: {
|
|
8680
|
+
headers: {
|
|
8681
|
+
[name: string]: unknown;
|
|
8682
|
+
};
|
|
8683
|
+
content: {
|
|
8684
|
+
'application/json': {
|
|
8685
|
+
/** @enum {string} */
|
|
8686
|
+
error: 'Not Found';
|
|
8687
|
+
message: string;
|
|
8688
|
+
};
|
|
8689
|
+
};
|
|
8690
|
+
};
|
|
8691
|
+
/** @description Default Response */
|
|
8003
8692
|
408: {
|
|
8004
8693
|
headers: {
|
|
8005
8694
|
[name: string]: unknown;
|
|
@@ -8225,7 +8914,7 @@ declare class VaultsSdk {
|
|
|
8225
8914
|
assetPriceInUsd?: string;
|
|
8226
8915
|
assetGroup: string;
|
|
8227
8916
|
balanceNative: string;
|
|
8228
|
-
balanceUsd
|
|
8917
|
+
balanceUsd?: string;
|
|
8229
8918
|
unclaimedNative?: string;
|
|
8230
8919
|
unclaimedUsd?: string;
|
|
8231
8920
|
positionValueInAsset?: string;
|
|
@@ -8256,7 +8945,7 @@ declare class VaultsSdk {
|
|
|
8256
8945
|
assetPriceInUsd?: string;
|
|
8257
8946
|
assetGroup: string;
|
|
8258
8947
|
balanceNative: string;
|
|
8259
|
-
balanceUsd
|
|
8948
|
+
balanceUsd?: string;
|
|
8260
8949
|
unclaimedNative?: string;
|
|
8261
8950
|
unclaimedUsd?: string;
|
|
8262
8951
|
positionValueInAsset?: string;
|
|
@@ -8268,7 +8957,7 @@ declare class VaultsSdk {
|
|
|
8268
8957
|
symbol: string;
|
|
8269
8958
|
decimals: number;
|
|
8270
8959
|
balanceNative: string;
|
|
8271
|
-
balanceUsd
|
|
8960
|
+
balanceUsd?: string;
|
|
8272
8961
|
unclaimedNative?: string;
|
|
8273
8962
|
unclaimedUsd?: string;
|
|
8274
8963
|
positionValueInAsset?: string;
|
|
@@ -8286,7 +8975,7 @@ declare class VaultsSdk {
|
|
|
8286
8975
|
assetPriceInUsd?: string;
|
|
8287
8976
|
assetGroup: string;
|
|
8288
8977
|
balanceNative: string;
|
|
8289
|
-
balanceUsd
|
|
8978
|
+
balanceUsd?: string;
|
|
8290
8979
|
unclaimedNative?: string;
|
|
8291
8980
|
unclaimedUsd?: string;
|
|
8292
8981
|
positionValueInAsset?: string;
|
|
@@ -8298,7 +8987,7 @@ declare class VaultsSdk {
|
|
|
8298
8987
|
symbol: string;
|
|
8299
8988
|
decimals: number;
|
|
8300
8989
|
balanceNative: string;
|
|
8301
|
-
balanceUsd
|
|
8990
|
+
balanceUsd?: string;
|
|
8302
8991
|
unclaimedNative?: string;
|
|
8303
8992
|
unclaimedUsd?: string;
|
|
8304
8993
|
positionValueInAsset?: string;
|
|
@@ -8314,7 +9003,7 @@ declare class VaultsSdk {
|
|
|
8314
9003
|
assetPriceInUsd?: string;
|
|
8315
9004
|
assetGroup: string;
|
|
8316
9005
|
balanceNative: string;
|
|
8317
|
-
balanceUsd
|
|
9006
|
+
balanceUsd?: string;
|
|
8318
9007
|
unclaimedNative?: string;
|
|
8319
9008
|
unclaimedUsd?: string;
|
|
8320
9009
|
positionValueInAsset?: string;
|
|
@@ -8344,7 +9033,7 @@ declare class VaultsSdk {
|
|
|
8344
9033
|
assetPriceInUsd?: string;
|
|
8345
9034
|
assetGroup: string;
|
|
8346
9035
|
balanceNative: string;
|
|
8347
|
-
balanceUsd
|
|
9036
|
+
balanceUsd?: string;
|
|
8348
9037
|
unclaimedNative?: string;
|
|
8349
9038
|
unclaimedUsd?: string;
|
|
8350
9039
|
positionValueInAsset?: string;
|
|
@@ -8375,7 +9064,7 @@ declare class VaultsSdk {
|
|
|
8375
9064
|
assetPriceInUsd?: string;
|
|
8376
9065
|
assetGroup: string;
|
|
8377
9066
|
balanceNative: string;
|
|
8378
|
-
balanceUsd
|
|
9067
|
+
balanceUsd?: string;
|
|
8379
9068
|
unclaimedNative?: string;
|
|
8380
9069
|
unclaimedUsd?: string;
|
|
8381
9070
|
positionValueInAsset?: string;
|
|
@@ -8387,7 +9076,7 @@ declare class VaultsSdk {
|
|
|
8387
9076
|
symbol: string;
|
|
8388
9077
|
decimals: number;
|
|
8389
9078
|
balanceNative: string;
|
|
8390
|
-
balanceUsd
|
|
9079
|
+
balanceUsd?: string;
|
|
8391
9080
|
unclaimedNative?: string;
|
|
8392
9081
|
unclaimedUsd?: string;
|
|
8393
9082
|
positionValueInAsset?: string;
|
|
@@ -8405,7 +9094,7 @@ declare class VaultsSdk {
|
|
|
8405
9094
|
assetPriceInUsd?: string;
|
|
8406
9095
|
assetGroup: string;
|
|
8407
9096
|
balanceNative: string;
|
|
8408
|
-
balanceUsd
|
|
9097
|
+
balanceUsd?: string;
|
|
8409
9098
|
unclaimedNative?: string;
|
|
8410
9099
|
unclaimedUsd?: string;
|
|
8411
9100
|
positionValueInAsset?: string;
|
|
@@ -8417,7 +9106,7 @@ declare class VaultsSdk {
|
|
|
8417
9106
|
symbol: string;
|
|
8418
9107
|
decimals: number;
|
|
8419
9108
|
balanceNative: string;
|
|
8420
|
-
balanceUsd
|
|
9109
|
+
balanceUsd?: string;
|
|
8421
9110
|
unclaimedNative?: string;
|
|
8422
9111
|
unclaimedUsd?: string;
|
|
8423
9112
|
positionValueInAsset?: string;
|
|
@@ -8433,7 +9122,7 @@ declare class VaultsSdk {
|
|
|
8433
9122
|
assetPriceInUsd?: string;
|
|
8434
9123
|
assetGroup: string;
|
|
8435
9124
|
balanceNative: string;
|
|
8436
|
-
balanceUsd
|
|
9125
|
+
balanceUsd?: string;
|
|
8437
9126
|
unclaimedNative?: string;
|
|
8438
9127
|
unclaimedUsd?: string;
|
|
8439
9128
|
positionValueInAsset?: string;
|
|
@@ -8453,7 +9142,7 @@ declare class VaultsSdk {
|
|
|
8453
9142
|
assetPriceInUsd?: string;
|
|
8454
9143
|
assetGroup: string;
|
|
8455
9144
|
balanceNative: string;
|
|
8456
|
-
balanceUsd
|
|
9145
|
+
balanceUsd?: string;
|
|
8457
9146
|
};
|
|
8458
9147
|
depositOptions: {
|
|
8459
9148
|
name: string;
|
|
@@ -8651,7 +9340,50 @@ declare class VaultsSdk {
|
|
|
8651
9340
|
redeemStepsType: "instant" | "complex";
|
|
8652
9341
|
rewardsSupported: boolean;
|
|
8653
9342
|
};
|
|
9343
|
+
fees?: {
|
|
9344
|
+
performanceFee?: number;
|
|
9345
|
+
managementFee?: number;
|
|
9346
|
+
withdrawalFee?: number;
|
|
9347
|
+
depositFee?: number;
|
|
9348
|
+
};
|
|
8654
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
|
+
};
|
|
8655
9387
|
}[];
|
|
8656
9388
|
errors: {
|
|
8657
9389
|
unsupportedNetworks: string[];
|
|
@@ -8813,7 +9545,50 @@ declare class VaultsSdk {
|
|
|
8813
9545
|
redeemStepsType: "instant" | "complex";
|
|
8814
9546
|
rewardsSupported: boolean;
|
|
8815
9547
|
};
|
|
9548
|
+
fees?: {
|
|
9549
|
+
performanceFee?: number;
|
|
9550
|
+
managementFee?: number;
|
|
9551
|
+
withdrawalFee?: number;
|
|
9552
|
+
depositFee?: number;
|
|
9553
|
+
};
|
|
8816
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
|
+
};
|
|
8817
9592
|
}>;
|
|
8818
9593
|
getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
|
|
8819
9594
|
data: {
|
|
@@ -8826,7 +9601,7 @@ declare class VaultsSdk {
|
|
|
8826
9601
|
assetPriceInUsd?: string;
|
|
8827
9602
|
assetGroup: string;
|
|
8828
9603
|
balanceNative: string;
|
|
8829
|
-
balanceUsd
|
|
9604
|
+
balanceUsd?: string;
|
|
8830
9605
|
network: {
|
|
8831
9606
|
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8832
9607
|
chainId: number;
|
|
@@ -8858,7 +9633,7 @@ declare class VaultsSdk {
|
|
|
8858
9633
|
symbol: string;
|
|
8859
9634
|
decimals: number;
|
|
8860
9635
|
balanceNative: string;
|
|
8861
|
-
balanceUsd
|
|
9636
|
+
balanceUsd?: string;
|
|
8862
9637
|
};
|
|
8863
9638
|
asset: {
|
|
8864
9639
|
address: string;
|
|
@@ -8870,7 +9645,7 @@ declare class VaultsSdk {
|
|
|
8870
9645
|
assetPriceInUsd?: string;
|
|
8871
9646
|
assetGroup: string;
|
|
8872
9647
|
balanceNative: string;
|
|
8873
|
-
balanceUsd
|
|
9648
|
+
balanceUsd?: string;
|
|
8874
9649
|
unclaimedNative?: string;
|
|
8875
9650
|
unclaimedUsd?: string;
|
|
8876
9651
|
positionValueInAsset?: string;
|
|
@@ -8886,7 +9661,7 @@ declare class VaultsSdk {
|
|
|
8886
9661
|
assetPriceInUsd?: string;
|
|
8887
9662
|
assetGroup: string;
|
|
8888
9663
|
balanceNative: string;
|
|
8889
|
-
balanceUsd
|
|
9664
|
+
balanceUsd?: string;
|
|
8890
9665
|
unclaimedNative?: string;
|
|
8891
9666
|
unclaimedUsd?: string;
|
|
8892
9667
|
positionValueInAsset?: string;
|
|
@@ -8901,7 +9676,7 @@ declare class VaultsSdk {
|
|
|
8901
9676
|
symbol: string;
|
|
8902
9677
|
decimals: number;
|
|
8903
9678
|
balanceNative: string;
|
|
8904
|
-
balanceUsd
|
|
9679
|
+
balanceUsd?: string;
|
|
8905
9680
|
};
|
|
8906
9681
|
asset: {
|
|
8907
9682
|
address: string;
|
|
@@ -8913,7 +9688,7 @@ declare class VaultsSdk {
|
|
|
8913
9688
|
assetPriceInUsd?: string;
|
|
8914
9689
|
assetGroup: string;
|
|
8915
9690
|
balanceNative: string;
|
|
8916
|
-
balanceUsd
|
|
9691
|
+
balanceUsd?: string;
|
|
8917
9692
|
unclaimedNative?: string;
|
|
8918
9693
|
unclaimedUsd?: string;
|
|
8919
9694
|
positionValueInAsset?: string;
|
|
@@ -8929,7 +9704,7 @@ declare class VaultsSdk {
|
|
|
8929
9704
|
assetPriceInUsd?: string;
|
|
8930
9705
|
assetGroup: string;
|
|
8931
9706
|
balanceNative: string;
|
|
8932
|
-
balanceUsd
|
|
9707
|
+
balanceUsd?: string;
|
|
8933
9708
|
unclaimedNative?: string;
|
|
8934
9709
|
unclaimedUsd?: string;
|
|
8935
9710
|
positionValueInAsset?: string;
|