@berachain/graphql 0.2.5 → 0.3.0

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.
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -102,7 +102,7 @@ type AdapterCap = Cap & {
102
102
  * Relative cap (wad)
103
103
  * @deprecated Schema is subject to change, not yet stable
104
104
  */
105
- relativeCap: Scalars['BigInt']['output'];
105
+ relativeCap: OnchainAmount;
106
106
  };
107
107
  /** Aera vault */
108
108
  type AeraVault = {
@@ -209,6 +209,50 @@ declare enum ApyTimeframe {
209
209
  SevenDays = "seven_days",
210
210
  ThirtyDays = "thirty_days"
211
211
  }
212
+ type BoxVault = Erc4626Vault & {
213
+ __typename?: 'BoxVault';
214
+ /** @deprecated Schema is subject to change, not yet stable */
215
+ allocations: Array<TokenHolding>;
216
+ /** APY earned when supplying to the vault */
217
+ apy: Apy;
218
+ /** Underlying asset of the vault */
219
+ asset: Token;
220
+ /** Chain the vault is deployed on */
221
+ chain: Chain;
222
+ /** Decimals of the vault's shares */
223
+ decimals: Scalars['Int']['output'];
224
+ /** Name of the vault */
225
+ name: Scalars['String']['output'];
226
+ /** Symbol of the vault */
227
+ symbol: Scalars['String']['output'];
228
+ /** Total amount of the underlying assets supplied to the vault */
229
+ totalAssets: TokenAmount;
230
+ /** Address of the vault contract */
231
+ vaultAddress: Scalars['Address']['output'];
232
+ };
233
+ type BoxVaultApyArgs = {
234
+ timeframe: ApyTimeframe;
235
+ };
236
+ type BoxVaultAdapter = Adapter & {
237
+ __typename?: 'BoxVaultAdapter';
238
+ /**
239
+ * Address of the adapter
240
+ * @deprecated Schema is subject to change, not yet stable
241
+ */
242
+ adapterAddress: Scalars['Address']['output'];
243
+ /**
244
+ * Cap for the adapter
245
+ * @deprecated Schema is subject to change, not yet stable
246
+ */
247
+ adapterCap: Maybe<AdapterCap>;
248
+ /**
249
+ * Is the adapter enabled
250
+ * @deprecated Schema is subject to change, not yet stable
251
+ */
252
+ isEnabled: Scalars['Boolean']['output'];
253
+ /** @deprecated Schema is subject to change, not yet stable */
254
+ vault: Maybe<BoxVault>;
255
+ };
212
256
  /** V2: Caps for a Morpho vault adapter id */
213
257
  type Cap = {
214
258
  /**
@@ -230,7 +274,7 @@ type Cap = {
230
274
  * Relative cap (wad)
231
275
  * @deprecated Schema is subject to change, not yet stable
232
276
  */
233
- relativeCap: Scalars['BigInt']['output'];
277
+ relativeCap: OnchainAmount;
234
278
  };
235
279
  /** A blockchain */
236
280
  type Chain = {
@@ -277,7 +321,7 @@ type CollateralExposureCap = Cap & {
277
321
  * Relative cap (wad)
278
322
  * @deprecated Schema is subject to change, not yet stable
279
323
  */
280
- relativeCap: Scalars['BigInt']['output'];
324
+ relativeCap: OnchainAmount;
281
325
  };
282
326
  /** Curator of a Morpho vault */
283
327
  type Curator = {
@@ -331,6 +375,7 @@ type Erc4626VaultPage = {
331
375
  totalCount: Scalars['Int']['output'];
332
376
  };
333
377
  declare enum Erc4626VaultProtocol {
378
+ Box = "box",
334
379
  Generic = "generic",
335
380
  MorphoV1 = "morpho_v1",
336
381
  MorphoV2 = "morpho_v2"
@@ -443,7 +488,7 @@ type MarketV1ExposureCap = Cap & {
443
488
  * Relative cap (wad)
444
489
  * @deprecated Schema is subject to change, not yet stable
445
490
  */
446
- relativeCap: Scalars['BigInt']['output'];
491
+ relativeCap: OnchainAmount;
447
492
  };
448
493
  /** A reward earned by an account */
449
494
  type MerklAccountReward = {
@@ -548,6 +593,8 @@ type MorphoMarket = {
548
593
  supplyApy30d: Apy;
549
594
  /** Total amount of loan assets borrowed from the market */
550
595
  totalBorrowed: TokenAmount;
596
+ /** Total amount of collateral supplied to the market, null for idle markets, and when historical data is not supported for this chain */
597
+ totalCollateral: Maybe<TokenAmount>;
551
598
  /** Total amount of loan assets supplied to the market */
552
599
  totalSupplied: TokenAmount;
553
600
  /** Utilization of the market */
@@ -884,6 +931,8 @@ type MorphoVaultV2 = Erc4626Vault & {
884
931
  * @deprecated Schema is subject to change, not yet stable
885
932
  */
886
933
  decimals: Scalars['Int']['output'];
934
+ /** Historical data for the vault, will be null if historical data is not supported for this chain */
935
+ historical: Maybe<MorphoVaultHistorical>;
887
936
  /**
888
937
  * Liquidity adapter address
889
938
  * @deprecated Schema is subject to change, not yet stable
@@ -1219,7 +1268,7 @@ type UnknownCap = Cap & {
1219
1268
  * Relative cap (wad)
1220
1269
  * @deprecated Schema is subject to change, not yet stable
1221
1270
  */
1222
- relativeCap: Scalars['BigInt']['output'];
1271
+ relativeCap: OnchainAmount;
1223
1272
  };
1224
1273
  /** Input for vaults */
1225
1274
  type VaultInput = {
@@ -1282,6 +1331,7 @@ type TokenInfoFragmentFragment = {
1282
1331
  decimals: number;
1283
1332
  icon: string | null;
1284
1333
  category: TokenCategory | null;
1334
+ name: string;
1285
1335
  };
1286
1336
  type ChainInfoFragmentFragment = {
1287
1337
  __typename?: 'Chain';
@@ -1310,6 +1360,7 @@ type ApyFragmentFragment = {
1310
1360
  decimals: number;
1311
1361
  icon: string | null;
1312
1362
  category: TokenCategory | null;
1363
+ name: string;
1313
1364
  };
1314
1365
  }>;
1315
1366
  };
@@ -1331,6 +1382,7 @@ type VaultSummaryFragmentFragment = {
1331
1382
  decimals: number;
1332
1383
  icon: string | null;
1333
1384
  category: TokenCategory | null;
1385
+ name: string;
1334
1386
  };
1335
1387
  metadata: {
1336
1388
  __typename?: 'MorphoVaultMetadata';
@@ -1368,6 +1420,7 @@ type VaultSummaryFragmentFragment = {
1368
1420
  decimals: number;
1369
1421
  icon: string | null;
1370
1422
  category: TokenCategory | null;
1423
+ name: string;
1371
1424
  };
1372
1425
  }>;
1373
1426
  };
@@ -1386,6 +1439,7 @@ type VaultSummaryFragmentFragment = {
1386
1439
  decimals: number;
1387
1440
  icon: string | null;
1388
1441
  category: TokenCategory | null;
1442
+ name: string;
1389
1443
  };
1390
1444
  }>;
1391
1445
  };
@@ -1404,6 +1458,7 @@ type VaultSummaryFragmentFragment = {
1404
1458
  decimals: number;
1405
1459
  icon: string | null;
1406
1460
  category: TokenCategory | null;
1461
+ name: string;
1407
1462
  };
1408
1463
  }>;
1409
1464
  };
@@ -1420,6 +1475,7 @@ type VaultSummaryFragmentFragment = {
1420
1475
  decimals: number;
1421
1476
  icon: string | null;
1422
1477
  category: TokenCategory | null;
1478
+ name: string;
1423
1479
  } | null;
1424
1480
  supplyApy: {
1425
1481
  __typename?: 'Apy';
@@ -1436,6 +1492,7 @@ type VaultSummaryFragmentFragment = {
1436
1492
  decimals: number;
1437
1493
  icon: string | null;
1438
1494
  category: TokenCategory | null;
1495
+ name: string;
1439
1496
  };
1440
1497
  }>;
1441
1498
  };
@@ -1493,6 +1550,7 @@ type MarketSummaryFragmentFragment = {
1493
1550
  decimals: number;
1494
1551
  icon: string | null;
1495
1552
  category: TokenCategory | null;
1553
+ name: string;
1496
1554
  } | null;
1497
1555
  loanAsset: {
1498
1556
  __typename?: 'Token';
@@ -1501,6 +1559,7 @@ type MarketSummaryFragmentFragment = {
1501
1559
  decimals: number;
1502
1560
  icon: string | null;
1503
1561
  category: TokenCategory | null;
1562
+ name: string;
1504
1563
  };
1505
1564
  lltv: {
1506
1565
  __typename?: 'OnchainAmount';
@@ -1522,6 +1581,7 @@ type MarketSummaryFragmentFragment = {
1522
1581
  decimals: number;
1523
1582
  icon: string | null;
1524
1583
  category: TokenCategory | null;
1584
+ name: string;
1525
1585
  };
1526
1586
  }>;
1527
1587
  };
@@ -1540,6 +1600,7 @@ type MarketSummaryFragmentFragment = {
1540
1600
  decimals: number;
1541
1601
  icon: string | null;
1542
1602
  category: TokenCategory | null;
1603
+ name: string;
1543
1604
  };
1544
1605
  }>;
1545
1606
  };
@@ -1558,6 +1619,7 @@ type MarketSummaryFragmentFragment = {
1558
1619
  decimals: number;
1559
1620
  icon: string | null;
1560
1621
  category: TokenCategory | null;
1622
+ name: string;
1561
1623
  };
1562
1624
  }>;
1563
1625
  };
@@ -1610,6 +1672,7 @@ type VaultSummariesQuery = {
1610
1672
  decimals: number;
1611
1673
  icon: string | null;
1612
1674
  category: TokenCategory | null;
1675
+ name: string;
1613
1676
  };
1614
1677
  metadata: {
1615
1678
  __typename?: 'MorphoVaultMetadata';
@@ -1647,6 +1710,7 @@ type VaultSummariesQuery = {
1647
1710
  decimals: number;
1648
1711
  icon: string | null;
1649
1712
  category: TokenCategory | null;
1713
+ name: string;
1650
1714
  };
1651
1715
  }>;
1652
1716
  };
@@ -1665,6 +1729,7 @@ type VaultSummariesQuery = {
1665
1729
  decimals: number;
1666
1730
  icon: string | null;
1667
1731
  category: TokenCategory | null;
1732
+ name: string;
1668
1733
  };
1669
1734
  }>;
1670
1735
  };
@@ -1683,6 +1748,7 @@ type VaultSummariesQuery = {
1683
1748
  decimals: number;
1684
1749
  icon: string | null;
1685
1750
  category: TokenCategory | null;
1751
+ name: string;
1686
1752
  };
1687
1753
  }>;
1688
1754
  };
@@ -1699,6 +1765,7 @@ type VaultSummariesQuery = {
1699
1765
  decimals: number;
1700
1766
  icon: string | null;
1701
1767
  category: TokenCategory | null;
1768
+ name: string;
1702
1769
  } | null;
1703
1770
  supplyApy: {
1704
1771
  __typename?: 'Apy';
@@ -1715,6 +1782,7 @@ type VaultSummariesQuery = {
1715
1782
  decimals: number;
1716
1783
  icon: string | null;
1717
1784
  category: TokenCategory | null;
1785
+ name: string;
1718
1786
  };
1719
1787
  }>;
1720
1788
  };
@@ -1786,6 +1854,7 @@ type MarketSummariesQuery = {
1786
1854
  decimals: number;
1787
1855
  icon: string | null;
1788
1856
  category: TokenCategory | null;
1857
+ name: string;
1789
1858
  } | null;
1790
1859
  loanAsset: {
1791
1860
  __typename?: 'Token';
@@ -1794,6 +1863,7 @@ type MarketSummariesQuery = {
1794
1863
  decimals: number;
1795
1864
  icon: string | null;
1796
1865
  category: TokenCategory | null;
1866
+ name: string;
1797
1867
  };
1798
1868
  lltv: {
1799
1869
  __typename?: 'OnchainAmount';
@@ -1815,6 +1885,7 @@ type MarketSummariesQuery = {
1815
1885
  decimals: number;
1816
1886
  icon: string | null;
1817
1887
  category: TokenCategory | null;
1888
+ name: string;
1818
1889
  };
1819
1890
  }>;
1820
1891
  };
@@ -1833,6 +1904,7 @@ type MarketSummariesQuery = {
1833
1904
  decimals: number;
1834
1905
  icon: string | null;
1835
1906
  category: TokenCategory | null;
1907
+ name: string;
1836
1908
  };
1837
1909
  }>;
1838
1910
  };
@@ -1851,6 +1923,7 @@ type MarketSummariesQuery = {
1851
1923
  decimals: number;
1852
1924
  icon: string | null;
1853
1925
  category: TokenCategory | null;
1926
+ name: string;
1854
1927
  };
1855
1928
  }>;
1856
1929
  };
@@ -1907,6 +1980,7 @@ type VaultQuery = {
1907
1980
  decimals: number;
1908
1981
  icon: string | null;
1909
1982
  category: TokenCategory | null;
1983
+ name: string;
1910
1984
  };
1911
1985
  }>;
1912
1986
  };
@@ -1925,6 +1999,7 @@ type VaultQuery = {
1925
1999
  decimals: number;
1926
2000
  icon: string | null;
1927
2001
  category: TokenCategory | null;
2002
+ name: string;
1928
2003
  };
1929
2004
  }>;
1930
2005
  };
@@ -1940,6 +2015,7 @@ type VaultQuery = {
1940
2015
  decimals: number;
1941
2016
  icon: string | null;
1942
2017
  category: TokenCategory | null;
2018
+ name: string;
1943
2019
  };
1944
2020
  totalSupplied: {
1945
2021
  __typename?: 'TokenAmount';
@@ -1986,6 +2062,7 @@ type VaultQuery = {
1986
2062
  decimals: number;
1987
2063
  icon: string | null;
1988
2064
  category: TokenCategory | null;
2065
+ name: string;
1989
2066
  } | null;
1990
2067
  loanAsset: {
1991
2068
  __typename?: 'Token';
@@ -1994,6 +2071,7 @@ type VaultQuery = {
1994
2071
  decimals: number;
1995
2072
  icon: string | null;
1996
2073
  category: TokenCategory | null;
2074
+ name: string;
1997
2075
  };
1998
2076
  supplyApy: {
1999
2077
  __typename?: 'Apy';
@@ -2010,6 +2088,7 @@ type VaultQuery = {
2010
2088
  decimals: number;
2011
2089
  icon: string | null;
2012
2090
  category: TokenCategory | null;
2091
+ name: string;
2013
2092
  };
2014
2093
  }>;
2015
2094
  };
@@ -2072,6 +2151,7 @@ type VaultQuery = {
2072
2151
  decimals: number;
2073
2152
  icon: string | null;
2074
2153
  category: TokenCategory | null;
2154
+ name: string;
2075
2155
  };
2076
2156
  }>;
2077
2157
  };
@@ -2126,6 +2206,7 @@ type MarketQuery = {
2126
2206
  decimals: number;
2127
2207
  icon: string | null;
2128
2208
  category: TokenCategory | null;
2209
+ name: string;
2129
2210
  } | null;
2130
2211
  loanAsset: {
2131
2212
  __typename?: 'Token';
@@ -2135,6 +2216,7 @@ type MarketQuery = {
2135
2216
  decimals: number;
2136
2217
  icon: string | null;
2137
2218
  category: TokenCategory | null;
2219
+ name: string;
2138
2220
  };
2139
2221
  vaultAllocations: Array<{
2140
2222
  __typename?: 'MorphoVaultMarketAllocation';
@@ -2152,6 +2234,7 @@ type MarketQuery = {
2152
2234
  decimals: number;
2153
2235
  icon: string | null;
2154
2236
  category: TokenCategory | null;
2237
+ name: string;
2155
2238
  };
2156
2239
  chain: {
2157
2240
  __typename?: 'Chain';
@@ -2228,6 +2311,7 @@ type MarketQuery = {
2228
2311
  decimals: number;
2229
2312
  icon: string | null;
2230
2313
  category: TokenCategory | null;
2314
+ name: string;
2231
2315
  };
2232
2316
  }>;
2233
2317
  };
@@ -2246,6 +2330,7 @@ type MarketQuery = {
2246
2330
  decimals: number;
2247
2331
  icon: string | null;
2248
2332
  category: TokenCategory | null;
2333
+ name: string;
2249
2334
  };
2250
2335
  }>;
2251
2336
  };
@@ -2264,6 +2349,7 @@ type MarketQuery = {
2264
2349
  decimals: number;
2265
2350
  icon: string | null;
2266
2351
  category: TokenCategory | null;
2352
+ name: string;
2267
2353
  };
2268
2354
  }>;
2269
2355
  };
@@ -2714,14 +2800,14 @@ type MarketIbrHistoryDataQuery = {
2714
2800
  } | null>;
2715
2801
  };
2716
2802
  };
2717
- declare const ChainInfoFragment: graphql.DocumentNode;
2718
- declare const TokenInfoFragment: graphql.DocumentNode;
2719
- declare const CuratorInfoFragment: graphql.DocumentNode;
2720
- declare const ApyFragment: graphql.DocumentNode;
2721
- declare const VaultSummaryFragment: graphql.DocumentNode;
2722
- declare const MarketSummaryFragment: graphql.DocumentNode;
2723
- declare const VaultSummaries: graphql.DocumentNode;
2724
- declare const MarketSummaries: graphql.DocumentNode;
2803
+ declare const ChainInfoFragment: _apollo_client.DocumentNode;
2804
+ declare const TokenInfoFragment: _apollo_client.DocumentNode;
2805
+ declare const CuratorInfoFragment: _apollo_client.DocumentNode;
2806
+ declare const ApyFragment: _apollo_client.DocumentNode;
2807
+ declare const VaultSummaryFragment: _apollo_client.DocumentNode;
2808
+ declare const MarketSummaryFragment: _apollo_client.DocumentNode;
2809
+ declare const VaultSummaries: _apollo_client.DocumentNode;
2810
+ declare const MarketSummaries: _apollo_client.DocumentNode;
2725
2811
  /** Vault */
2726
2812
  type Vault = {
2727
2813
  __typename?: 'Vault';
@@ -2746,15 +2832,15 @@ type Vault = {
2746
2832
  /** Address of the vault */
2747
2833
  vaultAddress: Scalars['Address']['output'];
2748
2834
  };
2749
- declare const Vault: graphql.DocumentNode;
2750
- declare const Market: graphql.DocumentNode;
2751
- declare const VaultPositions: graphql.DocumentNode;
2752
- declare const MarketPositions: graphql.DocumentNode;
2753
- declare const SupportedMarketIds: graphql.DocumentNode;
2754
- declare const VaultHistoryData: graphql.DocumentNode;
2755
- declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
2756
- declare const MarketHistoryData: graphql.DocumentNode;
2757
- declare const MarketIbrHistoryData: graphql.DocumentNode;
2835
+ declare const Vault: _apollo_client.DocumentNode;
2836
+ declare const Market: _apollo_client.DocumentNode;
2837
+ declare const VaultPositions: _apollo_client.DocumentNode;
2838
+ declare const MarketPositions: _apollo_client.DocumentNode;
2839
+ declare const SupportedMarketIds: _apollo_client.DocumentNode;
2840
+ declare const VaultHistoryData: _apollo_client.DocumentNode;
2841
+ declare const VaultMarketAllocationHistoryData: _apollo_client.DocumentNode;
2842
+ declare const MarketHistoryData: _apollo_client.DocumentNode;
2843
+ declare const MarketIbrHistoryData: _apollo_client.DocumentNode;
2758
2844
  interface PossibleTypesResultData {
2759
2845
  possibleTypes: {
2760
2846
  [key: string]: string[];
@@ -2762,4 +2848,4 @@ interface PossibleTypesResultData {
2762
2848
  }
2763
2849
  declare const result: PossibleTypesResultData;
2764
2850
 
2765
- export { type Adapter, type AdapterCap, type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, ApyTimeframe, type Cap, type Chain, type ChainFilter, ChainInfoFragment, type ChainInfoFragmentFragment, type CollateralExposureCap, type Curator, CuratorInfoFragment, type CuratorInfoFragmentFragment, type Erc4626Vault, type Erc4626VaultApyArgs, type Erc4626VaultFilter, type Erc4626VaultKey, type Erc4626VaultPage, Erc4626VaultProtocol, type Exact, type GenericErc4626Vault, type GenericErc4626VaultApyArgs, type Identity, IdentityResolver, type IdentityResolverOutput, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, Market, MarketHistoryData, type MarketHistoryDataQuery, type MarketHistoryDataQueryVariables, MarketIbrHistoryData, type MarketIbrHistoryDataQuery, type MarketIbrHistoryDataQueryVariables, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, type MarketV1Adapter, type MarketV1ExposureCap, type Maybe, type MerklAccountReward, MerklAction, type MerklRewardInput, type MorphoIrm, type MorphoIrmCurvePoint, type MorphoMarket, type MorphoMarketFilter, type MorphoMarketHistorical, type MorphoMarketHistoricalEntry, type MorphoMarketPage, type MorphoMarketPosition, type MorphoMarketPositionFilter, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultApyArgs, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionPage, type MorphoVaultV2, type MorphoVaultV2ApyArgs, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, type QueryErc4626VaultsArgs, type QueryIdentitiesArgs, type QueryIdentityArgs, type QueryMerklAccountRewardsArgs, type QueryMorphoMarketPositionsArgs, type QueryMorphoMarketsArgs, type QueryMorphoVaultPositionsArgs, type QueryMorphoVaultsArgs, type QueryTokenHoldingsArgs, type QueryTokensArgs, type QueryVaultsArgs, type Reward, type Scalars, SupportedMarketIds, type SupportedMarketIdsQuery, type SupportedMarketIdsQueryVariables, type Token, type TokenAmount, TokenCategory, type TokenHistorical, type TokenHistoricalEntry, type TokenHolding, type TokenHoldingInput, TokenInfoFragment, type TokenInfoFragmentFragment, type TokenInput, type UnknownAdapter, type UnknownCap, Vault, VaultHistoryData, type VaultHistoryDataQuery, type VaultHistoryDataQueryVariables, type VaultInput, VaultMarketAllocationHistoryData, type VaultMarketAllocationHistoryDataQuery, type VaultMarketAllocationHistoryDataQueryVariables, VaultPositions, type VaultPositionsQuery, type VaultPositionsQueryVariables, VaultProtocol, type VaultQuery, type VaultQueryVariables, VaultSummaries, type VaultSummariesQuery, type VaultSummariesQueryVariables, VaultSummaryFragment, type VaultSummaryFragmentFragment, VaultType, type VaultV1Adapter, result as default };
2851
+ export { type Adapter, type AdapterCap, type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, ApyTimeframe, type BoxVault, type BoxVaultAdapter, type BoxVaultApyArgs, type Cap, type Chain, type ChainFilter, ChainInfoFragment, type ChainInfoFragmentFragment, type CollateralExposureCap, type Curator, CuratorInfoFragment, type CuratorInfoFragmentFragment, type Erc4626Vault, type Erc4626VaultApyArgs, type Erc4626VaultFilter, type Erc4626VaultKey, type Erc4626VaultPage, Erc4626VaultProtocol, type Exact, type GenericErc4626Vault, type GenericErc4626VaultApyArgs, type Identity, IdentityResolver, type IdentityResolverOutput, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, Market, MarketHistoryData, type MarketHistoryDataQuery, type MarketHistoryDataQueryVariables, MarketIbrHistoryData, type MarketIbrHistoryDataQuery, type MarketIbrHistoryDataQueryVariables, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, type MarketV1Adapter, type MarketV1ExposureCap, type Maybe, type MerklAccountReward, MerklAction, type MerklRewardInput, type MorphoIrm, type MorphoIrmCurvePoint, type MorphoMarket, type MorphoMarketFilter, type MorphoMarketHistorical, type MorphoMarketHistoricalEntry, type MorphoMarketPage, type MorphoMarketPosition, type MorphoMarketPositionFilter, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultApyArgs, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionPage, type MorphoVaultV2, type MorphoVaultV2ApyArgs, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, type QueryErc4626VaultsArgs, type QueryIdentitiesArgs, type QueryIdentityArgs, type QueryMerklAccountRewardsArgs, type QueryMorphoMarketPositionsArgs, type QueryMorphoMarketsArgs, type QueryMorphoVaultPositionsArgs, type QueryMorphoVaultsArgs, type QueryTokenHoldingsArgs, type QueryTokensArgs, type QueryVaultsArgs, type Reward, type Scalars, SupportedMarketIds, type SupportedMarketIdsQuery, type SupportedMarketIdsQueryVariables, type Token, type TokenAmount, TokenCategory, type TokenHistorical, type TokenHistoricalEntry, type TokenHolding, type TokenHoldingInput, TokenInfoFragment, type TokenInfoFragmentFragment, type TokenInput, type UnknownAdapter, type UnknownCap, Vault, VaultHistoryData, type VaultHistoryDataQuery, type VaultHistoryDataQueryVariables, type VaultInput, VaultMarketAllocationHistoryData, type VaultMarketAllocationHistoryDataQuery, type VaultMarketAllocationHistoryDataQueryVariables, VaultPositions, type VaultPositionsQuery, type VaultPositionsQueryVariables, VaultProtocol, type VaultQuery, type VaultQueryVariables, VaultSummaries, type VaultSummariesQuery, type VaultSummariesQueryVariables, VaultSummaryFragment, type VaultSummaryFragmentFragment, VaultType, type VaultV1Adapter, result as default };
@@ -1,4 +1,4 @@
1
- import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supply",n))(y||{}),m=(e=>(e.OneDay="one_day",e.SevenDays="seven_days",e.ThirtyDays="thirty_days",e))(m||{}),d=(e=>(e.Generic="generic",e.MorphoV1="morpho_v1",e.MorphoV2="morpho_v2",e))(d||{}),A=(r=>(r.Base="base",r.Ens="ens",r.Farcaster="farcaster",r.Lens="lens",r.Nns="nns",r.Uni="uni",r.World="world",r))(A||{}),c=(n=>(n.Borrow="Borrow",n.Lend="Lend",n))(c||{}),_=(e=>(e.Btc="Btc",e.Eth="Eth",e.Stable="Stable",e))(_||{}),g=(a=>(a.Enzyme="enzyme",a.EulerEarn="euler_earn",a.EulerV2="euler_v2",a.Gearbox="gearbox",a.Lista="lista",a.Mellow="mellow",a.Midas="midas",a.Morpho="morpho",a.Napier="napier",a.Pendle="pendle",a.Reserve="reserve",a.Silo="silo",a.TurtleClub="turtle_club",a))(g||{}),b=(e=>(e.Index="index",e.Lending="lending",e.Staking="staking",e))(b||{}),s=t`
1
+ import{gql as t}from"@apollo/client";var m=(n=>(n.Borrow="Borrow",n.Supply="Supply",n))(m||{}),d=(a=>(a.OneDay="one_day",a.SevenDays="seven_days",a.ThirtyDays="thirty_days",a))(d||{}),A=(s=>(s.Box="box",s.Generic="generic",s.MorphoV1="morpho_v1",s.MorphoV2="morpho_v2",s))(A||{}),c=(r=>(r.Base="base",r.Ens="ens",r.Farcaster="farcaster",r.Lens="lens",r.Nns="nns",r.Uni="uni",r.World="world",r))(c||{}),_=(n=>(n.Borrow="Borrow",n.Lend="Lend",n))(_||{}),g=(a=>(a.Btc="Btc",a.Eth="Eth",a.Stable="Stable",a))(g||{}),b=(e=>(e.Enzyme="enzyme",e.EulerEarn="euler_earn",e.EulerV2="euler_v2",e.Gearbox="gearbox",e.Lista="lista",e.Mellow="mellow",e.Midas="midas",e.Morpho="morpho",e.Napier="napier",e.Pendle="pendle",e.Reserve="reserve",e.Silo="silo",e.TurtleClub="turtle_club",e))(b||{}),k=(a=>(a.Index="index",a.Lending="lending",a.Staking="staking",a))(k||{}),p=t`
2
2
  fragment ChainInfoFragment on Chain {
3
3
  id
4
4
  name
@@ -11,14 +11,15 @@ import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supp
11
11
  decimals
12
12
  icon
13
13
  category
14
+ name
14
15
  }
15
- `,u=t`
16
+ `,l=t`
16
17
  fragment CuratorInfoFragment on Curator {
17
18
  name
18
19
  image
19
20
  url
20
21
  }
21
- `,p=t`
22
+ `,u=t`
22
23
  fragment ApyFragment on Apy {
23
24
  base
24
25
  rewards {
@@ -30,7 +31,7 @@ import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supp
30
31
  total
31
32
  fee
32
33
  }
33
- ${o}`,l=t`
34
+ ${o}`,i=t`
34
35
  fragment VaultSummaryFragment on MorphoVault {
35
36
  chain {
36
37
  ...ChainInfoFragment
@@ -85,10 +86,10 @@ import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supp
85
86
  vaultSupplyShare
86
87
  }
87
88
  }
88
- ${s}
89
+ ${p}
89
90
  ${o}
90
- ${u}
91
- ${p}`,i=t`
91
+ ${l}
92
+ ${u}`,y=t`
92
93
  fragment MarketSummaryFragment on MorphoMarket {
93
94
  chain {
94
95
  ...ChainInfoFragment
@@ -149,9 +150,9 @@ ${p}`,i=t`
149
150
  }
150
151
  }
151
152
  }
152
- ${s}
153
+ ${p}
153
154
  ${o}
154
- ${p}`,M=t`
155
+ ${u}`,S=t`
155
156
  query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
156
157
  morphoVaults(
157
158
  where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
@@ -165,7 +166,7 @@ ${p}`,M=t`
165
166
  }
166
167
  }
167
168
  }
168
- ${l}`,S=t`
169
+ ${i}`,I=t`
169
170
  query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
170
171
  morphoMarkets(
171
172
  where: {chainId_in: $chainIds, marketId_in: $marketIds}
@@ -179,7 +180,7 @@ ${p}`,M=t`
179
180
  }
180
181
  }
181
182
  }
182
- ${i}`,I=t`
183
+ ${y}`,x=t`
183
184
  query Vault($chainId: ChainId!, $vaultAddress: Address!) {
184
185
  morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
185
186
  items {
@@ -266,10 +267,10 @@ ${p}`,M=t`
266
267
  }
267
268
  }
268
269
  }
269
- ${l}
270
- ${s}
270
+ ${i}
271
+ ${p}
271
272
  ${o}
272
- ${p}`,w=t`
273
+ ${u}`,w=t`
273
274
  query Market($chainId: ChainId!, $marketId: Hex!) {
274
275
  morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
275
276
  items {
@@ -353,10 +354,10 @@ ${p}`,w=t`
353
354
  }
354
355
  }
355
356
  }
356
- ${i}
357
+ ${y}
357
358
  ${o}
358
- ${s}
359
- ${u}`,x=t`
359
+ ${p}
360
+ ${l}`,T=t`
360
361
  query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
361
362
  morphoVaultPositions(
362
363
  where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
@@ -384,7 +385,7 @@ ${u}`,x=t`
384
385
  }
385
386
  }
386
387
  }
387
- `,T=t`
388
+ `,f=t`
388
389
  query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
389
390
  morphoMarketPositions(
390
391
  where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
@@ -427,7 +428,7 @@ ${u}`,x=t`
427
428
  }
428
429
  }
429
430
  }
430
- `,f=t`
431
+ `,C=t`
431
432
  query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
432
433
  morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
433
434
  items {
@@ -442,7 +443,7 @@ ${u}`,x=t`
442
443
  }
443
444
  }
444
445
  }
445
- `,C=t`
446
+ `,V=t`
446
447
  query VaultHistoryData($chainId: ChainId!, $vaultId: Address!) {
447
448
  morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
448
449
  items {
@@ -485,7 +486,7 @@ ${u}`,x=t`
485
486
  }
486
487
  }
487
488
  }
488
- `,V=t`
489
+ `,$=t`
489
490
  query VaultMarketAllocationHistoryData($chainId: ChainId!, $vaultId: Address!) {
490
491
  morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
491
492
  items {
@@ -581,7 +582,7 @@ ${u}`,x=t`
581
582
  }
582
583
  }
583
584
  }
584
- `,$=t`
585
+ `,v=t`
585
586
  query MarketHistoryData($chainId: ChainId!, $marketId: Hex!) {
586
587
  morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
587
588
  items {
@@ -662,7 +663,7 @@ ${u}`,x=t`
662
663
  }
663
664
  }
664
665
  }
665
- `,v=t`
666
+ `,P=t`
666
667
  query MarketIBRHistoryData($chainId: ChainId!, $marketId: Hex!) {
667
668
  morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
668
669
  items {
@@ -683,4 +684,4 @@ ${u}`,x=t`
683
684
  }
684
685
  }
685
686
  }
686
- `,k={possibleTypes:{Adapter:["MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},P=k;export{p as ApyFragment,y as ApySide,m as ApyTimeframe,s as ChainInfoFragment,u as CuratorInfoFragment,d as Erc4626VaultProtocol,A as IdentityResolver,w as Market,$ as MarketHistoryData,v as MarketIbrHistoryData,T as MarketPositions,S as MarketSummaries,i as MarketSummaryFragment,c as MerklAction,f as SupportedMarketIds,_ as TokenCategory,o as TokenInfoFragment,I as Vault,C as VaultHistoryData,V as VaultMarketAllocationHistoryData,x as VaultPositions,g as VaultProtocol,M as VaultSummaries,l as VaultSummaryFragment,b as VaultType,P as default};
687
+ `,h={possibleTypes:{Adapter:["BoxVaultAdapter","MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},H=h;export{u as ApyFragment,m as ApySide,d as ApyTimeframe,p as ChainInfoFragment,l as CuratorInfoFragment,A as Erc4626VaultProtocol,c as IdentityResolver,w as Market,v as MarketHistoryData,P as MarketIbrHistoryData,f as MarketPositions,I as MarketSummaries,y as MarketSummaryFragment,_ as MerklAction,C as SupportedMarketIds,g as TokenCategory,o as TokenInfoFragment,x as Vault,V as VaultHistoryData,$ as VaultMarketAllocationHistoryData,T as VaultPositions,b as VaultProtocol,S as VaultSummaries,i as VaultSummaryFragment,k as VaultType,H as default};
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -365,7 +365,7 @@ type GetBlocksTimeStampQuery = {
365
365
  number: string;
366
366
  }>;
367
367
  };
368
- declare const GetBlocksTimeStamp: graphql.DocumentNode;
368
+ declare const GetBlocksTimeStamp: _apollo_client.DocumentNode;
369
369
  interface PossibleTypesResultData {
370
370
  possibleTypes: {
371
371
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -365,7 +365,7 @@ type GetBlocksTimeStampQuery = {
365
365
  number: string;
366
366
  }>;
367
367
  };
368
- declare const GetBlocksTimeStamp: graphql.DocumentNode;
368
+ declare const GetBlocksTimeStamp: _apollo_client.DocumentNode;
369
369
  interface PossibleTypesResultData {
370
370
  possibleTypes: {
371
371
  [key: string]: string[];