@vaultsfyi/sdk 2.1.16 → 2.1.18
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 +13 -0
- package/dist/client.d.mts +491 -50
- package/dist/client.d.ts +491 -50
- package/dist/client.js +2 -1
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +2 -1
- package/dist/client.mjs.map +1 -1
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -87,7 +87,7 @@ interface paths {
|
|
|
87
87
|
/** @description Number of items per page */
|
|
88
88
|
perPage?: number;
|
|
89
89
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
90
|
-
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';
|
|
90
|
+
network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
91
91
|
/** @description Include only vaults with an asset of provided symbol(ticker) */
|
|
92
92
|
assetSymbol?: string;
|
|
93
93
|
/** @description Include only vaults that are supported in the transactional interface. */
|
|
@@ -123,7 +123,7 @@ interface paths {
|
|
|
123
123
|
* @description Name of the network
|
|
124
124
|
* @enum {string}
|
|
125
125
|
*/
|
|
126
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
126
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
127
127
|
/** @description Chain ID of the network */
|
|
128
128
|
chainId: number;
|
|
129
129
|
/** @description CAIP-2 of the network */
|
|
@@ -315,7 +315,7 @@ interface paths {
|
|
|
315
315
|
/** @description Number of items per page */
|
|
316
316
|
perPage?: number;
|
|
317
317
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
318
|
-
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';
|
|
318
|
+
network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
319
319
|
};
|
|
320
320
|
header?: never;
|
|
321
321
|
path?: never;
|
|
@@ -360,7 +360,7 @@ interface paths {
|
|
|
360
360
|
* @description Name of the network
|
|
361
361
|
* @enum {string}
|
|
362
362
|
*/
|
|
363
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
363
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
364
364
|
/** @description Chain ID of the network */
|
|
365
365
|
chainId: number;
|
|
366
366
|
/** @description CAIP-2 of the network */
|
|
@@ -704,7 +704,7 @@ interface paths {
|
|
|
704
704
|
* @description Name of the network
|
|
705
705
|
* @enum {string}
|
|
706
706
|
*/
|
|
707
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
707
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
708
708
|
/** @description Chain ID of the network */
|
|
709
709
|
chainId: number;
|
|
710
710
|
/** @description CAIP-2 of the network */
|
|
@@ -1052,7 +1052,7 @@ interface paths {
|
|
|
1052
1052
|
header?: never;
|
|
1053
1053
|
path: {
|
|
1054
1054
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1055
|
-
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';
|
|
1055
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
1056
1056
|
/** @description Address of the vault for which the data will be returned */
|
|
1057
1057
|
vaultAddress: string;
|
|
1058
1058
|
};
|
|
@@ -1265,7 +1265,7 @@ interface paths {
|
|
|
1265
1265
|
header?: never;
|
|
1266
1266
|
path: {
|
|
1267
1267
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1268
|
-
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';
|
|
1268
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
1269
1269
|
/** @description Address of the vault for which the data will be returned */
|
|
1270
1270
|
vaultAddress: string;
|
|
1271
1271
|
};
|
|
@@ -1469,7 +1469,7 @@ interface paths {
|
|
|
1469
1469
|
header?: never;
|
|
1470
1470
|
path: {
|
|
1471
1471
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1472
|
-
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';
|
|
1472
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
1473
1473
|
/** @description Address of the vault for which the data will be returned */
|
|
1474
1474
|
vaultAddress: string;
|
|
1475
1475
|
};
|
|
@@ -1671,7 +1671,7 @@ interface paths {
|
|
|
1671
1671
|
header?: never;
|
|
1672
1672
|
path: {
|
|
1673
1673
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1674
|
-
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';
|
|
1674
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
1675
1675
|
/** @description Address of the vault for which the data will be returned */
|
|
1676
1676
|
vaultAddress: string;
|
|
1677
1677
|
};
|
|
@@ -1866,7 +1866,7 @@ interface paths {
|
|
|
1866
1866
|
header?: never;
|
|
1867
1867
|
path: {
|
|
1868
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';
|
|
1869
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
1870
1870
|
/** @description Asset address to get the historical prices for */
|
|
1871
1871
|
assetAddress: string;
|
|
1872
1872
|
};
|
|
@@ -2068,9 +2068,9 @@ interface paths {
|
|
|
2068
2068
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
2069
2069
|
allowVaultsWithWarnings?: boolean;
|
|
2070
2070
|
/** @description Networks to be included (name or CAIP). */
|
|
2071
|
-
allowedNetworks?: ('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')[];
|
|
2071
|
+
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
2072
2072
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
2073
|
-
disallowedNetworks?: ('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')[];
|
|
2073
|
+
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
2074
2074
|
/** @description Maximum TVL in USD of the vaults to be included */
|
|
2075
2075
|
maxTvl?: number;
|
|
2076
2076
|
/** @description Maximum APY (in decimal) of the vaults to be included */
|
|
@@ -2112,7 +2112,7 @@ interface paths {
|
|
|
2112
2112
|
* @description Name of the network
|
|
2113
2113
|
* @enum {string}
|
|
2114
2114
|
*/
|
|
2115
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
2115
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
2116
2116
|
/** @description Chain ID of the network */
|
|
2117
2117
|
chainId: number;
|
|
2118
2118
|
/** @description CAIP-2 of the network */
|
|
@@ -2422,6 +2422,18 @@ interface paths {
|
|
|
2422
2422
|
};
|
|
2423
2423
|
/** @description List of warnings related to the vault */
|
|
2424
2424
|
warnings: string[];
|
|
2425
|
+
/** @description List of flags with severity and expiry information */
|
|
2426
|
+
flags: {
|
|
2427
|
+
/** @description Content of the flag */
|
|
2428
|
+
content: string;
|
|
2429
|
+
/**
|
|
2430
|
+
* @description Severity level of the flag
|
|
2431
|
+
* @enum {string}
|
|
2432
|
+
*/
|
|
2433
|
+
severity: 'info' | 'warning' | 'critical';
|
|
2434
|
+
/** @description Unix timestamp (seconds) when this flag expires */
|
|
2435
|
+
endDate: number;
|
|
2436
|
+
}[];
|
|
2425
2437
|
/** @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
2438
|
intrinsic?: {
|
|
2427
2439
|
/** @description Intrinsic APY details */
|
|
@@ -2653,7 +2665,7 @@ interface paths {
|
|
|
2653
2665
|
header?: never;
|
|
2654
2666
|
path: {
|
|
2655
2667
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
2656
|
-
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';
|
|
2668
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
2657
2669
|
/** @description Address of the vault for which the data will be returned */
|
|
2658
2670
|
vaultAddress: string;
|
|
2659
2671
|
};
|
|
@@ -2676,7 +2688,7 @@ interface paths {
|
|
|
2676
2688
|
* @description Name of the network
|
|
2677
2689
|
* @enum {string}
|
|
2678
2690
|
*/
|
|
2679
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
2691
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
2680
2692
|
/** @description Chain ID of the network */
|
|
2681
2693
|
chainId: number;
|
|
2682
2694
|
/** @description CAIP-2 of the network */
|
|
@@ -2986,6 +2998,18 @@ interface paths {
|
|
|
2986
2998
|
};
|
|
2987
2999
|
/** @description List of warnings related to the vault */
|
|
2988
3000
|
warnings: string[];
|
|
3001
|
+
/** @description List of flags with severity and expiry information */
|
|
3002
|
+
flags: {
|
|
3003
|
+
/** @description Content of the flag */
|
|
3004
|
+
content: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* @description Severity level of the flag
|
|
3007
|
+
* @enum {string}
|
|
3008
|
+
*/
|
|
3009
|
+
severity: 'info' | 'warning' | 'critical';
|
|
3010
|
+
/** @description Unix timestamp (seconds) when this flag expires */
|
|
3011
|
+
endDate: number;
|
|
3012
|
+
}[];
|
|
2989
3013
|
/** @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
3014
|
intrinsic?: {
|
|
2991
3015
|
/** @description Intrinsic APY details */
|
|
@@ -3211,7 +3235,7 @@ interface paths {
|
|
|
3211
3235
|
header?: never;
|
|
3212
3236
|
path: {
|
|
3213
3237
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
3214
|
-
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';
|
|
3238
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
3215
3239
|
/** @description Address of the vault for which the data will be returned */
|
|
3216
3240
|
vaultAddress: string;
|
|
3217
3241
|
};
|
|
@@ -3410,7 +3434,7 @@ interface paths {
|
|
|
3410
3434
|
header?: never;
|
|
3411
3435
|
path: {
|
|
3412
3436
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
3413
|
-
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';
|
|
3437
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
3414
3438
|
/** @description Address of the vault for which the data will be returned */
|
|
3415
3439
|
vaultAddress: string;
|
|
3416
3440
|
};
|
|
@@ -3602,9 +3626,9 @@ interface paths {
|
|
|
3602
3626
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
3603
3627
|
allowVaultsWithWarnings?: boolean;
|
|
3604
3628
|
/** @description Networks to be included (name or CAIP). */
|
|
3605
|
-
allowedNetworks?: ('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')[];
|
|
3629
|
+
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
3606
3630
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
3607
|
-
disallowedNetworks?: ('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')[];
|
|
3631
|
+
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
3608
3632
|
/** @description Interval for APY data. Possible values: 1day, 7day, 30day */
|
|
3609
3633
|
apyInterval?: '1day' | '7day' | '30day';
|
|
3610
3634
|
/** @description Minimum APY of the vault to be included */
|
|
@@ -3668,7 +3692,7 @@ interface paths {
|
|
|
3668
3692
|
* @description Name of the network
|
|
3669
3693
|
* @enum {string}
|
|
3670
3694
|
*/
|
|
3671
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
3695
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
3672
3696
|
/** @description Chain ID of the network */
|
|
3673
3697
|
chainId: number;
|
|
3674
3698
|
/** @description CAIP-2 of the network */
|
|
@@ -3896,9 +3920,9 @@ interface paths {
|
|
|
3896
3920
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
3897
3921
|
allowVaultsWithWarnings?: boolean;
|
|
3898
3922
|
/** @description Networks to be included (name or CAIP). */
|
|
3899
|
-
allowedNetworks?: ('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')[];
|
|
3923
|
+
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
3900
3924
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
3901
|
-
disallowedNetworks?: ('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')[];
|
|
3925
|
+
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
3902
3926
|
/** @description Maximum TVL in USD of the vaults to be included */
|
|
3903
3927
|
maxTvl?: number;
|
|
3904
3928
|
/** @description Maximum APY (in decimal) of the vaults to be included */
|
|
@@ -3943,7 +3967,7 @@ interface paths {
|
|
|
3943
3967
|
* @description Name of the network
|
|
3944
3968
|
* @enum {string}
|
|
3945
3969
|
*/
|
|
3946
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
3970
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
3947
3971
|
/** @description Chain ID of the network */
|
|
3948
3972
|
chainId: number;
|
|
3949
3973
|
/** @description CAIP-2 of the network */
|
|
@@ -4330,7 +4354,7 @@ interface paths {
|
|
|
4330
4354
|
/** @description User address to be used for best vault calculation */
|
|
4331
4355
|
userAddress: string;
|
|
4332
4356
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
4333
|
-
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';
|
|
4357
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
4334
4358
|
/** @description Address of the vault for which the data will be returned */
|
|
4335
4359
|
vaultAddress: string;
|
|
4336
4360
|
};
|
|
@@ -4353,7 +4377,7 @@ interface paths {
|
|
|
4353
4377
|
* @description Name of the network
|
|
4354
4378
|
* @enum {string}
|
|
4355
4379
|
*/
|
|
4356
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
4380
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
4357
4381
|
/** @description Chain ID of the network */
|
|
4358
4382
|
chainId: number;
|
|
4359
4383
|
/** @description CAIP-2 of the network */
|
|
@@ -4745,9 +4769,9 @@ interface paths {
|
|
|
4745
4769
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
4746
4770
|
allowVaultsWithWarnings?: boolean;
|
|
4747
4771
|
/** @description Networks to be included (name or CAIP). */
|
|
4748
|
-
allowedNetworks?: ('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')[];
|
|
4772
|
+
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
4749
4773
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
4750
|
-
disallowedNetworks?: ('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')[];
|
|
4774
|
+
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
4751
4775
|
/** @description Interval for APY data. Possible values: 1day, 7day, 30day */
|
|
4752
4776
|
apyInterval?: '1day' | '7day' | '30day';
|
|
4753
4777
|
/** @description Minimum APY of the vault to be included */
|
|
@@ -4816,7 +4840,7 @@ interface paths {
|
|
|
4816
4840
|
* @description Name of the network
|
|
4817
4841
|
* @enum {string}
|
|
4818
4842
|
*/
|
|
4819
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
4843
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
4820
4844
|
/** @description Chain ID of the network */
|
|
4821
4845
|
chainId: number;
|
|
4822
4846
|
/** @description CAIP-2 of the network */
|
|
@@ -5037,9 +5061,9 @@ interface paths {
|
|
|
5037
5061
|
/** @description Sort order, either asc or desc. Ascending is default. */
|
|
5038
5062
|
sortDirection?: 'asc' | 'desc';
|
|
5039
5063
|
/** @description Networks to be included (name or CAIP). */
|
|
5040
|
-
allowedNetworks?: ('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')[];
|
|
5064
|
+
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
5041
5065
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
5042
|
-
disallowedNetworks?: ('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')[];
|
|
5066
|
+
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793')[];
|
|
5043
5067
|
};
|
|
5044
5068
|
header?: never;
|
|
5045
5069
|
path: {
|
|
@@ -5087,7 +5111,7 @@ interface paths {
|
|
|
5087
5111
|
* @description Name of the network
|
|
5088
5112
|
* @enum {string}
|
|
5089
5113
|
*/
|
|
5090
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
5114
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
5091
5115
|
/** @description Chain ID of the network */
|
|
5092
5116
|
chainId: number;
|
|
5093
5117
|
/** @description CAIP-2 of the network */
|
|
@@ -5257,7 +5281,7 @@ interface paths {
|
|
|
5257
5281
|
/** @description User address to get returns for */
|
|
5258
5282
|
userAddress: string;
|
|
5259
5283
|
/** @description Network to get returns for */
|
|
5260
|
-
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';
|
|
5284
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
5261
5285
|
/** @description Vault address to get returns for */
|
|
5262
5286
|
vaultAddress: string;
|
|
5263
5287
|
};
|
|
@@ -5452,7 +5476,7 @@ interface paths {
|
|
|
5452
5476
|
/** @description User address to get returns for */
|
|
5453
5477
|
userAddress: string;
|
|
5454
5478
|
/** @description Network to get returns for */
|
|
5455
|
-
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';
|
|
5479
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
5456
5480
|
/** @description Vault address to get returns for */
|
|
5457
5481
|
vaultAddress: string;
|
|
5458
5482
|
};
|
|
@@ -5685,7 +5709,7 @@ interface paths {
|
|
|
5685
5709
|
/** @description User address */
|
|
5686
5710
|
userAddress: string;
|
|
5687
5711
|
/** @description Network name or CAIP-2 identifier */
|
|
5688
|
-
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';
|
|
5712
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
5689
5713
|
/** @description Vault address */
|
|
5690
5714
|
vaultAddress: string;
|
|
5691
5715
|
};
|
|
@@ -5898,8 +5922,152 @@ interface paths {
|
|
|
5898
5922
|
depositLimit?: string;
|
|
5899
5923
|
}[];
|
|
5900
5924
|
}[];
|
|
5901
|
-
|
|
5902
|
-
|
|
5925
|
+
vaultSpecificData?: {
|
|
5926
|
+
cooldownData?: {
|
|
5927
|
+
amount: string;
|
|
5928
|
+
endOfCooldown: string;
|
|
5929
|
+
withdrawalWindow: string;
|
|
5930
|
+
/** @enum {string} */
|
|
5931
|
+
status: 'active' | 'ready' | 'expired';
|
|
5932
|
+
};
|
|
5933
|
+
} | {
|
|
5934
|
+
claimData?: {
|
|
5935
|
+
/** @enum {string} */
|
|
5936
|
+
status: 'none' | 'pending' | 'ready';
|
|
5937
|
+
cooldownEnd: string;
|
|
5938
|
+
assetAmount: string;
|
|
5939
|
+
};
|
|
5940
|
+
} | {
|
|
5941
|
+
claimData: {
|
|
5942
|
+
id: string;
|
|
5943
|
+
/** @enum {string} */
|
|
5944
|
+
status: 'ready' | 'pending';
|
|
5945
|
+
lpTokenAmount: string;
|
|
5946
|
+
assetAmount: string;
|
|
5947
|
+
}[];
|
|
5948
|
+
} | {
|
|
5949
|
+
claimData: {
|
|
5950
|
+
id: string;
|
|
5951
|
+
/** @enum {string} */
|
|
5952
|
+
status: 'ready' | 'pending';
|
|
5953
|
+
timestamp: string;
|
|
5954
|
+
lpTokenAmount: string;
|
|
5955
|
+
assetAmount: string;
|
|
5956
|
+
}[];
|
|
5957
|
+
} | {
|
|
5958
|
+
claimData: {
|
|
5959
|
+
lpTokenAmount: string;
|
|
5960
|
+
assetAmount: string;
|
|
5961
|
+
/** @enum {string} */
|
|
5962
|
+
status: 'ready' | 'pending';
|
|
5963
|
+
id: string;
|
|
5964
|
+
}[];
|
|
5965
|
+
} | {
|
|
5966
|
+
requestData: {
|
|
5967
|
+
claimableDeposit: string;
|
|
5968
|
+
claimableRedeem: string;
|
|
5969
|
+
pendingDeposit: string;
|
|
5970
|
+
pendingRedeem: string;
|
|
5971
|
+
redeemRequests: {
|
|
5972
|
+
timestamp: number;
|
|
5973
|
+
lpTokenAmount: string;
|
|
5974
|
+
isClaimable: boolean;
|
|
5975
|
+
}[];
|
|
5976
|
+
};
|
|
5977
|
+
} | {
|
|
5978
|
+
requestData: {
|
|
5979
|
+
claimableDeposit: string;
|
|
5980
|
+
claimableRedeem: string;
|
|
5981
|
+
pendingDeposit: string;
|
|
5982
|
+
pendingRedeem: string;
|
|
5983
|
+
};
|
|
5984
|
+
pendingRequests: {
|
|
5985
|
+
id?: string;
|
|
5986
|
+
/** @enum {string} */
|
|
5987
|
+
type: 'deposit' | 'redeem';
|
|
5988
|
+
/** @enum {string} */
|
|
5989
|
+
status: 'pending' | 'ready';
|
|
5990
|
+
assetAmount: string;
|
|
5991
|
+
lpTokenAmount?: string;
|
|
5992
|
+
timestamp?: number;
|
|
5993
|
+
deadline?: number;
|
|
5994
|
+
}[];
|
|
5995
|
+
} | {
|
|
5996
|
+
redeemState?: {
|
|
5997
|
+
deadline: string;
|
|
5998
|
+
rate: string;
|
|
5999
|
+
lpTokenAmount: string;
|
|
6000
|
+
assetAmount: string;
|
|
6001
|
+
};
|
|
6002
|
+
} | {
|
|
6003
|
+
claimData?: {
|
|
6004
|
+
lpTokenAmount: string;
|
|
6005
|
+
assetAmount: string;
|
|
6006
|
+
};
|
|
6007
|
+
eligible: boolean;
|
|
6008
|
+
} | {
|
|
6009
|
+
pendingRequests?: {
|
|
6010
|
+
deposits: {
|
|
6011
|
+
amount: string;
|
|
6012
|
+
deadline: string;
|
|
6013
|
+
}[];
|
|
6014
|
+
redeems: {
|
|
6015
|
+
amount: string;
|
|
6016
|
+
deadline: string;
|
|
6017
|
+
}[];
|
|
6018
|
+
};
|
|
6019
|
+
} | {
|
|
6020
|
+
pendingRequests: {
|
|
6021
|
+
id?: string;
|
|
6022
|
+
/** @enum {string} */
|
|
6023
|
+
type: 'deposit' | 'redeem';
|
|
6024
|
+
/** @enum {string} */
|
|
6025
|
+
status: 'pending' | 'ready';
|
|
6026
|
+
assetAmount: string;
|
|
6027
|
+
lpTokenAmount?: string;
|
|
6028
|
+
timestamp?: number;
|
|
6029
|
+
deadline?: number;
|
|
6030
|
+
}[];
|
|
6031
|
+
} | {
|
|
6032
|
+
redeemFeeBips: string;
|
|
6033
|
+
} | {
|
|
6034
|
+
pendingRedeemRequest?: {
|
|
6035
|
+
assets: string;
|
|
6036
|
+
shares: string;
|
|
6037
|
+
};
|
|
6038
|
+
liquidAssets: string;
|
|
6039
|
+
} | {
|
|
6040
|
+
requests: {
|
|
6041
|
+
/** @enum {string} */
|
|
6042
|
+
status: 'pending' | 'executed' | 'cancelled' | 'unknown';
|
|
6043
|
+
/** @enum {string} */
|
|
6044
|
+
type: 'subscription' | 'redemption' | 'unknown';
|
|
6045
|
+
assetsAmount: string;
|
|
6046
|
+
sharesAmount: string;
|
|
6047
|
+
timestamp: number;
|
|
6048
|
+
asset: string;
|
|
6049
|
+
}[];
|
|
6050
|
+
redemptionFeeBips: string;
|
|
6051
|
+
} | {
|
|
6052
|
+
pendingRequests: {
|
|
6053
|
+
id?: string;
|
|
6054
|
+
/** @enum {string} */
|
|
6055
|
+
type: 'deposit' | 'redeem';
|
|
6056
|
+
/** @enum {string} */
|
|
6057
|
+
status: 'pending' | 'ready';
|
|
6058
|
+
assetAmount: string;
|
|
6059
|
+
lpTokenAmount?: string;
|
|
6060
|
+
timestamp?: number;
|
|
6061
|
+
deadline?: number;
|
|
6062
|
+
}[];
|
|
6063
|
+
minDeposit: string;
|
|
6064
|
+
minRedeem: string;
|
|
6065
|
+
} | {
|
|
6066
|
+
pendingWithdrawals?: {
|
|
6067
|
+
assetAmount: string;
|
|
6068
|
+
claimTimestamp: string;
|
|
6069
|
+
}[];
|
|
6070
|
+
} | Record<string, never>;
|
|
5903
6071
|
rewards?: {
|
|
5904
6072
|
claimable: {
|
|
5905
6073
|
/** @description Amount of the claimable reward */
|
|
@@ -5928,7 +6096,7 @@ interface paths {
|
|
|
5928
6096
|
* @description Network of the reward
|
|
5929
6097
|
* @enum {string}
|
|
5930
6098
|
*/
|
|
5931
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
6099
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
5932
6100
|
};
|
|
5933
6101
|
}[];
|
|
5934
6102
|
/**
|
|
@@ -6114,7 +6282,7 @@ interface paths {
|
|
|
6114
6282
|
/** @description User address to get returns for */
|
|
6115
6283
|
userAddress: string;
|
|
6116
6284
|
/** @description Network to get returns for */
|
|
6117
|
-
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';
|
|
6285
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
6118
6286
|
/** @description Vault address to get returns for */
|
|
6119
6287
|
vaultAddress: string;
|
|
6120
6288
|
};
|
|
@@ -7313,6 +7481,55 @@ interface paths {
|
|
|
7313
7481
|
/** @description URL to claim this specific reward */
|
|
7314
7482
|
actionUrl: string;
|
|
7315
7483
|
}[];
|
|
7484
|
+
etherlink: {
|
|
7485
|
+
/** @description Unique identifier for the reward */
|
|
7486
|
+
claimId: string;
|
|
7487
|
+
/** @description Reward asset details */
|
|
7488
|
+
asset: {
|
|
7489
|
+
/** @description Address of the asset */
|
|
7490
|
+
address: string;
|
|
7491
|
+
/** @description CAIP-2 of the asset */
|
|
7492
|
+
assetCaip: string;
|
|
7493
|
+
/** @description Name of the asset */
|
|
7494
|
+
name: string;
|
|
7495
|
+
/** @description Symbol of the asset */
|
|
7496
|
+
symbol: string;
|
|
7497
|
+
/** @description Number of decimals of the asset */
|
|
7498
|
+
decimals: number;
|
|
7499
|
+
/**
|
|
7500
|
+
* Format: uri
|
|
7501
|
+
* @description URL of the asset logo
|
|
7502
|
+
*/
|
|
7503
|
+
assetLogo?: string;
|
|
7504
|
+
/** @description Price of the asset in USD */
|
|
7505
|
+
assetPriceInUsd?: string;
|
|
7506
|
+
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
7507
|
+
assetGroup: string;
|
|
7508
|
+
/** @description Amount of the asset that can be claimed */
|
|
7509
|
+
claimableAmount: string;
|
|
7510
|
+
/** @description Amount of the asset that can be claimed in USD */
|
|
7511
|
+
claimableAmountInUsd?: string;
|
|
7512
|
+
};
|
|
7513
|
+
/** @description Sources of the reward */
|
|
7514
|
+
sources: {
|
|
7515
|
+
protocol: {
|
|
7516
|
+
/** @description Name of the protocol */
|
|
7517
|
+
name: string;
|
|
7518
|
+
/** @description Product of the protocol */
|
|
7519
|
+
product?: string;
|
|
7520
|
+
/** @description Version of the protocol */
|
|
7521
|
+
version?: string;
|
|
7522
|
+
/** @description URL of the protocol */
|
|
7523
|
+
protocolUrl?: string;
|
|
7524
|
+
/** @description URL of the protocol logo */
|
|
7525
|
+
protocolLogo?: string;
|
|
7526
|
+
/** @description Description of the protocol */
|
|
7527
|
+
description?: string;
|
|
7528
|
+
};
|
|
7529
|
+
}[];
|
|
7530
|
+
/** @description URL to claim this specific reward */
|
|
7531
|
+
actionUrl: string;
|
|
7532
|
+
}[];
|
|
7316
7533
|
};
|
|
7317
7534
|
/** @description URL for claiming all rewards */
|
|
7318
7535
|
actionUrl: string;
|
|
@@ -8171,6 +8388,40 @@ interface paths {
|
|
|
8171
8388
|
};
|
|
8172
8389
|
}[];
|
|
8173
8390
|
};
|
|
8391
|
+
etherlink: {
|
|
8392
|
+
currentActionIndex: number;
|
|
8393
|
+
actions: {
|
|
8394
|
+
/** @description Name of the action */
|
|
8395
|
+
name: string;
|
|
8396
|
+
tx: {
|
|
8397
|
+
/** @description Address of the transaction recipient */
|
|
8398
|
+
to: string;
|
|
8399
|
+
/** @description Chain ID of the transaction */
|
|
8400
|
+
chainId: number;
|
|
8401
|
+
/** @description Data to be sent with the transaction */
|
|
8402
|
+
data?: string;
|
|
8403
|
+
/** @description Value to be sent with the transaction */
|
|
8404
|
+
value?: string;
|
|
8405
|
+
};
|
|
8406
|
+
simulation?: {
|
|
8407
|
+
/** @description URL to simulated transaction */
|
|
8408
|
+
url: string;
|
|
8409
|
+
/**
|
|
8410
|
+
* @description Status of the simulation
|
|
8411
|
+
* @enum {string}
|
|
8412
|
+
*/
|
|
8413
|
+
status: 'success' | 'failure' | 'internal server error';
|
|
8414
|
+
/** @description Tokens received from the transaction */
|
|
8415
|
+
tokensReceived?: {
|
|
8416
|
+
[key: string]: string;
|
|
8417
|
+
};
|
|
8418
|
+
/** @description Tokens spent in the transaction */
|
|
8419
|
+
tokensSpent?: {
|
|
8420
|
+
[key: string]: string;
|
|
8421
|
+
};
|
|
8422
|
+
};
|
|
8423
|
+
}[];
|
|
8424
|
+
};
|
|
8174
8425
|
};
|
|
8175
8426
|
};
|
|
8176
8427
|
};
|
|
@@ -8331,7 +8582,7 @@ interface paths {
|
|
|
8331
8582
|
header?: never;
|
|
8332
8583
|
path: {
|
|
8333
8584
|
/** @description Network name or CAIP-2 identifier */
|
|
8334
|
-
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';
|
|
8585
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
8335
8586
|
};
|
|
8336
8587
|
cookie?: never;
|
|
8337
8588
|
};
|
|
@@ -8544,7 +8795,7 @@ interface paths {
|
|
|
8544
8795
|
header?: never;
|
|
8545
8796
|
path: {
|
|
8546
8797
|
/** @description Network name or CAIP-2 identifier */
|
|
8547
|
-
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';
|
|
8798
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink' | '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' | 'eip155:42793';
|
|
8548
8799
|
};
|
|
8549
8800
|
cookie?: never;
|
|
8550
8801
|
};
|
|
@@ -8740,7 +8991,7 @@ interface paths {
|
|
|
8740
8991
|
};
|
|
8741
8992
|
}
|
|
8742
8993
|
|
|
8743
|
-
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "optimism", "arbitrum", "polygon", "gnosis", "base", "unichain", "swellchain", "celo", "worldchain", "berachain", "ink", "bsc", "hyperliquid", "plasma", "avalanche", "mega-eth", "monad"];
|
|
8994
|
+
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "optimism", "arbitrum", "polygon", "gnosis", "base", "unichain", "swellchain", "celo", "worldchain", "berachain", "ink", "bsc", "hyperliquid", "plasma", "avalanche", "mega-eth", "monad", "etherlink"];
|
|
8744
8995
|
type ConstructorOptions = {
|
|
8745
8996
|
apiKey: string;
|
|
8746
8997
|
} | {
|
|
@@ -8794,7 +9045,7 @@ declare class VaultsSdk {
|
|
|
8794
9045
|
assetPriceInUsd?: string;
|
|
8795
9046
|
assetGroup: string;
|
|
8796
9047
|
network: {
|
|
8797
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9048
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
8798
9049
|
chainId: number;
|
|
8799
9050
|
networkCaip: string;
|
|
8800
9051
|
};
|
|
@@ -8900,7 +9151,7 @@ declare class VaultsSdk {
|
|
|
8900
9151
|
data: {
|
|
8901
9152
|
address: string;
|
|
8902
9153
|
network: {
|
|
8903
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9154
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
8904
9155
|
chainId: number;
|
|
8905
9156
|
networkCaip: string;
|
|
8906
9157
|
};
|
|
@@ -9019,7 +9270,7 @@ declare class VaultsSdk {
|
|
|
9019
9270
|
getPosition(params: Params<'/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
9020
9271
|
address: string;
|
|
9021
9272
|
network: {
|
|
9022
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9273
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9023
9274
|
chainId: number;
|
|
9024
9275
|
networkCaip: string;
|
|
9025
9276
|
};
|
|
@@ -9148,7 +9399,7 @@ declare class VaultsSdk {
|
|
|
9148
9399
|
name: string;
|
|
9149
9400
|
address: string;
|
|
9150
9401
|
network: {
|
|
9151
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9402
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9152
9403
|
chainId: number;
|
|
9153
9404
|
networkCaip: string;
|
|
9154
9405
|
};
|
|
@@ -9189,7 +9440,7 @@ declare class VaultsSdk {
|
|
|
9189
9440
|
data: {
|
|
9190
9441
|
address: string;
|
|
9191
9442
|
network: {
|
|
9192
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9443
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9193
9444
|
chainId: number;
|
|
9194
9445
|
networkCaip: string;
|
|
9195
9446
|
};
|
|
@@ -9347,6 +9598,11 @@ declare class VaultsSdk {
|
|
|
9347
9598
|
depositFee?: number;
|
|
9348
9599
|
};
|
|
9349
9600
|
warnings: string[];
|
|
9601
|
+
flags: {
|
|
9602
|
+
content: string;
|
|
9603
|
+
severity: "info" | "warning" | "critical";
|
|
9604
|
+
endDate: number;
|
|
9605
|
+
}[];
|
|
9350
9606
|
intrinsic?: {
|
|
9351
9607
|
apy: {
|
|
9352
9608
|
"1day": {
|
|
@@ -9394,7 +9650,7 @@ declare class VaultsSdk {
|
|
|
9394
9650
|
getVault(params: Params<'/v2/detailed-vaults/{network}/{vaultAddress}'>): Promise<{
|
|
9395
9651
|
address: string;
|
|
9396
9652
|
network: {
|
|
9397
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9653
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9398
9654
|
chainId: number;
|
|
9399
9655
|
networkCaip: string;
|
|
9400
9656
|
};
|
|
@@ -9552,6 +9808,11 @@ declare class VaultsSdk {
|
|
|
9552
9808
|
depositFee?: number;
|
|
9553
9809
|
};
|
|
9554
9810
|
warnings: string[];
|
|
9811
|
+
flags: {
|
|
9812
|
+
content: string;
|
|
9813
|
+
severity: "info" | "warning" | "critical";
|
|
9814
|
+
endDate: number;
|
|
9815
|
+
}[];
|
|
9555
9816
|
intrinsic?: {
|
|
9556
9817
|
apy: {
|
|
9557
9818
|
"1day": {
|
|
@@ -9603,7 +9864,7 @@ declare class VaultsSdk {
|
|
|
9603
9864
|
balanceNative: string;
|
|
9604
9865
|
balanceUsd?: string;
|
|
9605
9866
|
network: {
|
|
9606
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9867
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9607
9868
|
chainId: number;
|
|
9608
9869
|
networkCaip: string;
|
|
9609
9870
|
};
|
|
@@ -9711,7 +9972,139 @@ declare class VaultsSdk {
|
|
|
9711
9972
|
depositLimit?: string;
|
|
9712
9973
|
}[];
|
|
9713
9974
|
}[];
|
|
9714
|
-
vaultSpecificData?:
|
|
9975
|
+
vaultSpecificData?: {
|
|
9976
|
+
cooldownData?: {
|
|
9977
|
+
amount: string;
|
|
9978
|
+
endOfCooldown: string;
|
|
9979
|
+
withdrawalWindow: string;
|
|
9980
|
+
status: "active" | "ready" | "expired";
|
|
9981
|
+
};
|
|
9982
|
+
} | {
|
|
9983
|
+
claimData?: {
|
|
9984
|
+
status: "none" | "pending" | "ready";
|
|
9985
|
+
cooldownEnd: string;
|
|
9986
|
+
assetAmount: string;
|
|
9987
|
+
};
|
|
9988
|
+
} | {
|
|
9989
|
+
claimData: {
|
|
9990
|
+
id: string;
|
|
9991
|
+
status: "ready" | "pending";
|
|
9992
|
+
lpTokenAmount: string;
|
|
9993
|
+
assetAmount: string;
|
|
9994
|
+
}[];
|
|
9995
|
+
} | {
|
|
9996
|
+
claimData: {
|
|
9997
|
+
id: string;
|
|
9998
|
+
status: "ready" | "pending";
|
|
9999
|
+
timestamp: string;
|
|
10000
|
+
lpTokenAmount: string;
|
|
10001
|
+
assetAmount: string;
|
|
10002
|
+
}[];
|
|
10003
|
+
} | {
|
|
10004
|
+
claimData: {
|
|
10005
|
+
lpTokenAmount: string;
|
|
10006
|
+
assetAmount: string;
|
|
10007
|
+
status: "ready" | "pending";
|
|
10008
|
+
id: string;
|
|
10009
|
+
}[];
|
|
10010
|
+
} | {
|
|
10011
|
+
requestData: {
|
|
10012
|
+
claimableDeposit: string;
|
|
10013
|
+
claimableRedeem: string;
|
|
10014
|
+
pendingDeposit: string;
|
|
10015
|
+
pendingRedeem: string;
|
|
10016
|
+
redeemRequests: {
|
|
10017
|
+
timestamp: number;
|
|
10018
|
+
lpTokenAmount: string;
|
|
10019
|
+
isClaimable: boolean;
|
|
10020
|
+
}[];
|
|
10021
|
+
};
|
|
10022
|
+
} | {
|
|
10023
|
+
requestData: {
|
|
10024
|
+
claimableDeposit: string;
|
|
10025
|
+
claimableRedeem: string;
|
|
10026
|
+
pendingDeposit: string;
|
|
10027
|
+
pendingRedeem: string;
|
|
10028
|
+
};
|
|
10029
|
+
pendingRequests: {
|
|
10030
|
+
id?: string;
|
|
10031
|
+
type: "deposit" | "redeem";
|
|
10032
|
+
status: "pending" | "ready";
|
|
10033
|
+
assetAmount: string;
|
|
10034
|
+
lpTokenAmount?: string;
|
|
10035
|
+
timestamp?: number;
|
|
10036
|
+
deadline?: number;
|
|
10037
|
+
}[];
|
|
10038
|
+
} | {
|
|
10039
|
+
redeemState?: {
|
|
10040
|
+
deadline: string;
|
|
10041
|
+
rate: string;
|
|
10042
|
+
lpTokenAmount: string;
|
|
10043
|
+
assetAmount: string;
|
|
10044
|
+
};
|
|
10045
|
+
} | {
|
|
10046
|
+
claimData?: {
|
|
10047
|
+
lpTokenAmount: string;
|
|
10048
|
+
assetAmount: string;
|
|
10049
|
+
};
|
|
10050
|
+
eligible: boolean;
|
|
10051
|
+
} | {
|
|
10052
|
+
pendingRequests?: {
|
|
10053
|
+
deposits: {
|
|
10054
|
+
amount: string;
|
|
10055
|
+
deadline: string;
|
|
10056
|
+
}[];
|
|
10057
|
+
redeems: {
|
|
10058
|
+
amount: string;
|
|
10059
|
+
deadline: string;
|
|
10060
|
+
}[];
|
|
10061
|
+
};
|
|
10062
|
+
} | {
|
|
10063
|
+
pendingRequests: {
|
|
10064
|
+
id?: string;
|
|
10065
|
+
type: "deposit" | "redeem";
|
|
10066
|
+
status: "pending" | "ready";
|
|
10067
|
+
assetAmount: string;
|
|
10068
|
+
lpTokenAmount?: string;
|
|
10069
|
+
timestamp?: number;
|
|
10070
|
+
deadline?: number;
|
|
10071
|
+
}[];
|
|
10072
|
+
} | {
|
|
10073
|
+
redeemFeeBips: string;
|
|
10074
|
+
} | {
|
|
10075
|
+
pendingRedeemRequest?: {
|
|
10076
|
+
assets: string;
|
|
10077
|
+
shares: string;
|
|
10078
|
+
};
|
|
10079
|
+
liquidAssets: string;
|
|
10080
|
+
} | {
|
|
10081
|
+
requests: {
|
|
10082
|
+
status: "pending" | "executed" | "cancelled" | "unknown";
|
|
10083
|
+
type: "subscription" | "redemption" | "unknown";
|
|
10084
|
+
assetsAmount: string;
|
|
10085
|
+
sharesAmount: string;
|
|
10086
|
+
timestamp: number;
|
|
10087
|
+
asset: string;
|
|
10088
|
+
}[];
|
|
10089
|
+
redemptionFeeBips: string;
|
|
10090
|
+
} | {
|
|
10091
|
+
pendingRequests: {
|
|
10092
|
+
id?: string;
|
|
10093
|
+
type: "deposit" | "redeem";
|
|
10094
|
+
status: "pending" | "ready";
|
|
10095
|
+
assetAmount: string;
|
|
10096
|
+
lpTokenAmount?: string;
|
|
10097
|
+
timestamp?: number;
|
|
10098
|
+
deadline?: number;
|
|
10099
|
+
}[];
|
|
10100
|
+
minDeposit: string;
|
|
10101
|
+
minRedeem: string;
|
|
10102
|
+
} | {
|
|
10103
|
+
pendingWithdrawals?: {
|
|
10104
|
+
assetAmount: string;
|
|
10105
|
+
claimTimestamp: string;
|
|
10106
|
+
}[];
|
|
10107
|
+
} | Record<string, never>;
|
|
9715
10108
|
rewards?: {
|
|
9716
10109
|
claimable: {
|
|
9717
10110
|
amount: string;
|
|
@@ -9724,7 +10117,7 @@ declare class VaultsSdk {
|
|
|
9724
10117
|
assetLogo?: string;
|
|
9725
10118
|
assetPriceInUsd?: string;
|
|
9726
10119
|
assetGroup: string;
|
|
9727
|
-
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
10120
|
+
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9728
10121
|
};
|
|
9729
10122
|
}[];
|
|
9730
10123
|
currentStep: "deposit" | "redeem" | "request-redeem" | "request-deposit" | "claim-redeem" | "claim-deposit" | "claim-rewards" | "start-redeem-cooldown";
|
|
@@ -10279,6 +10672,32 @@ declare class VaultsSdk {
|
|
|
10279
10672
|
}[];
|
|
10280
10673
|
actionUrl: string;
|
|
10281
10674
|
}[];
|
|
10675
|
+
etherlink: {
|
|
10676
|
+
claimId: string;
|
|
10677
|
+
asset: {
|
|
10678
|
+
address: string;
|
|
10679
|
+
assetCaip: string;
|
|
10680
|
+
name: string;
|
|
10681
|
+
symbol: string;
|
|
10682
|
+
decimals: number;
|
|
10683
|
+
assetLogo?: string;
|
|
10684
|
+
assetPriceInUsd?: string;
|
|
10685
|
+
assetGroup: string;
|
|
10686
|
+
claimableAmount: string;
|
|
10687
|
+
claimableAmountInUsd?: string;
|
|
10688
|
+
};
|
|
10689
|
+
sources: {
|
|
10690
|
+
protocol: {
|
|
10691
|
+
name: string;
|
|
10692
|
+
product?: string;
|
|
10693
|
+
version?: string;
|
|
10694
|
+
protocolUrl?: string;
|
|
10695
|
+
protocolLogo?: string;
|
|
10696
|
+
description?: string;
|
|
10697
|
+
};
|
|
10698
|
+
}[];
|
|
10699
|
+
actionUrl: string;
|
|
10700
|
+
}[];
|
|
10282
10701
|
};
|
|
10283
10702
|
actionUrl: string;
|
|
10284
10703
|
}>;
|
|
@@ -10723,6 +11142,28 @@ declare class VaultsSdk {
|
|
|
10723
11142
|
};
|
|
10724
11143
|
}[];
|
|
10725
11144
|
};
|
|
11145
|
+
etherlink: {
|
|
11146
|
+
currentActionIndex: number;
|
|
11147
|
+
actions: {
|
|
11148
|
+
name: string;
|
|
11149
|
+
tx: {
|
|
11150
|
+
to: string;
|
|
11151
|
+
chainId: number;
|
|
11152
|
+
data?: string;
|
|
11153
|
+
value?: string;
|
|
11154
|
+
};
|
|
11155
|
+
simulation?: {
|
|
11156
|
+
url: string;
|
|
11157
|
+
status: "success" | "failure" | "internal server error";
|
|
11158
|
+
tokensReceived?: {
|
|
11159
|
+
[key: string]: string;
|
|
11160
|
+
};
|
|
11161
|
+
tokensSpent?: {
|
|
11162
|
+
[key: string]: string;
|
|
11163
|
+
};
|
|
11164
|
+
};
|
|
11165
|
+
}[];
|
|
11166
|
+
};
|
|
10726
11167
|
}>;
|
|
10727
11168
|
getUserVaultEvents(params: Params<'/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
10728
11169
|
asset: {
|