@vaultsfyi/sdk 2.1.17 → 2.1.19
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 +500 -50
- package/dist/client.d.ts +500 -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 +2 -1
package/dist/client.d.ts
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 */
|
|
@@ -2665,7 +2665,7 @@ interface paths {
|
|
|
2665
2665
|
header?: never;
|
|
2666
2666
|
path: {
|
|
2667
2667
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
2668
|
-
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';
|
|
2669
2669
|
/** @description Address of the vault for which the data will be returned */
|
|
2670
2670
|
vaultAddress: string;
|
|
2671
2671
|
};
|
|
@@ -2688,7 +2688,7 @@ interface paths {
|
|
|
2688
2688
|
* @description Name of the network
|
|
2689
2689
|
* @enum {string}
|
|
2690
2690
|
*/
|
|
2691
|
-
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';
|
|
2692
2692
|
/** @description Chain ID of the network */
|
|
2693
2693
|
chainId: number;
|
|
2694
2694
|
/** @description CAIP-2 of the network */
|
|
@@ -3235,7 +3235,7 @@ interface paths {
|
|
|
3235
3235
|
header?: never;
|
|
3236
3236
|
path: {
|
|
3237
3237
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
3238
|
-
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';
|
|
3239
3239
|
/** @description Address of the vault for which the data will be returned */
|
|
3240
3240
|
vaultAddress: string;
|
|
3241
3241
|
};
|
|
@@ -3434,7 +3434,7 @@ interface paths {
|
|
|
3434
3434
|
header?: never;
|
|
3435
3435
|
path: {
|
|
3436
3436
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
3437
|
-
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';
|
|
3438
3438
|
/** @description Address of the vault for which the data will be returned */
|
|
3439
3439
|
vaultAddress: string;
|
|
3440
3440
|
};
|
|
@@ -3626,9 +3626,9 @@ interface paths {
|
|
|
3626
3626
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
3627
3627
|
allowVaultsWithWarnings?: boolean;
|
|
3628
3628
|
/** @description Networks to be included (name or CAIP). */
|
|
3629
|
-
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')[];
|
|
3630
3630
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
3631
|
-
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')[];
|
|
3632
3632
|
/** @description Interval for APY data. Possible values: 1day, 7day, 30day */
|
|
3633
3633
|
apyInterval?: '1day' | '7day' | '30day';
|
|
3634
3634
|
/** @description Minimum APY of the vault to be included */
|
|
@@ -3692,7 +3692,7 @@ interface paths {
|
|
|
3692
3692
|
* @description Name of the network
|
|
3693
3693
|
* @enum {string}
|
|
3694
3694
|
*/
|
|
3695
|
-
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';
|
|
3696
3696
|
/** @description Chain ID of the network */
|
|
3697
3697
|
chainId: number;
|
|
3698
3698
|
/** @description CAIP-2 of the network */
|
|
@@ -3920,9 +3920,9 @@ interface paths {
|
|
|
3920
3920
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
3921
3921
|
allowVaultsWithWarnings?: boolean;
|
|
3922
3922
|
/** @description Networks to be included (name or CAIP). */
|
|
3923
|
-
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')[];
|
|
3924
3924
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
3925
|
-
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')[];
|
|
3926
3926
|
/** @description Maximum TVL in USD of the vaults to be included */
|
|
3927
3927
|
maxTvl?: number;
|
|
3928
3928
|
/** @description Maximum APY (in decimal) of the vaults to be included */
|
|
@@ -3967,7 +3967,7 @@ interface paths {
|
|
|
3967
3967
|
* @description Name of the network
|
|
3968
3968
|
* @enum {string}
|
|
3969
3969
|
*/
|
|
3970
|
-
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';
|
|
3971
3971
|
/** @description Chain ID of the network */
|
|
3972
3972
|
chainId: number;
|
|
3973
3973
|
/** @description CAIP-2 of the network */
|
|
@@ -4354,7 +4354,7 @@ interface paths {
|
|
|
4354
4354
|
/** @description User address to be used for best vault calculation */
|
|
4355
4355
|
userAddress: string;
|
|
4356
4356
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
4357
|
-
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';
|
|
4358
4358
|
/** @description Address of the vault for which the data will be returned */
|
|
4359
4359
|
vaultAddress: string;
|
|
4360
4360
|
};
|
|
@@ -4377,7 +4377,7 @@ interface paths {
|
|
|
4377
4377
|
* @description Name of the network
|
|
4378
4378
|
* @enum {string}
|
|
4379
4379
|
*/
|
|
4380
|
-
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';
|
|
4381
4381
|
/** @description Chain ID of the network */
|
|
4382
4382
|
chainId: number;
|
|
4383
4383
|
/** @description CAIP-2 of the network */
|
|
@@ -4769,9 +4769,9 @@ interface paths {
|
|
|
4769
4769
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
4770
4770
|
allowVaultsWithWarnings?: boolean;
|
|
4771
4771
|
/** @description Networks to be included (name or CAIP). */
|
|
4772
|
-
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')[];
|
|
4773
4773
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
4774
|
-
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')[];
|
|
4775
4775
|
/** @description Interval for APY data. Possible values: 1day, 7day, 30day */
|
|
4776
4776
|
apyInterval?: '1day' | '7day' | '30day';
|
|
4777
4777
|
/** @description Minimum APY of the vault to be included */
|
|
@@ -4840,7 +4840,7 @@ interface paths {
|
|
|
4840
4840
|
* @description Name of the network
|
|
4841
4841
|
* @enum {string}
|
|
4842
4842
|
*/
|
|
4843
|
-
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';
|
|
4844
4844
|
/** @description Chain ID of the network */
|
|
4845
4845
|
chainId: number;
|
|
4846
4846
|
/** @description CAIP-2 of the network */
|
|
@@ -5061,9 +5061,9 @@ interface paths {
|
|
|
5061
5061
|
/** @description Sort order, either asc or desc. Ascending is default. */
|
|
5062
5062
|
sortDirection?: 'asc' | 'desc';
|
|
5063
5063
|
/** @description Networks to be included (name or CAIP). */
|
|
5064
|
-
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')[];
|
|
5065
5065
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
5066
|
-
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')[];
|
|
5067
5067
|
};
|
|
5068
5068
|
header?: never;
|
|
5069
5069
|
path: {
|
|
@@ -5111,7 +5111,7 @@ interface paths {
|
|
|
5111
5111
|
* @description Name of the network
|
|
5112
5112
|
* @enum {string}
|
|
5113
5113
|
*/
|
|
5114
|
-
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';
|
|
5115
5115
|
/** @description Chain ID of the network */
|
|
5116
5116
|
chainId: number;
|
|
5117
5117
|
/** @description CAIP-2 of the network */
|
|
@@ -5281,7 +5281,7 @@ interface paths {
|
|
|
5281
5281
|
/** @description User address to get returns for */
|
|
5282
5282
|
userAddress: string;
|
|
5283
5283
|
/** @description Network to get returns for */
|
|
5284
|
-
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';
|
|
5285
5285
|
/** @description Vault address to get returns for */
|
|
5286
5286
|
vaultAddress: string;
|
|
5287
5287
|
};
|
|
@@ -5476,7 +5476,7 @@ interface paths {
|
|
|
5476
5476
|
/** @description User address to get returns for */
|
|
5477
5477
|
userAddress: string;
|
|
5478
5478
|
/** @description Network to get returns for */
|
|
5479
|
-
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';
|
|
5480
5480
|
/** @description Vault address to get returns for */
|
|
5481
5481
|
vaultAddress: string;
|
|
5482
5482
|
};
|
|
@@ -5709,7 +5709,7 @@ interface paths {
|
|
|
5709
5709
|
/** @description User address */
|
|
5710
5710
|
userAddress: string;
|
|
5711
5711
|
/** @description Network name or CAIP-2 identifier */
|
|
5712
|
-
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';
|
|
5713
5713
|
/** @description Vault address */
|
|
5714
5714
|
vaultAddress: string;
|
|
5715
5715
|
};
|
|
@@ -5922,8 +5922,175 @@ interface paths {
|
|
|
5922
5922
|
depositLimit?: string;
|
|
5923
5923
|
}[];
|
|
5924
5924
|
}[];
|
|
5925
|
-
|
|
5926
|
-
|
|
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>;
|
|
6071
|
+
/** @description Pending requests */
|
|
6072
|
+
pendingRequests?: {
|
|
6073
|
+
deposits: {
|
|
6074
|
+
/** @enum {string} */
|
|
6075
|
+
status: 'pending' | 'ready';
|
|
6076
|
+
assetAmount?: string;
|
|
6077
|
+
lpTokenAmount?: string;
|
|
6078
|
+
requestTimestamp?: number;
|
|
6079
|
+
estimatedResolution?: number;
|
|
6080
|
+
withdrawalStart?: number;
|
|
6081
|
+
withdrawalEnd?: number;
|
|
6082
|
+
}[];
|
|
6083
|
+
redeems: {
|
|
6084
|
+
/** @enum {string} */
|
|
6085
|
+
status: 'pending' | 'ready';
|
|
6086
|
+
assetAmount?: string;
|
|
6087
|
+
lpTokenAmount?: string;
|
|
6088
|
+
requestTimestamp?: number;
|
|
6089
|
+
estimatedResolution?: number;
|
|
6090
|
+
withdrawalStart?: number;
|
|
6091
|
+
withdrawalEnd?: number;
|
|
6092
|
+
}[];
|
|
6093
|
+
};
|
|
5927
6094
|
rewards?: {
|
|
5928
6095
|
claimable: {
|
|
5929
6096
|
/** @description Amount of the claimable reward */
|
|
@@ -5952,7 +6119,7 @@ interface paths {
|
|
|
5952
6119
|
* @description Network of the reward
|
|
5953
6120
|
* @enum {string}
|
|
5954
6121
|
*/
|
|
5955
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
6122
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'etherlink';
|
|
5956
6123
|
};
|
|
5957
6124
|
}[];
|
|
5958
6125
|
/**
|
|
@@ -6138,7 +6305,7 @@ interface paths {
|
|
|
6138
6305
|
/** @description User address to get returns for */
|
|
6139
6306
|
userAddress: string;
|
|
6140
6307
|
/** @description Network to get returns for */
|
|
6141
|
-
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';
|
|
6308
|
+
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';
|
|
6142
6309
|
/** @description Vault address to get returns for */
|
|
6143
6310
|
vaultAddress: string;
|
|
6144
6311
|
};
|
|
@@ -7337,6 +7504,55 @@ interface paths {
|
|
|
7337
7504
|
/** @description URL to claim this specific reward */
|
|
7338
7505
|
actionUrl: string;
|
|
7339
7506
|
}[];
|
|
7507
|
+
etherlink: {
|
|
7508
|
+
/** @description Unique identifier for the reward */
|
|
7509
|
+
claimId: string;
|
|
7510
|
+
/** @description Reward asset details */
|
|
7511
|
+
asset: {
|
|
7512
|
+
/** @description Address of the asset */
|
|
7513
|
+
address: string;
|
|
7514
|
+
/** @description CAIP-2 of the asset */
|
|
7515
|
+
assetCaip: string;
|
|
7516
|
+
/** @description Name of the asset */
|
|
7517
|
+
name: string;
|
|
7518
|
+
/** @description Symbol of the asset */
|
|
7519
|
+
symbol: string;
|
|
7520
|
+
/** @description Number of decimals of the asset */
|
|
7521
|
+
decimals: number;
|
|
7522
|
+
/**
|
|
7523
|
+
* Format: uri
|
|
7524
|
+
* @description URL of the asset logo
|
|
7525
|
+
*/
|
|
7526
|
+
assetLogo?: string;
|
|
7527
|
+
/** @description Price of the asset in USD */
|
|
7528
|
+
assetPriceInUsd?: string;
|
|
7529
|
+
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
7530
|
+
assetGroup: string;
|
|
7531
|
+
/** @description Amount of the asset that can be claimed */
|
|
7532
|
+
claimableAmount: string;
|
|
7533
|
+
/** @description Amount of the asset that can be claimed in USD */
|
|
7534
|
+
claimableAmountInUsd?: string;
|
|
7535
|
+
};
|
|
7536
|
+
/** @description Sources of the reward */
|
|
7537
|
+
sources: {
|
|
7538
|
+
protocol: {
|
|
7539
|
+
/** @description Name of the protocol */
|
|
7540
|
+
name: string;
|
|
7541
|
+
/** @description Product of the protocol */
|
|
7542
|
+
product?: string;
|
|
7543
|
+
/** @description Version of the protocol */
|
|
7544
|
+
version?: string;
|
|
7545
|
+
/** @description URL of the protocol */
|
|
7546
|
+
protocolUrl?: string;
|
|
7547
|
+
/** @description URL of the protocol logo */
|
|
7548
|
+
protocolLogo?: string;
|
|
7549
|
+
/** @description Description of the protocol */
|
|
7550
|
+
description?: string;
|
|
7551
|
+
};
|
|
7552
|
+
}[];
|
|
7553
|
+
/** @description URL to claim this specific reward */
|
|
7554
|
+
actionUrl: string;
|
|
7555
|
+
}[];
|
|
7340
7556
|
};
|
|
7341
7557
|
/** @description URL for claiming all rewards */
|
|
7342
7558
|
actionUrl: string;
|
|
@@ -8195,6 +8411,40 @@ interface paths {
|
|
|
8195
8411
|
};
|
|
8196
8412
|
}[];
|
|
8197
8413
|
};
|
|
8414
|
+
etherlink: {
|
|
8415
|
+
currentActionIndex: number;
|
|
8416
|
+
actions: {
|
|
8417
|
+
/** @description Name of the action */
|
|
8418
|
+
name: string;
|
|
8419
|
+
tx: {
|
|
8420
|
+
/** @description Address of the transaction recipient */
|
|
8421
|
+
to: string;
|
|
8422
|
+
/** @description Chain ID of the transaction */
|
|
8423
|
+
chainId: number;
|
|
8424
|
+
/** @description Data to be sent with the transaction */
|
|
8425
|
+
data?: string;
|
|
8426
|
+
/** @description Value to be sent with the transaction */
|
|
8427
|
+
value?: string;
|
|
8428
|
+
};
|
|
8429
|
+
simulation?: {
|
|
8430
|
+
/** @description URL to simulated transaction */
|
|
8431
|
+
url: string;
|
|
8432
|
+
/**
|
|
8433
|
+
* @description Status of the simulation
|
|
8434
|
+
* @enum {string}
|
|
8435
|
+
*/
|
|
8436
|
+
status: 'success' | 'failure' | 'internal server error';
|
|
8437
|
+
/** @description Tokens received from the transaction */
|
|
8438
|
+
tokensReceived?: {
|
|
8439
|
+
[key: string]: string;
|
|
8440
|
+
};
|
|
8441
|
+
/** @description Tokens spent in the transaction */
|
|
8442
|
+
tokensSpent?: {
|
|
8443
|
+
[key: string]: string;
|
|
8444
|
+
};
|
|
8445
|
+
};
|
|
8446
|
+
}[];
|
|
8447
|
+
};
|
|
8198
8448
|
};
|
|
8199
8449
|
};
|
|
8200
8450
|
};
|
|
@@ -8355,7 +8605,7 @@ interface paths {
|
|
|
8355
8605
|
header?: never;
|
|
8356
8606
|
path: {
|
|
8357
8607
|
/** @description Network name or CAIP-2 identifier */
|
|
8358
|
-
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';
|
|
8608
|
+
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';
|
|
8359
8609
|
};
|
|
8360
8610
|
cookie?: never;
|
|
8361
8611
|
};
|
|
@@ -8568,7 +8818,7 @@ interface paths {
|
|
|
8568
8818
|
header?: never;
|
|
8569
8819
|
path: {
|
|
8570
8820
|
/** @description Network name or CAIP-2 identifier */
|
|
8571
|
-
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';
|
|
8821
|
+
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';
|
|
8572
8822
|
};
|
|
8573
8823
|
cookie?: never;
|
|
8574
8824
|
};
|
|
@@ -8764,7 +9014,7 @@ interface paths {
|
|
|
8764
9014
|
};
|
|
8765
9015
|
}
|
|
8766
9016
|
|
|
8767
|
-
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "optimism", "arbitrum", "polygon", "gnosis", "base", "unichain", "swellchain", "celo", "worldchain", "berachain", "ink", "bsc", "hyperliquid", "plasma", "avalanche", "mega-eth", "monad"];
|
|
9017
|
+
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"];
|
|
8768
9018
|
type ConstructorOptions = {
|
|
8769
9019
|
apiKey: string;
|
|
8770
9020
|
} | {
|
|
@@ -8818,7 +9068,7 @@ declare class VaultsSdk {
|
|
|
8818
9068
|
assetPriceInUsd?: string;
|
|
8819
9069
|
assetGroup: string;
|
|
8820
9070
|
network: {
|
|
8821
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9071
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
8822
9072
|
chainId: number;
|
|
8823
9073
|
networkCaip: string;
|
|
8824
9074
|
};
|
|
@@ -8924,7 +9174,7 @@ declare class VaultsSdk {
|
|
|
8924
9174
|
data: {
|
|
8925
9175
|
address: string;
|
|
8926
9176
|
network: {
|
|
8927
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9177
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
8928
9178
|
chainId: number;
|
|
8929
9179
|
networkCaip: string;
|
|
8930
9180
|
};
|
|
@@ -9043,7 +9293,7 @@ declare class VaultsSdk {
|
|
|
9043
9293
|
getPosition(params: Params<'/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
9044
9294
|
address: string;
|
|
9045
9295
|
network: {
|
|
9046
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9296
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9047
9297
|
chainId: number;
|
|
9048
9298
|
networkCaip: string;
|
|
9049
9299
|
};
|
|
@@ -9172,7 +9422,7 @@ declare class VaultsSdk {
|
|
|
9172
9422
|
name: string;
|
|
9173
9423
|
address: string;
|
|
9174
9424
|
network: {
|
|
9175
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9425
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9176
9426
|
chainId: number;
|
|
9177
9427
|
networkCaip: string;
|
|
9178
9428
|
};
|
|
@@ -9213,7 +9463,7 @@ declare class VaultsSdk {
|
|
|
9213
9463
|
data: {
|
|
9214
9464
|
address: string;
|
|
9215
9465
|
network: {
|
|
9216
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9466
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9217
9467
|
chainId: number;
|
|
9218
9468
|
networkCaip: string;
|
|
9219
9469
|
};
|
|
@@ -9423,7 +9673,7 @@ declare class VaultsSdk {
|
|
|
9423
9673
|
getVault(params: Params<'/v2/detailed-vaults/{network}/{vaultAddress}'>): Promise<{
|
|
9424
9674
|
address: string;
|
|
9425
9675
|
network: {
|
|
9426
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9676
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9427
9677
|
chainId: number;
|
|
9428
9678
|
networkCaip: string;
|
|
9429
9679
|
};
|
|
@@ -9637,7 +9887,7 @@ declare class VaultsSdk {
|
|
|
9637
9887
|
balanceNative: string;
|
|
9638
9888
|
balanceUsd?: string;
|
|
9639
9889
|
network: {
|
|
9640
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
9890
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9641
9891
|
chainId: number;
|
|
9642
9892
|
networkCaip: string;
|
|
9643
9893
|
};
|
|
@@ -9745,7 +9995,159 @@ declare class VaultsSdk {
|
|
|
9745
9995
|
depositLimit?: string;
|
|
9746
9996
|
}[];
|
|
9747
9997
|
}[];
|
|
9748
|
-
vaultSpecificData?:
|
|
9998
|
+
vaultSpecificData?: {
|
|
9999
|
+
cooldownData?: {
|
|
10000
|
+
amount: string;
|
|
10001
|
+
endOfCooldown: string;
|
|
10002
|
+
withdrawalWindow: string;
|
|
10003
|
+
status: "active" | "ready" | "expired";
|
|
10004
|
+
};
|
|
10005
|
+
} | {
|
|
10006
|
+
claimData?: {
|
|
10007
|
+
status: "none" | "pending" | "ready";
|
|
10008
|
+
cooldownEnd: string;
|
|
10009
|
+
assetAmount: string;
|
|
10010
|
+
};
|
|
10011
|
+
} | {
|
|
10012
|
+
claimData: {
|
|
10013
|
+
id: string;
|
|
10014
|
+
status: "ready" | "pending";
|
|
10015
|
+
lpTokenAmount: string;
|
|
10016
|
+
assetAmount: string;
|
|
10017
|
+
}[];
|
|
10018
|
+
} | {
|
|
10019
|
+
claimData: {
|
|
10020
|
+
id: string;
|
|
10021
|
+
status: "ready" | "pending";
|
|
10022
|
+
timestamp: string;
|
|
10023
|
+
lpTokenAmount: string;
|
|
10024
|
+
assetAmount: string;
|
|
10025
|
+
}[];
|
|
10026
|
+
} | {
|
|
10027
|
+
claimData: {
|
|
10028
|
+
lpTokenAmount: string;
|
|
10029
|
+
assetAmount: string;
|
|
10030
|
+
status: "ready" | "pending";
|
|
10031
|
+
id: string;
|
|
10032
|
+
}[];
|
|
10033
|
+
} | {
|
|
10034
|
+
requestData: {
|
|
10035
|
+
claimableDeposit: string;
|
|
10036
|
+
claimableRedeem: string;
|
|
10037
|
+
pendingDeposit: string;
|
|
10038
|
+
pendingRedeem: string;
|
|
10039
|
+
redeemRequests: {
|
|
10040
|
+
timestamp: number;
|
|
10041
|
+
lpTokenAmount: string;
|
|
10042
|
+
isClaimable: boolean;
|
|
10043
|
+
}[];
|
|
10044
|
+
};
|
|
10045
|
+
} | {
|
|
10046
|
+
requestData: {
|
|
10047
|
+
claimableDeposit: string;
|
|
10048
|
+
claimableRedeem: string;
|
|
10049
|
+
pendingDeposit: string;
|
|
10050
|
+
pendingRedeem: string;
|
|
10051
|
+
};
|
|
10052
|
+
pendingRequests: {
|
|
10053
|
+
id?: string;
|
|
10054
|
+
type: "deposit" | "redeem";
|
|
10055
|
+
status: "pending" | "ready";
|
|
10056
|
+
assetAmount?: string;
|
|
10057
|
+
lpTokenAmount?: string;
|
|
10058
|
+
timestamp?: number;
|
|
10059
|
+
deadline?: number;
|
|
10060
|
+
}[];
|
|
10061
|
+
} | {
|
|
10062
|
+
redeemState?: {
|
|
10063
|
+
deadline: string;
|
|
10064
|
+
rate: string;
|
|
10065
|
+
lpTokenAmount: string;
|
|
10066
|
+
assetAmount: string;
|
|
10067
|
+
};
|
|
10068
|
+
} | {
|
|
10069
|
+
claimData?: {
|
|
10070
|
+
lpTokenAmount: string;
|
|
10071
|
+
assetAmount: string;
|
|
10072
|
+
};
|
|
10073
|
+
eligible: boolean;
|
|
10074
|
+
} | {
|
|
10075
|
+
pendingRequests?: {
|
|
10076
|
+
deposits: {
|
|
10077
|
+
amount: string;
|
|
10078
|
+
deadline: string;
|
|
10079
|
+
}[];
|
|
10080
|
+
redeems: {
|
|
10081
|
+
amount: string;
|
|
10082
|
+
deadline: string;
|
|
10083
|
+
}[];
|
|
10084
|
+
};
|
|
10085
|
+
} | {
|
|
10086
|
+
pendingRequests: {
|
|
10087
|
+
id?: string;
|
|
10088
|
+
type: "deposit" | "redeem";
|
|
10089
|
+
status: "pending" | "ready";
|
|
10090
|
+
assetAmount?: string;
|
|
10091
|
+
lpTokenAmount?: string;
|
|
10092
|
+
timestamp?: number;
|
|
10093
|
+
deadline?: number;
|
|
10094
|
+
}[];
|
|
10095
|
+
} | {
|
|
10096
|
+
redeemFeeBips: string;
|
|
10097
|
+
} | {
|
|
10098
|
+
pendingRedeemRequest?: {
|
|
10099
|
+
assets: string;
|
|
10100
|
+
shares: string;
|
|
10101
|
+
};
|
|
10102
|
+
liquidAssets: string;
|
|
10103
|
+
} | {
|
|
10104
|
+
requests: {
|
|
10105
|
+
status: "pending" | "executed" | "cancelled" | "unknown";
|
|
10106
|
+
type: "subscription" | "redemption" | "unknown";
|
|
10107
|
+
assetsAmount: string;
|
|
10108
|
+
sharesAmount: string;
|
|
10109
|
+
timestamp: number;
|
|
10110
|
+
asset: string;
|
|
10111
|
+
}[];
|
|
10112
|
+
redemptionFeeBips: string;
|
|
10113
|
+
} | {
|
|
10114
|
+
pendingRequests: {
|
|
10115
|
+
id?: string;
|
|
10116
|
+
type: "deposit" | "redeem";
|
|
10117
|
+
status: "pending" | "ready";
|
|
10118
|
+
assetAmount?: string;
|
|
10119
|
+
lpTokenAmount?: string;
|
|
10120
|
+
timestamp?: number;
|
|
10121
|
+
deadline?: number;
|
|
10122
|
+
}[];
|
|
10123
|
+
minDeposit: string;
|
|
10124
|
+
minRedeem: string;
|
|
10125
|
+
} | {
|
|
10126
|
+
pendingWithdrawals?: {
|
|
10127
|
+
assetAmount: string;
|
|
10128
|
+
claimTimestamp: string;
|
|
10129
|
+
}[];
|
|
10130
|
+
} | Record<string, never>;
|
|
10131
|
+
pendingRequests?: {
|
|
10132
|
+
deposits: {
|
|
10133
|
+
status: "pending" | "ready";
|
|
10134
|
+
assetAmount?: string;
|
|
10135
|
+
lpTokenAmount?: string;
|
|
10136
|
+
requestTimestamp?: number;
|
|
10137
|
+
estimatedResolution?: number;
|
|
10138
|
+
withdrawalStart?: number;
|
|
10139
|
+
withdrawalEnd?: number;
|
|
10140
|
+
}[];
|
|
10141
|
+
redeems: {
|
|
10142
|
+
status: "pending" | "ready";
|
|
10143
|
+
assetAmount?: string;
|
|
10144
|
+
lpTokenAmount?: string;
|
|
10145
|
+
requestTimestamp?: number;
|
|
10146
|
+
estimatedResolution?: number;
|
|
10147
|
+
withdrawalStart?: number;
|
|
10148
|
+
withdrawalEnd?: number;
|
|
10149
|
+
}[];
|
|
10150
|
+
};
|
|
9749
10151
|
rewards?: {
|
|
9750
10152
|
claimable: {
|
|
9751
10153
|
amount: string;
|
|
@@ -9758,7 +10160,7 @@ declare class VaultsSdk {
|
|
|
9758
10160
|
assetLogo?: string;
|
|
9759
10161
|
assetPriceInUsd?: string;
|
|
9760
10162
|
assetGroup: string;
|
|
9761
|
-
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
10163
|
+
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9762
10164
|
};
|
|
9763
10165
|
}[];
|
|
9764
10166
|
currentStep: "deposit" | "redeem" | "request-redeem" | "request-deposit" | "claim-redeem" | "claim-deposit" | "claim-rewards" | "start-redeem-cooldown";
|
|
@@ -10313,6 +10715,32 @@ declare class VaultsSdk {
|
|
|
10313
10715
|
}[];
|
|
10314
10716
|
actionUrl: string;
|
|
10315
10717
|
}[];
|
|
10718
|
+
etherlink: {
|
|
10719
|
+
claimId: string;
|
|
10720
|
+
asset: {
|
|
10721
|
+
address: string;
|
|
10722
|
+
assetCaip: string;
|
|
10723
|
+
name: string;
|
|
10724
|
+
symbol: string;
|
|
10725
|
+
decimals: number;
|
|
10726
|
+
assetLogo?: string;
|
|
10727
|
+
assetPriceInUsd?: string;
|
|
10728
|
+
assetGroup: string;
|
|
10729
|
+
claimableAmount: string;
|
|
10730
|
+
claimableAmountInUsd?: string;
|
|
10731
|
+
};
|
|
10732
|
+
sources: {
|
|
10733
|
+
protocol: {
|
|
10734
|
+
name: string;
|
|
10735
|
+
product?: string;
|
|
10736
|
+
version?: string;
|
|
10737
|
+
protocolUrl?: string;
|
|
10738
|
+
protocolLogo?: string;
|
|
10739
|
+
description?: string;
|
|
10740
|
+
};
|
|
10741
|
+
}[];
|
|
10742
|
+
actionUrl: string;
|
|
10743
|
+
}[];
|
|
10316
10744
|
};
|
|
10317
10745
|
actionUrl: string;
|
|
10318
10746
|
}>;
|
|
@@ -10757,6 +11185,28 @@ declare class VaultsSdk {
|
|
|
10757
11185
|
};
|
|
10758
11186
|
}[];
|
|
10759
11187
|
};
|
|
11188
|
+
etherlink: {
|
|
11189
|
+
currentActionIndex: number;
|
|
11190
|
+
actions: {
|
|
11191
|
+
name: string;
|
|
11192
|
+
tx: {
|
|
11193
|
+
to: string;
|
|
11194
|
+
chainId: number;
|
|
11195
|
+
data?: string;
|
|
11196
|
+
value?: string;
|
|
11197
|
+
};
|
|
11198
|
+
simulation?: {
|
|
11199
|
+
url: string;
|
|
11200
|
+
status: "success" | "failure" | "internal server error";
|
|
11201
|
+
tokensReceived?: {
|
|
11202
|
+
[key: string]: string;
|
|
11203
|
+
};
|
|
11204
|
+
tokensSpent?: {
|
|
11205
|
+
[key: string]: string;
|
|
11206
|
+
};
|
|
11207
|
+
};
|
|
11208
|
+
}[];
|
|
11209
|
+
};
|
|
10760
11210
|
}>;
|
|
10761
11211
|
getUserVaultEvents(params: Params<'/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
10762
11212
|
asset: {
|