@berachain/graphql 0.1.0-alpha.9 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1798 @@
1
+ import * as graphql from 'graphql';
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 | bigint;
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
+ /** Aera vault */
68
+ type AeraVault = {
69
+ __typename?: 'AeraVault';
70
+ /** Chain the vault is deployed on */
71
+ chain: Chain;
72
+ /** Vault-level paused flag (guardian operations) */
73
+ isPaused: Scalars['Boolean']['output'];
74
+ /** Management fee of the vault */
75
+ managementFee: OnchainAmount;
76
+ /** Name of the vault */
77
+ name: Scalars['String']['output'];
78
+ /** Numeraire asset of the vault */
79
+ numeraireAsset: Token;
80
+ /** Performance fee of the vault */
81
+ performanceFee: OnchainAmount;
82
+ /** APY earned when supplying to the vault smoothed over 1 day. */
83
+ supplyApy1d: Apy;
84
+ /** APY earned when supplying to the vault smoothed over 7 days. */
85
+ supplyApy7d: Apy;
86
+ /** APY earned when supplying to the vault smoothed over 30 days. */
87
+ supplyApy30d: Apy;
88
+ /** Total amount of the numeraire assets supplied to the vault */
89
+ totalSupplied: TokenAmount;
90
+ /** Address of the vault contract */
91
+ vaultAddress: Scalars['Address']['output'];
92
+ };
93
+ /** Filter for Aera vaults */
94
+ type AeraVaultFilter = {
95
+ /** Filter for certain chainIds */
96
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
97
+ /** Filter for certain vault addresses */
98
+ vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
99
+ };
100
+ /** Page of Aera vaults */
101
+ type AeraVaultPage = {
102
+ __typename?: 'AeraVaultPage';
103
+ /** The items in the page */
104
+ items: Array<Maybe<AeraVault>>;
105
+ /** Pagination information for the page */
106
+ pageInfo: PageInfo;
107
+ /** Total number of items */
108
+ totalCount: Scalars['Int']['output'];
109
+ };
110
+ /** Position of an account in an Aera vault */
111
+ type AeraVaultPosition = {
112
+ __typename?: 'AeraVaultPosition';
113
+ /** Address of the account */
114
+ accountAddress: Scalars['Address']['output'];
115
+ /** Whether the account has a pending deposit */
116
+ hasPendingDeposit: Scalars['Boolean']['output'];
117
+ /** Whether the account has a pending withdrawal */
118
+ hasPendingWithdrawal: Scalars['Boolean']['output'];
119
+ /** Position balance in numeraire assets */
120
+ supplyAmount: TokenAmount;
121
+ /** Position balance in shares */
122
+ supplyShares: OnchainAmount;
123
+ /** Vault the position is in */
124
+ vault: AeraVault;
125
+ };
126
+ /** Filter for Aera vault positions */
127
+ type AeraVaultPositionFilter = {
128
+ /** Filter for certain account addresses */
129
+ accountAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
130
+ /** Filter for certain chainIds */
131
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
132
+ /** Filter for certain vault addresses */
133
+ vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
134
+ };
135
+ /** Page of Aera vault positions */
136
+ type AeraVaultPositionPage = {
137
+ __typename?: 'AeraVaultPositionPage';
138
+ /** The items in the page */
139
+ items: Array<Maybe<AeraVaultPosition>>;
140
+ /** Pagination information for the page */
141
+ pageInfo: PageInfo;
142
+ /** Total number of items */
143
+ totalCount: Scalars['Int']['output'];
144
+ };
145
+ /** Annual Percentage Yield (APY) of an opportunity */
146
+ type Apy = {
147
+ __typename?: 'Apy';
148
+ /** The base APY. For Supply: rate earned by supplying. For Borrow: rate paid for borrowing. Will always be positive. */
149
+ base: Scalars['Float']['output'];
150
+ /** Fees that reduce the effective APY (decreasing Supply APY, increasing Borrow APY). Will always be positive. */
151
+ fee: Scalars['Float']['output'];
152
+ /** Additional reward tokens that improve the total APY (increasing Supply APY, decreasing Borrow APY). The APRs will always be positive. */
153
+ rewards: Array<Reward>;
154
+ /** Whether this APY applies to the supply or borrow side of an opportunity */
155
+ side: ApySide;
156
+ /** The net APY after combining base rate, rewards, and fees (base + rewards - fee). Negative borrow APY means being paid to borrow. */
157
+ total: Scalars['Float']['output'];
158
+ };
159
+ /** Whether an APY applies to the supply or borrow side of an opportunity */
160
+ declare enum ApySide {
161
+ /** APY paid when borrowing */
162
+ Borrow = "Borrow",
163
+ /** APY earned when supplying */
164
+ Supply = "Supply"
165
+ }
166
+ /** A blockchain */
167
+ type Chain = {
168
+ __typename?: 'Chain';
169
+ /** URL to the chain's icon/logo image */
170
+ icon: Scalars['URL']['output'];
171
+ /** Unique blockchain identifier */
172
+ id: Scalars['ChainId']['output'];
173
+ /** Human-readable name of the blockchain (e.g., 'Ethereum', 'Polygon') */
174
+ name: Scalars['String']['output'];
175
+ /** The native token of the blockchain (e.g., ETH for Ethereum) */
176
+ nativeToken: Token;
177
+ /** The wrapped version of the native token (e.g., WETH for Ethereum) */
178
+ wrappedNativeToken: Token;
179
+ };
180
+ /** Filter for chains */
181
+ type ChainFilter = {
182
+ /** Filter for certain chainIds */
183
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
184
+ };
185
+ /** Curator of a Morpho vault */
186
+ type Curator = {
187
+ __typename?: 'Curator';
188
+ /** Image of the curator */
189
+ image: Scalars['String']['output'];
190
+ /** Name of the curator */
191
+ name: Scalars['String']['output'];
192
+ /** URL of the curator */
193
+ url: Scalars['String']['output'];
194
+ };
195
+ type Identity = {
196
+ __typename?: 'Identity';
197
+ aggregate: IdentityResolverOutput;
198
+ base: IdentityResolverOutput;
199
+ ens: IdentityResolverOutput;
200
+ farcaster: IdentityResolverOutput;
201
+ isOfacSanctioned: Scalars['Boolean']['output'];
202
+ lens: IdentityResolverOutput;
203
+ nns: IdentityResolverOutput;
204
+ uni: IdentityResolverOutput;
205
+ world: IdentityResolverOutput;
206
+ };
207
+ declare enum IdentityResolver {
208
+ Base = "base",
209
+ Ens = "ens",
210
+ Farcaster = "farcaster",
211
+ Lens = "lens",
212
+ Nns = "nns",
213
+ Uni = "uni",
214
+ World = "world"
215
+ }
216
+ type IdentityResolverOutput = {
217
+ __typename?: 'IdentityResolverOutput';
218
+ avatar: Maybe<Scalars['String']['output']>;
219
+ bio: Maybe<Scalars['String']['output']>;
220
+ discord: Maybe<Scalars['String']['output']>;
221
+ github: Maybe<Scalars['String']['output']>;
222
+ name: Maybe<Scalars['String']['output']>;
223
+ telegram: Maybe<Scalars['String']['output']>;
224
+ website: Maybe<Scalars['String']['output']>;
225
+ x: Maybe<Scalars['String']['output']>;
226
+ };
227
+ /** A reward earned by an account */
228
+ type MerklAccountReward = {
229
+ __typename?: 'MerklAccountReward';
230
+ /** The amount of tokens that are currently claimable (creditedAmount - claimedAmount) */
231
+ claimableAmount: TokenAmount;
232
+ /** The total amount of tokens that have been credited to the account. This value should be used in the claim call with the proof. */
233
+ creditedAmount: TokenAmount;
234
+ /** The address of the contract that distributes the rewards */
235
+ distributorAddress: Scalars['Address']['output'];
236
+ /** The amount of the token that will become claimable on the next Merkle Root update (not yet credited to the account) */
237
+ pendingAmount: TokenAmount;
238
+ /** The Merkle proofs to claim the claimable tokens */
239
+ proofs: Array<Scalars['Hex']['output']>;
240
+ /** The token being rewarded */
241
+ token: Token;
242
+ };
243
+ declare enum MerklAction {
244
+ Borrow = "Borrow",
245
+ Lend = "Lend"
246
+ }
247
+ type MerklRewardInput = {
248
+ /** The action of the opportunity */
249
+ action: MerklAction;
250
+ /** The chain ID of the main protocol */
251
+ chainId: Scalars['ChainId']['input'];
252
+ /** The identifier (a.k.a mainParameter) of the reward (ex. vault address for a Morpho vault) */
253
+ identifier: Scalars['String']['input'];
254
+ /** The main protocol ID the rewards are on (ex. 'morpho'), see https://api.merkl.xyz/v4/protocols */
255
+ mainProtocolId: Scalars['String']['input'];
256
+ };
257
+ /** Interest rate model of a Morpho market */
258
+ type MorphoIrm = {
259
+ __typename?: 'MorphoIrm';
260
+ /** Address of the IRM contract */
261
+ address: Scalars['Address']['output'];
262
+ /** Curve of the IRM */
263
+ curve: Maybe<Array<MorphoIrmCurvePoint>>;
264
+ /** Rate at target of the IRM, only null if the IRM is not the adaptive curve IRM */
265
+ rateAtTarget: Maybe<Scalars['BigInt']['output']>;
266
+ /** Target utilization of the IRM */
267
+ targetUtilization: Scalars['Float']['output'];
268
+ };
269
+ /** Curve point of an IRM */
270
+ type MorphoIrmCurvePoint = {
271
+ __typename?: 'MorphoIrmCurvePoint';
272
+ /** Base APY paid for borrowing from the market at this utilization */
273
+ borrowApy: Scalars['Float']['output'];
274
+ /** Base APY earned for supplying to the market at this utilization */
275
+ supplyApy: Scalars['Float']['output'];
276
+ /** Utilization at this curve point */
277
+ utilization: Scalars['Float']['output'];
278
+ };
279
+ /** Morpho market */
280
+ type MorphoMarket = {
281
+ __typename?: 'MorphoMarket';
282
+ /** APY paid for borrowing from the market (instantaneous) */
283
+ borrowApy: Apy;
284
+ /** 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. */
285
+ borrowApy1d: Apy;
286
+ /** 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. */
287
+ borrowApy7d: Apy;
288
+ /** 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. */
289
+ borrowApy30d: Apy;
290
+ /** Chain the market is deployed on */
291
+ chain: Chain;
292
+ /** Collateral asset of the market, only null for idle or misconfigured markets */
293
+ collateralAsset: Maybe<Token>;
294
+ /** Collateral price in loan asset, null if market is idle, or oracle has issue */
295
+ collateralPriceInLoanAsset: Maybe<OnchainAmount>;
296
+ /** Fee of the market */
297
+ fee: OnchainAmount;
298
+ /** Historical data for the market, will be null if historical data is not supported for this chain */
299
+ historical: Maybe<MorphoMarketHistorical>;
300
+ /** IRM of the market */
301
+ irm: MorphoIrm;
302
+ /** Whether the market is an idle market (no collateral asset, doesn't earn yield) */
303
+ isIdle: Scalars['Boolean']['output'];
304
+ /** Liquidation penalty of the market */
305
+ liquidationPenalty: Scalars['Float']['output'];
306
+ /** Amount of loan assets that are idle in the market (not being borrowed) */
307
+ liquidityInMarket: TokenAmount;
308
+ /** LLTV of the market */
309
+ lltv: OnchainAmount;
310
+ /** Loan asset of the market */
311
+ loanAsset: Token;
312
+ /** Unique market ID of the market */
313
+ marketId: Scalars['Hex']['output'];
314
+ /** Name of the market */
315
+ name: Scalars['String']['output'];
316
+ /** Oracle address of the market */
317
+ oracleAddress: Scalars['Address']['output'];
318
+ /** Amount of loan assets that can be allocated to this market via the public allocator */
319
+ publicAllocatorSharedLiquidity: TokenAmount;
320
+ /** APY earned for supplying to the market (instantaneous) */
321
+ supplyApy: Apy;
322
+ /** 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. */
323
+ supplyApy1d: Apy;
324
+ /** 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. */
325
+ supplyApy7d: Apy;
326
+ /** 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. */
327
+ supplyApy30d: Apy;
328
+ /** Total amount of loan assets borrowed from the market */
329
+ totalBorrowed: TokenAmount;
330
+ /** Total amount of loan assets supplied to the market */
331
+ totalSupplied: TokenAmount;
332
+ /** Utilization of the market */
333
+ utilization: Scalars['Float']['output'];
334
+ /** Allocations from vault to this market */
335
+ vaultAllocations: Array<MorphoVaultMarketAllocation>;
336
+ };
337
+ /** Filter for Morpho markets */
338
+ type MorphoMarketFilter = {
339
+ /** Filter for certain chainIds */
340
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
341
+ /** Filter for certain market addresses */
342
+ marketId_in: InputMaybe<Array<Scalars['Hex']['input']>>;
343
+ /** Filter for whitelisted markets */
344
+ whitelisted: InputMaybe<Scalars['Boolean']['input']>;
345
+ };
346
+ /** Historical data for a Morpho market */
347
+ type MorphoMarketHistorical = {
348
+ __typename?: 'MorphoMarketHistorical';
349
+ /** Historical data with daily resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
350
+ daily: Array<MorphoMarketHistoricalEntry>;
351
+ /** Historical data with hourly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
352
+ hourly: Array<MorphoMarketHistoricalEntry>;
353
+ /** Historical data with weekly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
354
+ weekly: Array<MorphoMarketHistoricalEntry>;
355
+ };
356
+ /** Historical entry for a Morpho market */
357
+ type MorphoMarketHistoricalEntry = {
358
+ __typename?: 'MorphoMarketHistoricalEntry';
359
+ /** APY paid for borrowing from the market smoothed over 1 day. Note that doesn't yet include rewards */
360
+ borrowApy1d: Apy;
361
+ /** APY paid for borrowing from the market smoothed over 7 days. Note that doesn't yet include rewards */
362
+ borrowApy7d: Apy;
363
+ /** APY paid for borrowing from the market smoothed over 30 days. Note that doesn't yet include rewards */
364
+ borrowApy30d: Apy;
365
+ /** APY paid for borrowing from the market (instantaneous, no smoothing). Note that doesn't yet include rewards */
366
+ borrowApyInstantaneous: Apy;
367
+ /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
368
+ bucketTimestamp: Scalars['Int']['output'];
369
+ /** Collateral price in loan asset, null if market is idle, or oracle has issue */
370
+ collateralPriceInLoanAsset: Maybe<OnchainAmount>;
371
+ /** APY earned when supplying to the market smoothed over 1 day. Note that doesn't yet include rewards */
372
+ supplyApy1d: Apy;
373
+ /** APY earned when supplying to the market smoothed over 7 days. Note that doesn't yet include rewards */
374
+ supplyApy7d: Apy;
375
+ /** APY earned when supplying to the market smoothed over 30 days. Note that doesn't yet include rewards */
376
+ supplyApy30d: Apy;
377
+ /** APY earned when supplying to the market (instantaneous, no smoothing). Note that doesn't yet include rewards */
378
+ supplyApyInstantaneous: Apy;
379
+ /** Total amount of loan assets borrowed from the market */
380
+ totalBorrowed: TokenAmount;
381
+ /** Total amount of collateral supplied to the market */
382
+ totalCollateral: TokenAmount;
383
+ /** Total amount of loan assets supplied to the market */
384
+ totalSupplied: TokenAmount;
385
+ };
386
+ /** Page of Morpho markets */
387
+ type MorphoMarketPage = {
388
+ __typename?: 'MorphoMarketPage';
389
+ /** The items in the page */
390
+ items: Array<Maybe<MorphoMarket>>;
391
+ /** Pagination information for the page */
392
+ pageInfo: PageInfo;
393
+ /** Total number of items */
394
+ totalCount: Scalars['Int']['output'];
395
+ };
396
+ /** Position of an account in a Morpho market */
397
+ type MorphoMarketPosition = {
398
+ __typename?: 'MorphoMarketPosition';
399
+ /** Address of the account */
400
+ accountAddress: Scalars['Address']['output'];
401
+ /** Borrow assets of the account */
402
+ borrowAmount: TokenAmount;
403
+ /** Borrow shares of the account */
404
+ borrowShares: Scalars['BigInt']['output'];
405
+ /** Collateral assets of the account, null iff the market is idle */
406
+ collateralAmount: Maybe<TokenAmount>;
407
+ /** Health factor of the account, null iff the market is idle or its oracle is misconfigured */
408
+ healthFactor: Maybe<OnchainAmount>;
409
+ /** LTV of the account, null iff the market is idle or its oracle is misconfigured */
410
+ ltv: Maybe<OnchainAmount>;
411
+ /** Market the position is in */
412
+ market: MorphoMarket;
413
+ /** Supply assets of the account */
414
+ supplyAmount: TokenAmount;
415
+ /** Supply shares of the account */
416
+ supplyShares: Scalars['BigInt']['output'];
417
+ /** Holding of collateral assets in the account's wallet, null iff the market is idle */
418
+ walletCollateralAssetHolding: Maybe<TokenHolding>;
419
+ /** Holding of loan assets in the account's wallet */
420
+ walletLoanAssetHolding: TokenHolding;
421
+ };
422
+ type MorphoMarketPositionFilter = {
423
+ /** Filter for positions for certain accounts */
424
+ accountAddress_in: Array<Scalars['Address']['input']>;
425
+ /** Filter for positions on certain chains */
426
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
427
+ /** Filter for positions in certain markets */
428
+ marketId_in: InputMaybe<Array<Scalars['Hex']['input']>>;
429
+ /** Filter for positions in whitelisted markets only */
430
+ whitelisted: InputMaybe<Scalars['Boolean']['input']>;
431
+ };
432
+ type MorphoMarketPositionHistorical = {
433
+ __typename?: 'MorphoMarketPositionHistorical';
434
+ daily: Array<MorphoMarketPositionHistoricalEntry>;
435
+ hourly: Array<MorphoMarketPositionHistoricalEntry>;
436
+ weekly: Array<MorphoMarketPositionHistoricalEntry>;
437
+ };
438
+ type MorphoMarketPositionHistoricalEntry = {
439
+ __typename?: 'MorphoMarketPositionHistoricalEntry';
440
+ /** Borrow assets of the account at the bucket timestamp */
441
+ borrowAmount: TokenAmount;
442
+ /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
443
+ bucketTimestamp: Scalars['Int']['output'];
444
+ /** Collateral assets of the account at the bucket timestamp, null iff the market is idle */
445
+ collateralAmount: Maybe<TokenAmount>;
446
+ /** Supply assets of the account at the bucket timestamp */
447
+ supplyAmount: TokenAmount;
448
+ };
449
+ /** Page of Morpho market positions */
450
+ type MorphoMarketPositionPage = {
451
+ __typename?: 'MorphoMarketPositionPage';
452
+ /** The items in the page */
453
+ items: Array<Maybe<MorphoMarketPosition>>;
454
+ /** Pagination information for the page */
455
+ pageInfo: PageInfo;
456
+ /** Total number of items */
457
+ totalCount: Scalars['Int']['output'];
458
+ };
459
+ /** Morpho vault */
460
+ type MorphoVault = {
461
+ __typename?: 'MorphoVault';
462
+ /** Underlying asset of the vault */
463
+ asset: Token;
464
+ /** Chain the vault is deployed on */
465
+ chain: Chain;
466
+ /** Curator address of the vault, this is the address that can modify the vaults allocations */
467
+ curatorAddress: Scalars['Address']['output'];
468
+ /** Decimals of the vault's shares */
469
+ decimals: Scalars['Int']['output'];
470
+ /** Fee recipient address of the vault, this is the address that receives the performance fee */
471
+ feeRecipientAddress: Maybe<Scalars['Address']['output']>;
472
+ /** Guardian address of the vault, this is the address that can make emergency changes to the vault */
473
+ guardianAddress: Scalars['Address']['output'];
474
+ /** Historical data for the vault, will be null if historical data is not supported for this chain */
475
+ historical: Maybe<MorphoVaultHistorical>;
476
+ /** Allocations of the vault to the markets */
477
+ marketAllocations: Array<MorphoVaultMarketAllocation>;
478
+ /** Metadata for the vault */
479
+ metadata: Maybe<MorphoVaultMetadata>;
480
+ /** Name of the vault */
481
+ name: Scalars['String']['output'];
482
+ /** Owner address of the vault, this is the address that can modify the vaults configuration */
483
+ ownerAddress: Scalars['Address']['output'];
484
+ /** Performance fee of the vault, this is the fee that is taken from the vaults profits */
485
+ performanceFee: Scalars['Float']['output'];
486
+ /** APY earned when supplying to the vault (instantaneous) */
487
+ supplyApy: Apy;
488
+ /** APY earned when supplying to the vault smoothed over 1 day. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 1 day ago. */
489
+ supplyApy1d: Apy;
490
+ /** APY earned when supplying to the vault smoothed over 7 days. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 7 days ago. */
491
+ supplyApy7d: Apy;
492
+ /** APY earned when supplying to the vault smoothed over 30 days. Note rewards are instantaneous, and base is instantaneous when the vault has been deployed less than 30 days ago. */
493
+ supplyApy30d: Apy;
494
+ /** Total amount of the idle underlying assets (not being borrowed from the vault) */
495
+ totalLiquidity: TokenAmount;
496
+ /** Total amount of the underlying assets supplied to the vault */
497
+ totalSupplied: TokenAmount;
498
+ /** Address of the vault contract */
499
+ vaultAddress: Scalars['Address']['output'];
500
+ };
501
+ /** Filter for Morpho vaults */
502
+ type MorphoVaultFilter = {
503
+ /** Filter for certain chainIds */
504
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
505
+ /** Filter for certain vault addresses */
506
+ vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
507
+ /** Filter for whitelisted vaults */
508
+ whitelisted: InputMaybe<Scalars['Boolean']['input']>;
509
+ };
510
+ /** Historical data for a Morpho vault */
511
+ type MorphoVaultHistorical = {
512
+ __typename?: 'MorphoVaultHistorical';
513
+ /** Historical data with daily resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
514
+ daily: Array<MorphoVaultHistoricalEntry>;
515
+ /** Historical data with hourly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
516
+ hourly: Array<MorphoVaultHistoricalEntry>;
517
+ /** Historical data with weekly resolution. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
518
+ weekly: Array<MorphoVaultHistoricalEntry>;
519
+ };
520
+ /** Historical entry for a Morpho vault */
521
+ type MorphoVaultHistoricalEntry = {
522
+ __typename?: 'MorphoVaultHistoricalEntry';
523
+ /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
524
+ bucketTimestamp: Scalars['Int']['output'];
525
+ /** APY earned when supplying to the vault smoothed over 1 day. Note that doesn't yet include rewards */
526
+ supplyApy1d: Apy;
527
+ /** APY earned when supplying to the vault smoothed over 7 days. Note that doesn't yet include rewards */
528
+ supplyApy7d: Apy;
529
+ /** APY earned when supplying to the vault smoothed over 30 days. Note that doesn't yet include rewards */
530
+ supplyApy30d: Apy;
531
+ /** Total amount of the underlying assets supplied to the vault */
532
+ totalSupplied: TokenAmount;
533
+ };
534
+ /** Allocation of a vault to a market */
535
+ type MorphoVaultMarketAllocation = {
536
+ __typename?: 'MorphoVaultMarketAllocation';
537
+ /** Whether the vault has enabled this market for allocations */
538
+ enabled: Scalars['Boolean']['output'];
539
+ /** Market the allocation is to */
540
+ market: MorphoMarket;
541
+ /** Share of the market's total supply from this vault */
542
+ marketSupplyShare: Scalars['Float']['output'];
543
+ /** Position of the vault in the market */
544
+ position: MorphoMarketPosition;
545
+ /** Supply cap of the allocation */
546
+ supplyCap: TokenAmount;
547
+ /** Vault the allocation is from */
548
+ vault: MorphoVault;
549
+ /** Share of the vault's total supply to this market */
550
+ vaultSupplyShare: Scalars['Float']['output'];
551
+ };
552
+ /** Metadata for a Morpho vault */
553
+ type MorphoVaultMetadata = {
554
+ __typename?: 'MorphoVaultMetadata';
555
+ /**
556
+ * Curators of the vault
557
+ * @deprecated Removed from morpho metadata repo. Always empty array now.
558
+ */
559
+ curators: Array<Curator>;
560
+ /** Description of the vault */
561
+ description: Maybe<Scalars['String']['output']>;
562
+ /**
563
+ * Forum link of the vault
564
+ * @deprecated Removed from morpho metadata repo. Always null now.
565
+ */
566
+ forumLink: Maybe<Scalars['String']['output']>;
567
+ /** Image of the vault */
568
+ image: Maybe<Scalars['String']['output']>;
569
+ };
570
+ /** Page of Morpho vaults */
571
+ type MorphoVaultPage = {
572
+ __typename?: 'MorphoVaultPage';
573
+ /** The items in the page */
574
+ items: Array<Maybe<MorphoVault>>;
575
+ /** Pagination information for the page */
576
+ pageInfo: PageInfo;
577
+ /** Total number of items */
578
+ totalCount: Scalars['Int']['output'];
579
+ };
580
+ /** Position of an account in a Morpho vault */
581
+ type MorphoVaultPosition = {
582
+ __typename?: 'MorphoVaultPosition';
583
+ /** Address of the account */
584
+ accountAddress: Scalars['Address']['output'];
585
+ /** Supply assets of the account */
586
+ supplyAmount: TokenAmount;
587
+ /** Supply shares of the account */
588
+ supplyShares: Scalars['BigInt']['output'];
589
+ /** Vault the position is in */
590
+ vault: MorphoVault;
591
+ /** Holding of the underlying asset in the accounts wallet */
592
+ walletUnderlyingAssetHolding: Maybe<TokenHolding>;
593
+ };
594
+ type MorphoVaultPositionFilter = {
595
+ /** Filter for positions for certain accounts */
596
+ accountAddress_in: Array<Scalars['Address']['input']>;
597
+ /** Filter for positions on certain chains */
598
+ chainId_in: InputMaybe<Array<Scalars['ChainId']['input']>>;
599
+ /** Filter for positions in certain vaults */
600
+ vaultAddress_in: InputMaybe<Array<Scalars['Address']['input']>>;
601
+ /** Filter for positions in whitelisted vaults only */
602
+ whitelisted: InputMaybe<Scalars['Boolean']['input']>;
603
+ };
604
+ type MorphoVaultPositionHistorical = {
605
+ __typename?: 'MorphoVaultPositionHistorical';
606
+ daily: Array<MorphoVaultPositionHistoricalEntry>;
607
+ hourly: Array<MorphoVaultPositionHistoricalEntry>;
608
+ weekly: Array<MorphoVaultPositionHistoricalEntry>;
609
+ };
610
+ type MorphoVaultPositionHistoricalEntry = {
611
+ __typename?: 'MorphoVaultPositionHistoricalEntry';
612
+ /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
613
+ bucketTimestamp: Scalars['Int']['output'];
614
+ /** Interest earned by the account at the bucket timestamp */
615
+ interestEarned: TokenAmount;
616
+ /** Supply shares of the account at the bucket timestamp */
617
+ supplyAmount: TokenAmount;
618
+ };
619
+ type MorphoVaultPositionPage = {
620
+ __typename?: 'MorphoVaultPositionPage';
621
+ /** The items in the page */
622
+ items: Array<Maybe<MorphoVaultPosition>>;
623
+ /** Pagination information for the page */
624
+ pageInfo: PageInfo;
625
+ /** Total number of items */
626
+ totalCount: Scalars['Int']['output'];
627
+ };
628
+ /** An arbitrary onchain amount */
629
+ type OnchainAmount = {
630
+ __typename?: 'OnchainAmount';
631
+ /** The formatted representation of the amount, this is the raw value scaled by its decimals (formatted = raw / 10^decimals) */
632
+ formatted: Scalars['String']['output'];
633
+ /** The integer representation of the amount as stored onchain */
634
+ raw: Scalars['BigInt']['output'];
635
+ };
636
+ /** Pagination information for a page of items */
637
+ type PageInfo = {
638
+ __typename?: 'PageInfo';
639
+ /** The cursor to the last item in the current page, this can be used for the queries `after` parameter to get the next page */
640
+ endCursor: Maybe<Scalars['String']['output']>;
641
+ /** Whether there are more items after the current page */
642
+ hasNextPage: Scalars['Boolean']['output'];
643
+ /** Whether there are more items before the current page */
644
+ hasPreviousPage: Scalars['Boolean']['output'];
645
+ /** The cursor to the first item in the current page, this can be used for the queries `before` parameter to get the previous page */
646
+ startCursor: Maybe<Scalars['String']['output']>;
647
+ };
648
+ /** Protocol */
649
+ type Protocol = {
650
+ __typename?: 'Protocol';
651
+ /** Icon of the protocol */
652
+ icon: Scalars['String']['output'];
653
+ /** Name of the protocol */
654
+ name: Scalars['String']['output'];
655
+ };
656
+ type Query = {
657
+ __typename?: 'Query';
658
+ aeraVaultPositions: AeraVaultPositionPage;
659
+ aeraVaults: AeraVaultPage;
660
+ /** Get supported chains (note that not all kits support all chains) */
661
+ chains: Array<Chain>;
662
+ identities: Array<Identity>;
663
+ identity: Maybe<Identity>;
664
+ /** Query for Merkl rewards earned on chainId for the accountAddress */
665
+ merklAccountRewards: Array<MerklAccountReward>;
666
+ /** Query for Morpho market positions */
667
+ morphoMarketPositions: MorphoMarketPositionPage;
668
+ /** Query for Morpho markets */
669
+ morphoMarkets: MorphoMarketPage;
670
+ /** Query for Morpho vault positions */
671
+ morphoVaultPositions: MorphoVaultPositionPage;
672
+ /** Query for Morpho vaults */
673
+ morphoVaults: MorphoVaultPage;
674
+ /** Query for the token balance for a specific account and token */
675
+ tokenHoldings: Array<Maybe<TokenHolding>>;
676
+ /** Query for tokens */
677
+ tokens: Array<Maybe<Token>>;
678
+ /** Query for vaults */
679
+ vaults: Array<Maybe<Vault>>;
680
+ };
681
+ type QueryAeraVaultPositionsArgs = {
682
+ after: InputMaybe<Scalars['String']['input']>;
683
+ before: InputMaybe<Scalars['String']['input']>;
684
+ limit: InputMaybe<Scalars['Int']['input']>;
685
+ where: AeraVaultPositionFilter;
686
+ };
687
+ type QueryAeraVaultsArgs = {
688
+ after: InputMaybe<Scalars['String']['input']>;
689
+ before: InputMaybe<Scalars['String']['input']>;
690
+ limit: InputMaybe<Scalars['Int']['input']>;
691
+ where: InputMaybe<AeraVaultFilter>;
692
+ };
693
+ type QueryChainsArgs = {
694
+ where: InputMaybe<ChainFilter>;
695
+ };
696
+ type QueryIdentitiesArgs = {
697
+ addresses: Array<Scalars['Address']['input']>;
698
+ resolverOrder: InputMaybe<Array<IdentityResolver>>;
699
+ };
700
+ type QueryIdentityArgs = {
701
+ address: Scalars['Address']['input'];
702
+ resolverOrder: InputMaybe<Array<IdentityResolver>>;
703
+ };
704
+ type QueryMerklAccountRewardsArgs = {
705
+ accountAddress: Scalars['Address']['input'];
706
+ chainId: Scalars['ChainId']['input'];
707
+ };
708
+ type QueryMorphoMarketPositionsArgs = {
709
+ after: InputMaybe<Scalars['String']['input']>;
710
+ before: InputMaybe<Scalars['String']['input']>;
711
+ limit: InputMaybe<Scalars['Int']['input']>;
712
+ where: MorphoMarketPositionFilter;
713
+ };
714
+ type QueryMorphoMarketsArgs = {
715
+ after: InputMaybe<Scalars['String']['input']>;
716
+ before: InputMaybe<Scalars['String']['input']>;
717
+ limit: InputMaybe<Scalars['Int']['input']>;
718
+ where: InputMaybe<MorphoMarketFilter>;
719
+ };
720
+ type QueryMorphoVaultPositionsArgs = {
721
+ after: InputMaybe<Scalars['String']['input']>;
722
+ before: InputMaybe<Scalars['String']['input']>;
723
+ limit: InputMaybe<Scalars['Int']['input']>;
724
+ where: MorphoVaultPositionFilter;
725
+ };
726
+ type QueryMorphoVaultsArgs = {
727
+ after: InputMaybe<Scalars['String']['input']>;
728
+ before: InputMaybe<Scalars['String']['input']>;
729
+ limit: InputMaybe<Scalars['Int']['input']>;
730
+ where: InputMaybe<MorphoVaultFilter>;
731
+ };
732
+ type QueryTokenHoldingsArgs = {
733
+ inputs: Array<TokenHoldingInput>;
734
+ };
735
+ type QueryTokensArgs = {
736
+ inputs: Array<TokenInput>;
737
+ };
738
+ type QueryVaultsArgs = {
739
+ inputs: Array<VaultInput>;
740
+ };
741
+ /** Rewards incentive */
742
+ type Reward = {
743
+ __typename?: 'Reward';
744
+ /** The Annual Percentage Rate (APR) for this reward token. Will always be positive. */
745
+ apr: Scalars['Float']['output'];
746
+ /** The token being rewarded */
747
+ asset: Token;
748
+ };
749
+ /** ERC-20 token with metadata and pricing information */
750
+ type Token = {
751
+ __typename?: 'Token';
752
+ /** The contract address of the token */
753
+ address: Scalars['Address']['output'];
754
+ /** The category of the token */
755
+ category: Maybe<TokenCategory>;
756
+ /** The chain this token exists on */
757
+ chain: Chain;
758
+ /** The number of decimal places the token uses */
759
+ decimals: Scalars['Int']['output'];
760
+ historical: TokenHistorical;
761
+ /** URL to the token's image, null if not available */
762
+ icon: Maybe<Scalars['URL']['output']>;
763
+ /** The full name of the token (e.g., 'Ethereum') */
764
+ name: Scalars['String']['output'];
765
+ /** Current price of the token in USD, null iff price data unavailable */
766
+ priceUsd: Maybe<Scalars['Float']['output']>;
767
+ /** The symbol of the token (e.g., 'ETH') */
768
+ symbol: Scalars['String']['output'];
769
+ };
770
+ /** An amount for an onchain token */
771
+ type TokenAmount = {
772
+ __typename?: 'TokenAmount';
773
+ /** The formatted representation of the amount, this is the raw value scaled by the token's decimals (formatted = raw / 10^decimals) */
774
+ formatted: Scalars['String']['output'];
775
+ /** The integer representation of the amount as stored onchain */
776
+ raw: Scalars['BigInt']['output'];
777
+ /** The USD representation of the amount, null if price data unavailable */
778
+ usd: Maybe<Scalars['Float']['output']>;
779
+ };
780
+ /** The category for a token which can be used to easily group and filter */
781
+ declare enum TokenCategory {
782
+ /** Bitcoin or Bitcoin derivative (e.g., WBTC, cbBTC) */
783
+ Btc = "Btc",
784
+ /** Ether or Ether derivative (e.g., WETH, stETH) */
785
+ Eth = "Eth",
786
+ /** Stable coin (e.g., USDC, USDT, DAI) */
787
+ Stable = "Stable"
788
+ }
789
+ /** Historical token data at different resolutions */
790
+ type TokenHistorical = {
791
+ __typename?: 'TokenHistorical';
792
+ /** Historical token data with daily resolution. Null if no price source is configured. Only provides the 200 most recent entries (i.e up to 200 days of data). */
793
+ daily: Maybe<Array<TokenHistoricalEntry>>;
794
+ /** Historical token data with hourly resolution. Null if no price source is configured. Only provides the 200 most recent entries (i.e up to 200 hours of data). */
795
+ hourly: Maybe<Array<TokenHistoricalEntry>>;
796
+ /** Historical token data with weekly resolution. Null if no price source is configured. Only provides the 200 most recent entries (i.e up to 200 weeks of data). */
797
+ weekly: Maybe<Array<TokenHistoricalEntry>>;
798
+ };
799
+ /** A single entry of historical token data */
800
+ type TokenHistoricalEntry = {
801
+ __typename?: 'TokenHistoricalEntry';
802
+ /** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
803
+ bucketTimestamp: Scalars['Int']['output'];
804
+ /** The price of the token in USD at this bucket timestamp */
805
+ priceUsd: Scalars['Float']['output'];
806
+ };
807
+ /** Token balance held by a specific account */
808
+ type TokenHolding = {
809
+ __typename?: 'TokenHolding';
810
+ /** The address of the account holding the token */
811
+ accountAddress: Scalars['Address']['output'];
812
+ /** The balance of the token held by the account */
813
+ balance: TokenAmount;
814
+ /** The token being held */
815
+ token: Token;
816
+ };
817
+ /** Input for querying a token holding */
818
+ type TokenHoldingInput = {
819
+ /** The address of the account holding the token */
820
+ accountAddress: Scalars['Address']['input'];
821
+ /** The chain ID (e.g., 1 for Ethereum mainnet) */
822
+ chainId: Scalars['ChainId']['input'];
823
+ /** The token contract address */
824
+ tokenAddress: Scalars['Address']['input'];
825
+ };
826
+ /** Input for batch token queries, specifying chain and contract address pairs. */
827
+ type TokenInput = {
828
+ /** The chain ID (e.g., 1 for Ethereum mainnet) */
829
+ chainId: Scalars['ChainId']['input'];
830
+ /** The token contract address */
831
+ tokenAddress: Scalars['Address']['input'];
832
+ };
833
+ /** Input for vaults */
834
+ type VaultInput = {
835
+ /** Chain the vault is deployed on */
836
+ chainId: Scalars['ChainId']['input'];
837
+ /** Protocol the vault is part of */
838
+ protocol: VaultProtocol;
839
+ /** Address of the vault */
840
+ vaultAddress: Scalars['Address']['input'];
841
+ };
842
+ /** Protocols supported by vault kit */
843
+ declare enum VaultProtocol {
844
+ Enzyme = "enzyme",
845
+ EulerV2 = "euler_v2",
846
+ Gearbox = "gearbox",
847
+ Lista = "lista",
848
+ Mellow = "mellow",
849
+ Midas = "midas",
850
+ Morpho = "morpho",
851
+ Napier = "napier",
852
+ Pendle = "pendle",
853
+ Reserve = "reserve",
854
+ Silo = "silo",
855
+ TurtleClub = "turtle_club"
856
+ }
857
+ /** Types of vaults */
858
+ declare enum VaultType {
859
+ Index = "index",
860
+ Lending = "lending",
861
+ Staking = "staking"
862
+ }
863
+ type TokenInfoFragmentFragment = {
864
+ __typename?: 'Token';
865
+ address: `0x${string}`;
866
+ symbol: string;
867
+ decimals: number;
868
+ icon: string | null;
869
+ category: TokenCategory | null;
870
+ };
871
+ type ChainInfoFragmentFragment = {
872
+ __typename?: 'Chain';
873
+ id: 80094;
874
+ name: string;
875
+ icon: string;
876
+ };
877
+ type CuratorInfoFragmentFragment = {
878
+ __typename?: 'Curator';
879
+ name: string;
880
+ image: string;
881
+ url: string;
882
+ };
883
+ type ApyFragmentFragment = {
884
+ __typename?: 'Apy';
885
+ base: number;
886
+ total: number;
887
+ fee: number;
888
+ rewards: Array<{
889
+ __typename?: 'Reward';
890
+ apr: number;
891
+ asset: {
892
+ __typename?: 'Token';
893
+ address: `0x${string}`;
894
+ symbol: string;
895
+ decimals: number;
896
+ icon: string | null;
897
+ category: TokenCategory | null;
898
+ };
899
+ }>;
900
+ };
901
+ type VaultSummaryFragmentFragment = {
902
+ __typename?: 'MorphoVault';
903
+ vaultAddress: `0x${string}`;
904
+ name: string;
905
+ chain: {
906
+ __typename?: 'Chain';
907
+ id: 80094;
908
+ name: string;
909
+ icon: string;
910
+ };
911
+ asset: {
912
+ __typename?: 'Token';
913
+ priceUsd: number | null;
914
+ address: `0x${string}`;
915
+ symbol: string;
916
+ decimals: number;
917
+ icon: string | null;
918
+ category: TokenCategory | null;
919
+ };
920
+ metadata: {
921
+ __typename?: 'MorphoVaultMetadata';
922
+ curators: Array<{
923
+ __typename?: 'Curator';
924
+ name: string;
925
+ image: string;
926
+ url: string;
927
+ }>;
928
+ } | null;
929
+ totalSupplied: {
930
+ __typename?: 'TokenAmount';
931
+ raw: string | bigint;
932
+ formatted: string;
933
+ usd: number | null;
934
+ };
935
+ totalLiquidity: {
936
+ __typename?: 'TokenAmount';
937
+ raw: string | bigint;
938
+ formatted: string;
939
+ usd: number | null;
940
+ };
941
+ supplyApy: {
942
+ __typename?: 'Apy';
943
+ base: number;
944
+ total: number;
945
+ fee: number;
946
+ rewards: Array<{
947
+ __typename?: 'Reward';
948
+ apr: number;
949
+ asset: {
950
+ __typename?: 'Token';
951
+ address: `0x${string}`;
952
+ symbol: string;
953
+ decimals: number;
954
+ icon: string | null;
955
+ category: TokenCategory | null;
956
+ };
957
+ }>;
958
+ };
959
+ marketAllocations: Array<{
960
+ __typename?: 'MorphoVaultMarketAllocation';
961
+ vaultSupplyShare: number;
962
+ market: {
963
+ __typename?: 'MorphoMarket';
964
+ collateralAsset: {
965
+ __typename?: 'Token';
966
+ address: `0x${string}`;
967
+ symbol: string;
968
+ decimals: number;
969
+ icon: string | null;
970
+ category: TokenCategory | null;
971
+ } | null;
972
+ supplyApy: {
973
+ __typename?: 'Apy';
974
+ base: number;
975
+ total: number;
976
+ fee: number;
977
+ rewards: Array<{
978
+ __typename?: 'Reward';
979
+ apr: number;
980
+ asset: {
981
+ __typename?: 'Token';
982
+ address: `0x${string}`;
983
+ symbol: string;
984
+ decimals: number;
985
+ icon: string | null;
986
+ category: TokenCategory | null;
987
+ };
988
+ }>;
989
+ };
990
+ fee: {
991
+ __typename?: 'OnchainAmount';
992
+ raw: string | bigint;
993
+ formatted: string;
994
+ };
995
+ };
996
+ }>;
997
+ };
998
+ type MarketSummaryFragmentFragment = {
999
+ __typename?: 'MorphoMarket';
1000
+ name: string;
1001
+ marketId: `0x${string}`;
1002
+ chain: {
1003
+ __typename?: 'Chain';
1004
+ id: 80094;
1005
+ name: string;
1006
+ icon: string;
1007
+ };
1008
+ totalBorrowed: {
1009
+ __typename?: 'TokenAmount';
1010
+ raw: string | bigint;
1011
+ formatted: string;
1012
+ usd: number | null;
1013
+ };
1014
+ totalSupplied: {
1015
+ __typename?: 'TokenAmount';
1016
+ raw: string | bigint;
1017
+ formatted: string;
1018
+ usd: number | null;
1019
+ };
1020
+ liquidityInMarket: {
1021
+ __typename?: 'TokenAmount';
1022
+ raw: string | bigint;
1023
+ formatted: string;
1024
+ usd: number | null;
1025
+ };
1026
+ publicAllocatorSharedLiquidity: {
1027
+ __typename?: 'TokenAmount';
1028
+ raw: string | bigint;
1029
+ formatted: string;
1030
+ usd: number | null;
1031
+ };
1032
+ collateralAsset: {
1033
+ __typename?: 'Token';
1034
+ address: `0x${string}`;
1035
+ symbol: string;
1036
+ decimals: number;
1037
+ icon: string | null;
1038
+ category: TokenCategory | null;
1039
+ } | null;
1040
+ loanAsset: {
1041
+ __typename?: 'Token';
1042
+ address: `0x${string}`;
1043
+ symbol: string;
1044
+ decimals: number;
1045
+ icon: string | null;
1046
+ category: TokenCategory | null;
1047
+ };
1048
+ lltv: {
1049
+ __typename?: 'OnchainAmount';
1050
+ raw: string | bigint;
1051
+ formatted: string;
1052
+ };
1053
+ borrowApy: {
1054
+ __typename?: 'Apy';
1055
+ base: number;
1056
+ total: number;
1057
+ fee: number;
1058
+ rewards: Array<{
1059
+ __typename?: 'Reward';
1060
+ apr: number;
1061
+ asset: {
1062
+ __typename?: 'Token';
1063
+ address: `0x${string}`;
1064
+ symbol: string;
1065
+ decimals: number;
1066
+ icon: string | null;
1067
+ category: TokenCategory | null;
1068
+ };
1069
+ }>;
1070
+ };
1071
+ vaultAllocations: Array<{
1072
+ __typename?: 'MorphoVaultMarketAllocation';
1073
+ vault: {
1074
+ __typename?: 'MorphoVault';
1075
+ vaultAddress: `0x${string}`;
1076
+ };
1077
+ position: {
1078
+ __typename?: 'MorphoMarketPosition';
1079
+ supplyAmount: {
1080
+ __typename?: 'TokenAmount';
1081
+ usd: number | null;
1082
+ };
1083
+ };
1084
+ supplyCap: {
1085
+ __typename?: 'TokenAmount';
1086
+ usd: number | null;
1087
+ };
1088
+ }>;
1089
+ };
1090
+ type VaultSummariesQueryVariables = Exact<{
1091
+ chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
1092
+ vaultAddresses: Array<Scalars['Address']['input']> | Scalars['Address']['input'];
1093
+ }>;
1094
+ type VaultSummariesQuery = {
1095
+ __typename?: 'Query';
1096
+ morphoVaults: {
1097
+ __typename?: 'MorphoVaultPage';
1098
+ pageInfo: {
1099
+ __typename?: 'PageInfo';
1100
+ hasNextPage: boolean;
1101
+ };
1102
+ items: Array<{
1103
+ __typename?: 'MorphoVault';
1104
+ vaultAddress: `0x${string}`;
1105
+ name: string;
1106
+ chain: {
1107
+ __typename?: 'Chain';
1108
+ id: 80094;
1109
+ name: string;
1110
+ icon: string;
1111
+ };
1112
+ asset: {
1113
+ __typename?: 'Token';
1114
+ priceUsd: number | null;
1115
+ address: `0x${string}`;
1116
+ symbol: string;
1117
+ decimals: number;
1118
+ icon: string | null;
1119
+ category: TokenCategory | null;
1120
+ };
1121
+ metadata: {
1122
+ __typename?: 'MorphoVaultMetadata';
1123
+ curators: Array<{
1124
+ __typename?: 'Curator';
1125
+ name: string;
1126
+ image: string;
1127
+ url: string;
1128
+ }>;
1129
+ } | null;
1130
+ totalSupplied: {
1131
+ __typename?: 'TokenAmount';
1132
+ raw: string | bigint;
1133
+ formatted: string;
1134
+ usd: number | null;
1135
+ };
1136
+ totalLiquidity: {
1137
+ __typename?: 'TokenAmount';
1138
+ raw: string | bigint;
1139
+ formatted: string;
1140
+ usd: number | null;
1141
+ };
1142
+ supplyApy: {
1143
+ __typename?: 'Apy';
1144
+ base: number;
1145
+ total: number;
1146
+ fee: number;
1147
+ rewards: Array<{
1148
+ __typename?: 'Reward';
1149
+ apr: number;
1150
+ asset: {
1151
+ __typename?: 'Token';
1152
+ address: `0x${string}`;
1153
+ symbol: string;
1154
+ decimals: number;
1155
+ icon: string | null;
1156
+ category: TokenCategory | null;
1157
+ };
1158
+ }>;
1159
+ };
1160
+ marketAllocations: Array<{
1161
+ __typename?: 'MorphoVaultMarketAllocation';
1162
+ vaultSupplyShare: number;
1163
+ market: {
1164
+ __typename?: 'MorphoMarket';
1165
+ collateralAsset: {
1166
+ __typename?: 'Token';
1167
+ address: `0x${string}`;
1168
+ symbol: string;
1169
+ decimals: number;
1170
+ icon: string | null;
1171
+ category: TokenCategory | null;
1172
+ } | null;
1173
+ supplyApy: {
1174
+ __typename?: 'Apy';
1175
+ base: number;
1176
+ total: number;
1177
+ fee: number;
1178
+ rewards: Array<{
1179
+ __typename?: 'Reward';
1180
+ apr: number;
1181
+ asset: {
1182
+ __typename?: 'Token';
1183
+ address: `0x${string}`;
1184
+ symbol: string;
1185
+ decimals: number;
1186
+ icon: string | null;
1187
+ category: TokenCategory | null;
1188
+ };
1189
+ }>;
1190
+ };
1191
+ fee: {
1192
+ __typename?: 'OnchainAmount';
1193
+ raw: string | bigint;
1194
+ formatted: string;
1195
+ };
1196
+ };
1197
+ }>;
1198
+ } | null>;
1199
+ };
1200
+ };
1201
+ type MarketSummariesQueryVariables = Exact<{
1202
+ chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
1203
+ marketIds: Array<Scalars['Hex']['input']> | Scalars['Hex']['input'];
1204
+ }>;
1205
+ type MarketSummariesQuery = {
1206
+ __typename?: 'Query';
1207
+ morphoMarkets: {
1208
+ __typename?: 'MorphoMarketPage';
1209
+ pageInfo: {
1210
+ __typename?: 'PageInfo';
1211
+ hasNextPage: boolean;
1212
+ };
1213
+ items: Array<{
1214
+ __typename?: 'MorphoMarket';
1215
+ name: string;
1216
+ marketId: `0x${string}`;
1217
+ chain: {
1218
+ __typename?: 'Chain';
1219
+ id: 80094;
1220
+ name: string;
1221
+ icon: string;
1222
+ };
1223
+ totalBorrowed: {
1224
+ __typename?: 'TokenAmount';
1225
+ raw: string | bigint;
1226
+ formatted: string;
1227
+ usd: number | null;
1228
+ };
1229
+ totalSupplied: {
1230
+ __typename?: 'TokenAmount';
1231
+ raw: string | bigint;
1232
+ formatted: string;
1233
+ usd: number | null;
1234
+ };
1235
+ liquidityInMarket: {
1236
+ __typename?: 'TokenAmount';
1237
+ raw: string | bigint;
1238
+ formatted: string;
1239
+ usd: number | null;
1240
+ };
1241
+ publicAllocatorSharedLiquidity: {
1242
+ __typename?: 'TokenAmount';
1243
+ raw: string | bigint;
1244
+ formatted: string;
1245
+ usd: number | null;
1246
+ };
1247
+ collateralAsset: {
1248
+ __typename?: 'Token';
1249
+ address: `0x${string}`;
1250
+ symbol: string;
1251
+ decimals: number;
1252
+ icon: string | null;
1253
+ category: TokenCategory | null;
1254
+ } | null;
1255
+ loanAsset: {
1256
+ __typename?: 'Token';
1257
+ address: `0x${string}`;
1258
+ symbol: string;
1259
+ decimals: number;
1260
+ icon: string | null;
1261
+ category: TokenCategory | null;
1262
+ };
1263
+ lltv: {
1264
+ __typename?: 'OnchainAmount';
1265
+ raw: string | bigint;
1266
+ formatted: string;
1267
+ };
1268
+ borrowApy: {
1269
+ __typename?: 'Apy';
1270
+ base: number;
1271
+ total: number;
1272
+ fee: number;
1273
+ rewards: Array<{
1274
+ __typename?: 'Reward';
1275
+ apr: number;
1276
+ asset: {
1277
+ __typename?: 'Token';
1278
+ address: `0x${string}`;
1279
+ symbol: string;
1280
+ decimals: number;
1281
+ icon: string | null;
1282
+ category: TokenCategory | null;
1283
+ };
1284
+ }>;
1285
+ };
1286
+ vaultAllocations: Array<{
1287
+ __typename?: 'MorphoVaultMarketAllocation';
1288
+ vault: {
1289
+ __typename?: 'MorphoVault';
1290
+ vaultAddress: `0x${string}`;
1291
+ };
1292
+ position: {
1293
+ __typename?: 'MorphoMarketPosition';
1294
+ supplyAmount: {
1295
+ __typename?: 'TokenAmount';
1296
+ usd: number | null;
1297
+ };
1298
+ };
1299
+ supplyCap: {
1300
+ __typename?: 'TokenAmount';
1301
+ usd: number | null;
1302
+ };
1303
+ }>;
1304
+ } | null>;
1305
+ };
1306
+ };
1307
+ type VaultQueryVariables = Exact<{
1308
+ chainId: Scalars['ChainId']['input'];
1309
+ vaultAddress: Scalars['Address']['input'];
1310
+ }>;
1311
+ type VaultQuery = {
1312
+ __typename?: 'Query';
1313
+ morphoVaults: {
1314
+ __typename?: 'MorphoVaultPage';
1315
+ items: Array<{
1316
+ __typename?: 'MorphoVault';
1317
+ performanceFee: number;
1318
+ feeRecipientAddress: `0x${string}` | null;
1319
+ ownerAddress: `0x${string}`;
1320
+ curatorAddress: `0x${string}`;
1321
+ guardianAddress: `0x${string}`;
1322
+ vaultAddress: `0x${string}`;
1323
+ name: string;
1324
+ supplyApy1d: {
1325
+ __typename?: 'Apy';
1326
+ total: number;
1327
+ };
1328
+ supplyApy7d: {
1329
+ __typename?: 'Apy';
1330
+ total: number;
1331
+ };
1332
+ supplyApy30d: {
1333
+ __typename?: 'Apy';
1334
+ total: number;
1335
+ };
1336
+ asset: {
1337
+ __typename?: 'Token';
1338
+ priceUsd: number | null;
1339
+ address: `0x${string}`;
1340
+ symbol: string;
1341
+ decimals: number;
1342
+ icon: string | null;
1343
+ category: TokenCategory | null;
1344
+ };
1345
+ totalSupplied: {
1346
+ __typename?: 'TokenAmount';
1347
+ raw: string | bigint;
1348
+ formatted: string;
1349
+ usd: number | null;
1350
+ };
1351
+ totalLiquidity: {
1352
+ __typename?: 'TokenAmount';
1353
+ raw: string | bigint;
1354
+ formatted: string;
1355
+ usd: number | null;
1356
+ };
1357
+ marketAllocations: Array<{
1358
+ __typename?: 'MorphoVaultMarketAllocation';
1359
+ enabled: boolean;
1360
+ vaultSupplyShare: number;
1361
+ market: {
1362
+ __typename?: 'MorphoMarket';
1363
+ marketId: `0x${string}`;
1364
+ isIdle: boolean;
1365
+ name: string;
1366
+ chain: {
1367
+ __typename?: 'Chain';
1368
+ id: 80094;
1369
+ name: string;
1370
+ icon: string;
1371
+ };
1372
+ lltv: {
1373
+ __typename?: 'OnchainAmount';
1374
+ raw: string | bigint;
1375
+ formatted: string;
1376
+ };
1377
+ collateralAsset: {
1378
+ __typename?: 'Token';
1379
+ address: `0x${string}`;
1380
+ symbol: string;
1381
+ decimals: number;
1382
+ icon: string | null;
1383
+ category: TokenCategory | null;
1384
+ } | null;
1385
+ loanAsset: {
1386
+ __typename?: 'Token';
1387
+ address: `0x${string}`;
1388
+ symbol: string;
1389
+ decimals: number;
1390
+ icon: string | null;
1391
+ category: TokenCategory | null;
1392
+ };
1393
+ supplyApy: {
1394
+ __typename?: 'Apy';
1395
+ base: number;
1396
+ total: number;
1397
+ fee: number;
1398
+ rewards: Array<{
1399
+ __typename?: 'Reward';
1400
+ apr: number;
1401
+ asset: {
1402
+ __typename?: 'Token';
1403
+ address: `0x${string}`;
1404
+ symbol: string;
1405
+ decimals: number;
1406
+ icon: string | null;
1407
+ category: TokenCategory | null;
1408
+ };
1409
+ }>;
1410
+ };
1411
+ fee: {
1412
+ __typename?: 'OnchainAmount';
1413
+ raw: string | bigint;
1414
+ formatted: string;
1415
+ };
1416
+ };
1417
+ position: {
1418
+ __typename?: 'MorphoMarketPosition';
1419
+ supplyShares: string | bigint;
1420
+ supplyAmount: {
1421
+ __typename?: 'TokenAmount';
1422
+ raw: string | bigint;
1423
+ formatted: string;
1424
+ usd: number | null;
1425
+ };
1426
+ };
1427
+ supplyCap: {
1428
+ __typename?: 'TokenAmount';
1429
+ raw: string | bigint;
1430
+ formatted: string;
1431
+ usd: number | null;
1432
+ };
1433
+ }>;
1434
+ chain: {
1435
+ __typename?: 'Chain';
1436
+ id: 80094;
1437
+ name: string;
1438
+ icon: string;
1439
+ };
1440
+ metadata: {
1441
+ __typename?: 'MorphoVaultMetadata';
1442
+ curators: Array<{
1443
+ __typename?: 'Curator';
1444
+ name: string;
1445
+ image: string;
1446
+ url: string;
1447
+ }>;
1448
+ } | null;
1449
+ supplyApy: {
1450
+ __typename?: 'Apy';
1451
+ base: number;
1452
+ total: number;
1453
+ fee: number;
1454
+ rewards: Array<{
1455
+ __typename?: 'Reward';
1456
+ apr: number;
1457
+ asset: {
1458
+ __typename?: 'Token';
1459
+ address: `0x${string}`;
1460
+ symbol: string;
1461
+ decimals: number;
1462
+ icon: string | null;
1463
+ category: TokenCategory | null;
1464
+ };
1465
+ }>;
1466
+ };
1467
+ } | null>;
1468
+ };
1469
+ };
1470
+ type MarketQueryVariables = Exact<{
1471
+ chainId: Scalars['ChainId']['input'];
1472
+ marketId: Scalars['Hex']['input'];
1473
+ }>;
1474
+ type MarketQuery = {
1475
+ __typename?: 'Query';
1476
+ morphoMarkets: {
1477
+ __typename?: 'MorphoMarketPage';
1478
+ items: Array<{
1479
+ __typename?: 'MorphoMarket';
1480
+ isIdle: boolean;
1481
+ utilization: number;
1482
+ liquidationPenalty: number;
1483
+ oracleAddress: `0x${string}`;
1484
+ name: string;
1485
+ marketId: `0x${string}`;
1486
+ totalSupplied: {
1487
+ __typename?: 'TokenAmount';
1488
+ raw: string | bigint;
1489
+ formatted: string;
1490
+ usd: number | null;
1491
+ };
1492
+ totalBorrowed: {
1493
+ __typename?: 'TokenAmount';
1494
+ raw: string | bigint;
1495
+ formatted: string;
1496
+ usd: number | null;
1497
+ };
1498
+ liquidityInMarket: {
1499
+ __typename?: 'TokenAmount';
1500
+ raw: string | bigint;
1501
+ formatted: string;
1502
+ usd: number | null;
1503
+ };
1504
+ publicAllocatorSharedLiquidity: {
1505
+ __typename?: 'TokenAmount';
1506
+ raw: string | bigint;
1507
+ formatted: string;
1508
+ usd: number | null;
1509
+ };
1510
+ collateralAsset: {
1511
+ __typename?: 'Token';
1512
+ priceUsd: number | null;
1513
+ address: `0x${string}`;
1514
+ symbol: string;
1515
+ decimals: number;
1516
+ icon: string | null;
1517
+ category: TokenCategory | null;
1518
+ } | null;
1519
+ loanAsset: {
1520
+ __typename?: 'Token';
1521
+ priceUsd: number | null;
1522
+ address: `0x${string}`;
1523
+ symbol: string;
1524
+ decimals: number;
1525
+ icon: string | null;
1526
+ category: TokenCategory | null;
1527
+ };
1528
+ vaultAllocations: Array<{
1529
+ __typename?: 'MorphoVaultMarketAllocation';
1530
+ enabled: boolean;
1531
+ marketSupplyShare: number;
1532
+ vault: {
1533
+ __typename?: 'MorphoVault';
1534
+ vaultAddress: `0x${string}`;
1535
+ name: string;
1536
+ curatorAddress: `0x${string}`;
1537
+ asset: {
1538
+ __typename?: 'Token';
1539
+ address: `0x${string}`;
1540
+ symbol: string;
1541
+ decimals: number;
1542
+ icon: string | null;
1543
+ category: TokenCategory | null;
1544
+ };
1545
+ chain: {
1546
+ __typename?: 'Chain';
1547
+ id: 80094;
1548
+ name: string;
1549
+ icon: string;
1550
+ };
1551
+ metadata: {
1552
+ __typename?: 'MorphoVaultMetadata';
1553
+ curators: Array<{
1554
+ __typename?: 'Curator';
1555
+ name: string;
1556
+ image: string;
1557
+ url: string;
1558
+ }>;
1559
+ } | null;
1560
+ };
1561
+ position: {
1562
+ __typename?: 'MorphoMarketPosition';
1563
+ supplyShares: string | bigint;
1564
+ supplyAmount: {
1565
+ __typename?: 'TokenAmount';
1566
+ raw: string | bigint;
1567
+ formatted: string;
1568
+ usd: number | null;
1569
+ };
1570
+ };
1571
+ supplyCap: {
1572
+ __typename?: 'TokenAmount';
1573
+ raw: string | bigint;
1574
+ formatted: string;
1575
+ usd: number | null;
1576
+ };
1577
+ }>;
1578
+ irm: {
1579
+ __typename?: 'MorphoIrm';
1580
+ address: `0x${string}`;
1581
+ targetUtilization: number;
1582
+ curve: Array<{
1583
+ __typename?: 'MorphoIrmCurvePoint';
1584
+ utilization: number;
1585
+ supplyApy: number;
1586
+ borrowApy: number;
1587
+ }> | null;
1588
+ };
1589
+ collateralPriceInLoanAsset: {
1590
+ __typename?: 'OnchainAmount';
1591
+ raw: string | bigint;
1592
+ formatted: string;
1593
+ } | null;
1594
+ chain: {
1595
+ __typename?: 'Chain';
1596
+ id: 80094;
1597
+ name: string;
1598
+ icon: string;
1599
+ };
1600
+ lltv: {
1601
+ __typename?: 'OnchainAmount';
1602
+ raw: string | bigint;
1603
+ formatted: string;
1604
+ };
1605
+ borrowApy: {
1606
+ __typename?: 'Apy';
1607
+ base: number;
1608
+ total: number;
1609
+ fee: number;
1610
+ rewards: Array<{
1611
+ __typename?: 'Reward';
1612
+ apr: number;
1613
+ asset: {
1614
+ __typename?: 'Token';
1615
+ address: `0x${string}`;
1616
+ symbol: string;
1617
+ decimals: number;
1618
+ icon: string | null;
1619
+ category: TokenCategory | null;
1620
+ };
1621
+ }>;
1622
+ };
1623
+ } | null>;
1624
+ };
1625
+ };
1626
+ type VaultPositionsQueryVariables = Exact<{
1627
+ chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
1628
+ vaultAddresses: Array<Scalars['Address']['input']> | Scalars['Address']['input'];
1629
+ accountAddress: Scalars['Address']['input'];
1630
+ }>;
1631
+ type VaultPositionsQuery = {
1632
+ __typename?: 'Query';
1633
+ morphoVaultPositions: {
1634
+ __typename?: 'MorphoVaultPositionPage';
1635
+ items: Array<{
1636
+ __typename?: 'MorphoVaultPosition';
1637
+ vault: {
1638
+ __typename?: 'MorphoVault';
1639
+ vaultAddress: `0x${string}`;
1640
+ chain: {
1641
+ __typename?: 'Chain';
1642
+ id: 80094;
1643
+ };
1644
+ };
1645
+ supplyAmount: {
1646
+ __typename?: 'TokenAmount';
1647
+ raw: string | bigint;
1648
+ formatted: string;
1649
+ usd: number | null;
1650
+ };
1651
+ walletUnderlyingAssetHolding: {
1652
+ __typename?: 'TokenHolding';
1653
+ balance: {
1654
+ __typename?: 'TokenAmount';
1655
+ raw: string | bigint;
1656
+ formatted: string;
1657
+ usd: number | null;
1658
+ };
1659
+ } | null;
1660
+ } | null>;
1661
+ };
1662
+ };
1663
+ type MarketPositionsQueryVariables = Exact<{
1664
+ chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
1665
+ marketIds: Array<Scalars['Hex']['input']> | Scalars['Hex']['input'];
1666
+ accountAddress: Scalars['Address']['input'];
1667
+ }>;
1668
+ type MarketPositionsQuery = {
1669
+ __typename?: 'Query';
1670
+ morphoMarketPositions: {
1671
+ __typename?: 'MorphoMarketPositionPage';
1672
+ items: Array<{
1673
+ __typename?: 'MorphoMarketPosition';
1674
+ market: {
1675
+ __typename?: 'MorphoMarket';
1676
+ marketId: `0x${string}`;
1677
+ chain: {
1678
+ __typename?: 'Chain';
1679
+ id: 80094;
1680
+ };
1681
+ };
1682
+ collateralAmount: {
1683
+ __typename?: 'TokenAmount';
1684
+ raw: string | bigint;
1685
+ formatted: string;
1686
+ usd: number | null;
1687
+ } | null;
1688
+ borrowAmount: {
1689
+ __typename?: 'TokenAmount';
1690
+ raw: string | bigint;
1691
+ formatted: string;
1692
+ usd: number | null;
1693
+ };
1694
+ ltv: {
1695
+ __typename?: 'OnchainAmount';
1696
+ formatted: string;
1697
+ } | null;
1698
+ walletLoanAssetHolding: {
1699
+ __typename?: 'TokenHolding';
1700
+ balance: {
1701
+ __typename?: 'TokenAmount';
1702
+ raw: string | bigint;
1703
+ formatted: string;
1704
+ usd: number | null;
1705
+ };
1706
+ };
1707
+ walletCollateralAssetHolding: {
1708
+ __typename?: 'TokenHolding';
1709
+ balance: {
1710
+ __typename?: 'TokenAmount';
1711
+ raw: string | bigint;
1712
+ formatted: string;
1713
+ usd: number | null;
1714
+ };
1715
+ } | null;
1716
+ } | null>;
1717
+ };
1718
+ };
1719
+ type SupportedMarketIdsQueryVariables = Exact<{
1720
+ chainIds: Array<Scalars['ChainId']['input']> | Scalars['ChainId']['input'];
1721
+ vaultAddresses: Array<Scalars['Address']['input']> | Scalars['Address']['input'];
1722
+ }>;
1723
+ type SupportedMarketIdsQuery = {
1724
+ __typename?: 'Query';
1725
+ morphoVaults: {
1726
+ __typename?: 'MorphoVaultPage';
1727
+ items: Array<{
1728
+ __typename?: 'MorphoVault';
1729
+ chain: {
1730
+ __typename?: 'Chain';
1731
+ id: 80094;
1732
+ };
1733
+ marketAllocations: Array<{
1734
+ __typename?: 'MorphoVaultMarketAllocation';
1735
+ market: {
1736
+ __typename?: 'MorphoMarket';
1737
+ marketId: `0x${string}`;
1738
+ };
1739
+ }>;
1740
+ } | null>;
1741
+ };
1742
+ };
1743
+ type GetAccountIsOfacSanctionedQueryVariables = Exact<{
1744
+ address: Scalars['Address']['input'];
1745
+ }>;
1746
+ type GetAccountIsOfacSanctionedQuery = {
1747
+ __typename?: 'Query';
1748
+ identity: {
1749
+ __typename?: 'Identity';
1750
+ isOfacSanctioned: boolean;
1751
+ } | null;
1752
+ };
1753
+ declare const ChainInfoFragment: graphql.DocumentNode;
1754
+ declare const TokenInfoFragment: graphql.DocumentNode;
1755
+ declare const CuratorInfoFragment: graphql.DocumentNode;
1756
+ declare const ApyFragment: graphql.DocumentNode;
1757
+ declare const VaultSummaryFragment: graphql.DocumentNode;
1758
+ declare const MarketSummaryFragment: graphql.DocumentNode;
1759
+ declare const VaultSummaries: graphql.DocumentNode;
1760
+ declare const MarketSummaries: graphql.DocumentNode;
1761
+ /** Vault */
1762
+ type Vault = {
1763
+ __typename?: 'Vault';
1764
+ /** Underlying asset of the vault */
1765
+ asset: Token;
1766
+ /** Chain the vault is deployed on */
1767
+ chain: Chain;
1768
+ /** Description of the vault */
1769
+ description: Maybe<Scalars['String']['output']>;
1770
+ /** Name of the vault */
1771
+ name: Scalars['String']['output'];
1772
+ /** Protocol the vault is part of */
1773
+ protocol: Protocol;
1774
+ /** APY of the vault */
1775
+ supplyApy: Apy;
1776
+ /** Total amount of underlying assets supplied to the vault */
1777
+ totalSupplied: TokenAmount;
1778
+ /** Type of vault */
1779
+ type: VaultType;
1780
+ /** URL of the vault */
1781
+ url: Scalars['String']['output'];
1782
+ /** Address of the vault */
1783
+ vaultAddress: Scalars['Address']['output'];
1784
+ };
1785
+ declare const Vault: graphql.DocumentNode;
1786
+ declare const Market: graphql.DocumentNode;
1787
+ declare const VaultPositions: graphql.DocumentNode;
1788
+ declare const MarketPositions: graphql.DocumentNode;
1789
+ declare const SupportedMarketIds: graphql.DocumentNode;
1790
+ declare const GetAccountIsOfacSanctioned: graphql.DocumentNode;
1791
+ interface PossibleTypesResultData {
1792
+ possibleTypes: {
1793
+ [key: string]: string[];
1794
+ };
1795
+ }
1796
+ declare const result: PossibleTypesResultData;
1797
+
1798
+ export { type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, type Chain, type ChainFilter, ChainInfoFragment, type ChainInfoFragmentFragment, type Curator, CuratorInfoFragment, type CuratorInfoFragmentFragment, type Exact, GetAccountIsOfacSanctioned, type GetAccountIsOfacSanctionedQuery, type GetAccountIsOfacSanctionedQueryVariables, type Identity, IdentityResolver, type IdentityResolverOutput, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, Market, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, type Maybe, type MerklAccountReward, MerklAction, type MerklRewardInput, type MorphoIrm, type MorphoIrmCurvePoint, type MorphoMarket, type MorphoMarketFilter, type MorphoMarketHistorical, type MorphoMarketHistoricalEntry, type MorphoMarketPage, type MorphoMarketPosition, type MorphoMarketPositionFilter, type MorphoMarketPositionHistorical, type MorphoMarketPositionHistoricalEntry, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionHistorical, type MorphoVaultPositionHistoricalEntry, type MorphoVaultPositionPage, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, type QueryIdentitiesArgs, type QueryIdentityArgs, type QueryMerklAccountRewardsArgs, type QueryMorphoMarketPositionsArgs, type QueryMorphoMarketsArgs, type QueryMorphoVaultPositionsArgs, type QueryMorphoVaultsArgs, type QueryTokenHoldingsArgs, type QueryTokensArgs, type QueryVaultsArgs, type Reward, type Scalars, SupportedMarketIds, type SupportedMarketIdsQuery, type SupportedMarketIdsQueryVariables, type Token, type TokenAmount, TokenCategory, type TokenHistorical, type TokenHistoricalEntry, type TokenHolding, type TokenHoldingInput, TokenInfoFragment, type TokenInfoFragmentFragment, type TokenInput, Vault, type VaultInput, VaultPositions, type VaultPositionsQuery, type VaultPositionsQueryVariables, VaultProtocol, type VaultQuery, type VaultQueryVariables, VaultSummaries, type VaultSummariesQuery, type VaultSummariesQueryVariables, VaultSummaryFragment, type VaultSummaryFragmentFragment, VaultType, result as default };