@vaultsfyi/sdk 2.1.12 → 2.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/client.d.mts +326 -46
- package/dist/client.d.ts +326 -46
- package/dist/client.js +3 -1
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +3 -1
- package/dist/client.mjs.map +1 -1
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -87,7 +87,7 @@ interface paths {
|
|
|
87
87
|
/** @description Number of items per page */
|
|
88
88
|
perPage?: number;
|
|
89
89
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
90
|
-
network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
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';
|
|
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';
|
|
126
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
127
127
|
/** @description Chain ID of the network */
|
|
128
128
|
chainId: number;
|
|
129
129
|
/** @description CAIP-2 of the network */
|
|
@@ -302,7 +302,7 @@ interface paths {
|
|
|
302
302
|
/** @description Number of items per page */
|
|
303
303
|
perPage?: number;
|
|
304
304
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
305
|
-
network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
305
|
+
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';
|
|
306
306
|
};
|
|
307
307
|
header?: never;
|
|
308
308
|
path?: never;
|
|
@@ -347,7 +347,7 @@ interface paths {
|
|
|
347
347
|
* @description Name of the network
|
|
348
348
|
* @enum {string}
|
|
349
349
|
*/
|
|
350
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
350
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
351
351
|
/** @description Chain ID of the network */
|
|
352
352
|
chainId: number;
|
|
353
353
|
/** @description CAIP-2 of the network */
|
|
@@ -665,7 +665,7 @@ interface paths {
|
|
|
665
665
|
* @description Name of the network
|
|
666
666
|
* @enum {string}
|
|
667
667
|
*/
|
|
668
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
668
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
669
669
|
/** @description Chain ID of the network */
|
|
670
670
|
chainId: number;
|
|
671
671
|
/** @description CAIP-2 of the network */
|
|
@@ -987,7 +987,7 @@ interface paths {
|
|
|
987
987
|
header?: never;
|
|
988
988
|
path: {
|
|
989
989
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
990
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
990
|
+
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';
|
|
991
991
|
/** @description Address of the vault for which the data will be returned */
|
|
992
992
|
vaultAddress: string;
|
|
993
993
|
};
|
|
@@ -1187,7 +1187,7 @@ interface paths {
|
|
|
1187
1187
|
header?: never;
|
|
1188
1188
|
path: {
|
|
1189
1189
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1190
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
1190
|
+
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';
|
|
1191
1191
|
/** @description Address of the vault for which the data will be returned */
|
|
1192
1192
|
vaultAddress: string;
|
|
1193
1193
|
};
|
|
@@ -1378,7 +1378,7 @@ interface paths {
|
|
|
1378
1378
|
header?: never;
|
|
1379
1379
|
path: {
|
|
1380
1380
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1381
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
1381
|
+
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';
|
|
1382
1382
|
/** @description Address of the vault for which the data will be returned */
|
|
1383
1383
|
vaultAddress: string;
|
|
1384
1384
|
};
|
|
@@ -1567,7 +1567,7 @@ interface paths {
|
|
|
1567
1567
|
header?: never;
|
|
1568
1568
|
path: {
|
|
1569
1569
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1570
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
1570
|
+
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';
|
|
1571
1571
|
/** @description Address of the vault for which the data will be returned */
|
|
1572
1572
|
vaultAddress: string;
|
|
1573
1573
|
};
|
|
@@ -1758,9 +1758,9 @@ interface paths {
|
|
|
1758
1758
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
1759
1759
|
allowVaultsWithWarnings?: boolean;
|
|
1760
1760
|
/** @description Networks to be included (name or CAIP). */
|
|
1761
|
-
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
1761
|
+
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')[];
|
|
1762
1762
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
1763
|
-
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
1763
|
+
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')[];
|
|
1764
1764
|
/** @description Maximum TVL in USD of the vaults to be included */
|
|
1765
1765
|
maxTvl?: number;
|
|
1766
1766
|
/** @description Maximum APY (in decimal) of the vaults to be included */
|
|
@@ -1802,7 +1802,7 @@ interface paths {
|
|
|
1802
1802
|
* @description Name of the network
|
|
1803
1803
|
* @enum {string}
|
|
1804
1804
|
*/
|
|
1805
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
1805
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
1806
1806
|
/** @description Chain ID of the network */
|
|
1807
1807
|
chainId: number;
|
|
1808
1808
|
/** @description CAIP-2 of the network */
|
|
@@ -1994,6 +1994,12 @@ interface paths {
|
|
|
1994
1994
|
/** @description Number of decimals of the LP token */
|
|
1995
1995
|
decimals: number;
|
|
1996
1996
|
};
|
|
1997
|
+
/** @description Remaining capacity of the vault */
|
|
1998
|
+
remainingCapacity?: string;
|
|
1999
|
+
/** @description Maximum capacity limit of the vault */
|
|
2000
|
+
maxCapacity?: string;
|
|
2001
|
+
/** @description Indicates if the vault is corrupted */
|
|
2002
|
+
isCorrupted: boolean;
|
|
1997
2003
|
/** @description List of child vaults */
|
|
1998
2004
|
childrenVaults?: {
|
|
1999
2005
|
/** @description Address of the child vault */
|
|
@@ -2245,7 +2251,7 @@ interface paths {
|
|
|
2245
2251
|
header?: never;
|
|
2246
2252
|
path: {
|
|
2247
2253
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
2248
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
2254
|
+
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';
|
|
2249
2255
|
/** @description Address of the vault for which the data will be returned */
|
|
2250
2256
|
vaultAddress: string;
|
|
2251
2257
|
};
|
|
@@ -2268,7 +2274,7 @@ interface paths {
|
|
|
2268
2274
|
* @description Name of the network
|
|
2269
2275
|
* @enum {string}
|
|
2270
2276
|
*/
|
|
2271
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
2277
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
2272
2278
|
/** @description Chain ID of the network */
|
|
2273
2279
|
chainId: number;
|
|
2274
2280
|
/** @description CAIP-2 of the network */
|
|
@@ -2460,6 +2466,12 @@ interface paths {
|
|
|
2460
2466
|
/** @description Number of decimals of the LP token */
|
|
2461
2467
|
decimals: number;
|
|
2462
2468
|
};
|
|
2469
|
+
/** @description Remaining capacity of the vault */
|
|
2470
|
+
remainingCapacity?: string;
|
|
2471
|
+
/** @description Maximum capacity limit of the vault */
|
|
2472
|
+
maxCapacity?: string;
|
|
2473
|
+
/** @description Indicates if the vault is corrupted */
|
|
2474
|
+
isCorrupted: boolean;
|
|
2463
2475
|
/** @description List of child vaults */
|
|
2464
2476
|
childrenVaults?: {
|
|
2465
2477
|
/** @description Address of the child vault */
|
|
@@ -2705,7 +2717,7 @@ interface paths {
|
|
|
2705
2717
|
header?: never;
|
|
2706
2718
|
path: {
|
|
2707
2719
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
2708
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
2720
|
+
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';
|
|
2709
2721
|
/** @description Address of the vault for which the data will be returned */
|
|
2710
2722
|
vaultAddress: string;
|
|
2711
2723
|
};
|
|
@@ -2891,7 +2903,7 @@ interface paths {
|
|
|
2891
2903
|
header?: never;
|
|
2892
2904
|
path: {
|
|
2893
2905
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
2894
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
2906
|
+
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';
|
|
2895
2907
|
/** @description Address of the vault for which the data will be returned */
|
|
2896
2908
|
vaultAddress: string;
|
|
2897
2909
|
};
|
|
@@ -3070,9 +3082,9 @@ interface paths {
|
|
|
3070
3082
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
3071
3083
|
allowVaultsWithWarnings?: boolean;
|
|
3072
3084
|
/** @description Networks to be included (name or CAIP). */
|
|
3073
|
-
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
3085
|
+
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')[];
|
|
3074
3086
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
3075
|
-
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
3087
|
+
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')[];
|
|
3076
3088
|
/** @description Interval for APY data. Possible values: 1day, 7day, 30day */
|
|
3077
3089
|
apyInterval?: '1day' | '7day' | '30day';
|
|
3078
3090
|
/** @description Minimum APY of the vault to be included */
|
|
@@ -3136,7 +3148,7 @@ interface paths {
|
|
|
3136
3148
|
* @description Name of the network
|
|
3137
3149
|
* @enum {string}
|
|
3138
3150
|
*/
|
|
3139
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
3151
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
3140
3152
|
/** @description Chain ID of the network */
|
|
3141
3153
|
chainId: number;
|
|
3142
3154
|
/** @description CAIP-2 of the network */
|
|
@@ -3351,9 +3363,9 @@ interface paths {
|
|
|
3351
3363
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
3352
3364
|
allowVaultsWithWarnings?: boolean;
|
|
3353
3365
|
/** @description Networks to be included (name or CAIP). */
|
|
3354
|
-
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
3366
|
+
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')[];
|
|
3355
3367
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
3356
|
-
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
3368
|
+
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')[];
|
|
3357
3369
|
/** @description Maximum TVL in USD of the vaults to be included */
|
|
3358
3370
|
maxTvl?: number;
|
|
3359
3371
|
/** @description Maximum APY (in decimal) of the vaults to be included */
|
|
@@ -3398,7 +3410,7 @@ interface paths {
|
|
|
3398
3410
|
* @description Name of the network
|
|
3399
3411
|
* @enum {string}
|
|
3400
3412
|
*/
|
|
3401
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
3413
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
3402
3414
|
/** @description Chain ID of the network */
|
|
3403
3415
|
chainId: number;
|
|
3404
3416
|
/** @description CAIP-2 of the network */
|
|
@@ -3772,7 +3784,7 @@ interface paths {
|
|
|
3772
3784
|
/** @description User address to be used for best vault calculation */
|
|
3773
3785
|
userAddress: string;
|
|
3774
3786
|
/** @description Include only vaults with provided network(name or CAIP) */
|
|
3775
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
3787
|
+
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';
|
|
3776
3788
|
/** @description Address of the vault for which the data will be returned */
|
|
3777
3789
|
vaultAddress: string;
|
|
3778
3790
|
};
|
|
@@ -3795,7 +3807,7 @@ interface paths {
|
|
|
3795
3807
|
* @description Name of the network
|
|
3796
3808
|
* @enum {string}
|
|
3797
3809
|
*/
|
|
3798
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
3810
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
3799
3811
|
/** @description Chain ID of the network */
|
|
3800
3812
|
chainId: number;
|
|
3801
3813
|
/** @description CAIP-2 of the network */
|
|
@@ -4174,9 +4186,9 @@ interface paths {
|
|
|
4174
4186
|
/** @description Whether to include vaults with warnings. Defaults to true. */
|
|
4175
4187
|
allowVaultsWithWarnings?: boolean;
|
|
4176
4188
|
/** @description Networks to be included (name or CAIP). */
|
|
4177
|
-
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
4189
|
+
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')[];
|
|
4178
4190
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
4179
|
-
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
4191
|
+
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')[];
|
|
4180
4192
|
/** @description Interval for APY data. Possible values: 1day, 7day, 30day */
|
|
4181
4193
|
apyInterval?: '1day' | '7day' | '30day';
|
|
4182
4194
|
/** @description Minimum APY of the vault to be included */
|
|
@@ -4245,7 +4257,7 @@ interface paths {
|
|
|
4245
4257
|
* @description Name of the network
|
|
4246
4258
|
* @enum {string}
|
|
4247
4259
|
*/
|
|
4248
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
4260
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
4249
4261
|
/** @description Chain ID of the network */
|
|
4250
4262
|
chainId: number;
|
|
4251
4263
|
/** @description CAIP-2 of the network */
|
|
@@ -4453,9 +4465,9 @@ interface paths {
|
|
|
4453
4465
|
/** @description Sort order, either asc or desc. Ascending is default. */
|
|
4454
4466
|
sortDirection?: 'asc' | 'desc';
|
|
4455
4467
|
/** @description Networks to be included (name or CAIP). */
|
|
4456
|
-
allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
4468
|
+
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')[];
|
|
4457
4469
|
/** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
|
|
4458
|
-
disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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')[];
|
|
4470
|
+
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')[];
|
|
4459
4471
|
};
|
|
4460
4472
|
header?: never;
|
|
4461
4473
|
path: {
|
|
@@ -4503,7 +4515,7 @@ interface paths {
|
|
|
4503
4515
|
* @description Name of the network
|
|
4504
4516
|
* @enum {string}
|
|
4505
4517
|
*/
|
|
4506
|
-
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
4518
|
+
name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
4507
4519
|
/** @description Chain ID of the network */
|
|
4508
4520
|
chainId: number;
|
|
4509
4521
|
/** @description CAIP-2 of the network */
|
|
@@ -4660,7 +4672,7 @@ interface paths {
|
|
|
4660
4672
|
/** @description User address to get returns for */
|
|
4661
4673
|
userAddress: string;
|
|
4662
4674
|
/** @description Network to get returns for */
|
|
4663
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
4675
|
+
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';
|
|
4664
4676
|
/** @description Vault address to get returns for */
|
|
4665
4677
|
vaultAddress: string;
|
|
4666
4678
|
};
|
|
@@ -4842,7 +4854,7 @@ interface paths {
|
|
|
4842
4854
|
/** @description User address to get returns for */
|
|
4843
4855
|
userAddress: string;
|
|
4844
4856
|
/** @description Network to get returns for */
|
|
4845
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
4857
|
+
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';
|
|
4846
4858
|
/** @description Vault address to get returns for */
|
|
4847
4859
|
vaultAddress: string;
|
|
4848
4860
|
};
|
|
@@ -5062,7 +5074,7 @@ interface paths {
|
|
|
5062
5074
|
/** @description User address */
|
|
5063
5075
|
userAddress: string;
|
|
5064
5076
|
/** @description Network name or CAIP-2 identifier */
|
|
5065
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
5077
|
+
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';
|
|
5066
5078
|
/** @description Vault address */
|
|
5067
5079
|
vaultAddress: string;
|
|
5068
5080
|
};
|
|
@@ -5305,7 +5317,7 @@ interface paths {
|
|
|
5305
5317
|
* @description Network of the reward
|
|
5306
5318
|
* @enum {string}
|
|
5307
5319
|
*/
|
|
5308
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea';
|
|
5320
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad';
|
|
5309
5321
|
};
|
|
5310
5322
|
}[];
|
|
5311
5323
|
/**
|
|
@@ -5478,7 +5490,7 @@ interface paths {
|
|
|
5478
5490
|
/** @description User address to get returns for */
|
|
5479
5491
|
userAddress: string;
|
|
5480
5492
|
/** @description Network to get returns for */
|
|
5481
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
5493
|
+
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';
|
|
5482
5494
|
/** @description Vault address to get returns for */
|
|
5483
5495
|
vaultAddress: string;
|
|
5484
5496
|
};
|
|
@@ -6566,6 +6578,104 @@ interface paths {
|
|
|
6566
6578
|
/** @description URL to claim this specific reward */
|
|
6567
6579
|
actionUrl: string;
|
|
6568
6580
|
}[];
|
|
6581
|
+
'mega-eth': {
|
|
6582
|
+
/** @description Unique identifier for the reward */
|
|
6583
|
+
claimId: string;
|
|
6584
|
+
/** @description Reward asset details */
|
|
6585
|
+
asset: {
|
|
6586
|
+
/** @description Address of the asset */
|
|
6587
|
+
address: string;
|
|
6588
|
+
/** @description CAIP-2 of the asset */
|
|
6589
|
+
assetCaip: string;
|
|
6590
|
+
/** @description Name of the asset */
|
|
6591
|
+
name: string;
|
|
6592
|
+
/** @description Symbol of the asset */
|
|
6593
|
+
symbol: string;
|
|
6594
|
+
/** @description Number of decimals of the asset */
|
|
6595
|
+
decimals: number;
|
|
6596
|
+
/**
|
|
6597
|
+
* Format: uri
|
|
6598
|
+
* @description URL of the asset logo
|
|
6599
|
+
*/
|
|
6600
|
+
assetLogo?: string;
|
|
6601
|
+
/** @description Price of the asset in USD */
|
|
6602
|
+
assetPriceInUsd?: string;
|
|
6603
|
+
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
6604
|
+
assetGroup: string;
|
|
6605
|
+
/** @description Amount of the asset that can be claimed */
|
|
6606
|
+
claimableAmount: string;
|
|
6607
|
+
/** @description Amount of the asset that can be claimed in USD */
|
|
6608
|
+
claimableAmountInUsd?: string;
|
|
6609
|
+
};
|
|
6610
|
+
/** @description Sources of the reward */
|
|
6611
|
+
sources: {
|
|
6612
|
+
protocol: {
|
|
6613
|
+
/** @description Name of the protocol */
|
|
6614
|
+
name: string;
|
|
6615
|
+
/** @description Product of the protocol */
|
|
6616
|
+
product?: string;
|
|
6617
|
+
/** @description Version of the protocol */
|
|
6618
|
+
version?: string;
|
|
6619
|
+
/** @description URL of the protocol */
|
|
6620
|
+
protocolUrl?: string;
|
|
6621
|
+
/** @description URL of the protocol logo */
|
|
6622
|
+
protocolLogo?: string;
|
|
6623
|
+
/** @description Description of the protocol */
|
|
6624
|
+
description?: string;
|
|
6625
|
+
};
|
|
6626
|
+
}[];
|
|
6627
|
+
/** @description URL to claim this specific reward */
|
|
6628
|
+
actionUrl: string;
|
|
6629
|
+
}[];
|
|
6630
|
+
monad: {
|
|
6631
|
+
/** @description Unique identifier for the reward */
|
|
6632
|
+
claimId: string;
|
|
6633
|
+
/** @description Reward asset details */
|
|
6634
|
+
asset: {
|
|
6635
|
+
/** @description Address of the asset */
|
|
6636
|
+
address: string;
|
|
6637
|
+
/** @description CAIP-2 of the asset */
|
|
6638
|
+
assetCaip: string;
|
|
6639
|
+
/** @description Name of the asset */
|
|
6640
|
+
name: string;
|
|
6641
|
+
/** @description Symbol of the asset */
|
|
6642
|
+
symbol: string;
|
|
6643
|
+
/** @description Number of decimals of the asset */
|
|
6644
|
+
decimals: number;
|
|
6645
|
+
/**
|
|
6646
|
+
* Format: uri
|
|
6647
|
+
* @description URL of the asset logo
|
|
6648
|
+
*/
|
|
6649
|
+
assetLogo?: string;
|
|
6650
|
+
/** @description Price of the asset in USD */
|
|
6651
|
+
assetPriceInUsd?: string;
|
|
6652
|
+
/** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
|
|
6653
|
+
assetGroup: string;
|
|
6654
|
+
/** @description Amount of the asset that can be claimed */
|
|
6655
|
+
claimableAmount: string;
|
|
6656
|
+
/** @description Amount of the asset that can be claimed in USD */
|
|
6657
|
+
claimableAmountInUsd?: string;
|
|
6658
|
+
};
|
|
6659
|
+
/** @description Sources of the reward */
|
|
6660
|
+
sources: {
|
|
6661
|
+
protocol: {
|
|
6662
|
+
/** @description Name of the protocol */
|
|
6663
|
+
name: string;
|
|
6664
|
+
/** @description Product of the protocol */
|
|
6665
|
+
product?: string;
|
|
6666
|
+
/** @description Version of the protocol */
|
|
6667
|
+
version?: string;
|
|
6668
|
+
/** @description URL of the protocol */
|
|
6669
|
+
protocolUrl?: string;
|
|
6670
|
+
/** @description URL of the protocol logo */
|
|
6671
|
+
protocolLogo?: string;
|
|
6672
|
+
/** @description Description of the protocol */
|
|
6673
|
+
description?: string;
|
|
6674
|
+
};
|
|
6675
|
+
}[];
|
|
6676
|
+
/** @description URL to claim this specific reward */
|
|
6677
|
+
actionUrl: string;
|
|
6678
|
+
}[];
|
|
6569
6679
|
};
|
|
6570
6680
|
/** @description URL for claiming all rewards */
|
|
6571
6681
|
actionUrl: string;
|
|
@@ -7343,6 +7453,74 @@ interface paths {
|
|
|
7343
7453
|
};
|
|
7344
7454
|
}[];
|
|
7345
7455
|
};
|
|
7456
|
+
'mega-eth': {
|
|
7457
|
+
currentActionIndex: number;
|
|
7458
|
+
actions: {
|
|
7459
|
+
/** @description Name of the action */
|
|
7460
|
+
name: string;
|
|
7461
|
+
tx: {
|
|
7462
|
+
/** @description Address of the transaction recipient */
|
|
7463
|
+
to: string;
|
|
7464
|
+
/** @description Chain ID of the transaction */
|
|
7465
|
+
chainId: number;
|
|
7466
|
+
/** @description Data to be sent with the transaction */
|
|
7467
|
+
data?: string;
|
|
7468
|
+
/** @description Value to be sent with the transaction */
|
|
7469
|
+
value?: string;
|
|
7470
|
+
};
|
|
7471
|
+
simulation?: {
|
|
7472
|
+
/** @description URL to simulated transaction */
|
|
7473
|
+
url: string;
|
|
7474
|
+
/**
|
|
7475
|
+
* @description Status of the simulation
|
|
7476
|
+
* @enum {string}
|
|
7477
|
+
*/
|
|
7478
|
+
status: 'success' | 'failure' | 'internal server error';
|
|
7479
|
+
/** @description Tokens received from the transaction */
|
|
7480
|
+
tokensReceived?: {
|
|
7481
|
+
[key: string]: string;
|
|
7482
|
+
};
|
|
7483
|
+
/** @description Tokens spent in the transaction */
|
|
7484
|
+
tokensSpent?: {
|
|
7485
|
+
[key: string]: string;
|
|
7486
|
+
};
|
|
7487
|
+
};
|
|
7488
|
+
}[];
|
|
7489
|
+
};
|
|
7490
|
+
monad: {
|
|
7491
|
+
currentActionIndex: number;
|
|
7492
|
+
actions: {
|
|
7493
|
+
/** @description Name of the action */
|
|
7494
|
+
name: string;
|
|
7495
|
+
tx: {
|
|
7496
|
+
/** @description Address of the transaction recipient */
|
|
7497
|
+
to: string;
|
|
7498
|
+
/** @description Chain ID of the transaction */
|
|
7499
|
+
chainId: number;
|
|
7500
|
+
/** @description Data to be sent with the transaction */
|
|
7501
|
+
data?: string;
|
|
7502
|
+
/** @description Value to be sent with the transaction */
|
|
7503
|
+
value?: string;
|
|
7504
|
+
};
|
|
7505
|
+
simulation?: {
|
|
7506
|
+
/** @description URL to simulated transaction */
|
|
7507
|
+
url: string;
|
|
7508
|
+
/**
|
|
7509
|
+
* @description Status of the simulation
|
|
7510
|
+
* @enum {string}
|
|
7511
|
+
*/
|
|
7512
|
+
status: 'success' | 'failure' | 'internal server error';
|
|
7513
|
+
/** @description Tokens received from the transaction */
|
|
7514
|
+
tokensReceived?: {
|
|
7515
|
+
[key: string]: string;
|
|
7516
|
+
};
|
|
7517
|
+
/** @description Tokens spent in the transaction */
|
|
7518
|
+
tokensSpent?: {
|
|
7519
|
+
[key: string]: string;
|
|
7520
|
+
};
|
|
7521
|
+
};
|
|
7522
|
+
}[];
|
|
7523
|
+
};
|
|
7346
7524
|
};
|
|
7347
7525
|
};
|
|
7348
7526
|
};
|
|
@@ -7490,7 +7668,7 @@ interface paths {
|
|
|
7490
7668
|
header?: never;
|
|
7491
7669
|
path: {
|
|
7492
7670
|
/** @description Network name or CAIP-2 identifier */
|
|
7493
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
7671
|
+
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';
|
|
7494
7672
|
};
|
|
7495
7673
|
cookie?: never;
|
|
7496
7674
|
};
|
|
@@ -7690,7 +7868,7 @@ interface paths {
|
|
|
7690
7868
|
header?: never;
|
|
7691
7869
|
path: {
|
|
7692
7870
|
/** @description Network name or CAIP-2 identifier */
|
|
7693
|
-
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | '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';
|
|
7871
|
+
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';
|
|
7694
7872
|
};
|
|
7695
7873
|
cookie?: never;
|
|
7696
7874
|
};
|
|
@@ -7873,7 +8051,7 @@ interface paths {
|
|
|
7873
8051
|
};
|
|
7874
8052
|
}
|
|
7875
8053
|
|
|
7876
|
-
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "optimism", "arbitrum", "polygon", "gnosis", "base", "unichain", "swellchain", "celo", "worldchain", "berachain", "ink", "bsc", "hyperliquid", "plasma", "avalanche"];
|
|
8054
|
+
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "optimism", "arbitrum", "polygon", "gnosis", "base", "unichain", "swellchain", "celo", "worldchain", "berachain", "ink", "bsc", "hyperliquid", "plasma", "avalanche", "mega-eth", "monad"];
|
|
7877
8055
|
type ConstructorOptions = {
|
|
7878
8056
|
apiKey: string;
|
|
7879
8057
|
} | {
|
|
@@ -7927,7 +8105,7 @@ declare class VaultsSdk {
|
|
|
7927
8105
|
assetPriceInUsd?: string;
|
|
7928
8106
|
assetGroup: string;
|
|
7929
8107
|
network: {
|
|
7930
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8108
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
7931
8109
|
chainId: number;
|
|
7932
8110
|
networkCaip: string;
|
|
7933
8111
|
};
|
|
@@ -8033,7 +8211,7 @@ declare class VaultsSdk {
|
|
|
8033
8211
|
data: {
|
|
8034
8212
|
address: string;
|
|
8035
8213
|
network: {
|
|
8036
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8214
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8037
8215
|
chainId: number;
|
|
8038
8216
|
networkCaip: string;
|
|
8039
8217
|
};
|
|
@@ -8152,7 +8330,7 @@ declare class VaultsSdk {
|
|
|
8152
8330
|
getPosition(params: Params<'/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
8153
8331
|
address: string;
|
|
8154
8332
|
network: {
|
|
8155
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8333
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8156
8334
|
chainId: number;
|
|
8157
8335
|
networkCaip: string;
|
|
8158
8336
|
};
|
|
@@ -8281,7 +8459,7 @@ declare class VaultsSdk {
|
|
|
8281
8459
|
name: string;
|
|
8282
8460
|
address: string;
|
|
8283
8461
|
network: {
|
|
8284
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8462
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8285
8463
|
chainId: number;
|
|
8286
8464
|
networkCaip: string;
|
|
8287
8465
|
};
|
|
@@ -8322,7 +8500,7 @@ declare class VaultsSdk {
|
|
|
8322
8500
|
data: {
|
|
8323
8501
|
address: string;
|
|
8324
8502
|
network: {
|
|
8325
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8503
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8326
8504
|
chainId: number;
|
|
8327
8505
|
networkCaip: string;
|
|
8328
8506
|
};
|
|
@@ -8425,6 +8603,9 @@ declare class VaultsSdk {
|
|
|
8425
8603
|
symbol: string;
|
|
8426
8604
|
decimals: number;
|
|
8427
8605
|
};
|
|
8606
|
+
remainingCapacity?: string;
|
|
8607
|
+
maxCapacity?: string;
|
|
8608
|
+
isCorrupted: boolean;
|
|
8428
8609
|
childrenVaults?: {
|
|
8429
8610
|
address: string;
|
|
8430
8611
|
asset: {
|
|
@@ -8481,7 +8662,7 @@ declare class VaultsSdk {
|
|
|
8481
8662
|
getVault(params: Params<'/v2/detailed-vaults/{network}/{vaultAddress}'>): Promise<{
|
|
8482
8663
|
address: string;
|
|
8483
8664
|
network: {
|
|
8484
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8665
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8485
8666
|
chainId: number;
|
|
8486
8667
|
networkCaip: string;
|
|
8487
8668
|
};
|
|
@@ -8584,6 +8765,9 @@ declare class VaultsSdk {
|
|
|
8584
8765
|
symbol: string;
|
|
8585
8766
|
decimals: number;
|
|
8586
8767
|
};
|
|
8768
|
+
remainingCapacity?: string;
|
|
8769
|
+
maxCapacity?: string;
|
|
8770
|
+
isCorrupted: boolean;
|
|
8587
8771
|
childrenVaults?: {
|
|
8588
8772
|
address: string;
|
|
8589
8773
|
asset: {
|
|
@@ -8644,7 +8828,7 @@ declare class VaultsSdk {
|
|
|
8644
8828
|
balanceNative: string;
|
|
8645
8829
|
balanceUsd: string;
|
|
8646
8830
|
network: {
|
|
8647
|
-
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8831
|
+
name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8648
8832
|
chainId: number;
|
|
8649
8833
|
networkCaip: string;
|
|
8650
8834
|
};
|
|
@@ -8765,7 +8949,7 @@ declare class VaultsSdk {
|
|
|
8765
8949
|
assetLogo?: string;
|
|
8766
8950
|
assetPriceInUsd?: string;
|
|
8767
8951
|
assetGroup: string;
|
|
8768
|
-
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea";
|
|
8952
|
+
network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
|
|
8769
8953
|
};
|
|
8770
8954
|
}[];
|
|
8771
8955
|
currentStep: "deposit" | "redeem" | "request-redeem" | "request-deposit" | "claim-redeem" | "claim-deposit" | "claim-rewards" | "start-redeem-cooldown";
|
|
@@ -9268,6 +9452,58 @@ declare class VaultsSdk {
|
|
|
9268
9452
|
}[];
|
|
9269
9453
|
actionUrl: string;
|
|
9270
9454
|
}[];
|
|
9455
|
+
"mega-eth": {
|
|
9456
|
+
claimId: string;
|
|
9457
|
+
asset: {
|
|
9458
|
+
address: string;
|
|
9459
|
+
assetCaip: string;
|
|
9460
|
+
name: string;
|
|
9461
|
+
symbol: string;
|
|
9462
|
+
decimals: number;
|
|
9463
|
+
assetLogo?: string;
|
|
9464
|
+
assetPriceInUsd?: string;
|
|
9465
|
+
assetGroup: string;
|
|
9466
|
+
claimableAmount: string;
|
|
9467
|
+
claimableAmountInUsd?: string;
|
|
9468
|
+
};
|
|
9469
|
+
sources: {
|
|
9470
|
+
protocol: {
|
|
9471
|
+
name: string;
|
|
9472
|
+
product?: string;
|
|
9473
|
+
version?: string;
|
|
9474
|
+
protocolUrl?: string;
|
|
9475
|
+
protocolLogo?: string;
|
|
9476
|
+
description?: string;
|
|
9477
|
+
};
|
|
9478
|
+
}[];
|
|
9479
|
+
actionUrl: string;
|
|
9480
|
+
}[];
|
|
9481
|
+
monad: {
|
|
9482
|
+
claimId: string;
|
|
9483
|
+
asset: {
|
|
9484
|
+
address: string;
|
|
9485
|
+
assetCaip: string;
|
|
9486
|
+
name: string;
|
|
9487
|
+
symbol: string;
|
|
9488
|
+
decimals: number;
|
|
9489
|
+
assetLogo?: string;
|
|
9490
|
+
assetPriceInUsd?: string;
|
|
9491
|
+
assetGroup: string;
|
|
9492
|
+
claimableAmount: string;
|
|
9493
|
+
claimableAmountInUsd?: string;
|
|
9494
|
+
};
|
|
9495
|
+
sources: {
|
|
9496
|
+
protocol: {
|
|
9497
|
+
name: string;
|
|
9498
|
+
product?: string;
|
|
9499
|
+
version?: string;
|
|
9500
|
+
protocolUrl?: string;
|
|
9501
|
+
protocolLogo?: string;
|
|
9502
|
+
description?: string;
|
|
9503
|
+
};
|
|
9504
|
+
}[];
|
|
9505
|
+
actionUrl: string;
|
|
9506
|
+
}[];
|
|
9271
9507
|
};
|
|
9272
9508
|
actionUrl: string;
|
|
9273
9509
|
}>;
|
|
@@ -9668,6 +9904,50 @@ declare class VaultsSdk {
|
|
|
9668
9904
|
};
|
|
9669
9905
|
}[];
|
|
9670
9906
|
};
|
|
9907
|
+
'mega-eth': {
|
|
9908
|
+
currentActionIndex: number;
|
|
9909
|
+
actions: {
|
|
9910
|
+
name: string;
|
|
9911
|
+
tx: {
|
|
9912
|
+
to: string;
|
|
9913
|
+
chainId: number;
|
|
9914
|
+
data?: string;
|
|
9915
|
+
value?: string;
|
|
9916
|
+
};
|
|
9917
|
+
simulation?: {
|
|
9918
|
+
url: string;
|
|
9919
|
+
status: "success" | "failure" | "internal server error";
|
|
9920
|
+
tokensReceived?: {
|
|
9921
|
+
[key: string]: string;
|
|
9922
|
+
};
|
|
9923
|
+
tokensSpent?: {
|
|
9924
|
+
[key: string]: string;
|
|
9925
|
+
};
|
|
9926
|
+
};
|
|
9927
|
+
}[];
|
|
9928
|
+
};
|
|
9929
|
+
monad: {
|
|
9930
|
+
currentActionIndex: number;
|
|
9931
|
+
actions: {
|
|
9932
|
+
name: string;
|
|
9933
|
+
tx: {
|
|
9934
|
+
to: string;
|
|
9935
|
+
chainId: number;
|
|
9936
|
+
data?: string;
|
|
9937
|
+
value?: string;
|
|
9938
|
+
};
|
|
9939
|
+
simulation?: {
|
|
9940
|
+
url: string;
|
|
9941
|
+
status: "success" | "failure" | "internal server error";
|
|
9942
|
+
tokensReceived?: {
|
|
9943
|
+
[key: string]: string;
|
|
9944
|
+
};
|
|
9945
|
+
tokensSpent?: {
|
|
9946
|
+
[key: string]: string;
|
|
9947
|
+
};
|
|
9948
|
+
};
|
|
9949
|
+
}[];
|
|
9950
|
+
};
|
|
9671
9951
|
}>;
|
|
9672
9952
|
getUserVaultEvents(params: Params<'/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}'>): Promise<{
|
|
9673
9953
|
asset: {
|