@vaultsfyi/sdk 2.1.17 → 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 +7 -0
- package/dist/client.d.mts +457 -50
- package/dist/client.d.ts +457 -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.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,152 @@ 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>;
|
|
5927
6071
|
rewards?: {
|
|
5928
6072
|
claimable: {
|
|
5929
6073
|
/** @description Amount of the claimable reward */
|
|
@@ -5952,7 +6096,7 @@ interface paths {
|
|
|
5952
6096
|
* @description Network of the reward
|
|
5953
6097
|
* @enum {string}
|
|
5954
6098
|
*/
|
|
5955
|
-
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';
|
|
5956
6100
|
};
|
|
5957
6101
|
}[];
|
|
5958
6102
|
/**
|
|
@@ -6138,7 +6282,7 @@ interface paths {
|
|
|
6138
6282
|
/** @description User address to get returns for */
|
|
6139
6283
|
userAddress: string;
|
|
6140
6284
|
/** @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';
|
|
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';
|
|
6142
6286
|
/** @description Vault address to get returns for */
|
|
6143
6287
|
vaultAddress: string;
|
|
6144
6288
|
};
|
|
@@ -7337,6 +7481,55 @@ interface paths {
|
|
|
7337
7481
|
/** @description URL to claim this specific reward */
|
|
7338
7482
|
actionUrl: string;
|
|
7339
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
|
+
}[];
|
|
7340
7533
|
};
|
|
7341
7534
|
/** @description URL for claiming all rewards */
|
|
7342
7535
|
actionUrl: string;
|
|
@@ -8195,6 +8388,40 @@ interface paths {
|
|
|
8195
8388
|
};
|
|
8196
8389
|
}[];
|
|
8197
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
|
+
};
|
|
8198
8425
|
};
|
|
8199
8426
|
};
|
|
8200
8427
|
};
|
|
@@ -8355,7 +8582,7 @@ interface paths {
|
|
|
8355
8582
|
header?: never;
|
|
8356
8583
|
path: {
|
|
8357
8584
|
/** @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';
|
|
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';
|
|
8359
8586
|
};
|
|
8360
8587
|
cookie?: never;
|
|
8361
8588
|
};
|
|
@@ -8568,7 +8795,7 @@ interface paths {
|
|
|
8568
8795
|
header?: never;
|
|
8569
8796
|
path: {
|
|
8570
8797
|
/** @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';
|
|
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';
|
|
8572
8799
|
};
|
|
8573
8800
|
cookie?: never;
|
|
8574
8801
|
};
|
|
@@ -8764,7 +8991,7 @@ interface paths {
|
|
|
8764
8991
|
};
|
|
8765
8992
|
}
|
|
8766
8993
|
|
|
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"];
|
|
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"];
|
|
8768
8995
|
type ConstructorOptions = {
|
|
8769
8996
|
apiKey: string;
|
|
8770
8997
|
} | {
|
|
@@ -8818,7 +9045,7 @@ declare class VaultsSdk {
|
|
|
8818
9045
|
assetPriceInUsd?: string;
|
|
8819
9046
|
assetGroup: string;
|
|
8820
9047
|
network: {
|
|
8821
|
-
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";
|
|
8822
9049
|
chainId: number;
|
|
8823
9050
|
networkCaip: string;
|
|
8824
9051
|
};
|
|
@@ -8924,7 +9151,7 @@ declare class VaultsSdk {
|
|
|
8924
9151
|
data: {
|
|
8925
9152
|
address: string;
|
|
8926
9153
|
network: {
|
|
8927
|
-
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";
|
|
8928
9155
|
chainId: number;
|
|
8929
9156
|
networkCaip: string;
|
|
8930
9157
|
};
|
|
@@ -9043,7 +9270,7 @@ declare class VaultsSdk {
|
|
|
9043
9270
|
getPosition(params: Params<'/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
9044
9271
|
address: string;
|
|
9045
9272
|
network: {
|
|
9046
|
-
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";
|
|
9047
9274
|
chainId: number;
|
|
9048
9275
|
networkCaip: string;
|
|
9049
9276
|
};
|
|
@@ -9172,7 +9399,7 @@ declare class VaultsSdk {
|
|
|
9172
9399
|
name: string;
|
|
9173
9400
|
address: string;
|
|
9174
9401
|
network: {
|
|
9175
|
-
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";
|
|
9176
9403
|
chainId: number;
|
|
9177
9404
|
networkCaip: string;
|
|
9178
9405
|
};
|
|
@@ -9213,7 +9440,7 @@ declare class VaultsSdk {
|
|
|
9213
9440
|
data: {
|
|
9214
9441
|
address: string;
|
|
9215
9442
|
network: {
|
|
9216
|
-
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";
|
|
9217
9444
|
chainId: number;
|
|
9218
9445
|
networkCaip: string;
|
|
9219
9446
|
};
|
|
@@ -9423,7 +9650,7 @@ declare class VaultsSdk {
|
|
|
9423
9650
|
getVault(params: Params<'/v2/detailed-vaults/{network}/{vaultAddress}'>): Promise<{
|
|
9424
9651
|
address: string;
|
|
9425
9652
|
network: {
|
|
9426
|
-
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";
|
|
9427
9654
|
chainId: number;
|
|
9428
9655
|
networkCaip: string;
|
|
9429
9656
|
};
|
|
@@ -9637,7 +9864,7 @@ declare class VaultsSdk {
|
|
|
9637
9864
|
balanceNative: string;
|
|
9638
9865
|
balanceUsd?: string;
|
|
9639
9866
|
network: {
|
|
9640
|
-
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";
|
|
9641
9868
|
chainId: number;
|
|
9642
9869
|
networkCaip: string;
|
|
9643
9870
|
};
|
|
@@ -9745,7 +9972,139 @@ declare class VaultsSdk {
|
|
|
9745
9972
|
depositLimit?: string;
|
|
9746
9973
|
}[];
|
|
9747
9974
|
}[];
|
|
9748
|
-
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>;
|
|
9749
10108
|
rewards?: {
|
|
9750
10109
|
claimable: {
|
|
9751
10110
|
amount: string;
|
|
@@ -9758,7 +10117,7 @@ declare class VaultsSdk {
|
|
|
9758
10117
|
assetLogo?: string;
|
|
9759
10118
|
assetPriceInUsd?: string;
|
|
9760
10119
|
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";
|
|
10120
|
+
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad" | "etherlink";
|
|
9762
10121
|
};
|
|
9763
10122
|
}[];
|
|
9764
10123
|
currentStep: "deposit" | "redeem" | "request-redeem" | "request-deposit" | "claim-redeem" | "claim-deposit" | "claim-rewards" | "start-redeem-cooldown";
|
|
@@ -10313,6 +10672,32 @@ declare class VaultsSdk {
|
|
|
10313
10672
|
}[];
|
|
10314
10673
|
actionUrl: string;
|
|
10315
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
|
+
}[];
|
|
10316
10701
|
};
|
|
10317
10702
|
actionUrl: string;
|
|
10318
10703
|
}>;
|
|
@@ -10757,6 +11142,28 @@ declare class VaultsSdk {
|
|
|
10757
11142
|
};
|
|
10758
11143
|
}[];
|
|
10759
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
|
+
};
|
|
10760
11167
|
}>;
|
|
10761
11168
|
getUserVaultEvents(params: Params<'/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
10762
11169
|
asset: {
|