@berachain/graphql 0.1.10-beta.0 → 0.2.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.
Files changed (33) hide show
  1. package/dist/bend/whisk.codegen.cjs +22 -153
  2. package/dist/bend/whisk.codegen.d.cts +151 -241
  3. package/dist/bend/whisk.codegen.d.ts +151 -241
  4. package/dist/bend/whisk.codegen.mjs +17 -148
  5. package/dist/chain/chain.codegen.cjs +1 -1
  6. package/dist/chain/chain.codegen.d.cts +14 -14
  7. package/dist/chain/chain.codegen.d.ts +14 -14
  8. package/dist/chain/chain.codegen.mjs +2 -2
  9. package/dist/dex/api.codegen.cjs +10 -10
  10. package/dist/dex/api.codegen.d.cts +187 -187
  11. package/dist/dex/api.codegen.d.ts +187 -187
  12. package/dist/dex/api.codegen.mjs +10 -10
  13. package/dist/dex/subgraph.codegen.cjs +2 -2
  14. package/dist/dex/subgraph.codegen.d.cts +47 -47
  15. package/dist/dex/subgraph.codegen.d.ts +47 -47
  16. package/dist/dex/subgraph.codegen.mjs +2 -2
  17. package/dist/governance/governance.codegen.cjs +9 -9
  18. package/dist/governance/governance.codegen.d.cts +133 -133
  19. package/dist/governance/governance.codegen.d.ts +133 -133
  20. package/dist/governance/governance.codegen.mjs +9 -9
  21. package/dist/honey/honey.codegen.cjs +3 -3
  22. package/dist/honey/honey.codegen.d.cts +40 -40
  23. package/dist/honey/honey.codegen.d.ts +40 -40
  24. package/dist/honey/honey.codegen.mjs +2 -2
  25. package/dist/pol/api.codegen.cjs +1 -1
  26. package/dist/pol/api.codegen.d.cts +6 -6
  27. package/dist/pol/api.codegen.d.ts +6 -6
  28. package/dist/pol/api.codegen.mjs +2 -2
  29. package/dist/pol/subgraph.codegen.cjs +21 -27
  30. package/dist/pol/subgraph.codegen.d.cts +87 -100
  31. package/dist/pol/subgraph.codegen.d.ts +87 -100
  32. package/dist/pol/subgraph.codegen.mjs +21 -27
  33. package/package.json +1 -1
@@ -49,7 +49,7 @@ type Scalars = {
49
49
  };
50
50
  BigInt: {
51
51
  input: string;
52
- output: string | bigint;
52
+ output: string;
53
53
  };
54
54
  ChainId: {
55
55
  input: 80094;
@@ -163,6 +163,12 @@ declare enum ApySide {
163
163
  /** APY earned when supplying */
164
164
  Supply = "Supply"
165
165
  }
166
+ /** Timeframe for APY calculations */
167
+ declare enum ApyTimeframe {
168
+ OneDay = "one_day",
169
+ SevenDays = "seven_days",
170
+ ThirtyDays = "thirty_days"
171
+ }
166
172
  /** A blockchain */
167
173
  type Chain = {
168
174
  __typename?: 'Chain';
@@ -192,6 +198,73 @@ type Curator = {
192
198
  /** URL of the curator */
193
199
  url: Scalars['String']['output'];
194
200
  };
201
+ type Erc4626Vault = {
202
+ /** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
203
+ apy: Apy;
204
+ /** Underlying asset of the vault */
205
+ asset: Token;
206
+ /** Chain the vault is deployed on */
207
+ chain: Chain;
208
+ /** Decimals of the vault's shares */
209
+ decimals: Scalars['Int']['output'];
210
+ /** Name of the vault */
211
+ name: Scalars['String']['output'];
212
+ /** Symbol of the vault */
213
+ symbol: Scalars['String']['output'];
214
+ /** Total amount of the underlying assets supplied to the vault */
215
+ totalAssets: TokenAmount;
216
+ /** Address of the vault contract */
217
+ vaultAddress: Scalars['Address']['output'];
218
+ };
219
+ type Erc4626VaultApyArgs = {
220
+ timeframe: ApyTimeframe;
221
+ };
222
+ type Erc4626VaultFilter = {
223
+ keys: InputMaybe<Array<Erc4626VaultKey>>;
224
+ };
225
+ type Erc4626VaultKey = {
226
+ /** Chain the vault is deployed on */
227
+ chainId: Scalars['ChainId']['input'];
228
+ /** Protocol the vault is part of */
229
+ protocol: Erc4626VaultProtocol;
230
+ /** Address of the vault contract */
231
+ vaultAddress: Scalars['Address']['input'];
232
+ };
233
+ type Erc4626VaultPage = {
234
+ __typename?: 'Erc4626VaultPage';
235
+ /** The items in the page */
236
+ items: Array<Maybe<Erc4626Vault>>;
237
+ /** Pagination information for the page */
238
+ pageInfo: PageInfo;
239
+ /** Total number of items */
240
+ totalCount: Scalars['Int']['output'];
241
+ };
242
+ declare enum Erc4626VaultProtocol {
243
+ Generic = "generic",
244
+ MorphoV1 = "morpho_v1"
245
+ }
246
+ type GenericErc4626Vault = Erc4626Vault & {
247
+ __typename?: 'GenericErc4626Vault';
248
+ /** APY earned when supplying to the vault */
249
+ apy: Apy;
250
+ /** Underlying asset of the vault */
251
+ asset: Token;
252
+ /** Chain the vault is deployed on */
253
+ chain: Chain;
254
+ /** Decimals of the vault's shares */
255
+ decimals: Scalars['Int']['output'];
256
+ /** Name of the vault */
257
+ name: Scalars['String']['output'];
258
+ /** Symbol of the vault's shares */
259
+ symbol: Scalars['String']['output'];
260
+ /** Total amount of the underlying assets supplied to the vault */
261
+ totalAssets: TokenAmount;
262
+ /** Address of the vault contract */
263
+ vaultAddress: Scalars['Address']['output'];
264
+ };
265
+ type GenericErc4626VaultApyArgs = {
266
+ timeframe: ApyTimeframe;
267
+ };
195
268
  type Identity = {
196
269
  __typename?: 'Identity';
197
270
  aggregate: IdentityResolverOutput;
@@ -457,8 +530,10 @@ type MorphoMarketPositionPage = {
457
530
  totalCount: Scalars['Int']['output'];
458
531
  };
459
532
  /** Morpho vault */
460
- type MorphoVault = {
533
+ type MorphoVault = Erc4626Vault & {
461
534
  __typename?: 'MorphoVault';
535
+ /** APY earned when supplying to the vault */
536
+ apy: Apy;
462
537
  /** Underlying asset of the vault */
463
538
  asset: Token;
464
539
  /** Chain the vault is deployed on */
@@ -483,21 +558,44 @@ type MorphoVault = {
483
558
  ownerAddress: Scalars['Address']['output'];
484
559
  /** Performance fee of the vault, this is the fee that is taken from the vaults profits */
485
560
  performanceFee: Scalars['Float']['output'];
486
- /** APY earned when supplying to the vault (instantaneous) */
561
+ /**
562
+ * APY earned when supplying to the vault
563
+ * @deprecated Use apy(timeframe: one_day) instead
564
+ */
487
565
  supplyApy: Apy;
488
- /** APY earned when supplying to the vault smoothed over 1 day. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 1 day ago. */
566
+ /**
567
+ * APY earned when supplying to the vault smoothed over 1 day. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 1 day ago.
568
+ * @deprecated Use apy(timeframe: one_day) instead
569
+ */
489
570
  supplyApy1d: Apy;
490
- /** APY earned when supplying to the vault smoothed over 7 days. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 7 days ago. */
571
+ /**
572
+ * APY earned when supplying to the vault smoothed over 7 days. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 7 days ago.
573
+ * @deprecated Use apy(timeframe: seven_days) instead
574
+ */
491
575
  supplyApy7d: Apy;
492
- /** APY earned when supplying to the vault smoothed over 30 days. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 30 days ago. */
576
+ /**
577
+ * APY earned when supplying to the vault smoothed over 30 days. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 30 days ago.
578
+ * @deprecated Use apy(timeframe: thirty_days) instead
579
+ */
493
580
  supplyApy30d: Apy;
581
+ /** Symbol of the vault */
582
+ symbol: Scalars['String']['output'];
583
+ /** Total amount of the underlying assets supplied to the vault */
584
+ totalAssets: TokenAmount;
494
585
  /** Total amount of the idle underlying assets (not being borrowed from the vault) */
495
586
  totalLiquidity: TokenAmount;
496
- /** Total amount of the underlying assets supplied to the vault */
587
+ /**
588
+ * Total amount of the underlying assets supplied to the vault
589
+ * @deprecated Use totalAssets instead
590
+ */
497
591
  totalSupplied: TokenAmount;
498
592
  /** Address of the vault contract */
499
593
  vaultAddress: Scalars['Address']['output'];
500
594
  };
595
+ /** Morpho vault */
596
+ type MorphoVaultApyArgs = {
597
+ timeframe: ApyTimeframe;
598
+ };
501
599
  /** Filter for Morpho vaults */
502
600
  type MorphoVaultFilter = {
503
601
  /** Filter for certain chainIds */
@@ -661,6 +759,7 @@ type Query = {
661
759
  aeraVaults: AeraVaultPage;
662
760
  /** Get supported chains (note that not all kits support all chains) */
663
761
  chains: Array<Chain>;
762
+ erc4626Vaults: Erc4626VaultPage;
664
763
  identities: Array<Identity>;
665
764
  identity: Maybe<Identity>;
666
765
  /** Query for Merkl rewards earned on chainId for the accountAddress */
@@ -695,6 +794,12 @@ type QueryAeraVaultsArgs = {
695
794
  type QueryChainsArgs = {
696
795
  where: InputMaybe<ChainFilter>;
697
796
  };
797
+ type QueryErc4626VaultsArgs = {
798
+ after: InputMaybe<Scalars['String']['input']>;
799
+ before: InputMaybe<Scalars['String']['input']>;
800
+ limit: InputMaybe<Scalars['Int']['input']>;
801
+ where: InputMaybe<Erc4626VaultFilter>;
802
+ };
698
803
  type QueryIdentitiesArgs = {
699
804
  addresses: Array<Scalars['Address']['input']>;
700
805
  resolverOrder: InputMaybe<Array<IdentityResolver>>;
@@ -931,13 +1036,13 @@ type VaultSummaryFragmentFragment = {
931
1036
  } | null;
932
1037
  totalSupplied: {
933
1038
  __typename?: 'TokenAmount';
934
- raw: string | bigint;
1039
+ raw: string;
935
1040
  formatted: string;
936
1041
  usd: number | null;
937
1042
  };
938
1043
  totalLiquidity: {
939
1044
  __typename?: 'TokenAmount';
940
- raw: string | bigint;
1045
+ raw: string;
941
1046
  formatted: string;
942
1047
  usd: number | null;
943
1048
  };
@@ -993,7 +1098,7 @@ type VaultSummaryFragmentFragment = {
993
1098
  };
994
1099
  fee: {
995
1100
  __typename?: 'OnchainAmount';
996
- raw: string | bigint;
1101
+ raw: string;
997
1102
  formatted: string;
998
1103
  };
999
1104
  };
@@ -1016,25 +1121,25 @@ type MarketSummaryFragmentFragment = {
1016
1121
  };
1017
1122
  totalBorrowed: {
1018
1123
  __typename?: 'TokenAmount';
1019
- raw: string | bigint;
1124
+ raw: string;
1020
1125
  formatted: string;
1021
1126
  usd: number | null;
1022
1127
  };
1023
1128
  totalSupplied: {
1024
1129
  __typename?: 'TokenAmount';
1025
- raw: string | bigint;
1130
+ raw: string;
1026
1131
  formatted: string;
1027
1132
  usd: number | null;
1028
1133
  };
1029
1134
  liquidityInMarket: {
1030
1135
  __typename?: 'TokenAmount';
1031
- raw: string | bigint;
1136
+ raw: string;
1032
1137
  formatted: string;
1033
1138
  usd: number | null;
1034
1139
  };
1035
1140
  publicAllocatorSharedLiquidity: {
1036
1141
  __typename?: 'TokenAmount';
1037
- raw: string | bigint;
1142
+ raw: string;
1038
1143
  formatted: string;
1039
1144
  usd: number | null;
1040
1145
  };
@@ -1056,7 +1161,7 @@ type MarketSummaryFragmentFragment = {
1056
1161
  };
1057
1162
  lltv: {
1058
1163
  __typename?: 'OnchainAmount';
1059
- raw: string | bigint;
1164
+ raw: string;
1060
1165
  formatted: string;
1061
1166
  };
1062
1167
  borrowApy: {
@@ -1138,13 +1243,13 @@ type VaultSummariesQuery = {
1138
1243
  } | null;
1139
1244
  totalSupplied: {
1140
1245
  __typename?: 'TokenAmount';
1141
- raw: string | bigint;
1246
+ raw: string;
1142
1247
  formatted: string;
1143
1248
  usd: number | null;
1144
1249
  };
1145
1250
  totalLiquidity: {
1146
1251
  __typename?: 'TokenAmount';
1147
- raw: string | bigint;
1252
+ raw: string;
1148
1253
  formatted: string;
1149
1254
  usd: number | null;
1150
1255
  };
@@ -1200,7 +1305,7 @@ type VaultSummariesQuery = {
1200
1305
  };
1201
1306
  fee: {
1202
1307
  __typename?: 'OnchainAmount';
1203
- raw: string | bigint;
1308
+ raw: string;
1204
1309
  formatted: string;
1205
1310
  };
1206
1311
  };
@@ -1237,25 +1342,25 @@ type MarketSummariesQuery = {
1237
1342
  };
1238
1343
  totalBorrowed: {
1239
1344
  __typename?: 'TokenAmount';
1240
- raw: string | bigint;
1345
+ raw: string;
1241
1346
  formatted: string;
1242
1347
  usd: number | null;
1243
1348
  };
1244
1349
  totalSupplied: {
1245
1350
  __typename?: 'TokenAmount';
1246
- raw: string | bigint;
1351
+ raw: string;
1247
1352
  formatted: string;
1248
1353
  usd: number | null;
1249
1354
  };
1250
1355
  liquidityInMarket: {
1251
1356
  __typename?: 'TokenAmount';
1252
- raw: string | bigint;
1357
+ raw: string;
1253
1358
  formatted: string;
1254
1359
  usd: number | null;
1255
1360
  };
1256
1361
  publicAllocatorSharedLiquidity: {
1257
1362
  __typename?: 'TokenAmount';
1258
- raw: string | bigint;
1363
+ raw: string;
1259
1364
  formatted: string;
1260
1365
  usd: number | null;
1261
1366
  };
@@ -1277,7 +1382,7 @@ type MarketSummariesQuery = {
1277
1382
  };
1278
1383
  lltv: {
1279
1384
  __typename?: 'OnchainAmount';
1280
- raw: string | bigint;
1385
+ raw: string;
1281
1386
  formatted: string;
1282
1387
  };
1283
1388
  borrowApy: {
@@ -1359,13 +1464,13 @@ type VaultQuery = {
1359
1464
  };
1360
1465
  totalSupplied: {
1361
1466
  __typename?: 'TokenAmount';
1362
- raw: string | bigint;
1467
+ raw: string;
1363
1468
  formatted: string;
1364
1469
  usd: number | null;
1365
1470
  };
1366
1471
  totalLiquidity: {
1367
1472
  __typename?: 'TokenAmount';
1368
- raw: string | bigint;
1473
+ raw: string;
1369
1474
  formatted: string;
1370
1475
  usd: number | null;
1371
1476
  };
@@ -1386,7 +1491,7 @@ type VaultQuery = {
1386
1491
  };
1387
1492
  lltv: {
1388
1493
  __typename?: 'OnchainAmount';
1389
- raw: string | bigint;
1494
+ raw: string;
1390
1495
  formatted: string;
1391
1496
  };
1392
1497
  collateralAsset: {
@@ -1425,23 +1530,23 @@ type VaultQuery = {
1425
1530
  };
1426
1531
  fee: {
1427
1532
  __typename?: 'OnchainAmount';
1428
- raw: string | bigint;
1533
+ raw: string;
1429
1534
  formatted: string;
1430
1535
  };
1431
1536
  };
1432
1537
  position: {
1433
1538
  __typename?: 'MorphoMarketPosition';
1434
- supplyShares: string | bigint;
1539
+ supplyShares: string;
1435
1540
  supplyAmount: {
1436
1541
  __typename?: 'TokenAmount';
1437
- raw: string | bigint;
1542
+ raw: string;
1438
1543
  formatted: string;
1439
1544
  usd: number | null;
1440
1545
  };
1441
1546
  };
1442
1547
  supplyCap: {
1443
1548
  __typename?: 'TokenAmount';
1444
- raw: string | bigint;
1549
+ raw: string;
1445
1550
  formatted: string;
1446
1551
  usd: number | null;
1447
1552
  };
@@ -1500,25 +1605,25 @@ type MarketQuery = {
1500
1605
  marketId: `0x${string}`;
1501
1606
  totalSupplied: {
1502
1607
  __typename?: 'TokenAmount';
1503
- raw: string | bigint;
1608
+ raw: string;
1504
1609
  formatted: string;
1505
1610
  usd: number | null;
1506
1611
  };
1507
1612
  totalBorrowed: {
1508
1613
  __typename?: 'TokenAmount';
1509
- raw: string | bigint;
1614
+ raw: string;
1510
1615
  formatted: string;
1511
1616
  usd: number | null;
1512
1617
  };
1513
1618
  liquidityInMarket: {
1514
1619
  __typename?: 'TokenAmount';
1515
- raw: string | bigint;
1620
+ raw: string;
1516
1621
  formatted: string;
1517
1622
  usd: number | null;
1518
1623
  };
1519
1624
  publicAllocatorSharedLiquidity: {
1520
1625
  __typename?: 'TokenAmount';
1521
- raw: string | bigint;
1626
+ raw: string;
1522
1627
  formatted: string;
1523
1628
  usd: number | null;
1524
1629
  };
@@ -1575,17 +1680,17 @@ type MarketQuery = {
1575
1680
  };
1576
1681
  position: {
1577
1682
  __typename?: 'MorphoMarketPosition';
1578
- supplyShares: string | bigint;
1683
+ supplyShares: string;
1579
1684
  supplyAmount: {
1580
1685
  __typename?: 'TokenAmount';
1581
- raw: string | bigint;
1686
+ raw: string;
1582
1687
  formatted: string;
1583
1688
  usd: number | null;
1584
1689
  };
1585
1690
  };
1586
1691
  supplyCap: {
1587
1692
  __typename?: 'TokenAmount';
1588
- raw: string | bigint;
1693
+ raw: string;
1589
1694
  formatted: string;
1590
1695
  usd: number | null;
1591
1696
  };
@@ -1603,7 +1708,7 @@ type MarketQuery = {
1603
1708
  };
1604
1709
  collateralPriceInLoanAsset: {
1605
1710
  __typename?: 'OnchainAmount';
1606
- raw: string | bigint;
1711
+ raw: string;
1607
1712
  formatted: string;
1608
1713
  } | null;
1609
1714
  chain: {
@@ -1614,7 +1719,7 @@ type MarketQuery = {
1614
1719
  };
1615
1720
  lltv: {
1616
1721
  __typename?: 'OnchainAmount';
1617
- raw: string | bigint;
1722
+ raw: string;
1618
1723
  formatted: string;
1619
1724
  };
1620
1725
  borrowApy: {
@@ -1659,7 +1764,7 @@ type VaultPositionsQuery = {
1659
1764
  };
1660
1765
  supplyAmount: {
1661
1766
  __typename?: 'TokenAmount';
1662
- raw: string | bigint;
1767
+ raw: string;
1663
1768
  formatted: string;
1664
1769
  usd: number | null;
1665
1770
  };
@@ -1667,7 +1772,7 @@ type VaultPositionsQuery = {
1667
1772
  __typename?: 'TokenHolding';
1668
1773
  balance: {
1669
1774
  __typename?: 'TokenAmount';
1670
- raw: string | bigint;
1775
+ raw: string;
1671
1776
  formatted: string;
1672
1777
  usd: number | null;
1673
1778
  };
@@ -1696,13 +1801,13 @@ type MarketPositionsQuery = {
1696
1801
  };
1697
1802
  collateralAmount: {
1698
1803
  __typename?: 'TokenAmount';
1699
- raw: string | bigint;
1804
+ raw: string;
1700
1805
  formatted: string;
1701
1806
  usd: number | null;
1702
1807
  } | null;
1703
1808
  borrowAmount: {
1704
1809
  __typename?: 'TokenAmount';
1705
- raw: string | bigint;
1810
+ raw: string;
1706
1811
  formatted: string;
1707
1812
  usd: number | null;
1708
1813
  };
@@ -1714,7 +1819,7 @@ type MarketPositionsQuery = {
1714
1819
  __typename?: 'TokenHolding';
1715
1820
  balance: {
1716
1821
  __typename?: 'TokenAmount';
1717
- raw: string | bigint;
1822
+ raw: string;
1718
1823
  formatted: string;
1719
1824
  usd: number | null;
1720
1825
  };
@@ -1723,7 +1828,7 @@ type MarketPositionsQuery = {
1723
1828
  __typename?: 'TokenHolding';
1724
1829
  balance: {
1725
1830
  __typename?: 'TokenAmount';
1726
- raw: string | bigint;
1831
+ raw: string;
1727
1832
  formatted: string;
1728
1833
  usd: number | null;
1729
1834
  };
@@ -1755,196 +1860,6 @@ type SupportedMarketIdsQuery = {
1755
1860
  } | null>;
1756
1861
  };
1757
1862
  };
1758
- type VaultHistoryDataQueryVariables = Exact<{
1759
- chainId: Scalars['ChainId']['input'];
1760
- marketId: Scalars['Address']['input'];
1761
- }>;
1762
- type VaultHistoryDataQuery = {
1763
- __typename?: 'Query';
1764
- morphoVaults: {
1765
- __typename?: 'MorphoVaultPage';
1766
- items: Array<{
1767
- __typename?: 'MorphoVault';
1768
- historical: {
1769
- __typename?: 'MorphoVaultHistorical';
1770
- daily: Array<{
1771
- __typename?: 'MorphoVaultHistoricalEntry';
1772
- bucketTimestamp: number;
1773
- supplyApy1d: {
1774
- __typename?: 'Apy';
1775
- total: number;
1776
- };
1777
- totalSupplied: {
1778
- __typename?: 'TokenAmount';
1779
- usd: number | null;
1780
- raw: string | bigint;
1781
- formatted: string;
1782
- };
1783
- }>;
1784
- hourly: Array<{
1785
- __typename?: 'MorphoVaultHistoricalEntry';
1786
- bucketTimestamp: number;
1787
- supplyApy1d: {
1788
- __typename?: 'Apy';
1789
- total: number;
1790
- };
1791
- totalSupplied: {
1792
- __typename?: 'TokenAmount';
1793
- formatted: string;
1794
- raw: string | bigint;
1795
- usd: number | null;
1796
- };
1797
- }>;
1798
- } | null;
1799
- } | null>;
1800
- };
1801
- };
1802
- type VaultMarketAllocationHistoryDataQueryVariables = Exact<{
1803
- chainId: Scalars['ChainId']['input'];
1804
- marketIds: Array<Scalars['Hex']['input']> | Scalars['Hex']['input'];
1805
- }>;
1806
- type VaultMarketAllocationHistoryDataQuery = {
1807
- __typename?: 'Query';
1808
- morphoMarkets: {
1809
- __typename?: 'MorphoMarketPage';
1810
- items: Array<{
1811
- __typename?: 'MorphoMarket';
1812
- name: string;
1813
- isIdle: boolean;
1814
- historical: {
1815
- __typename?: 'MorphoMarketHistorical';
1816
- hourly: Array<{
1817
- __typename?: 'MorphoMarketHistoricalEntry';
1818
- bucketTimestamp: number;
1819
- totalSupplied: {
1820
- __typename?: 'TokenAmount';
1821
- formatted: string;
1822
- };
1823
- }>;
1824
- daily: Array<{
1825
- __typename?: 'MorphoMarketHistoricalEntry';
1826
- bucketTimestamp: number;
1827
- totalSupplied: {
1828
- __typename?: 'TokenAmount';
1829
- formatted: string;
1830
- };
1831
- }>;
1832
- } | null;
1833
- } | null>;
1834
- };
1835
- };
1836
- type MarketBorrowHistoryDataQueryVariables = Exact<{
1837
- chainId: Scalars['ChainId']['input'];
1838
- marketId: Scalars['Hex']['input'];
1839
- }>;
1840
- type MarketBorrowHistoryDataQuery = {
1841
- __typename?: 'Query';
1842
- morphoMarkets: {
1843
- __typename?: 'MorphoMarketPage';
1844
- items: Array<{
1845
- __typename?: 'MorphoMarket';
1846
- historical: {
1847
- __typename?: 'MorphoMarketHistorical';
1848
- daily: Array<{
1849
- __typename?: 'MorphoMarketHistoricalEntry';
1850
- bucketTimestamp: number;
1851
- borrowApy1d: {
1852
- __typename?: 'Apy';
1853
- total: number;
1854
- };
1855
- totalBorrowed: {
1856
- __typename?: 'TokenAmount';
1857
- usd: number | null;
1858
- raw: string | bigint;
1859
- formatted: string;
1860
- };
1861
- }>;
1862
- hourly: Array<{
1863
- __typename?: 'MorphoMarketHistoricalEntry';
1864
- bucketTimestamp: number;
1865
- borrowApy1d: {
1866
- __typename?: 'Apy';
1867
- total: number;
1868
- };
1869
- totalBorrowed: {
1870
- __typename?: 'TokenAmount';
1871
- formatted: string;
1872
- raw: string | bigint;
1873
- usd: number | null;
1874
- };
1875
- }>;
1876
- } | null;
1877
- } | null>;
1878
- };
1879
- };
1880
- type MarketIbrHistoryDataQueryVariables = Exact<{
1881
- chainId: Scalars['ChainId']['input'];
1882
- marketId: Scalars['Hex']['input'];
1883
- }>;
1884
- type MarketIbrHistoryDataQuery = {
1885
- __typename?: 'Query';
1886
- morphoMarkets: {
1887
- __typename?: 'MorphoMarketPage';
1888
- items: Array<{
1889
- __typename?: 'MorphoMarket';
1890
- historical: {
1891
- __typename?: 'MorphoMarketHistorical';
1892
- daily: Array<{
1893
- __typename?: 'MorphoMarketHistoricalEntry';
1894
- bucketTimestamp: number;
1895
- borrowApyInstantaneous: {
1896
- __typename?: 'Apy';
1897
- total: number;
1898
- };
1899
- }>;
1900
- hourly: Array<{
1901
- __typename?: 'MorphoMarketHistoricalEntry';
1902
- bucketTimestamp: number;
1903
- borrowApyInstantaneous: {
1904
- __typename?: 'Apy';
1905
- total: number;
1906
- };
1907
- }>;
1908
- } | null;
1909
- } | null>;
1910
- };
1911
- };
1912
- type MarketCollateralAtRiskHistoryDataQueryVariables = Exact<{
1913
- chainId: Scalars['ChainId']['input'];
1914
- marketId: Scalars['Hex']['input'];
1915
- }>;
1916
- type MarketCollateralAtRiskHistoryDataQuery = {
1917
- __typename?: 'Query';
1918
- morphoMarkets: {
1919
- __typename?: 'MorphoMarketPage';
1920
- items: Array<{
1921
- __typename?: 'MorphoMarket';
1922
- historical: {
1923
- __typename?: 'MorphoMarketHistorical';
1924
- daily: Array<{
1925
- __typename?: 'MorphoMarketHistoricalEntry';
1926
- bucketTimestamp: number;
1927
- totalCollateral: {
1928
- __typename?: 'TokenAmount';
1929
- formatted: string;
1930
- raw: string | bigint;
1931
- usd: number | null;
1932
- };
1933
- }>;
1934
- hourly: Array<{
1935
- __typename?: 'MorphoMarketHistoricalEntry';
1936
- bucketTimestamp: number;
1937
- totalCollateral: {
1938
- __typename?: 'TokenAmount';
1939
- formatted: string;
1940
- raw: string | bigint;
1941
- usd: number | null;
1942
- };
1943
- }>;
1944
- } | null;
1945
- } | null>;
1946
- };
1947
- };
1948
1863
  declare const ChainInfoFragment: graphql.DocumentNode;
1949
1864
  declare const TokenInfoFragment: graphql.DocumentNode;
1950
1865
  declare const CuratorInfoFragment: graphql.DocumentNode;
@@ -1982,11 +1897,6 @@ declare const Market: graphql.DocumentNode;
1982
1897
  declare const VaultPositions: graphql.DocumentNode;
1983
1898
  declare const MarketPositions: graphql.DocumentNode;
1984
1899
  declare const SupportedMarketIds: graphql.DocumentNode;
1985
- declare const VaultHistoryData: graphql.DocumentNode;
1986
- declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
1987
- declare const MarketBorrowHistoryData: graphql.DocumentNode;
1988
- declare const MarketIbrHistoryData: graphql.DocumentNode;
1989
- declare const MarketCollateralAtRiskHistoryData: graphql.DocumentNode;
1990
1900
  interface PossibleTypesResultData {
1991
1901
  possibleTypes: {
1992
1902
  [key: string]: string[];
@@ -1994,4 +1904,4 @@ interface PossibleTypesResultData {
1994
1904
  }
1995
1905
  declare const result: PossibleTypesResultData;
1996
1906
 
1997
- export { type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, type Chain, type ChainFilter, ChainInfoFragment, type ChainInfoFragmentFragment, type Curator, CuratorInfoFragment, type CuratorInfoFragmentFragment, type Exact, type Identity, IdentityResolver, type IdentityResolverOutput, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, Market, MarketBorrowHistoryData, type MarketBorrowHistoryDataQuery, type MarketBorrowHistoryDataQueryVariables, MarketCollateralAtRiskHistoryData, type MarketCollateralAtRiskHistoryDataQuery, type MarketCollateralAtRiskHistoryDataQueryVariables, MarketIbrHistoryData, type MarketIbrHistoryDataQuery, type MarketIbrHistoryDataQueryVariables, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, 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 MorphoMarketPositionHistorical, type MorphoMarketPositionHistoricalEntry, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionHistorical, type MorphoVaultPositionHistoricalEntry, type MorphoVaultPositionPage, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, 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, 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, result as default };
1907
+ export { type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, ApyTimeframe, type Chain, type ChainFilter, ChainInfoFragment, type ChainInfoFragmentFragment, 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, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, 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 MorphoMarketPositionHistorical, type MorphoMarketPositionHistoricalEntry, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultApyArgs, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionHistorical, type MorphoVaultPositionHistoricalEntry, type MorphoVaultPositionPage, 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, Vault, type VaultInput, VaultPositions, type VaultPositionsQuery, type VaultPositionsQueryVariables, VaultProtocol, type VaultQuery, type VaultQueryVariables, VaultSummaries, type VaultSummariesQuery, type VaultSummariesQueryVariables, VaultSummaryFragment, type VaultSummaryFragmentFragment, VaultType, result as default };