@berachain/graphql 0.4.6-beta.3 → 0.4.7

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,3360 +0,0 @@
1
- import * as _apollo_client from '@apollo/client';
2
-
3
- type Maybe<T> = T | null;
4
- type InputMaybe<T> = Maybe<T>;
5
- type Exact<T extends {
6
- [key: string]: unknown;
7
- }> = {
8
- [K in keyof T]: T[K];
9
- };
10
- type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
11
- [SubKey in K]?: Maybe<T[SubKey]>;
12
- };
13
- type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
14
- [SubKey in K]: Maybe<T[SubKey]>;
15
- };
16
- type MakeEmpty<T extends {
17
- [key: string]: unknown;
18
- }, K extends keyof T> = {
19
- [_ in K]?: never;
20
- };
21
- type Incremental<T> = T | {
22
- [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
23
- };
24
- /** All built-in and custom scalars, mapped to their actual values */
25
- type Scalars = {
26
- ID: {
27
- input: string;
28
- output: string;
29
- };
30
- String: {
31
- input: string;
32
- output: string;
33
- };
34
- Boolean: {
35
- input: boolean;
36
- output: boolean;
37
- };
38
- Int: {
39
- input: number;
40
- output: number;
41
- };
42
- Float: {
43
- input: number;
44
- output: number;
45
- };
46
- Address: {
47
- input: `0x${string}`;
48
- output: `0x${string}`;
49
- };
50
- BigInt: {
51
- input: string;
52
- output: string;
53
- };
54
- ChainId: {
55
- input: 80094;
56
- output: 80094;
57
- };
58
- Hex: {
59
- input: `0x${string}`;
60
- output: `0x${string}`;
61
- };
62
- URL: {
63
- input: string;
64
- output: string;
65
- };
66
- };
67
- type Adapter = {
68
- /**
69
- * Address of the adapter
70
- * @deprecated Schema is subject to change, not yet stable
71
- */
72
- adapterAddress: Scalars['Address']['output'];
73
- /**
74
- * Cap for the adapter, null if and only if the adapter doesn't adhere to abi.encode('this', address)
75
- * @deprecated Schema is subject to change, not yet stable
76
- */
77
- adapterCap: Maybe<AdapterCap>;
78
- /** Name of the adapter */
79
- name: Maybe<Scalars['String']['output']>;
80
- /** Risk assessment for the adapter */
81
- riskAssessment: RiskAssessment;
82
- };
83
- type AdapterCap = Cap & {
84
- __typename?: 'AdapterCap';
85
- /**
86
- * Absolute cap in underlying units
87
- * @deprecated Schema is subject to change, not yet stable
88
- */
89
- absoluteCap: TokenAmount;
90
- /**
91
- * Current amount allocated under this id
92
- * @deprecated Schema is subject to change, not yet stable
93
- */
94
- allocation: TokenAmount;
95
- /**
96
- * bytes32 key
97
- * @deprecated Schema is subject to change, not yet stable
98
- */
99
- capId: Scalars['Hex']['output'];
100
- /**
101
- * Relative cap (wad)
102
- * @deprecated Schema is subject to change, not yet stable
103
- */
104
- relativeCap: OnchainAmount;
105
- };
106
- /** Pending withdrawals or deposits for an account in an Aera vault */
107
- type AeraPendingAction = {
108
- __typename?: 'AeraPendingAction';
109
- /** Amount of the action */
110
- amount: TokenAmount;
111
- /** Hash of the action */
112
- hash: Scalars['Hex']['output'];
113
- /** Token of the action */
114
- token: Token;
115
- };
116
- /** Aera vault */
117
- type AeraVault = {
118
- __typename?: 'AeraVault';
119
- /** Chain the vault is deployed on */
120
- chain: Chain;
121
- /** Vault-level paused flag (guardian operations) */
122
- isPaused: Scalars['Boolean']['output'];
123
- /** Management fee of the vault */
124
- managementFee: OnchainAmount;
125
- /** Name of the vault */
126
- name: Scalars['String']['output'];
127
- /** Numeraire asset of the vault */
128
- numeraireAsset: Token;
129
- /** Performance fee of the vault */
130
- performanceFee: OnchainAmount;
131
- /** APY earned when supplying to the vault smoothed over 1 day. */
132
- supplyApy1d: Apy;
133
- /** APY earned when supplying to the vault smoothed over 7 days. */
134
- supplyApy7d: Apy;
135
- /** APY earned when supplying to the vault smoothed over 30 days. */
136
- supplyApy30d: Apy;
137
- /** Total amount of the numeraire assets supplied to the vault */
138
- totalSupplied: TokenAmount;
139
- /** Address of the vault contract */
140
- vaultAddress: Scalars['Address']['output'];
141
- };
142
- /** Filter for Aera vaults */
143
- type AeraVaultFilter = {
144
- /** Filter for certain chainIds */
145
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
146
- /** Filter for certain vault addresses */
147
- vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
148
- };
149
- /** Page of Aera vaults */
150
- type AeraVaultPage = {
151
- __typename?: 'AeraVaultPage';
152
- /** The items in the page */
153
- items: Array<Maybe<AeraVault>>;
154
- /** Pagination information for the page */
155
- pageInfo: PageInfo;
156
- /** Total number of items */
157
- totalCount: Scalars['Int']['output'];
158
- };
159
- /** Position of an account in an Aera vault */
160
- type AeraVaultPosition = {
161
- __typename?: 'AeraVaultPosition';
162
- /** Address of the account */
163
- accountAddress: Scalars['Address']['output'];
164
- /** Whether the account has a pending deposit */
165
- hasPendingDeposit: Scalars['Boolean']['output'];
166
- /** Whether the account has a pending withdrawal */
167
- hasPendingWithdrawal: Scalars['Boolean']['output'];
168
- /** Pending deposits for the account */
169
- pendingDeposits: Array<AeraPendingAction>;
170
- /** Pending withdrawals for the account */
171
- pendingWithdrawals: Array<AeraPendingAction>;
172
- /** Position balance in numeraire assets */
173
- supplyAmount: TokenAmount;
174
- /** Position balance in shares */
175
- supplyShares: OnchainAmount;
176
- /** Vault the position is in */
177
- vault: AeraVault;
178
- };
179
- /** Filter for Aera vault positions */
180
- type AeraVaultPositionFilter = {
181
- /** Filter for certain account addresses */
182
- accountAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
183
- /** Filter for certain chainIds */
184
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
185
- /** Filter for certain vault addresses */
186
- vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
187
- };
188
- /** Page of Aera vault positions */
189
- type AeraVaultPositionPage = {
190
- __typename?: 'AeraVaultPositionPage';
191
- /** The items in the page */
192
- items: Array<Maybe<AeraVaultPosition>>;
193
- /** Pagination information for the page */
194
- pageInfo: PageInfo;
195
- /** Total number of items */
196
- totalCount: Scalars['Int']['output'];
197
- };
198
- /** Annual Percentage Yield (APY) of an opportunity */
199
- type Apy = {
200
- __typename?: 'Apy';
201
- /** The base APY. For Supply: rate earned by supplying. For Borrow: rate paid for borrowing. Will always be positive. */
202
- base: Scalars['Float']['output'];
203
- /** Fees that reduce the effective APY (decreasing Supply APY, increasing Borrow APY). Will always be positive. */
204
- fee: Scalars['Float']['output'];
205
- /** Additional reward tokens that improve the total APY (increasing Supply APY, decreasing Borrow APY). The APRs will always be positive. */
206
- rewards: Array<Reward>;
207
- /** Whether this APY applies to the supply or borrow side of an opportunity */
208
- side: ApySide;
209
- /** The net APY after combining base rate, rewards, and fees (base + rewards - fee). Negative borrow APY means being paid to borrow. */
210
- total: Scalars['Float']['output'];
211
- };
212
- /** Whether an APY applies to the supply or borrow side of an opportunity */
213
- declare enum ApySide {
214
- /** APY paid when borrowing */
215
- Borrow = "Borrow",
216
- /** APY earned when supplying */
217
- Supply = "Supply"
218
- }
219
- /** Timeframe for APY calculations based on historical share price changes */
220
- declare enum ApyTimeframe {
221
- /** APY calculated over the last 1 day */
222
- OneDay = "one_day",
223
- /** APY calculated over the last 7 days */
224
- SevenDays = "seven_days",
225
- /** APY calculated over the last 6 hours */
226
- SixHours = "six_hours",
227
- /** APY calculated over the last 30 days */
228
- ThirtyDays = "thirty_days"
229
- }
230
- /** A funding module attached to a Box vault for borrowing/lending operations */
231
- type BoxFundingModule = {
232
- /**
233
- * Collateral tokens with their total balances across all facilities
234
- * @deprecated Schema is subject to change, not yet stable
235
- */
236
- collateralHoldings: Array<TokenHolding>;
237
- /**
238
- * Debt tokens with their total balances across all facilities
239
- * @deprecated Schema is subject to change, not yet stable
240
- */
241
- debtHoldings: Array<TokenHolding>;
242
- /**
243
- * Address of the funding module contract
244
- * @deprecated Schema is subject to change, not yet stable
245
- */
246
- fundingModuleAddress: Scalars['Address']['output'];
247
- /**
248
- * Net asset value of the funding module in underlying asset terms
249
- * @deprecated Schema is subject to change, not yet stable
250
- */
251
- nav: TokenAmount;
252
- };
253
- /** A Morpho-based funding module */
254
- type BoxMorphoFundingModule = BoxFundingModule & {
255
- __typename?: 'BoxMorphoFundingModule';
256
- /**
257
- * Collateral tokens with their total balances across all facilities
258
- * @deprecated Schema is subject to change, not yet stable
259
- */
260
- collateralHoldings: Array<TokenHolding>;
261
- /**
262
- * Debt tokens with their total balances across all facilities
263
- * @deprecated Schema is subject to change, not yet stable
264
- */
265
- debtHoldings: Array<TokenHolding>;
266
- /**
267
- * Address of the funding module contract
268
- * @deprecated Schema is subject to change, not yet stable
269
- */
270
- fundingModuleAddress: Scalars['Address']['output'];
271
- /**
272
- * Net asset value of the funding module in underlying asset terms
273
- * @deprecated Schema is subject to change, not yet stable
274
- */
275
- nav: TokenAmount;
276
- /**
277
- * Morpho market positions held by this funding module
278
- * @deprecated Schema is subject to change, not yet stable
279
- */
280
- positions: Array<MorphoMarketPosition>;
281
- };
282
- /** An unknown funding module type */
283
- type BoxUnknownFundingModule = BoxFundingModule & {
284
- __typename?: 'BoxUnknownFundingModule';
285
- /**
286
- * Collateral tokens with their total balances across all facilities
287
- * @deprecated Schema is subject to change, not yet stable
288
- */
289
- collateralHoldings: Array<TokenHolding>;
290
- /**
291
- * Debt tokens with their total balances across all facilities
292
- * @deprecated Schema is subject to change, not yet stable
293
- */
294
- debtHoldings: Array<TokenHolding>;
295
- /**
296
- * Address of the funding module contract
297
- * @deprecated Schema is subject to change, not yet stable
298
- */
299
- fundingModuleAddress: Scalars['Address']['output'];
300
- /**
301
- * Net asset value of the funding module in underlying asset terms
302
- * @deprecated Schema is subject to change, not yet stable
303
- */
304
- nav: TokenAmount;
305
- };
306
- type BoxVault = Erc20 & Erc4626Vault & {
307
- __typename?: 'BoxVault';
308
- /** The contract address of the vault */
309
- address: Scalars['Address']['output'];
310
- /**
311
- * Allocations of the vault to the markets
312
- * @deprecated Schema is subject to change, not yet stable
313
- */
314
- allocations: Array<TokenHolding>;
315
- /** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
316
- apy: Apy;
317
- /** Underlying asset of the vault */
318
- asset: Token;
319
- /** The category of the vault's underlying asset */
320
- category: Maybe<TokenCategory>;
321
- /** The chain this vault is deployed on */
322
- chain: Chain;
323
- /** The number of decimal places the vault shares use */
324
- decimals: Scalars['Int']['output'];
325
- /**
326
- * Funding modules attached to the vault for borrowing/lending operations
327
- * @deprecated Schema is subject to change, not yet stable
328
- */
329
- fundingModules: Array<BoxFundingModule>;
330
- /** URL to the vault's image, null if not available */
331
- icon: Maybe<Scalars['URL']['output']>;
332
- /** The full name of the vault */
333
- name: Scalars['String']['output'];
334
- /** Current price of vault shares in USD, null if price data unavailable */
335
- priceUsd: Maybe<Scalars['Float']['output']>;
336
- /** Risk assessment for the vault */
337
- riskAssessment: RiskAssessment;
338
- /** The symbol of the vault shares */
339
- symbol: Scalars['String']['output'];
340
- /** Total amount of the underlying assets supplied to the vault */
341
- totalAssets: TokenAmount;
342
- /**
343
- * Address of the vault contract
344
- * @deprecated Use address instead
345
- */
346
- vaultAddress: Scalars['Address']['output'];
347
- };
348
- type BoxVaultApyArgs = {
349
- timeframe: ApyTimeframe;
350
- };
351
- type BoxVaultAdapter = Adapter & {
352
- __typename?: 'BoxVaultAdapter';
353
- /**
354
- * Address of the adapter
355
- * @deprecated Schema is subject to change, not yet stable
356
- */
357
- adapterAddress: Scalars['Address']['output'];
358
- /**
359
- * Cap for the adapter
360
- * @deprecated Schema is subject to change, not yet stable
361
- */
362
- adapterCap: Maybe<AdapterCap>;
363
- /**
364
- * Name of the adapter
365
- * @deprecated Schema is subject to change, not yet stable
366
- */
367
- name: Maybe<Scalars['String']['output']>;
368
- /** Risk assessment for the adapter */
369
- riskAssessment: RiskAssessment;
370
- /**
371
- * Box vault the adapter allocated to
372
- * @deprecated Schema is subject to change, not yet stable
373
- */
374
- vault: Maybe<BoxVault>;
375
- };
376
- /** V2: Caps for a Morpho vault adapter id */
377
- type Cap = {
378
- /**
379
- * Absolute cap in underlying units
380
- * @deprecated Schema is subject to change, not yet stable
381
- */
382
- absoluteCap: TokenAmount;
383
- /**
384
- * Current amount allocated under this id. This uses real time values instead of the cached allocation values where possible
385
- * @deprecated Schema is subject to change, not yet stable
386
- */
387
- allocation: TokenAmount;
388
- /**
389
- * bytes32 key
390
- * @deprecated Schema is subject to change, not yet stable
391
- */
392
- capId: Scalars['Hex']['output'];
393
- /**
394
- * Relative cap (wad)
395
- * @deprecated Schema is subject to change, not yet stable
396
- */
397
- relativeCap: OnchainAmount;
398
- };
399
- /** A blockchain */
400
- type Chain = {
401
- __typename?: 'Chain';
402
- /** URL to the chain's icon/logo image */
403
- icon: Scalars['URL']['output'];
404
- /** Unique blockchain identifier */
405
- id: Scalars['ChainId']['output'];
406
- /** Human-readable name of the blockchain (e.g., 'Ethereum', 'Polygon') */
407
- name: Scalars['String']['output'];
408
- /** The native token of the blockchain (e.g., ETH for Ethereum) */
409
- nativeToken: Token;
410
- /** The wrapped version of the native token (e.g., WETH for Ethereum) */
411
- wrappedNativeToken: Token;
412
- };
413
- /** Filter for chains */
414
- type ChainFilter = {
415
- /** Filter for certain chainIds */
416
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
417
- };
418
- type CollateralExposureCap = Cap & {
419
- __typename?: 'CollateralExposureCap';
420
- /**
421
- * Absolute cap in underlying units
422
- * @deprecated Schema is subject to change, not yet stable
423
- */
424
- absoluteCap: TokenAmount;
425
- /**
426
- * Current amount allocated under this id
427
- * @deprecated Schema is subject to change, not yet stable
428
- */
429
- allocation: TokenAmount;
430
- /**
431
- * bytes32 key
432
- * @deprecated Schema is subject to change, not yet stable
433
- */
434
- capId: Scalars['Hex']['output'];
435
- /**
436
- * Collateral token
437
- * @deprecated Schema is subject to change, not yet stable
438
- */
439
- collateralToken: Token;
440
- /**
441
- * Relative cap (wad)
442
- * @deprecated Schema is subject to change, not yet stable
443
- */
444
- relativeCap: OnchainAmount;
445
- };
446
- /** Curator of a Morpho vault */
447
- type Curator = {
448
- __typename?: 'Curator';
449
- /** Image of the curator */
450
- image: Scalars['String']['output'];
451
- /** Name of the curator */
452
- name: Scalars['String']['output'];
453
- /** URL of the curator */
454
- url: Scalars['String']['output'];
455
- };
456
- /** ERC-20 compliant token interface - the base interface for all fungible tokens including vault shares */
457
- type Erc20 = {
458
- /** The contract address of the token */
459
- address: Scalars['Address']['output'];
460
- /** The category of the token */
461
- category: Maybe<TokenCategory>;
462
- /** The chain this token exists on */
463
- chain: Chain;
464
- /** The number of decimal places the token uses */
465
- decimals: Scalars['Int']['output'];
466
- /** URL to the token's image, null if not available */
467
- icon: Maybe<Scalars['URL']['output']>;
468
- /** The full name of the token (e.g., 'Ethereum') */
469
- name: Scalars['String']['output'];
470
- /** Current price of the token in USD, null iff price data unavailable */
471
- priceUsd: Maybe<Scalars['Float']['output']>;
472
- /** Risk assessment for the token */
473
- riskAssessment: RiskAssessment;
474
- /** The symbol of the token (e.g., 'ETH') */
475
- symbol: Scalars['String']['output'];
476
- };
477
- /** ERC-4626 tokenized vault interface - standard for yield-bearing vaults */
478
- type Erc4626Vault = {
479
- /** The contract address of the vault */
480
- address: Scalars['Address']['output'];
481
- /** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
482
- apy: Apy;
483
- /** Underlying asset of the vault */
484
- asset: Token;
485
- /** The category of the vault's underlying asset */
486
- category: Maybe<TokenCategory>;
487
- /** The chain this vault is deployed on */
488
- chain: Chain;
489
- /** The number of decimal places the vault shares use */
490
- decimals: Scalars['Int']['output'];
491
- /** URL to the vault's image, null if not available */
492
- icon: Maybe<Scalars['URL']['output']>;
493
- /** The full name of the vault */
494
- name: Scalars['String']['output'];
495
- /** Current price of vault shares in USD, null if price data unavailable */
496
- priceUsd: Maybe<Scalars['Float']['output']>;
497
- /** Risk assessment for the vault */
498
- riskAssessment: RiskAssessment;
499
- /** The symbol of the vault shares */
500
- symbol: Scalars['String']['output'];
501
- /** Total amount of the underlying assets supplied to the vault */
502
- totalAssets: TokenAmount;
503
- /**
504
- * Address of the vault contract
505
- * @deprecated Use address instead
506
- */
507
- vaultAddress: Scalars['Address']['output'];
508
- };
509
- /** ERC-4626 tokenized vault interface - standard for yield-bearing vaults */
510
- type Erc4626VaultApyArgs = {
511
- timeframe: ApyTimeframe;
512
- };
513
- /** Filter for querying ERC-4626 vaults */
514
- type Erc4626VaultFilter = {
515
- /** List of vault keys to filter by (returns vaults matching any key) */
516
- keys: InputMaybe<Array<Erc4626VaultKey>>;
517
- };
518
- /** Unique identifier for an ERC-4626 vault */
519
- type Erc4626VaultKey = {
520
- /** Chain the vault is deployed on */
521
- chainId: Scalars['ChainId']['input'];
522
- /** Protocol the vault is part of */
523
- protocol: Erc4626VaultProtocol;
524
- /** Address of the vault contract */
525
- vaultAddress: Scalars['Address']['input'];
526
- };
527
- /** Paginated response containing ERC-4626 vaults */
528
- type Erc4626VaultPage = {
529
- __typename?: 'Erc4626VaultPage';
530
- /** The items in the page */
531
- items: Array<Maybe<Erc4626Vault>>;
532
- /** Pagination information for the page */
533
- pageInfo: PageInfo;
534
- /** Total number of items */
535
- totalCount: Scalars['Int']['output'];
536
- };
537
- /** User position in an ERC-4626 vault */
538
- type Erc4626VaultPosition = {
539
- /** Address of the account */
540
- accountAddress: Scalars['Address']['output'];
541
- /** Underlying assets the shares are redeemable for */
542
- assets: TokenAmount;
543
- /** Vault shares owned by the account */
544
- shares: OnchainAmount;
545
- /** Vault the position is in */
546
- vault: Erc4626Vault;
547
- /** Holding of the underlying asset in the accounts wallet - just for convenience, technically not part of the positions */
548
- walletAssetHolding: TokenHolding;
549
- };
550
- /** Filter for querying ERC-4626 vault positions */
551
- type Erc4626VaultPositionFilter = {
552
- /** List of position keys to filter by (returns positions matching any key) */
553
- keys: InputMaybe<Array<Erc4626VaultPositionKey>>;
554
- };
555
- /** Unique identifier for a user's position in an ERC-4626 vault */
556
- type Erc4626VaultPositionKey = {
557
- /** Address of the account to get the position for */
558
- accountAddress: Scalars['Address']['input'];
559
- /** Chain the vault is deployed on */
560
- chainId: Scalars['ChainId']['input'];
561
- /** Protocol the vault is part of */
562
- protocol: Erc4626VaultProtocol;
563
- /** Address of the vault contract */
564
- vaultAddress: Scalars['Address']['input'];
565
- };
566
- /** Paginated response containing ERC-4626 vault positions */
567
- type Erc4626VaultPositionPage = {
568
- __typename?: 'Erc4626VaultPositionPage';
569
- /** The items in the page */
570
- items: Array<Maybe<Erc4626VaultPosition>>;
571
- /** Pagination information for the page */
572
- pageInfo: PageInfo;
573
- /** Total number of items */
574
- totalCount: Scalars['Int']['output'];
575
- };
576
- /** Protocols that implement ERC-4626 tokenized vault standard */
577
- declare enum Erc4626VaultProtocol {
578
- /** Box protocol vaults */
579
- Box = "box",
580
- /** Generic ERC-4626 vault (protocol-agnostic implementation) */
581
- Generic = "generic",
582
- /** Morpho v1 lending vaults */
583
- MorphoV1 = "morpho_v1",
584
- /** Morpho v2 lending vaults */
585
- MorphoV2 = "morpho_v2"
586
- }
587
- /** Generic ERC-4626 vault implementation without protocol-specific features */
588
- type GenericErc4626Vault = Erc20 & Erc4626Vault & {
589
- __typename?: 'GenericErc4626Vault';
590
- /** The contract address of the vault */
591
- address: Scalars['Address']['output'];
592
- /** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
593
- apy: Apy;
594
- /** Underlying asset of the vault */
595
- asset: Token;
596
- /** The category of the vault's underlying asset */
597
- category: Maybe<TokenCategory>;
598
- /** The chain this vault is deployed on */
599
- chain: Chain;
600
- /** The number of decimal places the vault shares use */
601
- decimals: Scalars['Int']['output'];
602
- /** URL to the vault's image, null if not available */
603
- icon: Maybe<Scalars['URL']['output']>;
604
- /** The full name of the vault */
605
- name: Scalars['String']['output'];
606
- /** Current price of vault shares in USD, null if price data unavailable */
607
- priceUsd: Maybe<Scalars['Float']['output']>;
608
- /** Risk assessment for the vault */
609
- riskAssessment: RiskAssessment;
610
- /** The symbol of the vault shares */
611
- symbol: Scalars['String']['output'];
612
- /** Total amount of the underlying assets supplied to the vault */
613
- totalAssets: TokenAmount;
614
- /**
615
- * Address of the vault contract
616
- * @deprecated Use address instead
617
- */
618
- vaultAddress: Scalars['Address']['output'];
619
- };
620
- /** Generic ERC-4626 vault implementation without protocol-specific features */
621
- type GenericErc4626VaultApyArgs = {
622
- timeframe: ApyTimeframe;
623
- };
624
- /** User position in a generic ERC-4626 vault */
625
- type GenericErc4626VaultPosition = Erc4626VaultPosition & {
626
- __typename?: 'GenericErc4626VaultPosition';
627
- /** Address of the account */
628
- accountAddress: Scalars['Address']['output'];
629
- /** Underlying assets the shares are redeemable for */
630
- assets: TokenAmount;
631
- /** Vault shares owned by the account */
632
- shares: OnchainAmount;
633
- /** Vault the position is in */
634
- vault: Erc4626Vault;
635
- /** Holding of the underlying asset in the accounts wallet - just for convenience, technically not part of the positions */
636
- walletAssetHolding: TokenHolding;
637
- };
638
- /** Identity information aggregated from multiple naming services */
639
- type Identity = {
640
- __typename?: 'Identity';
641
- /** Aggregated identity information with fallback priority based on resolverOrder */
642
- aggregate: IdentityResolverOutput;
643
- /** Identity information from Basename on Base network */
644
- base: IdentityResolverOutput;
645
- /** Identity information from Ethereum Name Service (ENS) */
646
- ens: IdentityResolverOutput;
647
- /** Identity information from Farcaster protocol */
648
- farcaster: IdentityResolverOutput;
649
- /** Whether the address is on the OFAC sanctions list */
650
- isOfacSanctioned: Scalars['Boolean']['output'];
651
- /** Identity information from Lens Protocol */
652
- lens: IdentityResolverOutput;
653
- /** Identity information from NNS */
654
- nns: IdentityResolverOutput;
655
- /** Identity information from Uniswap naming service */
656
- uni: IdentityResolverOutput;
657
- /** Identity information from Worldcoin */
658
- world: IdentityResolverOutput;
659
- };
660
- /** Identity resolution services that can provide name and profile information for addresses */
661
- declare enum IdentityResolver {
662
- /** Basename - .base.eth domains on Base network */
663
- Base = "base",
664
- /** Ethereum Name Service (ENS) - .eth domains */
665
- Ens = "ens",
666
- /** Farcaster - decentralized social network */
667
- Farcaster = "farcaster",
668
- /** Lens Protocol - decentralized social graph */
669
- Lens = "lens",
670
- /** NNS - .nft domains */
671
- Nns = "nns",
672
- /** Uniswap - .uni.eth domains */
673
- Uni = "uni",
674
- /** Worldcoin - verified identity protocol */
675
- World = "world"
676
- }
677
- /** Profile information resolved from an identity service */
678
- type IdentityResolverOutput = {
679
- __typename?: 'IdentityResolverOutput';
680
- /** URL or IPFS hash of the avatar image */
681
- avatar: Maybe<Scalars['String']['output']>;
682
- /** Biography or profile description */
683
- bio: Maybe<Scalars['String']['output']>;
684
- /** Discord username or server invite */
685
- discord: Maybe<Scalars['String']['output']>;
686
- /** GitHub username or profile URL */
687
- github: Maybe<Scalars['String']['output']>;
688
- /** Display name or ENS/domain name for the address */
689
- name: Maybe<Scalars['String']['output']>;
690
- /** Telegram username or profile */
691
- telegram: Maybe<Scalars['String']['output']>;
692
- /** Personal or project website URL */
693
- website: Maybe<Scalars['String']['output']>;
694
- /** X (formerly Twitter) handle or profile URL */
695
- x: Maybe<Scalars['String']['output']>;
696
- };
697
- type MarketV1Adapter = Adapter & {
698
- __typename?: 'MarketV1Adapter';
699
- /**
700
- * Address of the adapter
701
- * @deprecated Schema is subject to change, not yet stable
702
- */
703
- adapterAddress: Scalars['Address']['output'];
704
- /**
705
- * Cap for the adapter
706
- * @deprecated Schema is subject to change, not yet stable
707
- */
708
- adapterCap: Maybe<AdapterCap>;
709
- /**
710
- * Markets the adapter is allocating to. Note that only markets currently being allocated to will appear here
711
- * @deprecated Schema is subject to change, not yet stable
712
- */
713
- marketCaps: Array<MarketV1ExposureCap>;
714
- /**
715
- * Name of the adapter
716
- * @deprecated Schema is subject to change, not yet stable
717
- */
718
- name: Maybe<Scalars['String']['output']>;
719
- /** Risk assessment for the adapter */
720
- riskAssessment: RiskAssessment;
721
- };
722
- type MarketV1ExposureCap = Cap & {
723
- __typename?: 'MarketV1ExposureCap';
724
- /**
725
- * Absolute cap in underlying units
726
- * @deprecated Schema is subject to change, not yet stable
727
- */
728
- absoluteCap: TokenAmount;
729
- /**
730
- * Current amount allocated under this id
731
- * @deprecated Schema is subject to change, not yet stable
732
- */
733
- allocation: TokenAmount;
734
- /**
735
- * bytes32 key
736
- * @deprecated Schema is subject to change, not yet stable
737
- */
738
- capId: Scalars['Hex']['output'];
739
- /**
740
- * Market
741
- * @deprecated Schema is subject to change, not yet stable
742
- */
743
- market: MorphoMarket;
744
- /**
745
- * Relative cap (wad)
746
- * @deprecated Schema is subject to change, not yet stable
747
- */
748
- relativeCap: OnchainAmount;
749
- };
750
- /** Merkl reward earned by an account through protocol participation */
751
- type MerklAccountReward = {
752
- __typename?: 'MerklAccountReward';
753
- /** The amount of tokens that are currently claimable (creditedAmount - claimedAmount) */
754
- claimableAmount: TokenAmount;
755
- /** The total amount of tokens that have been credited to the account. This value should be used in the claim call with the proof. */
756
- creditedAmount: TokenAmount;
757
- /** The address of the contract that distributes the rewards */
758
- distributorAddress: Scalars['Address']['output'];
759
- /** The amount of the token that will become claimable on the next Merkle Root update (not yet credited to the account) */
760
- pendingAmount: TokenAmount;
761
- /** The Merkle proofs to claim the claimable tokens */
762
- proofs: Array<Scalars['Hex']['output']>;
763
- /** The token being rewarded */
764
- token: Token;
765
- };
766
- /** Type of DeFi action that generates Merkl rewards */
767
- declare enum MerklAction {
768
- /** Borrowing assets against collateral */
769
- Borrow = "Borrow",
770
- /** Supplying or depositing assets to earn yield */
771
- Lend = "Lend"
772
- }
773
- /** Input for querying Merkl rewards for a specific opportunity */
774
- type MerklRewardInput = {
775
- /** The action of the opportunity (lending or borrowing) */
776
- action: InputMaybe<MerklAction>;
777
- /** The chain ID of the main protocol */
778
- chainId: Scalars['ChainId']['input'];
779
- /** The identifier (a.k.a mainParameter) of the reward (ex. vault address for a Morpho vault) */
780
- identifier: Scalars['String']['input'];
781
- /** The main protocol ID the rewards are on (ex. 'morpho'), see https://api.merkl.xyz/v4/protocols */
782
- mainProtocolId: Scalars['String']['input'];
783
- };
784
- /** Interest rate model of a Morpho market */
785
- type MorphoIrm = {
786
- __typename?: 'MorphoIrm';
787
- /** Address of the IRM contract */
788
- address: Scalars['Address']['output'];
789
- /** Curve of the IRM */
790
- curve: Maybe<Array<MorphoIrmCurvePoint>>;
791
- /** Rate at target of the IRM, only null if the IRM is not the adaptive curve IRM */
792
- rateAtTarget: Maybe<Scalars['BigInt']['output']>;
793
- /** Target utilization of the IRM */
794
- targetUtilization: Scalars['Float']['output'];
795
- };
796
- /** Curve point of an IRM */
797
- type MorphoIrmCurvePoint = {
798
- __typename?: 'MorphoIrmCurvePoint';
799
- /** Base APY paid for borrowing from the market at this utilization */
800
- borrowApy: Scalars['Float']['output'];
801
- /** Base APY earned for supplying to the market at this utilization */
802
- supplyApy: Scalars['Float']['output'];
803
- /** Utilization at this curve point */
804
- utilization: Scalars['Float']['output'];
805
- };
806
- /** Morpho market */
807
- type MorphoMarket = {
808
- __typename?: 'MorphoMarket';
809
- /** APY paid for borrowing from the market (instantaneous) */
810
- borrowApy: Apy;
811
- /** APY paid for borrowing from the market smoothed over 1 day. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 1 day ago. */
812
- borrowApy1d: Apy;
813
- /** APY paid for borrowing from the market smoothed over 6 hours. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 6 hours ago. */
814
- borrowApy6h: Apy;
815
- /** APY paid for borrowing from the market smoothed over 7 days. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 7 days ago. */
816
- borrowApy7d: Apy;
817
- /** APY paid for borrowing from the market smoothed over 30 days. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 30 days ago. */
818
- borrowApy30d: Apy;
819
- /** Chain the market is deployed on */
820
- chain: Chain;
821
- /** Collateral asset of the market, only null for idle or misconfigured markets */
822
- collateralAsset: Maybe<Token>;
823
- /** Collateral price in loan asset, null if market is idle, or oracle has issue */
824
- collateralPriceInLoanAsset: Maybe<OnchainAmount>;
825
- /** Fee of the market */
826
- fee: OnchainAmount;
827
- /** Historical data for the market, will be null if historical data is not supported for this chain */
828
- historical: Maybe<MorphoMarketHistorical>;
829
- /** IRM of the market */
830
- irm: MorphoIrm;
831
- /** Whether the market is an idle market (no collateral asset, doesn't earn yield) */
832
- isIdle: Scalars['Boolean']['output'];
833
- /** Liquidation penalty of the market */
834
- liquidationPenalty: Scalars['Float']['output'];
835
- /** Amount of loan assets that are idle in the market (not being borrowed) */
836
- liquidityInMarket: TokenAmount;
837
- /** LLTV of the market */
838
- lltv: OnchainAmount;
839
- /** Loan asset of the market */
840
- loanAsset: Token;
841
- /** Unique market ID of the market */
842
- marketId: Scalars['Hex']['output'];
843
- /** Name of the market */
844
- name: Scalars['String']['output'];
845
- /** Oracle address of the market */
846
- oracleAddress: Scalars['Address']['output'];
847
- /** Amount of loan assets that can be allocated to this market via the public allocator */
848
- publicAllocatorSharedLiquidity: TokenAmount;
849
- /** Risk assessment for the market */
850
- riskAssessment: RiskAssessment;
851
- /** APY earned for supplying to the market (instantaneous) */
852
- supplyApy: Apy;
853
- /** APY earned for supplying to the market smoothed over 1 day. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 1 day ago. */
854
- supplyApy1d: Apy;
855
- /** APY earned for supplying to the market smoothed over 6 hours. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 6 hours ago. */
856
- supplyApy6h: Apy;
857
- /** APY earned for supplying to the market smoothed over 7 days. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 7 days ago. */
858
- supplyApy7d: Apy;
859
- /** APY earned for supplying to the market smoothed over 30 days. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 30 days ago. */
860
- supplyApy30d: Apy;
861
- /** Total amount of loan assets borrowed from the market */
862
- totalBorrowed: TokenAmount;
863
- /** Total amount of collateral supplied to the market, null for idle markets, and when historical data is not supported for this chain */
864
- totalCollateral: Maybe<TokenAmount>;
865
- /** Total amount of loan assets supplied to the market */
866
- totalSupplied: TokenAmount;
867
- /** Utilization of the market */
868
- utilization: Scalars['Float']['output'];
869
- /** Allocations from vault to this market */
870
- vaultAllocations: Array<MorphoVaultMarketAllocation>;
871
- };
872
- /** Filter for Morpho markets */
873
- type MorphoMarketFilter = {
874
- /** Filter for certain chainIds */
875
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
876
- /** Filter for certain market addresses */
877
- marketId_in: InputMaybe<Array<Scalars['Hex']['input']>>;
878
- /** Filter for whitelisted markets */
879
- whitelisted: InputMaybe<Scalars['Boolean']['input']>;
880
- };
881
- /** Historical data for a Morpho market */
882
- type MorphoMarketHistorical = {
883
- __typename?: 'MorphoMarketHistorical';
884
- /** Historical data with daily resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
885
- daily: Array<MorphoMarketHistoricalEntry>;
886
- /**
887
- * Historical data with hourly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data).
888
- * @deprecated Hourly data is no longer supported
889
- */
890
- hourly: Array<MorphoMarketHistoricalEntry>;
891
- /** Historical data with weekly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
892
- weekly: Array<MorphoMarketHistoricalEntry>;
893
- };
894
- /** Historical entry for a Morpho market */
895
- type MorphoMarketHistoricalEntry = {
896
- __typename?: 'MorphoMarketHistoricalEntry';
897
- /** APY paid for borrowing from the market smoothed over 1 day. Note that doesn't yet include rewards */
898
- borrowApy1d: Apy;
899
- /** APY paid for borrowing from the market smoothed over 6 hours. Note rewards are instantaneous, and base is instantaneous when the market has been deployed less than 6 hours ago. */
900
- borrowApy6h: Apy;
901
- /** APY paid for borrowing from the market smoothed over 7 days. Note that doesn't yet include rewards */
902
- borrowApy7d: Apy;
903
- /** APY paid for borrowing from the market smoothed over 30 days. Note that doesn't yet include rewards */
904
- borrowApy30d: Apy;
905
- /** APY paid for borrowing from the market (instantaneous, no smoothing). Note that doesn't yet include rewards */
906
- borrowApyInstantaneous: Apy;
907
- /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
908
- bucketTimestamp: Scalars['Int']['output'];
909
- /** Collateral price in loan asset, null if market is idle, or oracle has issue */
910
- collateralPriceInLoanAsset: Maybe<OnchainAmount>;
911
- /** APY earned when supplying to the market smoothed over 1 day. Note that doesn't yet include rewards */
912
- supplyApy1d: Apy;
913
- /** APY earned when supplying to the market smoothed over 6 hours. Note that doesn't yet include rewards */
914
- supplyApy6h: Apy;
915
- /** APY earned when supplying to the market smoothed over 7 days. Note that doesn't yet include rewards */
916
- supplyApy7d: Apy;
917
- /** APY earned when supplying to the market smoothed over 30 days. Note that doesn't yet include rewards */
918
- supplyApy30d: Apy;
919
- /** APY earned when supplying to the market (instantaneous, no smoothing). Note that doesn't yet include rewards */
920
- supplyApyInstantaneous: Apy;
921
- /** Total amount of loan assets borrowed from the market */
922
- totalBorrowed: TokenAmount;
923
- /** Total amount of collateral supplied to the market */
924
- totalCollateral: TokenAmount;
925
- /** Total amount of loan assets supplied to the market */
926
- totalSupplied: TokenAmount;
927
- };
928
- /** Page of Morpho markets */
929
- type MorphoMarketPage = {
930
- __typename?: 'MorphoMarketPage';
931
- /** The items in the page */
932
- items: Array<Maybe<MorphoMarket>>;
933
- /** Pagination information for the page */
934
- pageInfo: PageInfo;
935
- /** Total number of items */
936
- totalCount: Scalars['Int']['output'];
937
- };
938
- /** Position of an account in a Morpho market */
939
- type MorphoMarketPosition = {
940
- __typename?: 'MorphoMarketPosition';
941
- /** Address of the account */
942
- accountAddress: Scalars['Address']['output'];
943
- /** Borrow assets of the account */
944
- borrowAmount: TokenAmount;
945
- /** Borrow shares of the account */
946
- borrowShares: Scalars['BigInt']['output'];
947
- /** Collateral assets of the account, null iff the market is idle */
948
- collateralAmount: Maybe<TokenAmount>;
949
- /** Health factor of the account, null iff the market is idle or its oracle is misconfigured */
950
- healthFactor: Maybe<OnchainAmount>;
951
- /** LTV of the account, null iff the market is idle or its oracle is misconfigured */
952
- ltv: Maybe<OnchainAmount>;
953
- /** Market the position is in */
954
- market: MorphoMarket;
955
- /** Supply assets of the account */
956
- supplyAmount: TokenAmount;
957
- /** Supply shares of the account */
958
- supplyShares: Scalars['BigInt']['output'];
959
- /** Holding of collateral assets in the account's wallet, null iff the market is idle */
960
- walletCollateralAssetHolding: Maybe<TokenHolding>;
961
- /** Holding of loan assets in the account's wallet */
962
- walletLoanAssetHolding: TokenHolding;
963
- };
964
- type MorphoMarketPositionFilter = {
965
- /** Filter for positions for certain accounts */
966
- accountAddress_in: Array<Scalars['Address']['input']>;
967
- /** Filter for positions on certain chains */
968
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
969
- /** Filter for positions in certain markets */
970
- marketId_in: InputMaybe<Array<Scalars['Hex']['input']>>;
971
- /** Filter for positions in whitelisted markets only */
972
- whitelisted: InputMaybe<Scalars['Boolean']['input']>;
973
- };
974
- /** Page of Morpho market positions */
975
- type MorphoMarketPositionPage = {
976
- __typename?: 'MorphoMarketPositionPage';
977
- /** The items in the page */
978
- items: Array<Maybe<MorphoMarketPosition>>;
979
- /** Pagination information for the page */
980
- pageInfo: PageInfo;
981
- /** Total number of items */
982
- totalCount: Scalars['Int']['output'];
983
- };
984
- /** Morpho vault */
985
- type MorphoVault = Erc20 & Erc4626Vault & {
986
- __typename?: 'MorphoVault';
987
- /** The contract address of the vault */
988
- address: Scalars['Address']['output'];
989
- /** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
990
- apy: Apy;
991
- /** Underlying asset of the vault */
992
- asset: Token;
993
- /** The category of the vault's underlying asset */
994
- category: Maybe<TokenCategory>;
995
- /** The chain this vault is deployed on */
996
- chain: Chain;
997
- /** Curator address of the vault, this is the address that can modify the vaults allocations */
998
- curatorAddress: Scalars['Address']['output'];
999
- /** The number of decimal places the vault shares use */
1000
- decimals: Scalars['Int']['output'];
1001
- /** Fee recipient address of the vault, this is the address that receives the performance fee */
1002
- feeRecipientAddress: Maybe<Scalars['Address']['output']>;
1003
- /** Guardian address of the vault, this is the address that can make emergency changes to the vault */
1004
- guardianAddress: Scalars['Address']['output'];
1005
- /** Historical data for the vault, will be null if historical data is not supported for this chain */
1006
- historical: Maybe<MorphoVaultHistorical>;
1007
- /** URL to the vault's image, null if not available */
1008
- icon: Maybe<Scalars['URL']['output']>;
1009
- /** Allocations of the vault to the markets */
1010
- marketAllocations: Array<MorphoVaultMarketAllocation>;
1011
- /** Metadata for the vault */
1012
- metadata: Maybe<MorphoVaultMetadata>;
1013
- /** The full name of the vault */
1014
- name: Scalars['String']['output'];
1015
- /** Owner address of the vault, this is the address that can modify the vaults configuration */
1016
- ownerAddress: Scalars['Address']['output'];
1017
- /** Performance fee of the vault, this is the fee that is taken from the vaults profits */
1018
- performanceFee: Scalars['Float']['output'];
1019
- /** Current price of vault shares in USD, null if price data unavailable */
1020
- priceUsd: Maybe<Scalars['Float']['output']>;
1021
- /** Risk assessment for the vault */
1022
- riskAssessment: RiskAssessment;
1023
- /**
1024
- * APY earned when supplying to the vault
1025
- * @deprecated Use apy(timeframe: one_day) instead
1026
- */
1027
- supplyApy: Apy;
1028
- /**
1029
- * 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.
1030
- * @deprecated Use apy(timeframe: one_day) instead
1031
- */
1032
- supplyApy1d: Apy;
1033
- /**
1034
- * 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.
1035
- * @deprecated Use apy(timeframe: seven_days) instead
1036
- */
1037
- supplyApy7d: Apy;
1038
- /**
1039
- * 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.
1040
- * @deprecated Use apy(timeframe: thirty_days) instead
1041
- */
1042
- supplyApy30d: Apy;
1043
- /** The symbol of the vault shares */
1044
- symbol: Scalars['String']['output'];
1045
- /** Total amount of the underlying assets supplied to the vault */
1046
- totalAssets: TokenAmount;
1047
- /** Total amount of the idle underlying assets (not being borrowed from the vault) */
1048
- totalLiquidity: TokenAmount;
1049
- /**
1050
- * Total amount of the underlying assets supplied to the vault
1051
- * @deprecated Use totalAssets instead
1052
- */
1053
- totalSupplied: TokenAmount;
1054
- /**
1055
- * Address of the vault contract
1056
- * @deprecated Use address instead
1057
- */
1058
- vaultAddress: Scalars['Address']['output'];
1059
- };
1060
- /** Morpho vault */
1061
- type MorphoVaultApyArgs = {
1062
- timeframe: ApyTimeframe;
1063
- };
1064
- /** Filter for Morpho vaults */
1065
- type MorphoVaultFilter = {
1066
- /** Filter for certain chainIds */
1067
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
1068
- /** Filter for certain vault addresses */
1069
- vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
1070
- /** Filter for whitelisted vaults */
1071
- whitelisted: InputMaybe<Scalars['Boolean']['input']>;
1072
- };
1073
- /** Historical data for a Morpho vault */
1074
- type MorphoVaultHistorical = {
1075
- __typename?: 'MorphoVaultHistorical';
1076
- /** Historical data with daily resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
1077
- daily: Array<MorphoVaultHistoricalEntry>;
1078
- /**
1079
- * Historical data with hourly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data).
1080
- * @deprecated Hourly data is currently not supported, and will return an empty array. Use daily or weekly instead.
1081
- */
1082
- hourly: Array<MorphoVaultHistoricalEntry>;
1083
- /** Historical data with weekly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
1084
- weekly: Array<MorphoVaultHistoricalEntry>;
1085
- };
1086
- /** Historical entry for a Morpho vault */
1087
- type MorphoVaultHistoricalEntry = {
1088
- __typename?: 'MorphoVaultHistoricalEntry';
1089
- /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
1090
- bucketTimestamp: Scalars['Int']['output'];
1091
- /** APY earned when supplying to the vault smoothed over 1 day. Note that doesn't yet include rewards */
1092
- supplyApy1d: Apy;
1093
- /** APY earned when supplying to the vault smoothed over 6 hours. Note that doesn't yet include rewards */
1094
- supplyApy6h: Apy;
1095
- /** APY earned when supplying to the vault smoothed over 7 days. Note that doesn't yet include rewards */
1096
- supplyApy7d: Apy;
1097
- /** APY earned when supplying to the vault smoothed over 30 days. Note that doesn't yet include rewards */
1098
- supplyApy30d: Apy;
1099
- /** Total amount of the underlying assets supplied to the vault */
1100
- totalSupplied: TokenAmount;
1101
- };
1102
- /** Allocation of a vault to a market */
1103
- type MorphoVaultMarketAllocation = {
1104
- __typename?: 'MorphoVaultMarketAllocation';
1105
- /** Whether the vault has enabled this market for allocations */
1106
- enabled: Scalars['Boolean']['output'];
1107
- /** Market the allocation is to */
1108
- market: MorphoMarket;
1109
- /** Share of the market's total supply from this vault */
1110
- marketSupplyShare: Scalars['Float']['output'];
1111
- /** Position of the vault in the market */
1112
- position: MorphoMarketPosition;
1113
- /** Supply cap of the allocation */
1114
- supplyCap: TokenAmount;
1115
- /** Vault the allocation is from */
1116
- vault: MorphoVault;
1117
- /** Share of the vault's total supply to this market */
1118
- vaultSupplyShare: Scalars['Float']['output'];
1119
- };
1120
- /** Metadata for a Morpho vault */
1121
- type MorphoVaultMetadata = {
1122
- __typename?: 'MorphoVaultMetadata';
1123
- /** Curator of the vault */
1124
- curator: Maybe<Curator>;
1125
- /**
1126
- * Curators of the vault
1127
- * @deprecated Use curator field instead.
1128
- */
1129
- curators: Array<Curator>;
1130
- /** Description of the vault */
1131
- description: Maybe<Scalars['String']['output']>;
1132
- /**
1133
- * Forum link of the vault
1134
- * @deprecated Hourly data is currently not supported, and will return an empty array. Use daily or weekly instead.
1135
- */
1136
- forumLink: Maybe<Scalars['String']['output']>;
1137
- /** Image of the vault */
1138
- image: Maybe<Scalars['String']['output']>;
1139
- };
1140
- /** Page of Morpho vaults */
1141
- type MorphoVaultPage = {
1142
- __typename?: 'MorphoVaultPage';
1143
- /** The items in the page */
1144
- items: Array<Maybe<MorphoVault>>;
1145
- /** Pagination information for the page */
1146
- pageInfo: PageInfo;
1147
- /** Total number of items */
1148
- totalCount: Scalars['Int']['output'];
1149
- };
1150
- /** Position of an account in a Morpho vault */
1151
- type MorphoVaultPosition = {
1152
- __typename?: 'MorphoVaultPosition';
1153
- /** Address of the account */
1154
- accountAddress: Scalars['Address']['output'];
1155
- /** Supply assets of the account */
1156
- supplyAmount: TokenAmount;
1157
- /** Supply shares of the account */
1158
- supplyShares: Scalars['BigInt']['output'];
1159
- /** Vault the position is in */
1160
- vault: MorphoVault;
1161
- /** Holding of the underlying asset in the accounts wallet */
1162
- walletUnderlyingAssetHolding: Maybe<TokenHolding>;
1163
- };
1164
- type MorphoVaultPositionFilter = {
1165
- /** Filter for positions for certain accounts */
1166
- accountAddress_in: Array<Scalars['Address']['input']>;
1167
- /** Filter for positions on certain chains */
1168
- chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
1169
- /** Filter for positions in certain vaults */
1170
- vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
1171
- /** Filter for positions in whitelisted vaults only */
1172
- whitelisted: InputMaybe<Scalars['Boolean']['input']>;
1173
- };
1174
- type MorphoVaultPositionPage = {
1175
- __typename?: 'MorphoVaultPositionPage';
1176
- /** The items in the page */
1177
- items: Array<Maybe<MorphoVaultPosition>>;
1178
- /** Pagination information for the page */
1179
- pageInfo: PageInfo;
1180
- /** Total number of items */
1181
- totalCount: Scalars['Int']['output'];
1182
- };
1183
- type MorphoVaultV2 = Erc20 & Erc4626Vault & {
1184
- __typename?: 'MorphoVaultV2';
1185
- /**
1186
- * Adapters this vault is allocating to
1187
- * @deprecated Schema is subject to change, not yet stable
1188
- */
1189
- adapters: Array<Adapter>;
1190
- /** The contract address of the vault */
1191
- address: Scalars['Address']['output'];
1192
- /**
1193
- * Allocator address of the vault, null if and only if there are indexer issues
1194
- * @deprecated Schema is subject to change, not yet stable
1195
- */
1196
- allocatorAddresses: Maybe<Array<Scalars['Address']['output']>>;
1197
- /** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
1198
- apy: Apy;
1199
- /** Underlying asset of the vault */
1200
- asset: Token;
1201
- /**
1202
- * Caps that are set for the vault. null if and only if there are indexer issues
1203
- * @deprecated Schema is subject to change, not yet stable
1204
- */
1205
- caps: Maybe<Array<Cap>>;
1206
- /** The category of the vault's underlying asset */
1207
- category: Maybe<TokenCategory>;
1208
- /** The chain this vault is deployed on */
1209
- chain: Chain;
1210
- /**
1211
- * Curator address of the vault, this is the address that can modify the vaults allocations
1212
- * @deprecated Schema is subject to change, not yet stable
1213
- */
1214
- curatorAddress: Scalars['Address']['output'];
1215
- /** The number of decimal places the vault shares use */
1216
- decimals: Scalars['Int']['output'];
1217
- /** Historical data for the vault, will be null if historical data is not supported for this chain */
1218
- historical: Maybe<MorphoVaultHistorical>;
1219
- /** URL to the vault's image, null if not available */
1220
- icon: Maybe<Scalars['URL']['output']>;
1221
- /**
1222
- * Total amount of idle underlying assets held by the vault (not allocated to an adapter)
1223
- * @deprecated Schema is subject to change, not yet stable
1224
- */
1225
- idleAssets: TokenAmount;
1226
- /**
1227
- * Liquidity adapter address of the vault. Zero address means there is no liquidity adapter
1228
- * @deprecated Schema is subject to change, not yet stable
1229
- */
1230
- liquidityAdapterAddress: Scalars['Address']['output'];
1231
- /**
1232
- * Total amount of underlying assets that be withdrawn from the vault (idle + liquidity available from liquidity adapter)
1233
- * @deprecated Schema is subject to change, not yet stable
1234
- */
1235
- liquidityAssets: TokenAmount;
1236
- /**
1237
- * Management fee of the vault, this is the fee that is taken from the vaults profits
1238
- * @deprecated Schema is subject to change, not yet stable
1239
- */
1240
- managementFee: OnchainAmount;
1241
- /**
1242
- * Management fee recipient address of the vault, this is the address that receives the management fee
1243
- * @deprecated Schema is subject to change, not yet stable
1244
- */
1245
- managementFeeRecipientAddress: Scalars['Address']['output'];
1246
- /**
1247
- * Metadata for the vault
1248
- * @deprecated Schema is subject to change, not yet stable
1249
- */
1250
- metadata: Maybe<MorphoVaultMetadata>;
1251
- /** The full name of the vault */
1252
- name: Scalars['String']['output'];
1253
- /**
1254
- * Owner address of the vault, this is the address that can modify the vaults configuration
1255
- * @deprecated Schema is subject to change, not yet stable
1256
- */
1257
- ownerAddress: Scalars['Address']['output'];
1258
- /**
1259
- * Performance fee of the vault, this is the fee that is taken from the vaults profits
1260
- * @deprecated Schema is subject to change, not yet stable
1261
- */
1262
- performanceFee: OnchainAmount;
1263
- /**
1264
- * Performance fee recipient address of the vault, this is the address that receives the performance fee
1265
- * @deprecated Schema is subject to change, not yet stable
1266
- */
1267
- performanceFeeRecipientAddress: Scalars['Address']['output'];
1268
- /** Current price of vault shares in USD, null if price data unavailable */
1269
- priceUsd: Maybe<Scalars['Float']['output']>;
1270
- /**
1271
- * Receive assets gate
1272
- * @deprecated Schema is subject to change, not yet stable
1273
- */
1274
- receiveAssetsGateAddress: Scalars['Address']['output'];
1275
- /**
1276
- * Receive shares gate
1277
- * @deprecated Schema is subject to change, not yet stable
1278
- */
1279
- receiveSharesGateAddress: Scalars['Address']['output'];
1280
- /** Risk assessment for the vault */
1281
- riskAssessment: RiskAssessment;
1282
- /**
1283
- * Send assets gate
1284
- * @deprecated Schema is subject to change, not yet stable
1285
- */
1286
- sendAssetsGateAddress: Scalars['Address']['output'];
1287
- /**
1288
- * Send shares gate
1289
- * @deprecated Schema is subject to change, not yet stable
1290
- */
1291
- sendSharesGateAddress: Scalars['Address']['output'];
1292
- /**
1293
- * Sentinel address of the vault, null if and only if there are indexer issues
1294
- * @deprecated Schema is subject to change, not yet stable
1295
- */
1296
- sentinelAddresses: Maybe<Array<Scalars['Address']['output']>>;
1297
- /** The symbol of the vault shares */
1298
- symbol: Scalars['String']['output'];
1299
- /** Total amount of the underlying assets supplied to the vault */
1300
- totalAssets: TokenAmount;
1301
- /**
1302
- * Address of the vault contract
1303
- * @deprecated Use address instead
1304
- */
1305
- vaultAddress: Scalars['Address']['output'];
1306
- };
1307
- type MorphoVaultV2ApyArgs = {
1308
- timeframe: ApyTimeframe;
1309
- };
1310
- /** An arbitrary onchain amount */
1311
- type OnchainAmount = {
1312
- __typename?: 'OnchainAmount';
1313
- /** The formatted representation of the amount, this is the raw value scaled by its decimals (formatted = raw / 10^decimals) */
1314
- formatted: Scalars['String']['output'];
1315
- /** The integer representation of the amount as stored onchain */
1316
- raw: Scalars['BigInt']['output'];
1317
- };
1318
- /** Pagination information for a page of items */
1319
- type PageInfo = {
1320
- __typename?: 'PageInfo';
1321
- /** The cursor to the last item in the current page, this can be used for the queries `after` parameter to get the next page */
1322
- endCursor: Maybe<Scalars['String']['output']>;
1323
- /** Whether there are more items after the current page */
1324
- hasNextPage: Scalars['Boolean']['output'];
1325
- /** Whether there are more items before the current page */
1326
- hasPreviousPage: Scalars['Boolean']['output'];
1327
- /** The cursor to the first item in the current page, this can be used for the queries `before` parameter to get the previous page */
1328
- startCursor: Maybe<Scalars['String']['output']>;
1329
- };
1330
- /** DeFi protocol information */
1331
- type Protocol = {
1332
- __typename?: 'Protocol';
1333
- /** Icon of the protocol */
1334
- icon: Scalars['String']['output'];
1335
- /** Name of the protocol */
1336
- name: Scalars['String']['output'];
1337
- };
1338
- type Query = {
1339
- __typename?: 'Query';
1340
- aeraVaultPositions: AeraVaultPositionPage;
1341
- aeraVaults: AeraVaultPage;
1342
- /** Get supported chains (note that not all kits support all chains) */
1343
- chains: Array<Chain>;
1344
- /** Query for user positions in ERC-4626 vaults */
1345
- erc4626VaultPositions: Erc4626VaultPositionPage;
1346
- /** Query for ERC-4626 compliant vaults across multiple protocols */
1347
- erc4626Vaults: Erc4626VaultPage;
1348
- /** Resolve identity information for multiple addresses in batch */
1349
- identities: Array<Identity>;
1350
- /** Resolve identity information for a single address from multiple naming services */
1351
- identity: Maybe<Identity>;
1352
- /** Query for all Merkl rewards earned by an account on a specific chain */
1353
- merklAccountRewards: Array<MerklAccountReward>;
1354
- /** Query for Morpho market positions */
1355
- morphoMarketPositions: MorphoMarketPositionPage;
1356
- /** Query for Morpho markets */
1357
- morphoMarkets: MorphoMarketPage;
1358
- /** Query for Morpho vault positions */
1359
- morphoVaultPositions: MorphoVaultPositionPage;
1360
- /** Query for Morpho vaults */
1361
- morphoVaults: MorphoVaultPage;
1362
- /**
1363
- * Get aggregated TVL data for all Steakhouse-curated vaults
1364
- * @deprecated Schema is subject to change, not yet stable
1365
- */
1366
- steakhouseTvl: SteakhouseTvl;
1367
- /** Query for the token balance for a specific account and token */
1368
- tokenHoldings: Array<Maybe<TokenHolding>>;
1369
- /** Query for tokens */
1370
- tokens: Array<Maybe<Token>>;
1371
- /** Query for vaults across multiple DeFi protocols */
1372
- vaults: Array<Maybe<Vault>>;
1373
- };
1374
- type QueryAeraVaultPositionsArgs = {
1375
- after: InputMaybe<Scalars['String']['input']>;
1376
- before: InputMaybe<Scalars['String']['input']>;
1377
- limit: InputMaybe<Scalars['Int']['input']>;
1378
- where: AeraVaultPositionFilter;
1379
- };
1380
- type QueryAeraVaultsArgs = {
1381
- after: InputMaybe<Scalars['String']['input']>;
1382
- before: InputMaybe<Scalars['String']['input']>;
1383
- limit: InputMaybe<Scalars['Int']['input']>;
1384
- where: InputMaybe<AeraVaultFilter>;
1385
- };
1386
- type QueryChainsArgs = {
1387
- where: InputMaybe<ChainFilter>;
1388
- };
1389
- type QueryErc4626VaultPositionsArgs = {
1390
- after: InputMaybe<Scalars['String']['input']>;
1391
- before: InputMaybe<Scalars['String']['input']>;
1392
- limit: InputMaybe<Scalars['Int']['input']>;
1393
- where: InputMaybe<Erc4626VaultPositionFilter>;
1394
- };
1395
- type QueryErc4626VaultsArgs = {
1396
- after: InputMaybe<Scalars['String']['input']>;
1397
- before: InputMaybe<Scalars['String']['input']>;
1398
- limit: InputMaybe<Scalars['Int']['input']>;
1399
- where: InputMaybe<Erc4626VaultFilter>;
1400
- };
1401
- type QueryIdentitiesArgs = {
1402
- addresses: Array<Scalars['Address']['input']>;
1403
- resolverOrder: InputMaybe<Array<IdentityResolver>>;
1404
- };
1405
- type QueryIdentityArgs = {
1406
- address: Scalars['Address']['input'];
1407
- resolverOrder: InputMaybe<Array<IdentityResolver>>;
1408
- };
1409
- type QueryMerklAccountRewardsArgs = {
1410
- accountAddress: Scalars['Address']['input'];
1411
- chainId: Scalars['ChainId']['input'];
1412
- };
1413
- type QueryMorphoMarketPositionsArgs = {
1414
- after: InputMaybe<Scalars['String']['input']>;
1415
- before: InputMaybe<Scalars['String']['input']>;
1416
- limit: InputMaybe<Scalars['Int']['input']>;
1417
- where: MorphoMarketPositionFilter;
1418
- };
1419
- type QueryMorphoMarketsArgs = {
1420
- after: InputMaybe<Scalars['String']['input']>;
1421
- before: InputMaybe<Scalars['String']['input']>;
1422
- limit: InputMaybe<Scalars['Int']['input']>;
1423
- where: InputMaybe<MorphoMarketFilter>;
1424
- };
1425
- type QueryMorphoVaultPositionsArgs = {
1426
- after: InputMaybe<Scalars['String']['input']>;
1427
- before: InputMaybe<Scalars['String']['input']>;
1428
- limit: InputMaybe<Scalars['Int']['input']>;
1429
- where: MorphoVaultPositionFilter;
1430
- };
1431
- type QueryMorphoVaultsArgs = {
1432
- after: InputMaybe<Scalars['String']['input']>;
1433
- before: InputMaybe<Scalars['String']['input']>;
1434
- limit: InputMaybe<Scalars['Int']['input']>;
1435
- where: InputMaybe<MorphoVaultFilter>;
1436
- };
1437
- type QueryTokenHoldingsArgs = {
1438
- inputs: Array<TokenHoldingInput>;
1439
- };
1440
- type QueryTokensArgs = {
1441
- inputs: Array<TokenInput>;
1442
- };
1443
- type QueryVaultsArgs = {
1444
- inputs: Array<VaultInput>;
1445
- };
1446
- /** Rewards incentive */
1447
- type Reward = {
1448
- __typename?: 'Reward';
1449
- /** The Annual Percentage Rate (APR) for this reward token. Will always be positive. */
1450
- apr: Scalars['Float']['output'];
1451
- /** The token being rewarded */
1452
- asset: Token;
1453
- };
1454
- /** Risk assessment */
1455
- type RiskAssessment = {
1456
- __typename?: 'RiskAssessment';
1457
- /** Steakhouse risk assessment */
1458
- steakhouse: Maybe<SteakhouseRiskAssessment>;
1459
- };
1460
- /** Steakhouse risk assessment */
1461
- type SteakhouseRiskAssessment = {
1462
- __typename?: 'SteakhouseRiskAssessment';
1463
- /** Rating of the risk assessment */
1464
- rating: Scalars['String']['output'];
1465
- /** Score of the risk assessment */
1466
- score: Scalars['Float']['output'];
1467
- };
1468
- /** Total Value Locked across Steakhouse-curated vaults with multi-dimensional breakdowns */
1469
- type SteakhouseTvl = {
1470
- __typename?: 'SteakhouseTvl';
1471
- /** TVL broken down by asset category */
1472
- byAssetCategory: Array<SteakhouseTvlByAssetCategory>;
1473
- /** TVL broken down by blockchain */
1474
- byChain: Array<SteakhouseTvlByChain>;
1475
- /** TVL broken down by protocol version */
1476
- byProtocol: Array<SteakhouseTvlByProtocol>;
1477
- /** Timestamp when this data was computed (Unix seconds) */
1478
- computedAt: Scalars['Int']['output'];
1479
- /** Total TVL in USD across all vaults */
1480
- totalUsd: Scalars['Float']['output'];
1481
- };
1482
- /** TVL breakdown by asset category */
1483
- type SteakhouseTvlByAssetCategory = {
1484
- __typename?: 'SteakhouseTvlByAssetCategory';
1485
- /** Asset category (Stable, Eth, Btc) */
1486
- category: TokenCategory;
1487
- /** TVL in USD for this category */
1488
- tvlUsd: Scalars['Float']['output'];
1489
- };
1490
- /** TVL breakdown by blockchain */
1491
- type SteakhouseTvlByChain = {
1492
- __typename?: 'SteakhouseTvlByChain';
1493
- /** The blockchain */
1494
- chain: Chain;
1495
- /** TVL in USD on this chain */
1496
- tvlUsd: Scalars['Float']['output'];
1497
- };
1498
- /** TVL breakdown by protocol version */
1499
- type SteakhouseTvlByProtocol = {
1500
- __typename?: 'SteakhouseTvlByProtocol';
1501
- /** Protocol identifier (morpho_v1 or morpho_v2) */
1502
- protocol: Erc4626VaultProtocol;
1503
- /** TVL in USD for this protocol */
1504
- tvlUsd: Scalars['Float']['output'];
1505
- };
1506
- /** ERC-20 token with metadata and pricing information */
1507
- type Token = Erc20 & {
1508
- __typename?: 'Token';
1509
- /** The contract address of the token */
1510
- address: Scalars['Address']['output'];
1511
- /** The category of the token */
1512
- category: Maybe<TokenCategory>;
1513
- /** The chain this token exists on */
1514
- chain: Chain;
1515
- /** The number of decimal places the token uses */
1516
- decimals: Scalars['Int']['output'];
1517
- /** URL to the token's image, null if not available */
1518
- icon: Maybe<Scalars['URL']['output']>;
1519
- /** The full name of the token (e.g., 'Ethereum') */
1520
- name: Scalars['String']['output'];
1521
- /** Current price of the token in USD, null iff price data unavailable */
1522
- priceUsd: Maybe<Scalars['Float']['output']>;
1523
- /** Risk assessment for the token */
1524
- riskAssessment: RiskAssessment;
1525
- /** The symbol of the token (e.g., 'ETH') */
1526
- symbol: Scalars['String']['output'];
1527
- };
1528
- /** An amount for an onchain token */
1529
- type TokenAmount = {
1530
- __typename?: 'TokenAmount';
1531
- /** The formatted representation of the amount, this is the raw value scaled by the token's decimals (formatted = raw / 10^decimals) */
1532
- formatted: Scalars['String']['output'];
1533
- /** The integer representation of the amount as stored onchain */
1534
- raw: Scalars['BigInt']['output'];
1535
- /** The USD representation of the amount, null if price data unavailable */
1536
- usd: Maybe<Scalars['Float']['output']>;
1537
- };
1538
- /** The category for a token which can be used to easily group and filter */
1539
- declare enum TokenCategory {
1540
- /** Bitcoin or Bitcoin derivative (e.g., WBTC, cbBTC) */
1541
- Btc = "Btc",
1542
- /** Ether or Ether derivative (e.g., WETH, stETH) */
1543
- Eth = "Eth",
1544
- /** Stable coin (e.g., USDC, USDT, DAI) */
1545
- Stable = "Stable"
1546
- }
1547
- /** Token balance held by a specific account */
1548
- type TokenHolding = {
1549
- __typename?: 'TokenHolding';
1550
- /** The address of the account holding the token */
1551
- accountAddress: Scalars['Address']['output'];
1552
- /** The balance of the token held by the account */
1553
- balance: TokenAmount;
1554
- /** The token being held */
1555
- token: Erc20;
1556
- };
1557
- /** Input for querying a token holding */
1558
- type TokenHoldingInput = {
1559
- /** The address of the account holding the token */
1560
- accountAddress: Scalars['Address']['input'];
1561
- /** The chain ID (e.g., 1 for Ethereum mainnet) */
1562
- chainId: Scalars['ChainId']['input'];
1563
- /** The token contract address */
1564
- tokenAddress: Scalars['Address']['input'];
1565
- };
1566
- /** Input for batch token queries, specifying chain and contract address pairs. */
1567
- type TokenInput = {
1568
- /** The chain ID (e.g., 1 for Ethereum mainnet) */
1569
- chainId: Scalars['ChainId']['input'];
1570
- /** The token contract address */
1571
- tokenAddress: Scalars['Address']['input'];
1572
- };
1573
- type UnknownAdapter = Adapter & {
1574
- __typename?: 'UnknownAdapter';
1575
- /**
1576
- * Address of the adapter
1577
- * @deprecated Schema is subject to change, not yet stable
1578
- */
1579
- adapterAddress: Scalars['Address']['output'];
1580
- /**
1581
- * Cap for the adapter
1582
- * @deprecated Schema is subject to change, not yet stable
1583
- */
1584
- adapterCap: Maybe<AdapterCap>;
1585
- /**
1586
- * Name of the adapter
1587
- * @deprecated Schema is subject to change, not yet stable
1588
- */
1589
- name: Maybe<Scalars['String']['output']>;
1590
- /** Risk assessment for the adapter */
1591
- riskAssessment: RiskAssessment;
1592
- };
1593
- type UnknownCap = Cap & {
1594
- __typename?: 'UnknownCap';
1595
- /**
1596
- * Absolute cap in underlying units
1597
- * @deprecated Schema is subject to change, not yet stable
1598
- */
1599
- absoluteCap: TokenAmount;
1600
- /**
1601
- * Current amount allocated under this id
1602
- * @deprecated Schema is subject to change, not yet stable
1603
- */
1604
- allocation: TokenAmount;
1605
- /**
1606
- * bytes32 key
1607
- * @deprecated Schema is subject to change, not yet stable
1608
- */
1609
- capId: Scalars['Hex']['output'];
1610
- /**
1611
- * Relative cap (wad)
1612
- * @deprecated Schema is subject to change, not yet stable
1613
- */
1614
- relativeCap: OnchainAmount;
1615
- };
1616
- /** Unique identifier for a vault across chain and protocol */
1617
- type VaultInput = {
1618
- /** Chain the vault is deployed on */
1619
- chainId: Scalars['ChainId']['input'];
1620
- /** Protocol the vault is part of */
1621
- protocol: VaultProtocol;
1622
- /** Address of the vault */
1623
- vaultAddress: Scalars['Address']['input'];
1624
- };
1625
- /** DeFi protocols supported by the vault kit */
1626
- declare enum VaultProtocol {
1627
- /** Enzyme - asset management protocol */
1628
- Enzyme = "enzyme",
1629
- /** Euler Earn - yield aggregation vault */
1630
- EulerEarn = "euler_earn",
1631
- /** Euler v2 - modular lending protocol */
1632
- EulerV2 = "euler_v2",
1633
- /** Gearbox - leverage and yield farming */
1634
- Gearbox = "gearbox",
1635
- /** Lista - liquid staking and CDP protocol */
1636
- Lista = "lista",
1637
- /** Mellow - restaking and LRT infrastructure */
1638
- Mellow = "mellow",
1639
- /** Midas - real-world asset (RWA) protocol */
1640
- Midas = "midas",
1641
- /** Morpho - optimized lending protocol */
1642
- Morpho = "morpho",
1643
- /** Napier - principal token protocol */
1644
- Napier = "napier",
1645
- /** Pendle - yield trading protocol */
1646
- Pendle = "pendle",
1647
- /** Reserve - stablecoin protocol */
1648
- Reserve = "reserve",
1649
- /** Silo - isolated lending markets */
1650
- Silo = "silo",
1651
- /** Turtle Club - yield optimization vaults */
1652
- TurtleClub = "turtle_club"
1653
- }
1654
- /** Categories of vault strategies */
1655
- declare enum VaultType {
1656
- /** Index vaults that hold a basket of tokens with automatic rebalancing */
1657
- Index = "index",
1658
- /** Lending vaults that generate yield by supplying assets to borrowers */
1659
- Lending = "lending",
1660
- /** Staking vaults that earn rewards through token staking mechanisms */
1661
- Staking = "staking"
1662
- }
1663
- type VaultV1Adapter = Adapter & {
1664
- __typename?: 'VaultV1Adapter';
1665
- /**
1666
- * Address of the adapter
1667
- * @deprecated Schema is subject to change, not yet stable
1668
- */
1669
- adapterAddress: Scalars['Address']['output'];
1670
- /**
1671
- * Cap for the adapter
1672
- * @deprecated Schema is subject to change, not yet stable
1673
- */
1674
- adapterCap: Maybe<AdapterCap>;
1675
- /**
1676
- * Name of the adapter
1677
- * @deprecated Schema is subject to change, not yet stable
1678
- */
1679
- name: Maybe<Scalars['String']['output']>;
1680
- /** Risk assessment for the adapter */
1681
- riskAssessment: RiskAssessment;
1682
- /**
1683
- * Vault V1 the adapter allocated to
1684
- * @deprecated Schema is subject to change, not yet stable
1685
- */
1686
- vault: Maybe<MorphoVault>;
1687
- };
1688
- type TokenInfoFragmentFragment = {
1689
- __typename?: 'Token';
1690
- address: `0x${string}`;
1691
- symbol: string;
1692
- decimals: number;
1693
- icon: string | null;
1694
- category: TokenCategory | null;
1695
- name: string;
1696
- chain: {
1697
- __typename?: 'Chain';
1698
- id: 80094;
1699
- };
1700
- };
1701
- type ChainInfoFragmentFragment = {
1702
- __typename?: 'Chain';
1703
- id: 80094;
1704
- name: string;
1705
- icon: string;
1706
- };
1707
- type CuratorInfoFragmentFragment = {
1708
- __typename?: 'Curator';
1709
- name: string;
1710
- image: string;
1711
- url: string;
1712
- };
1713
- type ApyFragmentFragment = {
1714
- __typename?: 'Apy';
1715
- base: number;
1716
- total: number;
1717
- fee: number;
1718
- rewards: Array<{
1719
- __typename?: 'Reward';
1720
- apr: number;
1721
- asset: {
1722
- __typename?: 'Token';
1723
- address: `0x${string}`;
1724
- symbol: string;
1725
- decimals: number;
1726
- icon: string | null;
1727
- category: TokenCategory | null;
1728
- name: string;
1729
- chain: {
1730
- __typename?: 'Chain';
1731
- id: 80094;
1732
- };
1733
- };
1734
- }>;
1735
- };
1736
- type VaultSummaryFragmentFragment = {
1737
- __typename?: 'MorphoVault';
1738
- vaultAddress: `0x${string}`;
1739
- name: string;
1740
- chain: {
1741
- __typename?: 'Chain';
1742
- id: 80094;
1743
- name: string;
1744
- icon: string;
1745
- };
1746
- asset: {
1747
- __typename?: 'Token';
1748
- priceUsd: number | null;
1749
- address: `0x${string}`;
1750
- symbol: string;
1751
- decimals: number;
1752
- icon: string | null;
1753
- category: TokenCategory | null;
1754
- name: string;
1755
- chain: {
1756
- __typename?: 'Chain';
1757
- id: 80094;
1758
- };
1759
- };
1760
- metadata: {
1761
- __typename?: 'MorphoVaultMetadata';
1762
- curators: Array<{
1763
- __typename?: 'Curator';
1764
- name: string;
1765
- image: string;
1766
- url: string;
1767
- }>;
1768
- } | null;
1769
- totalSupplied: {
1770
- __typename?: 'TokenAmount';
1771
- raw: string;
1772
- formatted: string;
1773
- usd: number | null;
1774
- };
1775
- totalLiquidity: {
1776
- __typename?: 'TokenAmount';
1777
- raw: string;
1778
- formatted: string;
1779
- usd: number | null;
1780
- };
1781
- supplyApy: {
1782
- __typename?: 'Apy';
1783
- base: number;
1784
- total: number;
1785
- fee: number;
1786
- rewards: Array<{
1787
- __typename?: 'Reward';
1788
- apr: number;
1789
- asset: {
1790
- __typename?: 'Token';
1791
- address: `0x${string}`;
1792
- symbol: string;
1793
- decimals: number;
1794
- icon: string | null;
1795
- category: TokenCategory | null;
1796
- name: string;
1797
- chain: {
1798
- __typename?: 'Chain';
1799
- id: 80094;
1800
- };
1801
- };
1802
- }>;
1803
- };
1804
- supplyApy1d: {
1805
- __typename?: 'Apy';
1806
- base: number;
1807
- total: number;
1808
- fee: number;
1809
- rewards: Array<{
1810
- __typename?: 'Reward';
1811
- apr: number;
1812
- asset: {
1813
- __typename?: 'Token';
1814
- address: `0x${string}`;
1815
- symbol: string;
1816
- decimals: number;
1817
- icon: string | null;
1818
- category: TokenCategory | null;
1819
- name: string;
1820
- chain: {
1821
- __typename?: 'Chain';
1822
- id: 80094;
1823
- };
1824
- };
1825
- }>;
1826
- };
1827
- supplyApy7d: {
1828
- __typename?: 'Apy';
1829
- base: number;
1830
- total: number;
1831
- fee: number;
1832
- rewards: Array<{
1833
- __typename?: 'Reward';
1834
- apr: number;
1835
- asset: {
1836
- __typename?: 'Token';
1837
- address: `0x${string}`;
1838
- symbol: string;
1839
- decimals: number;
1840
- icon: string | null;
1841
- category: TokenCategory | null;
1842
- name: string;
1843
- chain: {
1844
- __typename?: 'Chain';
1845
- id: 80094;
1846
- };
1847
- };
1848
- }>;
1849
- };
1850
- marketAllocations: Array<{
1851
- __typename?: 'MorphoVaultMarketAllocation';
1852
- vaultSupplyShare: number;
1853
- market: {
1854
- __typename?: 'MorphoMarket';
1855
- isIdle: boolean;
1856
- collateralAsset: {
1857
- __typename?: 'Token';
1858
- address: `0x${string}`;
1859
- symbol: string;
1860
- decimals: number;
1861
- icon: string | null;
1862
- category: TokenCategory | null;
1863
- name: string;
1864
- chain: {
1865
- __typename?: 'Chain';
1866
- id: 80094;
1867
- };
1868
- } | null;
1869
- supplyApy: {
1870
- __typename?: 'Apy';
1871
- base: number;
1872
- total: number;
1873
- fee: number;
1874
- rewards: Array<{
1875
- __typename?: 'Reward';
1876
- apr: number;
1877
- asset: {
1878
- __typename?: 'Token';
1879
- address: `0x${string}`;
1880
- symbol: string;
1881
- decimals: number;
1882
- icon: string | null;
1883
- category: TokenCategory | null;
1884
- name: string;
1885
- chain: {
1886
- __typename?: 'Chain';
1887
- id: 80094;
1888
- };
1889
- };
1890
- }>;
1891
- };
1892
- fee: {
1893
- __typename?: 'OnchainAmount';
1894
- raw: string;
1895
- formatted: string;
1896
- };
1897
- };
1898
- supplyCap: {
1899
- __typename?: 'TokenAmount';
1900
- usd: number | null;
1901
- };
1902
- }>;
1903
- };
1904
- type MarketSummaryFragmentFragment = {
1905
- __typename?: 'MorphoMarket';
1906
- name: string;
1907
- marketId: `0x${string}`;
1908
- isIdle: boolean;
1909
- chain: {
1910
- __typename?: 'Chain';
1911
- id: 80094;
1912
- name: string;
1913
- icon: string;
1914
- };
1915
- totalBorrowed: {
1916
- __typename?: 'TokenAmount';
1917
- raw: string;
1918
- formatted: string;
1919
- usd: number | null;
1920
- };
1921
- totalSupplied: {
1922
- __typename?: 'TokenAmount';
1923
- raw: string;
1924
- formatted: string;
1925
- usd: number | null;
1926
- };
1927
- liquidityInMarket: {
1928
- __typename?: 'TokenAmount';
1929
- raw: string;
1930
- formatted: string;
1931
- usd: number | null;
1932
- };
1933
- publicAllocatorSharedLiquidity: {
1934
- __typename?: 'TokenAmount';
1935
- raw: string;
1936
- formatted: string;
1937
- usd: number | null;
1938
- };
1939
- collateralAsset: {
1940
- __typename?: 'Token';
1941
- address: `0x${string}`;
1942
- symbol: string;
1943
- decimals: number;
1944
- icon: string | null;
1945
- category: TokenCategory | null;
1946
- name: string;
1947
- chain: {
1948
- __typename?: 'Chain';
1949
- id: 80094;
1950
- };
1951
- } | null;
1952
- loanAsset: {
1953
- __typename?: 'Token';
1954
- address: `0x${string}`;
1955
- symbol: string;
1956
- decimals: number;
1957
- icon: string | null;
1958
- category: TokenCategory | null;
1959
- name: string;
1960
- chain: {
1961
- __typename?: 'Chain';
1962
- id: 80094;
1963
- };
1964
- };
1965
- lltv: {
1966
- __typename?: 'OnchainAmount';
1967
- raw: string;
1968
- formatted: string;
1969
- };
1970
- borrowApy: {
1971
- __typename?: 'Apy';
1972
- base: number;
1973
- total: number;
1974
- fee: number;
1975
- rewards: Array<{
1976
- __typename?: 'Reward';
1977
- apr: number;
1978
- asset: {
1979
- __typename?: 'Token';
1980
- address: `0x${string}`;
1981
- symbol: string;
1982
- decimals: number;
1983
- icon: string | null;
1984
- category: TokenCategory | null;
1985
- name: string;
1986
- chain: {
1987
- __typename?: 'Chain';
1988
- id: 80094;
1989
- };
1990
- };
1991
- }>;
1992
- };
1993
- borrowApy1d: {
1994
- __typename?: 'Apy';
1995
- base: number;
1996
- total: number;
1997
- fee: number;
1998
- rewards: Array<{
1999
- __typename?: 'Reward';
2000
- apr: number;
2001
- asset: {
2002
- __typename?: 'Token';
2003
- address: `0x${string}`;
2004
- symbol: string;
2005
- decimals: number;
2006
- icon: string | null;
2007
- category: TokenCategory | null;
2008
- name: string;
2009
- chain: {
2010
- __typename?: 'Chain';
2011
- id: 80094;
2012
- };
2013
- };
2014
- }>;
2015
- };
2016
- borrowApy7d: {
2017
- __typename?: 'Apy';
2018
- base: number;
2019
- total: number;
2020
- fee: number;
2021
- rewards: Array<{
2022
- __typename?: 'Reward';
2023
- apr: number;
2024
- asset: {
2025
- __typename?: 'Token';
2026
- address: `0x${string}`;
2027
- symbol: string;
2028
- decimals: number;
2029
- icon: string | null;
2030
- category: TokenCategory | null;
2031
- name: string;
2032
- chain: {
2033
- __typename?: 'Chain';
2034
- id: 80094;
2035
- };
2036
- };
2037
- }>;
2038
- };
2039
- vaultAllocations: Array<{
2040
- __typename?: 'MorphoVaultMarketAllocation';
2041
- vault: {
2042
- __typename?: 'MorphoVault';
2043
- vaultAddress: `0x${string}`;
2044
- };
2045
- position: {
2046
- __typename?: 'MorphoMarketPosition';
2047
- supplyAmount: {
2048
- __typename?: 'TokenAmount';
2049
- usd: number | null;
2050
- };
2051
- };
2052
- supplyCap: {
2053
- __typename?: 'TokenAmount';
2054
- usd: number | null;
2055
- };
2056
- }>;
2057
- };
2058
- type VaultSummariesQueryVariables = Exact<{
2059
- chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
2060
- vaultAddresses: Array<Scalars['Address']['input']> | Scalars['Address']['input'];
2061
- }>;
2062
- type VaultSummariesQuery = {
2063
- __typename?: 'Query';
2064
- morphoVaults: {
2065
- __typename?: 'MorphoVaultPage';
2066
- pageInfo: {
2067
- __typename?: 'PageInfo';
2068
- hasNextPage: boolean;
2069
- };
2070
- items: Array<{
2071
- __typename?: 'MorphoVault';
2072
- vaultAddress: `0x${string}`;
2073
- name: string;
2074
- chain: {
2075
- __typename?: 'Chain';
2076
- id: 80094;
2077
- name: string;
2078
- icon: string;
2079
- };
2080
- asset: {
2081
- __typename?: 'Token';
2082
- priceUsd: number | null;
2083
- address: `0x${string}`;
2084
- symbol: string;
2085
- decimals: number;
2086
- icon: string | null;
2087
- category: TokenCategory | null;
2088
- name: string;
2089
- chain: {
2090
- __typename?: 'Chain';
2091
- id: 80094;
2092
- };
2093
- };
2094
- metadata: {
2095
- __typename?: 'MorphoVaultMetadata';
2096
- curators: Array<{
2097
- __typename?: 'Curator';
2098
- name: string;
2099
- image: string;
2100
- url: string;
2101
- }>;
2102
- } | null;
2103
- totalSupplied: {
2104
- __typename?: 'TokenAmount';
2105
- raw: string;
2106
- formatted: string;
2107
- usd: number | null;
2108
- };
2109
- totalLiquidity: {
2110
- __typename?: 'TokenAmount';
2111
- raw: string;
2112
- formatted: string;
2113
- usd: number | null;
2114
- };
2115
- supplyApy: {
2116
- __typename?: 'Apy';
2117
- base: number;
2118
- total: number;
2119
- fee: number;
2120
- rewards: Array<{
2121
- __typename?: 'Reward';
2122
- apr: number;
2123
- asset: {
2124
- __typename?: 'Token';
2125
- address: `0x${string}`;
2126
- symbol: string;
2127
- decimals: number;
2128
- icon: string | null;
2129
- category: TokenCategory | null;
2130
- name: string;
2131
- chain: {
2132
- __typename?: 'Chain';
2133
- id: 80094;
2134
- };
2135
- };
2136
- }>;
2137
- };
2138
- supplyApy1d: {
2139
- __typename?: 'Apy';
2140
- base: number;
2141
- total: number;
2142
- fee: number;
2143
- rewards: Array<{
2144
- __typename?: 'Reward';
2145
- apr: number;
2146
- asset: {
2147
- __typename?: 'Token';
2148
- address: `0x${string}`;
2149
- symbol: string;
2150
- decimals: number;
2151
- icon: string | null;
2152
- category: TokenCategory | null;
2153
- name: string;
2154
- chain: {
2155
- __typename?: 'Chain';
2156
- id: 80094;
2157
- };
2158
- };
2159
- }>;
2160
- };
2161
- supplyApy7d: {
2162
- __typename?: 'Apy';
2163
- base: number;
2164
- total: number;
2165
- fee: number;
2166
- rewards: Array<{
2167
- __typename?: 'Reward';
2168
- apr: number;
2169
- asset: {
2170
- __typename?: 'Token';
2171
- address: `0x${string}`;
2172
- symbol: string;
2173
- decimals: number;
2174
- icon: string | null;
2175
- category: TokenCategory | null;
2176
- name: string;
2177
- chain: {
2178
- __typename?: 'Chain';
2179
- id: 80094;
2180
- };
2181
- };
2182
- }>;
2183
- };
2184
- marketAllocations: Array<{
2185
- __typename?: 'MorphoVaultMarketAllocation';
2186
- vaultSupplyShare: number;
2187
- market: {
2188
- __typename?: 'MorphoMarket';
2189
- isIdle: boolean;
2190
- collateralAsset: {
2191
- __typename?: 'Token';
2192
- address: `0x${string}`;
2193
- symbol: string;
2194
- decimals: number;
2195
- icon: string | null;
2196
- category: TokenCategory | null;
2197
- name: string;
2198
- chain: {
2199
- __typename?: 'Chain';
2200
- id: 80094;
2201
- };
2202
- } | null;
2203
- supplyApy: {
2204
- __typename?: 'Apy';
2205
- base: number;
2206
- total: number;
2207
- fee: number;
2208
- rewards: Array<{
2209
- __typename?: 'Reward';
2210
- apr: number;
2211
- asset: {
2212
- __typename?: 'Token';
2213
- address: `0x${string}`;
2214
- symbol: string;
2215
- decimals: number;
2216
- icon: string | null;
2217
- category: TokenCategory | null;
2218
- name: string;
2219
- chain: {
2220
- __typename?: 'Chain';
2221
- id: 80094;
2222
- };
2223
- };
2224
- }>;
2225
- };
2226
- fee: {
2227
- __typename?: 'OnchainAmount';
2228
- raw: string;
2229
- formatted: string;
2230
- };
2231
- };
2232
- supplyCap: {
2233
- __typename?: 'TokenAmount';
2234
- usd: number | null;
2235
- };
2236
- }>;
2237
- } | null>;
2238
- };
2239
- };
2240
- type MarketSummariesQueryVariables = Exact<{
2241
- chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
2242
- marketIds: Array<Scalars['Hex']['input']> | Scalars['Hex']['input'];
2243
- }>;
2244
- type MarketSummariesQuery = {
2245
- __typename?: 'Query';
2246
- morphoMarkets: {
2247
- __typename?: 'MorphoMarketPage';
2248
- pageInfo: {
2249
- __typename?: 'PageInfo';
2250
- hasNextPage: boolean;
2251
- };
2252
- items: Array<{
2253
- __typename?: 'MorphoMarket';
2254
- name: string;
2255
- marketId: `0x${string}`;
2256
- isIdle: boolean;
2257
- chain: {
2258
- __typename?: 'Chain';
2259
- id: 80094;
2260
- name: string;
2261
- icon: string;
2262
- };
2263
- totalBorrowed: {
2264
- __typename?: 'TokenAmount';
2265
- raw: string;
2266
- formatted: string;
2267
- usd: number | null;
2268
- };
2269
- totalSupplied: {
2270
- __typename?: 'TokenAmount';
2271
- raw: string;
2272
- formatted: string;
2273
- usd: number | null;
2274
- };
2275
- liquidityInMarket: {
2276
- __typename?: 'TokenAmount';
2277
- raw: string;
2278
- formatted: string;
2279
- usd: number | null;
2280
- };
2281
- publicAllocatorSharedLiquidity: {
2282
- __typename?: 'TokenAmount';
2283
- raw: string;
2284
- formatted: string;
2285
- usd: number | null;
2286
- };
2287
- collateralAsset: {
2288
- __typename?: 'Token';
2289
- address: `0x${string}`;
2290
- symbol: string;
2291
- decimals: number;
2292
- icon: string | null;
2293
- category: TokenCategory | null;
2294
- name: string;
2295
- chain: {
2296
- __typename?: 'Chain';
2297
- id: 80094;
2298
- };
2299
- } | null;
2300
- loanAsset: {
2301
- __typename?: 'Token';
2302
- address: `0x${string}`;
2303
- symbol: string;
2304
- decimals: number;
2305
- icon: string | null;
2306
- category: TokenCategory | null;
2307
- name: string;
2308
- chain: {
2309
- __typename?: 'Chain';
2310
- id: 80094;
2311
- };
2312
- };
2313
- lltv: {
2314
- __typename?: 'OnchainAmount';
2315
- raw: string;
2316
- formatted: string;
2317
- };
2318
- borrowApy: {
2319
- __typename?: 'Apy';
2320
- base: number;
2321
- total: number;
2322
- fee: number;
2323
- rewards: Array<{
2324
- __typename?: 'Reward';
2325
- apr: number;
2326
- asset: {
2327
- __typename?: 'Token';
2328
- address: `0x${string}`;
2329
- symbol: string;
2330
- decimals: number;
2331
- icon: string | null;
2332
- category: TokenCategory | null;
2333
- name: string;
2334
- chain: {
2335
- __typename?: 'Chain';
2336
- id: 80094;
2337
- };
2338
- };
2339
- }>;
2340
- };
2341
- borrowApy1d: {
2342
- __typename?: 'Apy';
2343
- base: number;
2344
- total: number;
2345
- fee: number;
2346
- rewards: Array<{
2347
- __typename?: 'Reward';
2348
- apr: number;
2349
- asset: {
2350
- __typename?: 'Token';
2351
- address: `0x${string}`;
2352
- symbol: string;
2353
- decimals: number;
2354
- icon: string | null;
2355
- category: TokenCategory | null;
2356
- name: string;
2357
- chain: {
2358
- __typename?: 'Chain';
2359
- id: 80094;
2360
- };
2361
- };
2362
- }>;
2363
- };
2364
- borrowApy7d: {
2365
- __typename?: 'Apy';
2366
- base: number;
2367
- total: number;
2368
- fee: number;
2369
- rewards: Array<{
2370
- __typename?: 'Reward';
2371
- apr: number;
2372
- asset: {
2373
- __typename?: 'Token';
2374
- address: `0x${string}`;
2375
- symbol: string;
2376
- decimals: number;
2377
- icon: string | null;
2378
- category: TokenCategory | null;
2379
- name: string;
2380
- chain: {
2381
- __typename?: 'Chain';
2382
- id: 80094;
2383
- };
2384
- };
2385
- }>;
2386
- };
2387
- vaultAllocations: Array<{
2388
- __typename?: 'MorphoVaultMarketAllocation';
2389
- vault: {
2390
- __typename?: 'MorphoVault';
2391
- vaultAddress: `0x${string}`;
2392
- };
2393
- position: {
2394
- __typename?: 'MorphoMarketPosition';
2395
- supplyAmount: {
2396
- __typename?: 'TokenAmount';
2397
- usd: number | null;
2398
- };
2399
- };
2400
- supplyCap: {
2401
- __typename?: 'TokenAmount';
2402
- usd: number | null;
2403
- };
2404
- }>;
2405
- } | null>;
2406
- };
2407
- };
2408
- type VaultQueryVariables = Exact<{
2409
- chainId: Scalars['ChainId']['input'];
2410
- vaultAddress: Scalars['Address']['input'];
2411
- }>;
2412
- type VaultQuery = {
2413
- __typename?: 'Query';
2414
- morphoVaults: {
2415
- __typename?: 'MorphoVaultPage';
2416
- items: Array<{
2417
- __typename?: 'MorphoVault';
2418
- performanceFee: number;
2419
- feeRecipientAddress: `0x${string}` | null;
2420
- ownerAddress: `0x${string}`;
2421
- curatorAddress: `0x${string}`;
2422
- guardianAddress: `0x${string}`;
2423
- vaultAddress: `0x${string}`;
2424
- name: string;
2425
- supplyApy1d: {
2426
- __typename?: 'Apy';
2427
- total: number;
2428
- base: number;
2429
- fee: number;
2430
- rewards: Array<{
2431
- __typename?: 'Reward';
2432
- apr: number;
2433
- asset: {
2434
- __typename?: 'Token';
2435
- address: `0x${string}`;
2436
- symbol: string;
2437
- decimals: number;
2438
- icon: string | null;
2439
- category: TokenCategory | null;
2440
- name: string;
2441
- chain: {
2442
- __typename?: 'Chain';
2443
- id: 80094;
2444
- };
2445
- };
2446
- }>;
2447
- };
2448
- supplyApy7d: {
2449
- __typename?: 'Apy';
2450
- total: number;
2451
- base: number;
2452
- fee: number;
2453
- rewards: Array<{
2454
- __typename?: 'Reward';
2455
- apr: number;
2456
- asset: {
2457
- __typename?: 'Token';
2458
- address: `0x${string}`;
2459
- symbol: string;
2460
- decimals: number;
2461
- icon: string | null;
2462
- category: TokenCategory | null;
2463
- name: string;
2464
- chain: {
2465
- __typename?: 'Chain';
2466
- id: 80094;
2467
- };
2468
- };
2469
- }>;
2470
- };
2471
- supplyApy30d: {
2472
- __typename?: 'Apy';
2473
- total: number;
2474
- };
2475
- asset: {
2476
- __typename?: 'Token';
2477
- priceUsd: number | null;
2478
- address: `0x${string}`;
2479
- symbol: string;
2480
- decimals: number;
2481
- icon: string | null;
2482
- category: TokenCategory | null;
2483
- name: string;
2484
- chain: {
2485
- __typename?: 'Chain';
2486
- id: 80094;
2487
- };
2488
- };
2489
- totalSupplied: {
2490
- __typename?: 'TokenAmount';
2491
- raw: string;
2492
- formatted: string;
2493
- usd: number | null;
2494
- };
2495
- totalLiquidity: {
2496
- __typename?: 'TokenAmount';
2497
- raw: string;
2498
- formatted: string;
2499
- usd: number | null;
2500
- };
2501
- marketAllocations: Array<{
2502
- __typename?: 'MorphoVaultMarketAllocation';
2503
- enabled: boolean;
2504
- vaultSupplyShare: number;
2505
- market: {
2506
- __typename?: 'MorphoMarket';
2507
- marketId: `0x${string}`;
2508
- isIdle: boolean;
2509
- name: string;
2510
- oracleAddress: `0x${string}`;
2511
- utilization: number;
2512
- chain: {
2513
- __typename?: 'Chain';
2514
- id: 80094;
2515
- name: string;
2516
- icon: string;
2517
- };
2518
- irm: {
2519
- __typename?: 'MorphoIrm';
2520
- address: `0x${string}`;
2521
- };
2522
- lltv: {
2523
- __typename?: 'OnchainAmount';
2524
- raw: string;
2525
- formatted: string;
2526
- };
2527
- collateralAsset: {
2528
- __typename?: 'Token';
2529
- address: `0x${string}`;
2530
- symbol: string;
2531
- decimals: number;
2532
- icon: string | null;
2533
- category: TokenCategory | null;
2534
- name: string;
2535
- chain: {
2536
- __typename?: 'Chain';
2537
- id: 80094;
2538
- };
2539
- } | null;
2540
- loanAsset: {
2541
- __typename?: 'Token';
2542
- address: `0x${string}`;
2543
- symbol: string;
2544
- decimals: number;
2545
- icon: string | null;
2546
- category: TokenCategory | null;
2547
- name: string;
2548
- chain: {
2549
- __typename?: 'Chain';
2550
- id: 80094;
2551
- };
2552
- };
2553
- supplyApy: {
2554
- __typename?: 'Apy';
2555
- total: number;
2556
- base: number;
2557
- fee: number;
2558
- rewards: Array<{
2559
- __typename?: 'Reward';
2560
- apr: number;
2561
- asset: {
2562
- __typename?: 'Token';
2563
- address: `0x${string}`;
2564
- symbol: string;
2565
- decimals: number;
2566
- icon: string | null;
2567
- category: TokenCategory | null;
2568
- name: string;
2569
- chain: {
2570
- __typename?: 'Chain';
2571
- id: 80094;
2572
- };
2573
- };
2574
- }>;
2575
- };
2576
- fee: {
2577
- __typename?: 'OnchainAmount';
2578
- raw: string;
2579
- formatted: string;
2580
- };
2581
- liquidityInMarket: {
2582
- __typename?: 'TokenAmount';
2583
- raw: string;
2584
- formatted: string;
2585
- usd: number | null;
2586
- };
2587
- };
2588
- position: {
2589
- __typename?: 'MorphoMarketPosition';
2590
- supplyShares: string;
2591
- supplyAmount: {
2592
- __typename?: 'TokenAmount';
2593
- raw: string;
2594
- formatted: string;
2595
- usd: number | null;
2596
- };
2597
- };
2598
- supplyCap: {
2599
- __typename?: 'TokenAmount';
2600
- raw: string;
2601
- formatted: string;
2602
- usd: number | null;
2603
- };
2604
- }>;
2605
- chain: {
2606
- __typename?: 'Chain';
2607
- id: 80094;
2608
- name: string;
2609
- icon: string;
2610
- };
2611
- metadata: {
2612
- __typename?: 'MorphoVaultMetadata';
2613
- curators: Array<{
2614
- __typename?: 'Curator';
2615
- name: string;
2616
- image: string;
2617
- url: string;
2618
- }>;
2619
- } | null;
2620
- supplyApy: {
2621
- __typename?: 'Apy';
2622
- base: number;
2623
- total: number;
2624
- fee: number;
2625
- rewards: Array<{
2626
- __typename?: 'Reward';
2627
- apr: number;
2628
- asset: {
2629
- __typename?: 'Token';
2630
- address: `0x${string}`;
2631
- symbol: string;
2632
- decimals: number;
2633
- icon: string | null;
2634
- category: TokenCategory | null;
2635
- name: string;
2636
- chain: {
2637
- __typename?: 'Chain';
2638
- id: 80094;
2639
- };
2640
- };
2641
- }>;
2642
- };
2643
- } | null>;
2644
- };
2645
- };
2646
- type MarketQueryVariables = Exact<{
2647
- chainId: Scalars['ChainId']['input'];
2648
- marketId: Scalars['Hex']['input'];
2649
- }>;
2650
- type MarketQuery = {
2651
- __typename?: 'Query';
2652
- morphoMarkets: {
2653
- __typename?: 'MorphoMarketPage';
2654
- items: Array<{
2655
- __typename?: 'MorphoMarket';
2656
- isIdle: boolean;
2657
- utilization: number;
2658
- liquidationPenalty: number;
2659
- oracleAddress: `0x${string}`;
2660
- name: string;
2661
- marketId: `0x${string}`;
2662
- totalSupplied: {
2663
- __typename?: 'TokenAmount';
2664
- raw: string;
2665
- formatted: string;
2666
- usd: number | null;
2667
- };
2668
- totalBorrowed: {
2669
- __typename?: 'TokenAmount';
2670
- raw: string;
2671
- formatted: string;
2672
- usd: number | null;
2673
- };
2674
- liquidityInMarket: {
2675
- __typename?: 'TokenAmount';
2676
- raw: string;
2677
- formatted: string;
2678
- usd: number | null;
2679
- };
2680
- publicAllocatorSharedLiquidity: {
2681
- __typename?: 'TokenAmount';
2682
- raw: string;
2683
- formatted: string;
2684
- usd: number | null;
2685
- };
2686
- collateralAsset: {
2687
- __typename?: 'Token';
2688
- priceUsd: number | null;
2689
- address: `0x${string}`;
2690
- symbol: string;
2691
- decimals: number;
2692
- icon: string | null;
2693
- category: TokenCategory | null;
2694
- name: string;
2695
- chain: {
2696
- __typename?: 'Chain';
2697
- id: 80094;
2698
- };
2699
- } | null;
2700
- loanAsset: {
2701
- __typename?: 'Token';
2702
- priceUsd: number | null;
2703
- address: `0x${string}`;
2704
- symbol: string;
2705
- decimals: number;
2706
- icon: string | null;
2707
- category: TokenCategory | null;
2708
- name: string;
2709
- chain: {
2710
- __typename?: 'Chain';
2711
- id: 80094;
2712
- };
2713
- };
2714
- vaultAllocations: Array<{
2715
- __typename?: 'MorphoVaultMarketAllocation';
2716
- enabled: boolean;
2717
- marketSupplyShare: number;
2718
- vault: {
2719
- __typename?: 'MorphoVault';
2720
- vaultAddress: `0x${string}`;
2721
- name: string;
2722
- curatorAddress: `0x${string}`;
2723
- asset: {
2724
- __typename?: 'Token';
2725
- address: `0x${string}`;
2726
- symbol: string;
2727
- decimals: number;
2728
- icon: string | null;
2729
- category: TokenCategory | null;
2730
- name: string;
2731
- chain: {
2732
- __typename?: 'Chain';
2733
- id: 80094;
2734
- };
2735
- };
2736
- chain: {
2737
- __typename?: 'Chain';
2738
- id: 80094;
2739
- name: string;
2740
- icon: string;
2741
- };
2742
- metadata: {
2743
- __typename?: 'MorphoVaultMetadata';
2744
- curators: Array<{
2745
- __typename?: 'Curator';
2746
- name: string;
2747
- image: string;
2748
- url: string;
2749
- }>;
2750
- } | null;
2751
- };
2752
- position: {
2753
- __typename?: 'MorphoMarketPosition';
2754
- supplyShares: string;
2755
- supplyAmount: {
2756
- __typename?: 'TokenAmount';
2757
- raw: string;
2758
- formatted: string;
2759
- usd: number | null;
2760
- };
2761
- };
2762
- supplyCap: {
2763
- __typename?: 'TokenAmount';
2764
- raw: string;
2765
- formatted: string;
2766
- usd: number | null;
2767
- };
2768
- }>;
2769
- irm: {
2770
- __typename?: 'MorphoIrm';
2771
- address: `0x${string}`;
2772
- targetUtilization: number;
2773
- curve: Array<{
2774
- __typename?: 'MorphoIrmCurvePoint';
2775
- utilization: number;
2776
- supplyApy: number;
2777
- borrowApy: number;
2778
- }> | null;
2779
- };
2780
- collateralPriceInLoanAsset: {
2781
- __typename?: 'OnchainAmount';
2782
- raw: string;
2783
- formatted: string;
2784
- } | null;
2785
- chain: {
2786
- __typename?: 'Chain';
2787
- id: 80094;
2788
- name: string;
2789
- icon: string;
2790
- };
2791
- lltv: {
2792
- __typename?: 'OnchainAmount';
2793
- raw: string;
2794
- formatted: string;
2795
- };
2796
- borrowApy: {
2797
- __typename?: 'Apy';
2798
- base: number;
2799
- total: number;
2800
- fee: number;
2801
- rewards: Array<{
2802
- __typename?: 'Reward';
2803
- apr: number;
2804
- asset: {
2805
- __typename?: 'Token';
2806
- address: `0x${string}`;
2807
- symbol: string;
2808
- decimals: number;
2809
- icon: string | null;
2810
- category: TokenCategory | null;
2811
- name: string;
2812
- chain: {
2813
- __typename?: 'Chain';
2814
- id: 80094;
2815
- };
2816
- };
2817
- }>;
2818
- };
2819
- borrowApy1d: {
2820
- __typename?: 'Apy';
2821
- base: number;
2822
- total: number;
2823
- fee: number;
2824
- rewards: Array<{
2825
- __typename?: 'Reward';
2826
- apr: number;
2827
- asset: {
2828
- __typename?: 'Token';
2829
- address: `0x${string}`;
2830
- symbol: string;
2831
- decimals: number;
2832
- icon: string | null;
2833
- category: TokenCategory | null;
2834
- name: string;
2835
- chain: {
2836
- __typename?: 'Chain';
2837
- id: 80094;
2838
- };
2839
- };
2840
- }>;
2841
- };
2842
- borrowApy7d: {
2843
- __typename?: 'Apy';
2844
- base: number;
2845
- total: number;
2846
- fee: number;
2847
- rewards: Array<{
2848
- __typename?: 'Reward';
2849
- apr: number;
2850
- asset: {
2851
- __typename?: 'Token';
2852
- address: `0x${string}`;
2853
- symbol: string;
2854
- decimals: number;
2855
- icon: string | null;
2856
- category: TokenCategory | null;
2857
- name: string;
2858
- chain: {
2859
- __typename?: 'Chain';
2860
- id: 80094;
2861
- };
2862
- };
2863
- }>;
2864
- };
2865
- } | null>;
2866
- };
2867
- };
2868
- type VaultPositionsQueryVariables = Exact<{
2869
- chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
2870
- vaultAddresses: Array<Scalars['Address']['input']> | Scalars['Address']['input'];
2871
- accountAddress: Scalars['Address']['input'];
2872
- }>;
2873
- type VaultPositionsQuery = {
2874
- __typename?: 'Query';
2875
- morphoVaultPositions: {
2876
- __typename?: 'MorphoVaultPositionPage';
2877
- items: Array<{
2878
- __typename?: 'MorphoVaultPosition';
2879
- vault: {
2880
- __typename?: 'MorphoVault';
2881
- vaultAddress: `0x${string}`;
2882
- chain: {
2883
- __typename?: 'Chain';
2884
- id: 80094;
2885
- };
2886
- };
2887
- supplyAmount: {
2888
- __typename?: 'TokenAmount';
2889
- raw: string;
2890
- formatted: string;
2891
- usd: number | null;
2892
- };
2893
- walletUnderlyingAssetHolding: {
2894
- __typename?: 'TokenHolding';
2895
- balance: {
2896
- __typename?: 'TokenAmount';
2897
- raw: string;
2898
- formatted: string;
2899
- usd: number | null;
2900
- };
2901
- } | null;
2902
- } | null>;
2903
- };
2904
- };
2905
- type MarketPositionsQueryVariables = Exact<{
2906
- chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
2907
- marketIds: Array<Scalars['Hex']['input']> | Scalars['Hex']['input'];
2908
- accountAddress: Scalars['Address']['input'];
2909
- }>;
2910
- type MarketPositionsQuery = {
2911
- __typename?: 'Query';
2912
- morphoMarketPositions: {
2913
- __typename?: 'MorphoMarketPositionPage';
2914
- items: Array<{
2915
- __typename?: 'MorphoMarketPosition';
2916
- market: {
2917
- __typename?: 'MorphoMarket';
2918
- marketId: `0x${string}`;
2919
- chain: {
2920
- __typename?: 'Chain';
2921
- id: 80094;
2922
- };
2923
- };
2924
- collateralAmount: {
2925
- __typename?: 'TokenAmount';
2926
- raw: string;
2927
- formatted: string;
2928
- usd: number | null;
2929
- } | null;
2930
- borrowAmount: {
2931
- __typename?: 'TokenAmount';
2932
- raw: string;
2933
- formatted: string;
2934
- usd: number | null;
2935
- };
2936
- ltv: {
2937
- __typename?: 'OnchainAmount';
2938
- formatted: string;
2939
- } | null;
2940
- walletLoanAssetHolding: {
2941
- __typename?: 'TokenHolding';
2942
- balance: {
2943
- __typename?: 'TokenAmount';
2944
- raw: string;
2945
- formatted: string;
2946
- usd: number | null;
2947
- };
2948
- };
2949
- walletCollateralAssetHolding: {
2950
- __typename?: 'TokenHolding';
2951
- balance: {
2952
- __typename?: 'TokenAmount';
2953
- raw: string;
2954
- formatted: string;
2955
- usd: number | null;
2956
- };
2957
- } | null;
2958
- } | null>;
2959
- };
2960
- };
2961
- type SupportedMarketIdsQueryVariables = Exact<{
2962
- chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
2963
- vaultAddresses: Array<Scalars['Address']['input']> | Scalars['Address']['input'];
2964
- }>;
2965
- type SupportedMarketIdsQuery = {
2966
- __typename?: 'Query';
2967
- morphoVaults: {
2968
- __typename?: 'MorphoVaultPage';
2969
- items: Array<{
2970
- __typename?: 'MorphoVault';
2971
- chain: {
2972
- __typename?: 'Chain';
2973
- id: 80094;
2974
- };
2975
- marketAllocations: Array<{
2976
- __typename?: 'MorphoVaultMarketAllocation';
2977
- market: {
2978
- __typename?: 'MorphoMarket';
2979
- marketId: `0x${string}`;
2980
- };
2981
- }>;
2982
- } | null>;
2983
- };
2984
- };
2985
- type VaultHistoryDataQueryVariables = Exact<{
2986
- chainId: Scalars['ChainId']['input'];
2987
- vaultId: Scalars['Address']['input'];
2988
- }>;
2989
- type VaultHistoryDataQuery = {
2990
- __typename?: 'Query';
2991
- morphoVaults: {
2992
- __typename?: 'MorphoVaultPage';
2993
- items: Array<{
2994
- __typename?: 'MorphoVault';
2995
- historical: {
2996
- __typename?: 'MorphoVaultHistorical';
2997
- daily: Array<{
2998
- __typename?: 'MorphoVaultHistoricalEntry';
2999
- bucketTimestamp: number;
3000
- supplyApy1d: {
3001
- __typename?: 'Apy';
3002
- total: number;
3003
- };
3004
- supplyApy30d: {
3005
- __typename?: 'Apy';
3006
- total: number;
3007
- };
3008
- supplyApy7d: {
3009
- __typename?: 'Apy';
3010
- total: number;
3011
- };
3012
- totalSupplied: {
3013
- __typename?: 'TokenAmount';
3014
- usd: number | null;
3015
- raw: string;
3016
- formatted: string;
3017
- };
3018
- }>;
3019
- hourly: Array<{
3020
- __typename?: 'MorphoVaultHistoricalEntry';
3021
- bucketTimestamp: number;
3022
- supplyApy1d: {
3023
- __typename?: 'Apy';
3024
- total: number;
3025
- };
3026
- supplyApy30d: {
3027
- __typename?: 'Apy';
3028
- total: number;
3029
- };
3030
- supplyApy7d: {
3031
- __typename?: 'Apy';
3032
- total: number;
3033
- };
3034
- totalSupplied: {
3035
- __typename?: 'TokenAmount';
3036
- usd: number | null;
3037
- raw: string;
3038
- formatted: string;
3039
- };
3040
- }>;
3041
- } | null;
3042
- } | null>;
3043
- };
3044
- };
3045
- type VaultMarketAllocationHistoryDataQueryVariables = Exact<{
3046
- chainId: Scalars['ChainId']['input'];
3047
- vaultId: Scalars['Address']['input'];
3048
- }>;
3049
- type VaultMarketAllocationHistoryDataQuery = {
3050
- __typename?: 'Query';
3051
- morphoVaults: {
3052
- __typename?: 'MorphoVaultPage';
3053
- items: Array<{
3054
- __typename?: 'MorphoVault';
3055
- name: string;
3056
- marketAllocations: Array<{
3057
- __typename?: 'MorphoVaultMarketAllocation';
3058
- enabled: boolean;
3059
- market: {
3060
- __typename?: 'MorphoMarket';
3061
- name: string;
3062
- marketId: `0x${string}`;
3063
- utilization: number;
3064
- historical: {
3065
- __typename?: 'MorphoMarketHistorical';
3066
- daily: Array<{
3067
- __typename?: 'MorphoMarketHistoricalEntry';
3068
- bucketTimestamp: number;
3069
- borrowApy1d: {
3070
- __typename?: 'Apy';
3071
- total: number;
3072
- };
3073
- borrowApy30d: {
3074
- __typename?: 'Apy';
3075
- total: number;
3076
- };
3077
- borrowApy7d: {
3078
- __typename?: 'Apy';
3079
- total: number;
3080
- };
3081
- supplyApy1d: {
3082
- __typename?: 'Apy';
3083
- total: number;
3084
- };
3085
- supplyApy7d: {
3086
- __typename?: 'Apy';
3087
- total: number;
3088
- };
3089
- supplyApy30d: {
3090
- __typename?: 'Apy';
3091
- total: number;
3092
- };
3093
- totalBorrowed: {
3094
- __typename?: 'TokenAmount';
3095
- formatted: string;
3096
- raw: string;
3097
- usd: number | null;
3098
- };
3099
- totalCollateral: {
3100
- __typename?: 'TokenAmount';
3101
- formatted: string;
3102
- raw: string;
3103
- usd: number | null;
3104
- };
3105
- totalSupplied: {
3106
- __typename?: 'TokenAmount';
3107
- formatted: string;
3108
- raw: string;
3109
- usd: number | null;
3110
- };
3111
- }>;
3112
- hourly: Array<{
3113
- __typename?: 'MorphoMarketHistoricalEntry';
3114
- bucketTimestamp: number;
3115
- borrowApy1d: {
3116
- __typename?: 'Apy';
3117
- total: number;
3118
- };
3119
- borrowApy30d: {
3120
- __typename?: 'Apy';
3121
- total: number;
3122
- };
3123
- borrowApy7d: {
3124
- __typename?: 'Apy';
3125
- total: number;
3126
- };
3127
- supplyApy1d: {
3128
- __typename?: 'Apy';
3129
- total: number;
3130
- };
3131
- supplyApy7d: {
3132
- __typename?: 'Apy';
3133
- total: number;
3134
- };
3135
- supplyApy30d: {
3136
- __typename?: 'Apy';
3137
- total: number;
3138
- };
3139
- totalBorrowed: {
3140
- __typename?: 'TokenAmount';
3141
- formatted: string;
3142
- raw: string;
3143
- usd: number | null;
3144
- };
3145
- totalCollateral: {
3146
- __typename?: 'TokenAmount';
3147
- formatted: string;
3148
- raw: string;
3149
- usd: number | null;
3150
- };
3151
- totalSupplied: {
3152
- __typename?: 'TokenAmount';
3153
- formatted: string;
3154
- raw: string;
3155
- usd: number | null;
3156
- };
3157
- }>;
3158
- } | null;
3159
- };
3160
- vault: {
3161
- __typename?: 'MorphoVault';
3162
- decimals: number;
3163
- asset: {
3164
- __typename?: 'Token';
3165
- decimals: number;
3166
- };
3167
- };
3168
- }>;
3169
- } | null>;
3170
- };
3171
- };
3172
- type MarketHistoryDataQueryVariables = Exact<{
3173
- chainId: Scalars['ChainId']['input'];
3174
- marketId: Scalars['Hex']['input'];
3175
- }>;
3176
- type MarketHistoryDataQuery = {
3177
- __typename?: 'Query';
3178
- morphoMarkets: {
3179
- __typename?: 'MorphoMarketPage';
3180
- items: Array<{
3181
- __typename?: 'MorphoMarket';
3182
- historical: {
3183
- __typename?: 'MorphoMarketHistorical';
3184
- daily: Array<{
3185
- __typename?: 'MorphoMarketHistoricalEntry';
3186
- bucketTimestamp: number;
3187
- borrowApy1d: {
3188
- __typename?: 'Apy';
3189
- total: number;
3190
- };
3191
- borrowApy30d: {
3192
- __typename?: 'Apy';
3193
- total: number;
3194
- };
3195
- borrowApy7d: {
3196
- __typename?: 'Apy';
3197
- total: number;
3198
- };
3199
- supplyApy1d: {
3200
- __typename?: 'Apy';
3201
- total: number;
3202
- };
3203
- supplyApy7d: {
3204
- __typename?: 'Apy';
3205
- total: number;
3206
- };
3207
- supplyApy30d: {
3208
- __typename?: 'Apy';
3209
- total: number;
3210
- };
3211
- totalBorrowed: {
3212
- __typename?: 'TokenAmount';
3213
- formatted: string;
3214
- raw: string;
3215
- usd: number | null;
3216
- };
3217
- totalCollateral: {
3218
- __typename?: 'TokenAmount';
3219
- formatted: string;
3220
- raw: string;
3221
- usd: number | null;
3222
- };
3223
- totalSupplied: {
3224
- __typename?: 'TokenAmount';
3225
- formatted: string;
3226
- raw: string;
3227
- usd: number | null;
3228
- };
3229
- }>;
3230
- hourly: Array<{
3231
- __typename?: 'MorphoMarketHistoricalEntry';
3232
- bucketTimestamp: number;
3233
- borrowApy1d: {
3234
- __typename?: 'Apy';
3235
- total: number;
3236
- };
3237
- borrowApy30d: {
3238
- __typename?: 'Apy';
3239
- total: number;
3240
- };
3241
- borrowApy7d: {
3242
- __typename?: 'Apy';
3243
- total: number;
3244
- };
3245
- supplyApy1d: {
3246
- __typename?: 'Apy';
3247
- total: number;
3248
- };
3249
- supplyApy7d: {
3250
- __typename?: 'Apy';
3251
- total: number;
3252
- };
3253
- supplyApy30d: {
3254
- __typename?: 'Apy';
3255
- total: number;
3256
- };
3257
- totalBorrowed: {
3258
- __typename?: 'TokenAmount';
3259
- formatted: string;
3260
- raw: string;
3261
- usd: number | null;
3262
- };
3263
- totalCollateral: {
3264
- __typename?: 'TokenAmount';
3265
- formatted: string;
3266
- raw: string;
3267
- usd: number | null;
3268
- };
3269
- totalSupplied: {
3270
- __typename?: 'TokenAmount';
3271
- formatted: string;
3272
- raw: string;
3273
- usd: number | null;
3274
- };
3275
- }>;
3276
- } | null;
3277
- } | null>;
3278
- };
3279
- };
3280
- type MarketIbrHistoryDataQueryVariables = Exact<{
3281
- chainId: Scalars['ChainId']['input'];
3282
- marketId: Scalars['Hex']['input'];
3283
- }>;
3284
- type MarketIbrHistoryDataQuery = {
3285
- __typename?: 'Query';
3286
- morphoMarkets: {
3287
- __typename?: 'MorphoMarketPage';
3288
- items: Array<{
3289
- __typename?: 'MorphoMarket';
3290
- historical: {
3291
- __typename?: 'MorphoMarketHistorical';
3292
- daily: Array<{
3293
- __typename?: 'MorphoMarketHistoricalEntry';
3294
- bucketTimestamp: number;
3295
- borrowApyInstantaneous: {
3296
- __typename?: 'Apy';
3297
- total: number;
3298
- };
3299
- }>;
3300
- hourly: Array<{
3301
- __typename?: 'MorphoMarketHistoricalEntry';
3302
- bucketTimestamp: number;
3303
- borrowApyInstantaneous: {
3304
- __typename?: 'Apy';
3305
- total: number;
3306
- };
3307
- }>;
3308
- } | null;
3309
- } | null>;
3310
- };
3311
- };
3312
- declare const ChainInfoFragment: _apollo_client.DocumentNode;
3313
- declare const TokenInfoFragment: _apollo_client.DocumentNode;
3314
- declare const CuratorInfoFragment: _apollo_client.DocumentNode;
3315
- declare const ApyFragment: _apollo_client.DocumentNode;
3316
- declare const VaultSummaryFragment: _apollo_client.DocumentNode;
3317
- declare const MarketSummaryFragment: _apollo_client.DocumentNode;
3318
- declare const VaultSummaries: _apollo_client.DocumentNode;
3319
- declare const MarketSummaries: _apollo_client.DocumentNode;
3320
- /** Yield-bearing vault aggregating deposits across DeFi protocols */
3321
- type Vault = {
3322
- __typename?: 'Vault';
3323
- /** Underlying asset of the vault */
3324
- asset: Token;
3325
- /** Chain the vault is deployed on */
3326
- chain: Chain;
3327
- /** Description of the vault */
3328
- description: Maybe<Scalars['String']['output']>;
3329
- /** Name of the vault */
3330
- name: Scalars['String']['output'];
3331
- /** Protocol the vault is part of */
3332
- protocol: Protocol;
3333
- /** APY earned when supplying to the vault */
3334
- supplyApy: Apy;
3335
- /** Total amount of underlying assets supplied to the vault */
3336
- totalSupplied: TokenAmount;
3337
- /** Type of vault */
3338
- type: VaultType;
3339
- /** URL to the vault's page on the protocol's website */
3340
- url: Scalars['String']['output'];
3341
- /** Address of the vault */
3342
- vaultAddress: Scalars['Address']['output'];
3343
- };
3344
- declare const Vault: _apollo_client.DocumentNode;
3345
- declare const Market: _apollo_client.DocumentNode;
3346
- declare const VaultPositions: _apollo_client.DocumentNode;
3347
- declare const MarketPositions: _apollo_client.DocumentNode;
3348
- declare const SupportedMarketIds: _apollo_client.DocumentNode;
3349
- declare const VaultHistoryData: _apollo_client.DocumentNode;
3350
- declare const VaultMarketAllocationHistoryData: _apollo_client.DocumentNode;
3351
- declare const MarketHistoryData: _apollo_client.DocumentNode;
3352
- declare const MarketIbrHistoryData: _apollo_client.DocumentNode;
3353
- interface PossibleTypesResultData {
3354
- possibleTypes: {
3355
- [key: string]: string[];
3356
- };
3357
- }
3358
- declare const result: PossibleTypesResultData;
3359
-
3360
- export { type Adapter, type AdapterCap, type AeraPendingAction, type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, ApyTimeframe, type BoxFundingModule, type BoxMorphoFundingModule, type BoxUnknownFundingModule, type BoxVault, type BoxVaultAdapter, type BoxVaultApyArgs, type Cap, type Chain, type ChainFilter, ChainInfoFragment, type ChainInfoFragmentFragment, type CollateralExposureCap, type Curator, CuratorInfoFragment, type CuratorInfoFragmentFragment, type Erc20, type Erc4626Vault, type Erc4626VaultApyArgs, type Erc4626VaultFilter, type Erc4626VaultKey, type Erc4626VaultPage, type Erc4626VaultPosition, type Erc4626VaultPositionFilter, type Erc4626VaultPositionKey, type Erc4626VaultPositionPage, Erc4626VaultProtocol, type Exact, type GenericErc4626Vault, type GenericErc4626VaultApyArgs, type GenericErc4626VaultPosition, 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 QueryErc4626VaultPositionsArgs, 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 RiskAssessment, type Scalars, type SteakhouseRiskAssessment, type SteakhouseTvl, type SteakhouseTvlByAssetCategory, type SteakhouseTvlByChain, type SteakhouseTvlByProtocol, SupportedMarketIds, type SupportedMarketIdsQuery, type SupportedMarketIdsQueryVariables, type Token, type TokenAmount, TokenCategory, 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 };