@berachain/graphql 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bend/whisk.codegen.cjs +18 -12
- package/dist/bend/whisk.codegen.d.cts +544 -189
- package/dist/bend/whisk.codegen.d.ts +544 -189
- package/dist/bend/whisk.codegen.mjs +22 -16
- package/dist/chain/chain.codegen.d.cts +2 -2
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +18 -38
- package/dist/dex/api.codegen.d.ts +18 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/dex/subgraph.codegen.d.cts +9 -9
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.d.cts +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/honey/honey.codegen.d.cts +7 -7
- package/dist/honey/honey.codegen.d.ts +7 -7
- package/dist/pol/api.codegen.cjs +18 -36
- package/dist/pol/api.codegen.d.cts +18 -66
- package/dist/pol/api.codegen.d.ts +18 -66
- package/dist/pol/api.codegen.mjs +17 -35
- package/dist/pol/subgraph.codegen.d.cts +19 -19
- package/dist/pol/subgraph.codegen.d.ts +19 -19
- package/package.json +6 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -75,15 +75,10 @@ type Adapter = {
|
|
|
75
75
|
* @deprecated Schema is subject to change, not yet stable
|
|
76
76
|
*/
|
|
77
77
|
adapterCap: Maybe<AdapterCap>;
|
|
78
|
-
/**
|
|
79
|
-
* Is the adapter enabled
|
|
80
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
81
|
-
*/
|
|
82
|
-
isEnabled: Scalars['Boolean']['output'];
|
|
83
78
|
/** Name of the adapter */
|
|
84
79
|
name: Maybe<Scalars['String']['output']>;
|
|
85
80
|
/** Risk assessment for the adapter */
|
|
86
|
-
riskAssessment:
|
|
81
|
+
riskAssessment: RiskAssessment;
|
|
87
82
|
};
|
|
88
83
|
type AdapterCap = Cap & {
|
|
89
84
|
__typename?: 'AdapterCap';
|
|
@@ -108,12 +103,6 @@ type AdapterCap = Cap & {
|
|
|
108
103
|
*/
|
|
109
104
|
relativeCap: OnchainAmount;
|
|
110
105
|
};
|
|
111
|
-
/** Risk assessment for an adapter */
|
|
112
|
-
type AdapterRiskAssessment = {
|
|
113
|
-
__typename?: 'AdapterRiskAssessment';
|
|
114
|
-
/** Steakhouse risk assessment */
|
|
115
|
-
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
116
|
-
};
|
|
117
106
|
/** Pending withdrawals or deposits for an account in an Aera vault */
|
|
118
107
|
type AeraPendingAction = {
|
|
119
108
|
__typename?: 'AeraPendingAction';
|
|
@@ -227,33 +216,133 @@ declare enum ApySide {
|
|
|
227
216
|
/** APY earned when supplying */
|
|
228
217
|
Supply = "Supply"
|
|
229
218
|
}
|
|
230
|
-
/** Timeframe for APY calculations */
|
|
219
|
+
/** Timeframe for APY calculations based on historical share price changes */
|
|
231
220
|
declare enum ApyTimeframe {
|
|
221
|
+
/** APY calculated over the last 1 day */
|
|
232
222
|
OneDay = "one_day",
|
|
223
|
+
/** APY calculated over the last 7 days */
|
|
233
224
|
SevenDays = "seven_days",
|
|
225
|
+
/** APY calculated over the last 6 hours */
|
|
226
|
+
SixHours = "six_hours",
|
|
227
|
+
/** APY calculated over the last 30 days */
|
|
234
228
|
ThirtyDays = "thirty_days"
|
|
235
229
|
}
|
|
236
|
-
|
|
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 & {
|
|
237
307
|
__typename?: 'BoxVault';
|
|
238
|
-
/**
|
|
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
|
+
*/
|
|
239
314
|
allocations: Array<TokenHolding>;
|
|
240
|
-
/** APY earned when supplying to the vault */
|
|
315
|
+
/** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
|
|
241
316
|
apy: Apy;
|
|
242
317
|
/** Underlying asset of the vault */
|
|
243
318
|
asset: Token;
|
|
244
|
-
/**
|
|
319
|
+
/** The category of the vault's underlying asset */
|
|
320
|
+
category: Maybe<TokenCategory>;
|
|
321
|
+
/** The chain this vault is deployed on */
|
|
245
322
|
chain: Chain;
|
|
246
|
-
/**
|
|
323
|
+
/** The number of decimal places the vault shares use */
|
|
247
324
|
decimals: Scalars['Int']['output'];
|
|
248
|
-
/**
|
|
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 */
|
|
249
333
|
name: Scalars['String']['output'];
|
|
334
|
+
/** Current price of vault shares in USD, null if price data unavailable */
|
|
335
|
+
priceUsd: Maybe<Scalars['Float']['output']>;
|
|
250
336
|
/** Risk assessment for the vault */
|
|
251
|
-
riskAssessment:
|
|
252
|
-
/**
|
|
337
|
+
riskAssessment: RiskAssessment;
|
|
338
|
+
/** The symbol of the vault shares */
|
|
253
339
|
symbol: Scalars['String']['output'];
|
|
254
340
|
/** Total amount of the underlying assets supplied to the vault */
|
|
255
341
|
totalAssets: TokenAmount;
|
|
256
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* Address of the vault contract
|
|
344
|
+
* @deprecated Use address instead
|
|
345
|
+
*/
|
|
257
346
|
vaultAddress: Scalars['Address']['output'];
|
|
258
347
|
};
|
|
259
348
|
type BoxVaultApyArgs = {
|
|
@@ -271,27 +360,19 @@ type BoxVaultAdapter = Adapter & {
|
|
|
271
360
|
* @deprecated Schema is subject to change, not yet stable
|
|
272
361
|
*/
|
|
273
362
|
adapterCap: Maybe<AdapterCap>;
|
|
274
|
-
/**
|
|
275
|
-
* Is the adapter enabled
|
|
276
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
277
|
-
*/
|
|
278
|
-
isEnabled: Scalars['Boolean']['output'];
|
|
279
363
|
/**
|
|
280
364
|
* Name of the adapter
|
|
281
365
|
* @deprecated Schema is subject to change, not yet stable
|
|
282
366
|
*/
|
|
283
367
|
name: Maybe<Scalars['String']['output']>;
|
|
284
368
|
/** Risk assessment for the adapter */
|
|
285
|
-
riskAssessment:
|
|
286
|
-
/**
|
|
369
|
+
riskAssessment: RiskAssessment;
|
|
370
|
+
/**
|
|
371
|
+
* Box vault the adapter allocated to
|
|
372
|
+
* @deprecated Schema is subject to change, not yet stable
|
|
373
|
+
*/
|
|
287
374
|
vault: Maybe<BoxVault>;
|
|
288
375
|
};
|
|
289
|
-
/** Risk assessment for a box vault */
|
|
290
|
-
type BoxVaultRiskAssessment = {
|
|
291
|
-
__typename?: 'BoxVaultRiskAssessment';
|
|
292
|
-
/** Steakhouse risk assessment */
|
|
293
|
-
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
294
|
-
};
|
|
295
376
|
/** V2: Caps for a Morpho vault adapter id */
|
|
296
377
|
type Cap = {
|
|
297
378
|
/**
|
|
@@ -300,7 +381,7 @@ type Cap = {
|
|
|
300
381
|
*/
|
|
301
382
|
absoluteCap: TokenAmount;
|
|
302
383
|
/**
|
|
303
|
-
* Current amount allocated under this id
|
|
384
|
+
* Current amount allocated under this id. This uses real time values instead of the cached allocation values where possible
|
|
304
385
|
* @deprecated Schema is subject to change, not yet stable
|
|
305
386
|
*/
|
|
306
387
|
allocation: TokenAmount;
|
|
@@ -372,30 +453,69 @@ type Curator = {
|
|
|
372
453
|
/** URL of the curator */
|
|
373
454
|
url: Scalars['String']['output'];
|
|
374
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 */
|
|
375
478
|
type Erc4626Vault = {
|
|
479
|
+
/** The contract address of the vault */
|
|
480
|
+
address: Scalars['Address']['output'];
|
|
376
481
|
/** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
|
|
377
482
|
apy: Apy;
|
|
378
483
|
/** Underlying asset of the vault */
|
|
379
484
|
asset: Token;
|
|
380
|
-
/**
|
|
485
|
+
/** The category of the vault's underlying asset */
|
|
486
|
+
category: Maybe<TokenCategory>;
|
|
487
|
+
/** The chain this vault is deployed on */
|
|
381
488
|
chain: Chain;
|
|
382
|
-
/**
|
|
489
|
+
/** The number of decimal places the vault shares use */
|
|
383
490
|
decimals: Scalars['Int']['output'];
|
|
384
|
-
/**
|
|
491
|
+
/** URL to the vault's image, null if not available */
|
|
492
|
+
icon: Maybe<Scalars['URL']['output']>;
|
|
493
|
+
/** The full name of the vault */
|
|
385
494
|
name: Scalars['String']['output'];
|
|
386
|
-
/**
|
|
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 */
|
|
387
500
|
symbol: Scalars['String']['output'];
|
|
388
501
|
/** Total amount of the underlying assets supplied to the vault */
|
|
389
502
|
totalAssets: TokenAmount;
|
|
390
|
-
/**
|
|
503
|
+
/**
|
|
504
|
+
* Address of the vault contract
|
|
505
|
+
* @deprecated Use address instead
|
|
506
|
+
*/
|
|
391
507
|
vaultAddress: Scalars['Address']['output'];
|
|
392
508
|
};
|
|
509
|
+
/** ERC-4626 tokenized vault interface - standard for yield-bearing vaults */
|
|
393
510
|
type Erc4626VaultApyArgs = {
|
|
394
511
|
timeframe: ApyTimeframe;
|
|
395
512
|
};
|
|
513
|
+
/** Filter for querying ERC-4626 vaults */
|
|
396
514
|
type Erc4626VaultFilter = {
|
|
515
|
+
/** List of vault keys to filter by (returns vaults matching any key) */
|
|
397
516
|
keys: InputMaybe<Array<Erc4626VaultKey>>;
|
|
398
517
|
};
|
|
518
|
+
/** Unique identifier for an ERC-4626 vault */
|
|
399
519
|
type Erc4626VaultKey = {
|
|
400
520
|
/** Chain the vault is deployed on */
|
|
401
521
|
chainId: Scalars['ChainId']['input'];
|
|
@@ -404,6 +524,7 @@ type Erc4626VaultKey = {
|
|
|
404
524
|
/** Address of the vault contract */
|
|
405
525
|
vaultAddress: Scalars['Address']['input'];
|
|
406
526
|
};
|
|
527
|
+
/** Paginated response containing ERC-4626 vaults */
|
|
407
528
|
type Erc4626VaultPage = {
|
|
408
529
|
__typename?: 'Erc4626VaultPage';
|
|
409
530
|
/** The items in the page */
|
|
@@ -413,6 +534,7 @@ type Erc4626VaultPage = {
|
|
|
413
534
|
/** Total number of items */
|
|
414
535
|
totalCount: Scalars['Int']['output'];
|
|
415
536
|
};
|
|
537
|
+
/** User position in an ERC-4626 vault */
|
|
416
538
|
type Erc4626VaultPosition = {
|
|
417
539
|
/** Address of the account */
|
|
418
540
|
accountAddress: Scalars['Address']['output'];
|
|
@@ -425,9 +547,12 @@ type Erc4626VaultPosition = {
|
|
|
425
547
|
/** Holding of the underlying asset in the accounts wallet - just for convenience, technically not part of the positions */
|
|
426
548
|
walletAssetHolding: TokenHolding;
|
|
427
549
|
};
|
|
550
|
+
/** Filter for querying ERC-4626 vault positions */
|
|
428
551
|
type Erc4626VaultPositionFilter = {
|
|
552
|
+
/** List of position keys to filter by (returns positions matching any key) */
|
|
429
553
|
keys: InputMaybe<Array<Erc4626VaultPositionKey>>;
|
|
430
554
|
};
|
|
555
|
+
/** Unique identifier for a user's position in an ERC-4626 vault */
|
|
431
556
|
type Erc4626VaultPositionKey = {
|
|
432
557
|
/** Address of the account to get the position for */
|
|
433
558
|
accountAddress: Scalars['Address']['input'];
|
|
@@ -438,6 +563,7 @@ type Erc4626VaultPositionKey = {
|
|
|
438
563
|
/** Address of the vault contract */
|
|
439
564
|
vaultAddress: Scalars['Address']['input'];
|
|
440
565
|
};
|
|
566
|
+
/** Paginated response containing ERC-4626 vault positions */
|
|
441
567
|
type Erc4626VaultPositionPage = {
|
|
442
568
|
__typename?: 'Erc4626VaultPositionPage';
|
|
443
569
|
/** The items in the page */
|
|
@@ -447,34 +573,55 @@ type Erc4626VaultPositionPage = {
|
|
|
447
573
|
/** Total number of items */
|
|
448
574
|
totalCount: Scalars['Int']['output'];
|
|
449
575
|
};
|
|
576
|
+
/** Protocols that implement ERC-4626 tokenized vault standard */
|
|
450
577
|
declare enum Erc4626VaultProtocol {
|
|
578
|
+
/** Box protocol vaults */
|
|
451
579
|
Box = "box",
|
|
580
|
+
/** Generic ERC-4626 vault (protocol-agnostic implementation) */
|
|
452
581
|
Generic = "generic",
|
|
582
|
+
/** Morpho v1 lending vaults */
|
|
453
583
|
MorphoV1 = "morpho_v1",
|
|
584
|
+
/** Morpho v2 lending vaults */
|
|
454
585
|
MorphoV2 = "morpho_v2"
|
|
455
586
|
}
|
|
456
|
-
|
|
587
|
+
/** Generic ERC-4626 vault implementation without protocol-specific features */
|
|
588
|
+
type GenericErc4626Vault = Erc20 & Erc4626Vault & {
|
|
457
589
|
__typename?: 'GenericErc4626Vault';
|
|
458
|
-
/**
|
|
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 */
|
|
459
593
|
apy: Apy;
|
|
460
594
|
/** Underlying asset of the vault */
|
|
461
595
|
asset: Token;
|
|
462
|
-
/**
|
|
596
|
+
/** The category of the vault's underlying asset */
|
|
597
|
+
category: Maybe<TokenCategory>;
|
|
598
|
+
/** The chain this vault is deployed on */
|
|
463
599
|
chain: Chain;
|
|
464
|
-
/**
|
|
600
|
+
/** The number of decimal places the vault shares use */
|
|
465
601
|
decimals: Scalars['Int']['output'];
|
|
466
|
-
/**
|
|
602
|
+
/** URL to the vault's image, null if not available */
|
|
603
|
+
icon: Maybe<Scalars['URL']['output']>;
|
|
604
|
+
/** The full name of the vault */
|
|
467
605
|
name: Scalars['String']['output'];
|
|
468
|
-
/**
|
|
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 */
|
|
469
611
|
symbol: Scalars['String']['output'];
|
|
470
612
|
/** Total amount of the underlying assets supplied to the vault */
|
|
471
613
|
totalAssets: TokenAmount;
|
|
472
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Address of the vault contract
|
|
616
|
+
* @deprecated Use address instead
|
|
617
|
+
*/
|
|
473
618
|
vaultAddress: Scalars['Address']['output'];
|
|
474
619
|
};
|
|
620
|
+
/** Generic ERC-4626 vault implementation without protocol-specific features */
|
|
475
621
|
type GenericErc4626VaultApyArgs = {
|
|
476
622
|
timeframe: ApyTimeframe;
|
|
477
623
|
};
|
|
624
|
+
/** User position in a generic ERC-4626 vault */
|
|
478
625
|
type GenericErc4626VaultPosition = Erc4626VaultPosition & {
|
|
479
626
|
__typename?: 'GenericErc4626VaultPosition';
|
|
480
627
|
/** Address of the account */
|
|
@@ -488,36 +635,63 @@ type GenericErc4626VaultPosition = Erc4626VaultPosition & {
|
|
|
488
635
|
/** Holding of the underlying asset in the accounts wallet - just for convenience, technically not part of the positions */
|
|
489
636
|
walletAssetHolding: TokenHolding;
|
|
490
637
|
};
|
|
638
|
+
/** Identity information aggregated from multiple naming services */
|
|
491
639
|
type Identity = {
|
|
492
640
|
__typename?: 'Identity';
|
|
641
|
+
/** Aggregated identity information with fallback priority based on resolverOrder */
|
|
493
642
|
aggregate: IdentityResolverOutput;
|
|
643
|
+
/** Identity information from Basename on Base network */
|
|
494
644
|
base: IdentityResolverOutput;
|
|
645
|
+
/** Identity information from Ethereum Name Service (ENS) */
|
|
495
646
|
ens: IdentityResolverOutput;
|
|
647
|
+
/** Identity information from Farcaster protocol */
|
|
496
648
|
farcaster: IdentityResolverOutput;
|
|
649
|
+
/** Whether the address is on the OFAC sanctions list */
|
|
497
650
|
isOfacSanctioned: Scalars['Boolean']['output'];
|
|
651
|
+
/** Identity information from Lens Protocol */
|
|
498
652
|
lens: IdentityResolverOutput;
|
|
653
|
+
/** Identity information from NNS */
|
|
499
654
|
nns: IdentityResolverOutput;
|
|
655
|
+
/** Identity information from Uniswap naming service */
|
|
500
656
|
uni: IdentityResolverOutput;
|
|
657
|
+
/** Identity information from Worldcoin */
|
|
501
658
|
world: IdentityResolverOutput;
|
|
502
659
|
};
|
|
660
|
+
/** Identity resolution services that can provide name and profile information for addresses */
|
|
503
661
|
declare enum IdentityResolver {
|
|
662
|
+
/** Basename - .base.eth domains on Base network */
|
|
504
663
|
Base = "base",
|
|
664
|
+
/** Ethereum Name Service (ENS) - .eth domains */
|
|
505
665
|
Ens = "ens",
|
|
666
|
+
/** Farcaster - decentralized social network */
|
|
506
667
|
Farcaster = "farcaster",
|
|
668
|
+
/** Lens Protocol - decentralized social graph */
|
|
507
669
|
Lens = "lens",
|
|
670
|
+
/** NNS - .nft domains */
|
|
508
671
|
Nns = "nns",
|
|
672
|
+
/** Uniswap - .uni.eth domains */
|
|
509
673
|
Uni = "uni",
|
|
674
|
+
/** Worldcoin - verified identity protocol */
|
|
510
675
|
World = "world"
|
|
511
676
|
}
|
|
677
|
+
/** Profile information resolved from an identity service */
|
|
512
678
|
type IdentityResolverOutput = {
|
|
513
679
|
__typename?: 'IdentityResolverOutput';
|
|
680
|
+
/** URL or IPFS hash of the avatar image */
|
|
514
681
|
avatar: Maybe<Scalars['String']['output']>;
|
|
682
|
+
/** Biography or profile description */
|
|
515
683
|
bio: Maybe<Scalars['String']['output']>;
|
|
684
|
+
/** Discord username or server invite */
|
|
516
685
|
discord: Maybe<Scalars['String']['output']>;
|
|
686
|
+
/** GitHub username or profile URL */
|
|
517
687
|
github: Maybe<Scalars['String']['output']>;
|
|
688
|
+
/** Display name or ENS/domain name for the address */
|
|
518
689
|
name: Maybe<Scalars['String']['output']>;
|
|
690
|
+
/** Telegram username or profile */
|
|
519
691
|
telegram: Maybe<Scalars['String']['output']>;
|
|
692
|
+
/** Personal or project website URL */
|
|
520
693
|
website: Maybe<Scalars['String']['output']>;
|
|
694
|
+
/** X (formerly Twitter) handle or profile URL */
|
|
521
695
|
x: Maybe<Scalars['String']['output']>;
|
|
522
696
|
};
|
|
523
697
|
type MarketV1Adapter = Adapter & {
|
|
@@ -533,17 +707,7 @@ type MarketV1Adapter = Adapter & {
|
|
|
533
707
|
*/
|
|
534
708
|
adapterCap: Maybe<AdapterCap>;
|
|
535
709
|
/**
|
|
536
|
-
*
|
|
537
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
538
|
-
*/
|
|
539
|
-
collateralCaps: Array<CollateralExposureCap>;
|
|
540
|
-
/**
|
|
541
|
-
* Is the adapter enabled
|
|
542
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
543
|
-
*/
|
|
544
|
-
isEnabled: Scalars['Boolean']['output'];
|
|
545
|
-
/**
|
|
546
|
-
* Markets for the adapter
|
|
710
|
+
* Markets the adapter is allocating to. Note that only markets currently being allocated to will appear here
|
|
547
711
|
* @deprecated Schema is subject to change, not yet stable
|
|
548
712
|
*/
|
|
549
713
|
marketCaps: Array<MarketV1ExposureCap>;
|
|
@@ -553,7 +717,7 @@ type MarketV1Adapter = Adapter & {
|
|
|
553
717
|
*/
|
|
554
718
|
name: Maybe<Scalars['String']['output']>;
|
|
555
719
|
/** Risk assessment for the adapter */
|
|
556
|
-
riskAssessment:
|
|
720
|
+
riskAssessment: RiskAssessment;
|
|
557
721
|
};
|
|
558
722
|
type MarketV1ExposureCap = Cap & {
|
|
559
723
|
__typename?: 'MarketV1ExposureCap';
|
|
@@ -583,7 +747,7 @@ type MarketV1ExposureCap = Cap & {
|
|
|
583
747
|
*/
|
|
584
748
|
relativeCap: OnchainAmount;
|
|
585
749
|
};
|
|
586
|
-
/**
|
|
750
|
+
/** Merkl reward earned by an account through protocol participation */
|
|
587
751
|
type MerklAccountReward = {
|
|
588
752
|
__typename?: 'MerklAccountReward';
|
|
589
753
|
/** The amount of tokens that are currently claimable (creditedAmount - claimedAmount) */
|
|
@@ -599,12 +763,16 @@ type MerklAccountReward = {
|
|
|
599
763
|
/** The token being rewarded */
|
|
600
764
|
token: Token;
|
|
601
765
|
};
|
|
766
|
+
/** Type of DeFi action that generates Merkl rewards */
|
|
602
767
|
declare enum MerklAction {
|
|
768
|
+
/** Borrowing assets against collateral */
|
|
603
769
|
Borrow = "Borrow",
|
|
770
|
+
/** Supplying or depositing assets to earn yield */
|
|
604
771
|
Lend = "Lend"
|
|
605
772
|
}
|
|
773
|
+
/** Input for querying Merkl rewards for a specific opportunity */
|
|
606
774
|
type MerklRewardInput = {
|
|
607
|
-
/** The action of the opportunity */
|
|
775
|
+
/** The action of the opportunity (lending or borrowing) */
|
|
608
776
|
action: InputMaybe<MerklAction>;
|
|
609
777
|
/** The chain ID of the main protocol */
|
|
610
778
|
chainId: Scalars['ChainId']['input'];
|
|
@@ -642,6 +810,8 @@ type MorphoMarket = {
|
|
|
642
810
|
borrowApy: Apy;
|
|
643
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. */
|
|
644
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;
|
|
645
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. */
|
|
646
816
|
borrowApy7d: Apy;
|
|
647
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. */
|
|
@@ -677,11 +847,13 @@ type MorphoMarket = {
|
|
|
677
847
|
/** Amount of loan assets that can be allocated to this market via the public allocator */
|
|
678
848
|
publicAllocatorSharedLiquidity: TokenAmount;
|
|
679
849
|
/** Risk assessment for the market */
|
|
680
|
-
riskAssessment:
|
|
850
|
+
riskAssessment: RiskAssessment;
|
|
681
851
|
/** APY earned for supplying to the market (instantaneous) */
|
|
682
852
|
supplyApy: Apy;
|
|
683
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. */
|
|
684
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;
|
|
685
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. */
|
|
686
858
|
supplyApy7d: Apy;
|
|
687
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. */
|
|
@@ -724,6 +896,8 @@ type MorphoMarketHistoricalEntry = {
|
|
|
724
896
|
__typename?: 'MorphoMarketHistoricalEntry';
|
|
725
897
|
/** APY paid for borrowing from the market smoothed over 1 day. Note that doesn't yet include rewards */
|
|
726
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;
|
|
727
901
|
/** APY paid for borrowing from the market smoothed over 7 days. Note that doesn't yet include rewards */
|
|
728
902
|
borrowApy7d: Apy;
|
|
729
903
|
/** APY paid for borrowing from the market smoothed over 30 days. Note that doesn't yet include rewards */
|
|
@@ -736,6 +910,8 @@ type MorphoMarketHistoricalEntry = {
|
|
|
736
910
|
collateralPriceInLoanAsset: Maybe<OnchainAmount>;
|
|
737
911
|
/** APY earned when supplying to the market smoothed over 1 day. Note that doesn't yet include rewards */
|
|
738
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;
|
|
739
915
|
/** APY earned when supplying to the market smoothed over 7 days. Note that doesn't yet include rewards */
|
|
740
916
|
supplyApy7d: Apy;
|
|
741
917
|
/** APY earned when supplying to the market smoothed over 30 days. Note that doesn't yet include rewards */
|
|
@@ -805,24 +981,22 @@ type MorphoMarketPositionPage = {
|
|
|
805
981
|
/** Total number of items */
|
|
806
982
|
totalCount: Scalars['Int']['output'];
|
|
807
983
|
};
|
|
808
|
-
/** Risk assessment for a Morpho market */
|
|
809
|
-
type MorphoMarketV1RiskAssessment = {
|
|
810
|
-
__typename?: 'MorphoMarketV1RiskAssessment';
|
|
811
|
-
/** Steakhouse risk assessment */
|
|
812
|
-
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
813
|
-
};
|
|
814
984
|
/** Morpho vault */
|
|
815
|
-
type MorphoVault = Erc4626Vault & {
|
|
985
|
+
type MorphoVault = Erc20 & Erc4626Vault & {
|
|
816
986
|
__typename?: 'MorphoVault';
|
|
817
|
-
/**
|
|
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 */
|
|
818
990
|
apy: Apy;
|
|
819
991
|
/** Underlying asset of the vault */
|
|
820
992
|
asset: Token;
|
|
821
|
-
/**
|
|
993
|
+
/** The category of the vault's underlying asset */
|
|
994
|
+
category: Maybe<TokenCategory>;
|
|
995
|
+
/** The chain this vault is deployed on */
|
|
822
996
|
chain: Chain;
|
|
823
997
|
/** Curator address of the vault, this is the address that can modify the vaults allocations */
|
|
824
998
|
curatorAddress: Scalars['Address']['output'];
|
|
825
|
-
/**
|
|
999
|
+
/** The number of decimal places the vault shares use */
|
|
826
1000
|
decimals: Scalars['Int']['output'];
|
|
827
1001
|
/** Fee recipient address of the vault, this is the address that receives the performance fee */
|
|
828
1002
|
feeRecipientAddress: Maybe<Scalars['Address']['output']>;
|
|
@@ -830,18 +1004,22 @@ type MorphoVault = Erc4626Vault & {
|
|
|
830
1004
|
guardianAddress: Scalars['Address']['output'];
|
|
831
1005
|
/** Historical data for the vault, will be null if historical data is not supported for this chain */
|
|
832
1006
|
historical: Maybe<MorphoVaultHistorical>;
|
|
1007
|
+
/** URL to the vault's image, null if not available */
|
|
1008
|
+
icon: Maybe<Scalars['URL']['output']>;
|
|
833
1009
|
/** Allocations of the vault to the markets */
|
|
834
1010
|
marketAllocations: Array<MorphoVaultMarketAllocation>;
|
|
835
1011
|
/** Metadata for the vault */
|
|
836
1012
|
metadata: Maybe<MorphoVaultMetadata>;
|
|
837
|
-
/**
|
|
1013
|
+
/** The full name of the vault */
|
|
838
1014
|
name: Scalars['String']['output'];
|
|
839
1015
|
/** Owner address of the vault, this is the address that can modify the vaults configuration */
|
|
840
1016
|
ownerAddress: Scalars['Address']['output'];
|
|
841
1017
|
/** Performance fee of the vault, this is the fee that is taken from the vaults profits */
|
|
842
1018
|
performanceFee: Scalars['Float']['output'];
|
|
1019
|
+
/** Current price of vault shares in USD, null if price data unavailable */
|
|
1020
|
+
priceUsd: Maybe<Scalars['Float']['output']>;
|
|
843
1021
|
/** Risk assessment for the vault */
|
|
844
|
-
riskAssessment:
|
|
1022
|
+
riskAssessment: RiskAssessment;
|
|
845
1023
|
/**
|
|
846
1024
|
* APY earned when supplying to the vault
|
|
847
1025
|
* @deprecated Use apy(timeframe: one_day) instead
|
|
@@ -862,7 +1040,7 @@ type MorphoVault = Erc4626Vault & {
|
|
|
862
1040
|
* @deprecated Use apy(timeframe: thirty_days) instead
|
|
863
1041
|
*/
|
|
864
1042
|
supplyApy30d: Apy;
|
|
865
|
-
/**
|
|
1043
|
+
/** The symbol of the vault shares */
|
|
866
1044
|
symbol: Scalars['String']['output'];
|
|
867
1045
|
/** Total amount of the underlying assets supplied to the vault */
|
|
868
1046
|
totalAssets: TokenAmount;
|
|
@@ -873,7 +1051,10 @@ type MorphoVault = Erc4626Vault & {
|
|
|
873
1051
|
* @deprecated Use totalAssets instead
|
|
874
1052
|
*/
|
|
875
1053
|
totalSupplied: TokenAmount;
|
|
876
|
-
/**
|
|
1054
|
+
/**
|
|
1055
|
+
* Address of the vault contract
|
|
1056
|
+
* @deprecated Use address instead
|
|
1057
|
+
*/
|
|
877
1058
|
vaultAddress: Scalars['Address']['output'];
|
|
878
1059
|
};
|
|
879
1060
|
/** Morpho vault */
|
|
@@ -909,6 +1090,8 @@ type MorphoVaultHistoricalEntry = {
|
|
|
909
1090
|
bucketTimestamp: Scalars['Int']['output'];
|
|
910
1091
|
/** APY earned when supplying to the vault smoothed over 1 day. Note that doesn't yet include rewards */
|
|
911
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;
|
|
912
1095
|
/** APY earned when supplying to the vault smoothed over 7 days. Note that doesn't yet include rewards */
|
|
913
1096
|
supplyApy7d: Apy;
|
|
914
1097
|
/** APY earned when supplying to the vault smoothed over 30 days. Note that doesn't yet include rewards */
|
|
@@ -997,56 +1180,59 @@ type MorphoVaultPositionPage = {
|
|
|
997
1180
|
/** Total number of items */
|
|
998
1181
|
totalCount: Scalars['Int']['output'];
|
|
999
1182
|
};
|
|
1000
|
-
|
|
1001
|
-
type MorphoVaultV1RiskAssessment = {
|
|
1002
|
-
__typename?: 'MorphoVaultV1RiskAssessment';
|
|
1003
|
-
/** Steakhouse risk assessment */
|
|
1004
|
-
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
1005
|
-
};
|
|
1006
|
-
type MorphoVaultV2 = Erc4626Vault & {
|
|
1183
|
+
type MorphoVaultV2 = Erc20 & Erc4626Vault & {
|
|
1007
1184
|
__typename?: 'MorphoVaultV2';
|
|
1008
1185
|
/**
|
|
1009
|
-
*
|
|
1186
|
+
* Adapters this vault is allocating to
|
|
1010
1187
|
* @deprecated Schema is subject to change, not yet stable
|
|
1011
1188
|
*/
|
|
1012
1189
|
adapters: Array<Adapter>;
|
|
1190
|
+
/** The contract address of the vault */
|
|
1191
|
+
address: Scalars['Address']['output'];
|
|
1013
1192
|
/**
|
|
1014
1193
|
* Allocator address of the vault, null if and only if there are indexer issues
|
|
1015
1194
|
* @deprecated Schema is subject to change, not yet stable
|
|
1016
1195
|
*/
|
|
1017
1196
|
allocatorAddresses: Maybe<Array<Scalars['Address']['output']>>;
|
|
1018
|
-
/**
|
|
1019
|
-
* APY earned when supplying to the vault
|
|
1020
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1021
|
-
*/
|
|
1197
|
+
/** APY earned when supplying to the vault, computed by annualized share price change over the given timeframe */
|
|
1022
1198
|
apy: Apy;
|
|
1023
|
-
/**
|
|
1024
|
-
* Underlying asset of the vault
|
|
1025
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1026
|
-
*/
|
|
1199
|
+
/** Underlying asset of the vault */
|
|
1027
1200
|
asset: Token;
|
|
1028
1201
|
/**
|
|
1029
|
-
*
|
|
1202
|
+
* Caps that are set for the vault. null if and only if there are indexer issues
|
|
1030
1203
|
* @deprecated Schema is subject to change, not yet stable
|
|
1031
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 */
|
|
1032
1209
|
chain: Chain;
|
|
1033
1210
|
/**
|
|
1034
1211
|
* Curator address of the vault, this is the address that can modify the vaults allocations
|
|
1035
1212
|
* @deprecated Schema is subject to change, not yet stable
|
|
1036
1213
|
*/
|
|
1037
1214
|
curatorAddress: Scalars['Address']['output'];
|
|
1038
|
-
/**
|
|
1039
|
-
* Decimals of the vault's shares
|
|
1040
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1041
|
-
*/
|
|
1215
|
+
/** The number of decimal places the vault shares use */
|
|
1042
1216
|
decimals: Scalars['Int']['output'];
|
|
1043
1217
|
/** Historical data for the vault, will be null if historical data is not supported for this chain */
|
|
1044
1218
|
historical: Maybe<MorphoVaultHistorical>;
|
|
1219
|
+
/** URL to the vault's image, null if not available */
|
|
1220
|
+
icon: Maybe<Scalars['URL']['output']>;
|
|
1045
1221
|
/**
|
|
1046
|
-
*
|
|
1222
|
+
* Total amount of idle underlying assets held by the vault (not allocated to an adapter)
|
|
1047
1223
|
* @deprecated Schema is subject to change, not yet stable
|
|
1048
1224
|
*/
|
|
1049
|
-
|
|
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;
|
|
1050
1236
|
/**
|
|
1051
1237
|
* Management fee of the vault, this is the fee that is taken from the vaults profits
|
|
1052
1238
|
* @deprecated Schema is subject to change, not yet stable
|
|
@@ -1062,10 +1248,7 @@ type MorphoVaultV2 = Erc4626Vault & {
|
|
|
1062
1248
|
* @deprecated Schema is subject to change, not yet stable
|
|
1063
1249
|
*/
|
|
1064
1250
|
metadata: Maybe<MorphoVaultMetadata>;
|
|
1065
|
-
/**
|
|
1066
|
-
* Name of the vault
|
|
1067
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1068
|
-
*/
|
|
1251
|
+
/** The full name of the vault */
|
|
1069
1252
|
name: Scalars['String']['output'];
|
|
1070
1253
|
/**
|
|
1071
1254
|
* Owner address of the vault, this is the address that can modify the vaults configuration
|
|
@@ -1082,6 +1265,8 @@ type MorphoVaultV2 = Erc4626Vault & {
|
|
|
1082
1265
|
* @deprecated Schema is subject to change, not yet stable
|
|
1083
1266
|
*/
|
|
1084
1267
|
performanceFeeRecipientAddress: Scalars['Address']['output'];
|
|
1268
|
+
/** Current price of vault shares in USD, null if price data unavailable */
|
|
1269
|
+
priceUsd: Maybe<Scalars['Float']['output']>;
|
|
1085
1270
|
/**
|
|
1086
1271
|
* Receive assets gate
|
|
1087
1272
|
* @deprecated Schema is subject to change, not yet stable
|
|
@@ -1093,7 +1278,7 @@ type MorphoVaultV2 = Erc4626Vault & {
|
|
|
1093
1278
|
*/
|
|
1094
1279
|
receiveSharesGateAddress: Scalars['Address']['output'];
|
|
1095
1280
|
/** Risk assessment for the vault */
|
|
1096
|
-
riskAssessment:
|
|
1281
|
+
riskAssessment: RiskAssessment;
|
|
1097
1282
|
/**
|
|
1098
1283
|
* Send assets gate
|
|
1099
1284
|
* @deprecated Schema is subject to change, not yet stable
|
|
@@ -1109,31 +1294,19 @@ type MorphoVaultV2 = Erc4626Vault & {
|
|
|
1109
1294
|
* @deprecated Schema is subject to change, not yet stable
|
|
1110
1295
|
*/
|
|
1111
1296
|
sentinelAddresses: Maybe<Array<Scalars['Address']['output']>>;
|
|
1112
|
-
/**
|
|
1113
|
-
* Symbol of the vault
|
|
1114
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1115
|
-
*/
|
|
1297
|
+
/** The symbol of the vault shares */
|
|
1116
1298
|
symbol: Scalars['String']['output'];
|
|
1117
|
-
/**
|
|
1118
|
-
* Total amount of the underlying assets supplied to the vault
|
|
1119
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1120
|
-
*/
|
|
1299
|
+
/** Total amount of the underlying assets supplied to the vault */
|
|
1121
1300
|
totalAssets: TokenAmount;
|
|
1122
1301
|
/**
|
|
1123
1302
|
* Address of the vault contract
|
|
1124
|
-
* @deprecated
|
|
1303
|
+
* @deprecated Use address instead
|
|
1125
1304
|
*/
|
|
1126
1305
|
vaultAddress: Scalars['Address']['output'];
|
|
1127
1306
|
};
|
|
1128
1307
|
type MorphoVaultV2ApyArgs = {
|
|
1129
1308
|
timeframe: ApyTimeframe;
|
|
1130
1309
|
};
|
|
1131
|
-
/** Risk assessment for a Morpho vault */
|
|
1132
|
-
type MorphoVaultV2RiskAssessment = {
|
|
1133
|
-
__typename?: 'MorphoVaultV2RiskAssessment';
|
|
1134
|
-
/** Steakhouse risk assessment */
|
|
1135
|
-
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
1136
|
-
};
|
|
1137
1310
|
/** An arbitrary onchain amount */
|
|
1138
1311
|
type OnchainAmount = {
|
|
1139
1312
|
__typename?: 'OnchainAmount';
|
|
@@ -1154,7 +1327,7 @@ type PageInfo = {
|
|
|
1154
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 */
|
|
1155
1328
|
startCursor: Maybe<Scalars['String']['output']>;
|
|
1156
1329
|
};
|
|
1157
|
-
/**
|
|
1330
|
+
/** DeFi protocol information */
|
|
1158
1331
|
type Protocol = {
|
|
1159
1332
|
__typename?: 'Protocol';
|
|
1160
1333
|
/** Icon of the protocol */
|
|
@@ -1168,11 +1341,15 @@ type Query = {
|
|
|
1168
1341
|
aeraVaults: AeraVaultPage;
|
|
1169
1342
|
/** Get supported chains (note that not all kits support all chains) */
|
|
1170
1343
|
chains: Array<Chain>;
|
|
1344
|
+
/** Query for user positions in ERC-4626 vaults */
|
|
1171
1345
|
erc4626VaultPositions: Erc4626VaultPositionPage;
|
|
1346
|
+
/** Query for ERC-4626 compliant vaults across multiple protocols */
|
|
1172
1347
|
erc4626Vaults: Erc4626VaultPage;
|
|
1348
|
+
/** Resolve identity information for multiple addresses in batch */
|
|
1173
1349
|
identities: Array<Identity>;
|
|
1350
|
+
/** Resolve identity information for a single address from multiple naming services */
|
|
1174
1351
|
identity: Maybe<Identity>;
|
|
1175
|
-
/** Query for Merkl rewards earned on
|
|
1352
|
+
/** Query for all Merkl rewards earned by an account on a specific chain */
|
|
1176
1353
|
merklAccountRewards: Array<MerklAccountReward>;
|
|
1177
1354
|
/** Query for Morpho market positions */
|
|
1178
1355
|
morphoMarketPositions: MorphoMarketPositionPage;
|
|
@@ -1182,11 +1359,16 @@ type Query = {
|
|
|
1182
1359
|
morphoVaultPositions: MorphoVaultPositionPage;
|
|
1183
1360
|
/** Query for Morpho vaults */
|
|
1184
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;
|
|
1185
1367
|
/** Query for the token balance for a specific account and token */
|
|
1186
1368
|
tokenHoldings: Array<Maybe<TokenHolding>>;
|
|
1187
1369
|
/** Query for tokens */
|
|
1188
1370
|
tokens: Array<Maybe<Token>>;
|
|
1189
|
-
/** Query for vaults */
|
|
1371
|
+
/** Query for vaults across multiple DeFi protocols */
|
|
1190
1372
|
vaults: Array<Maybe<Vault>>;
|
|
1191
1373
|
};
|
|
1192
1374
|
type QueryAeraVaultPositionsArgs = {
|
|
@@ -1269,6 +1451,12 @@ type Reward = {
|
|
|
1269
1451
|
/** The token being rewarded */
|
|
1270
1452
|
asset: Token;
|
|
1271
1453
|
};
|
|
1454
|
+
/** Risk assessment */
|
|
1455
|
+
type RiskAssessment = {
|
|
1456
|
+
__typename?: 'RiskAssessment';
|
|
1457
|
+
/** Steakhouse risk assessment */
|
|
1458
|
+
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
1459
|
+
};
|
|
1272
1460
|
/** Steakhouse risk assessment */
|
|
1273
1461
|
type SteakhouseRiskAssessment = {
|
|
1274
1462
|
__typename?: 'SteakhouseRiskAssessment';
|
|
@@ -1277,8 +1465,46 @@ type SteakhouseRiskAssessment = {
|
|
|
1277
1465
|
/** Score of the risk assessment */
|
|
1278
1466
|
score: Scalars['Float']['output'];
|
|
1279
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
|
+
};
|
|
1280
1506
|
/** ERC-20 token with metadata and pricing information */
|
|
1281
|
-
type Token = {
|
|
1507
|
+
type Token = Erc20 & {
|
|
1282
1508
|
__typename?: 'Token';
|
|
1283
1509
|
/** The contract address of the token */
|
|
1284
1510
|
address: Scalars['Address']['output'];
|
|
@@ -1288,7 +1514,6 @@ type Token = {
|
|
|
1288
1514
|
chain: Chain;
|
|
1289
1515
|
/** The number of decimal places the token uses */
|
|
1290
1516
|
decimals: Scalars['Int']['output'];
|
|
1291
|
-
historical: TokenHistorical;
|
|
1292
1517
|
/** URL to the token's image, null if not available */
|
|
1293
1518
|
icon: Maybe<Scalars['URL']['output']>;
|
|
1294
1519
|
/** The full name of the token (e.g., 'Ethereum') */
|
|
@@ -1296,7 +1521,7 @@ type Token = {
|
|
|
1296
1521
|
/** Current price of the token in USD, null iff price data unavailable */
|
|
1297
1522
|
priceUsd: Maybe<Scalars['Float']['output']>;
|
|
1298
1523
|
/** Risk assessment for the token */
|
|
1299
|
-
riskAssessment:
|
|
1524
|
+
riskAssessment: RiskAssessment;
|
|
1300
1525
|
/** The symbol of the token (e.g., 'ETH') */
|
|
1301
1526
|
symbol: Scalars['String']['output'];
|
|
1302
1527
|
};
|
|
@@ -1319,24 +1544,6 @@ declare enum TokenCategory {
|
|
|
1319
1544
|
/** Stable coin (e.g., USDC, USDT, DAI) */
|
|
1320
1545
|
Stable = "Stable"
|
|
1321
1546
|
}
|
|
1322
|
-
/** Historical token data at different resolutions */
|
|
1323
|
-
type TokenHistorical = {
|
|
1324
|
-
__typename?: 'TokenHistorical';
|
|
1325
|
-
/** 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). */
|
|
1326
|
-
daily: Maybe<Array<TokenHistoricalEntry>>;
|
|
1327
|
-
/** 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). */
|
|
1328
|
-
hourly: Maybe<Array<TokenHistoricalEntry>>;
|
|
1329
|
-
/** 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). */
|
|
1330
|
-
weekly: Maybe<Array<TokenHistoricalEntry>>;
|
|
1331
|
-
};
|
|
1332
|
-
/** A single entry of historical token data */
|
|
1333
|
-
type TokenHistoricalEntry = {
|
|
1334
|
-
__typename?: 'TokenHistoricalEntry';
|
|
1335
|
-
/** The timestamp of the data rounded down to the nearest resolution (ex. hour, day, week). */
|
|
1336
|
-
bucketTimestamp: Scalars['Int']['output'];
|
|
1337
|
-
/** The price of the token in USD at this bucket timestamp */
|
|
1338
|
-
priceUsd: Scalars['Float']['output'];
|
|
1339
|
-
};
|
|
1340
1547
|
/** Token balance held by a specific account */
|
|
1341
1548
|
type TokenHolding = {
|
|
1342
1549
|
__typename?: 'TokenHolding';
|
|
@@ -1345,7 +1552,7 @@ type TokenHolding = {
|
|
|
1345
1552
|
/** The balance of the token held by the account */
|
|
1346
1553
|
balance: TokenAmount;
|
|
1347
1554
|
/** The token being held */
|
|
1348
|
-
token:
|
|
1555
|
+
token: Erc20;
|
|
1349
1556
|
};
|
|
1350
1557
|
/** Input for querying a token holding */
|
|
1351
1558
|
type TokenHoldingInput = {
|
|
@@ -1363,12 +1570,6 @@ type TokenInput = {
|
|
|
1363
1570
|
/** The token contract address */
|
|
1364
1571
|
tokenAddress: Scalars['Address']['input'];
|
|
1365
1572
|
};
|
|
1366
|
-
/** Risk assessment for a token */
|
|
1367
|
-
type TokenRiskAssessment = {
|
|
1368
|
-
__typename?: 'TokenRiskAssessment';
|
|
1369
|
-
/** Steakhouse risk assessment */
|
|
1370
|
-
steakhouse: Maybe<SteakhouseRiskAssessment>;
|
|
1371
|
-
};
|
|
1372
1573
|
type UnknownAdapter = Adapter & {
|
|
1373
1574
|
__typename?: 'UnknownAdapter';
|
|
1374
1575
|
/**
|
|
@@ -1381,18 +1582,13 @@ type UnknownAdapter = Adapter & {
|
|
|
1381
1582
|
* @deprecated Schema is subject to change, not yet stable
|
|
1382
1583
|
*/
|
|
1383
1584
|
adapterCap: Maybe<AdapterCap>;
|
|
1384
|
-
/**
|
|
1385
|
-
* Is the adapter enabled
|
|
1386
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1387
|
-
*/
|
|
1388
|
-
isEnabled: Scalars['Boolean']['output'];
|
|
1389
1585
|
/**
|
|
1390
1586
|
* Name of the adapter
|
|
1391
1587
|
* @deprecated Schema is subject to change, not yet stable
|
|
1392
1588
|
*/
|
|
1393
1589
|
name: Maybe<Scalars['String']['output']>;
|
|
1394
1590
|
/** Risk assessment for the adapter */
|
|
1395
|
-
riskAssessment:
|
|
1591
|
+
riskAssessment: RiskAssessment;
|
|
1396
1592
|
};
|
|
1397
1593
|
type UnknownCap = Cap & {
|
|
1398
1594
|
__typename?: 'UnknownCap';
|
|
@@ -1417,7 +1613,7 @@ type UnknownCap = Cap & {
|
|
|
1417
1613
|
*/
|
|
1418
1614
|
relativeCap: OnchainAmount;
|
|
1419
1615
|
};
|
|
1420
|
-
/**
|
|
1616
|
+
/** Unique identifier for a vault across chain and protocol */
|
|
1421
1617
|
type VaultInput = {
|
|
1422
1618
|
/** Chain the vault is deployed on */
|
|
1423
1619
|
chainId: Scalars['ChainId']['input'];
|
|
@@ -1426,26 +1622,42 @@ type VaultInput = {
|
|
|
1426
1622
|
/** Address of the vault */
|
|
1427
1623
|
vaultAddress: Scalars['Address']['input'];
|
|
1428
1624
|
};
|
|
1429
|
-
/**
|
|
1625
|
+
/** DeFi protocols supported by the vault kit */
|
|
1430
1626
|
declare enum VaultProtocol {
|
|
1627
|
+
/** Enzyme - asset management protocol */
|
|
1431
1628
|
Enzyme = "enzyme",
|
|
1629
|
+
/** Euler Earn - yield aggregation vault */
|
|
1432
1630
|
EulerEarn = "euler_earn",
|
|
1631
|
+
/** Euler v2 - modular lending protocol */
|
|
1433
1632
|
EulerV2 = "euler_v2",
|
|
1633
|
+
/** Gearbox - leverage and yield farming */
|
|
1434
1634
|
Gearbox = "gearbox",
|
|
1635
|
+
/** Lista - liquid staking and CDP protocol */
|
|
1435
1636
|
Lista = "lista",
|
|
1637
|
+
/** Mellow - restaking and LRT infrastructure */
|
|
1436
1638
|
Mellow = "mellow",
|
|
1639
|
+
/** Midas - real-world asset (RWA) protocol */
|
|
1437
1640
|
Midas = "midas",
|
|
1641
|
+
/** Morpho - optimized lending protocol */
|
|
1438
1642
|
Morpho = "morpho",
|
|
1643
|
+
/** Napier - principal token protocol */
|
|
1439
1644
|
Napier = "napier",
|
|
1645
|
+
/** Pendle - yield trading protocol */
|
|
1440
1646
|
Pendle = "pendle",
|
|
1647
|
+
/** Reserve - stablecoin protocol */
|
|
1441
1648
|
Reserve = "reserve",
|
|
1649
|
+
/** Silo - isolated lending markets */
|
|
1442
1650
|
Silo = "silo",
|
|
1651
|
+
/** Turtle Club - yield optimization vaults */
|
|
1443
1652
|
TurtleClub = "turtle_club"
|
|
1444
1653
|
}
|
|
1445
|
-
/**
|
|
1654
|
+
/** Categories of vault strategies */
|
|
1446
1655
|
declare enum VaultType {
|
|
1656
|
+
/** Index vaults that hold a basket of tokens with automatic rebalancing */
|
|
1447
1657
|
Index = "index",
|
|
1658
|
+
/** Lending vaults that generate yield by supplying assets to borrowers */
|
|
1448
1659
|
Lending = "lending",
|
|
1660
|
+
/** Staking vaults that earn rewards through token staking mechanisms */
|
|
1449
1661
|
Staking = "staking"
|
|
1450
1662
|
}
|
|
1451
1663
|
type VaultV1Adapter = Adapter & {
|
|
@@ -1460,20 +1672,15 @@ type VaultV1Adapter = Adapter & {
|
|
|
1460
1672
|
* @deprecated Schema is subject to change, not yet stable
|
|
1461
1673
|
*/
|
|
1462
1674
|
adapterCap: Maybe<AdapterCap>;
|
|
1463
|
-
/**
|
|
1464
|
-
* Is the adapter enabled
|
|
1465
|
-
* @deprecated Schema is subject to change, not yet stable
|
|
1466
|
-
*/
|
|
1467
|
-
isEnabled: Scalars['Boolean']['output'];
|
|
1468
1675
|
/**
|
|
1469
1676
|
* Name of the adapter
|
|
1470
1677
|
* @deprecated Schema is subject to change, not yet stable
|
|
1471
1678
|
*/
|
|
1472
1679
|
name: Maybe<Scalars['String']['output']>;
|
|
1473
1680
|
/** Risk assessment for the adapter */
|
|
1474
|
-
riskAssessment:
|
|
1681
|
+
riskAssessment: RiskAssessment;
|
|
1475
1682
|
/**
|
|
1476
|
-
* Vault
|
|
1683
|
+
* Vault V1 the adapter allocated to
|
|
1477
1684
|
* @deprecated Schema is subject to change, not yet stable
|
|
1478
1685
|
*/
|
|
1479
1686
|
vault: Maybe<MorphoVault>;
|
|
@@ -1486,6 +1693,10 @@ type TokenInfoFragmentFragment = {
|
|
|
1486
1693
|
icon: string | null;
|
|
1487
1694
|
category: TokenCategory | null;
|
|
1488
1695
|
name: string;
|
|
1696
|
+
chain: {
|
|
1697
|
+
__typename?: 'Chain';
|
|
1698
|
+
id: 80094;
|
|
1699
|
+
};
|
|
1489
1700
|
};
|
|
1490
1701
|
type ChainInfoFragmentFragment = {
|
|
1491
1702
|
__typename?: 'Chain';
|
|
@@ -1515,6 +1726,10 @@ type ApyFragmentFragment = {
|
|
|
1515
1726
|
icon: string | null;
|
|
1516
1727
|
category: TokenCategory | null;
|
|
1517
1728
|
name: string;
|
|
1729
|
+
chain: {
|
|
1730
|
+
__typename?: 'Chain';
|
|
1731
|
+
id: 80094;
|
|
1732
|
+
};
|
|
1518
1733
|
};
|
|
1519
1734
|
}>;
|
|
1520
1735
|
};
|
|
@@ -1537,6 +1752,10 @@ type VaultSummaryFragmentFragment = {
|
|
|
1537
1752
|
icon: string | null;
|
|
1538
1753
|
category: TokenCategory | null;
|
|
1539
1754
|
name: string;
|
|
1755
|
+
chain: {
|
|
1756
|
+
__typename?: 'Chain';
|
|
1757
|
+
id: 80094;
|
|
1758
|
+
};
|
|
1540
1759
|
};
|
|
1541
1760
|
metadata: {
|
|
1542
1761
|
__typename?: 'MorphoVaultMetadata';
|
|
@@ -1575,6 +1794,10 @@ type VaultSummaryFragmentFragment = {
|
|
|
1575
1794
|
icon: string | null;
|
|
1576
1795
|
category: TokenCategory | null;
|
|
1577
1796
|
name: string;
|
|
1797
|
+
chain: {
|
|
1798
|
+
__typename?: 'Chain';
|
|
1799
|
+
id: 80094;
|
|
1800
|
+
};
|
|
1578
1801
|
};
|
|
1579
1802
|
}>;
|
|
1580
1803
|
};
|
|
@@ -1594,6 +1817,10 @@ type VaultSummaryFragmentFragment = {
|
|
|
1594
1817
|
icon: string | null;
|
|
1595
1818
|
category: TokenCategory | null;
|
|
1596
1819
|
name: string;
|
|
1820
|
+
chain: {
|
|
1821
|
+
__typename?: 'Chain';
|
|
1822
|
+
id: 80094;
|
|
1823
|
+
};
|
|
1597
1824
|
};
|
|
1598
1825
|
}>;
|
|
1599
1826
|
};
|
|
@@ -1613,6 +1840,10 @@ type VaultSummaryFragmentFragment = {
|
|
|
1613
1840
|
icon: string | null;
|
|
1614
1841
|
category: TokenCategory | null;
|
|
1615
1842
|
name: string;
|
|
1843
|
+
chain: {
|
|
1844
|
+
__typename?: 'Chain';
|
|
1845
|
+
id: 80094;
|
|
1846
|
+
};
|
|
1616
1847
|
};
|
|
1617
1848
|
}>;
|
|
1618
1849
|
};
|
|
@@ -1630,6 +1861,10 @@ type VaultSummaryFragmentFragment = {
|
|
|
1630
1861
|
icon: string | null;
|
|
1631
1862
|
category: TokenCategory | null;
|
|
1632
1863
|
name: string;
|
|
1864
|
+
chain: {
|
|
1865
|
+
__typename?: 'Chain';
|
|
1866
|
+
id: 80094;
|
|
1867
|
+
};
|
|
1633
1868
|
} | null;
|
|
1634
1869
|
supplyApy: {
|
|
1635
1870
|
__typename?: 'Apy';
|
|
@@ -1647,6 +1882,10 @@ type VaultSummaryFragmentFragment = {
|
|
|
1647
1882
|
icon: string | null;
|
|
1648
1883
|
category: TokenCategory | null;
|
|
1649
1884
|
name: string;
|
|
1885
|
+
chain: {
|
|
1886
|
+
__typename?: 'Chain';
|
|
1887
|
+
id: 80094;
|
|
1888
|
+
};
|
|
1650
1889
|
};
|
|
1651
1890
|
}>;
|
|
1652
1891
|
};
|
|
@@ -1705,6 +1944,10 @@ type MarketSummaryFragmentFragment = {
|
|
|
1705
1944
|
icon: string | null;
|
|
1706
1945
|
category: TokenCategory | null;
|
|
1707
1946
|
name: string;
|
|
1947
|
+
chain: {
|
|
1948
|
+
__typename?: 'Chain';
|
|
1949
|
+
id: 80094;
|
|
1950
|
+
};
|
|
1708
1951
|
} | null;
|
|
1709
1952
|
loanAsset: {
|
|
1710
1953
|
__typename?: 'Token';
|
|
@@ -1714,6 +1957,10 @@ type MarketSummaryFragmentFragment = {
|
|
|
1714
1957
|
icon: string | null;
|
|
1715
1958
|
category: TokenCategory | null;
|
|
1716
1959
|
name: string;
|
|
1960
|
+
chain: {
|
|
1961
|
+
__typename?: 'Chain';
|
|
1962
|
+
id: 80094;
|
|
1963
|
+
};
|
|
1717
1964
|
};
|
|
1718
1965
|
lltv: {
|
|
1719
1966
|
__typename?: 'OnchainAmount';
|
|
@@ -1736,6 +1983,10 @@ type MarketSummaryFragmentFragment = {
|
|
|
1736
1983
|
icon: string | null;
|
|
1737
1984
|
category: TokenCategory | null;
|
|
1738
1985
|
name: string;
|
|
1986
|
+
chain: {
|
|
1987
|
+
__typename?: 'Chain';
|
|
1988
|
+
id: 80094;
|
|
1989
|
+
};
|
|
1739
1990
|
};
|
|
1740
1991
|
}>;
|
|
1741
1992
|
};
|
|
@@ -1755,6 +2006,10 @@ type MarketSummaryFragmentFragment = {
|
|
|
1755
2006
|
icon: string | null;
|
|
1756
2007
|
category: TokenCategory | null;
|
|
1757
2008
|
name: string;
|
|
2009
|
+
chain: {
|
|
2010
|
+
__typename?: 'Chain';
|
|
2011
|
+
id: 80094;
|
|
2012
|
+
};
|
|
1758
2013
|
};
|
|
1759
2014
|
}>;
|
|
1760
2015
|
};
|
|
@@ -1774,6 +2029,10 @@ type MarketSummaryFragmentFragment = {
|
|
|
1774
2029
|
icon: string | null;
|
|
1775
2030
|
category: TokenCategory | null;
|
|
1776
2031
|
name: string;
|
|
2032
|
+
chain: {
|
|
2033
|
+
__typename?: 'Chain';
|
|
2034
|
+
id: 80094;
|
|
2035
|
+
};
|
|
1777
2036
|
};
|
|
1778
2037
|
}>;
|
|
1779
2038
|
};
|
|
@@ -1827,6 +2086,10 @@ type VaultSummariesQuery = {
|
|
|
1827
2086
|
icon: string | null;
|
|
1828
2087
|
category: TokenCategory | null;
|
|
1829
2088
|
name: string;
|
|
2089
|
+
chain: {
|
|
2090
|
+
__typename?: 'Chain';
|
|
2091
|
+
id: 80094;
|
|
2092
|
+
};
|
|
1830
2093
|
};
|
|
1831
2094
|
metadata: {
|
|
1832
2095
|
__typename?: 'MorphoVaultMetadata';
|
|
@@ -1865,6 +2128,10 @@ type VaultSummariesQuery = {
|
|
|
1865
2128
|
icon: string | null;
|
|
1866
2129
|
category: TokenCategory | null;
|
|
1867
2130
|
name: string;
|
|
2131
|
+
chain: {
|
|
2132
|
+
__typename?: 'Chain';
|
|
2133
|
+
id: 80094;
|
|
2134
|
+
};
|
|
1868
2135
|
};
|
|
1869
2136
|
}>;
|
|
1870
2137
|
};
|
|
@@ -1884,6 +2151,10 @@ type VaultSummariesQuery = {
|
|
|
1884
2151
|
icon: string | null;
|
|
1885
2152
|
category: TokenCategory | null;
|
|
1886
2153
|
name: string;
|
|
2154
|
+
chain: {
|
|
2155
|
+
__typename?: 'Chain';
|
|
2156
|
+
id: 80094;
|
|
2157
|
+
};
|
|
1887
2158
|
};
|
|
1888
2159
|
}>;
|
|
1889
2160
|
};
|
|
@@ -1903,6 +2174,10 @@ type VaultSummariesQuery = {
|
|
|
1903
2174
|
icon: string | null;
|
|
1904
2175
|
category: TokenCategory | null;
|
|
1905
2176
|
name: string;
|
|
2177
|
+
chain: {
|
|
2178
|
+
__typename?: 'Chain';
|
|
2179
|
+
id: 80094;
|
|
2180
|
+
};
|
|
1906
2181
|
};
|
|
1907
2182
|
}>;
|
|
1908
2183
|
};
|
|
@@ -1920,6 +2195,10 @@ type VaultSummariesQuery = {
|
|
|
1920
2195
|
icon: string | null;
|
|
1921
2196
|
category: TokenCategory | null;
|
|
1922
2197
|
name: string;
|
|
2198
|
+
chain: {
|
|
2199
|
+
__typename?: 'Chain';
|
|
2200
|
+
id: 80094;
|
|
2201
|
+
};
|
|
1923
2202
|
} | null;
|
|
1924
2203
|
supplyApy: {
|
|
1925
2204
|
__typename?: 'Apy';
|
|
@@ -1937,6 +2216,10 @@ type VaultSummariesQuery = {
|
|
|
1937
2216
|
icon: string | null;
|
|
1938
2217
|
category: TokenCategory | null;
|
|
1939
2218
|
name: string;
|
|
2219
|
+
chain: {
|
|
2220
|
+
__typename?: 'Chain';
|
|
2221
|
+
id: 80094;
|
|
2222
|
+
};
|
|
1940
2223
|
};
|
|
1941
2224
|
}>;
|
|
1942
2225
|
};
|
|
@@ -2009,6 +2292,10 @@ type MarketSummariesQuery = {
|
|
|
2009
2292
|
icon: string | null;
|
|
2010
2293
|
category: TokenCategory | null;
|
|
2011
2294
|
name: string;
|
|
2295
|
+
chain: {
|
|
2296
|
+
__typename?: 'Chain';
|
|
2297
|
+
id: 80094;
|
|
2298
|
+
};
|
|
2012
2299
|
} | null;
|
|
2013
2300
|
loanAsset: {
|
|
2014
2301
|
__typename?: 'Token';
|
|
@@ -2018,6 +2305,10 @@ type MarketSummariesQuery = {
|
|
|
2018
2305
|
icon: string | null;
|
|
2019
2306
|
category: TokenCategory | null;
|
|
2020
2307
|
name: string;
|
|
2308
|
+
chain: {
|
|
2309
|
+
__typename?: 'Chain';
|
|
2310
|
+
id: 80094;
|
|
2311
|
+
};
|
|
2021
2312
|
};
|
|
2022
2313
|
lltv: {
|
|
2023
2314
|
__typename?: 'OnchainAmount';
|
|
@@ -2040,6 +2331,10 @@ type MarketSummariesQuery = {
|
|
|
2040
2331
|
icon: string | null;
|
|
2041
2332
|
category: TokenCategory | null;
|
|
2042
2333
|
name: string;
|
|
2334
|
+
chain: {
|
|
2335
|
+
__typename?: 'Chain';
|
|
2336
|
+
id: 80094;
|
|
2337
|
+
};
|
|
2043
2338
|
};
|
|
2044
2339
|
}>;
|
|
2045
2340
|
};
|
|
@@ -2059,6 +2354,10 @@ type MarketSummariesQuery = {
|
|
|
2059
2354
|
icon: string | null;
|
|
2060
2355
|
category: TokenCategory | null;
|
|
2061
2356
|
name: string;
|
|
2357
|
+
chain: {
|
|
2358
|
+
__typename?: 'Chain';
|
|
2359
|
+
id: 80094;
|
|
2360
|
+
};
|
|
2062
2361
|
};
|
|
2063
2362
|
}>;
|
|
2064
2363
|
};
|
|
@@ -2078,6 +2377,10 @@ type MarketSummariesQuery = {
|
|
|
2078
2377
|
icon: string | null;
|
|
2079
2378
|
category: TokenCategory | null;
|
|
2080
2379
|
name: string;
|
|
2380
|
+
chain: {
|
|
2381
|
+
__typename?: 'Chain';
|
|
2382
|
+
id: 80094;
|
|
2383
|
+
};
|
|
2081
2384
|
};
|
|
2082
2385
|
}>;
|
|
2083
2386
|
};
|
|
@@ -2135,6 +2438,10 @@ type VaultQuery = {
|
|
|
2135
2438
|
icon: string | null;
|
|
2136
2439
|
category: TokenCategory | null;
|
|
2137
2440
|
name: string;
|
|
2441
|
+
chain: {
|
|
2442
|
+
__typename?: 'Chain';
|
|
2443
|
+
id: 80094;
|
|
2444
|
+
};
|
|
2138
2445
|
};
|
|
2139
2446
|
}>;
|
|
2140
2447
|
};
|
|
@@ -2154,6 +2461,10 @@ type VaultQuery = {
|
|
|
2154
2461
|
icon: string | null;
|
|
2155
2462
|
category: TokenCategory | null;
|
|
2156
2463
|
name: string;
|
|
2464
|
+
chain: {
|
|
2465
|
+
__typename?: 'Chain';
|
|
2466
|
+
id: 80094;
|
|
2467
|
+
};
|
|
2157
2468
|
};
|
|
2158
2469
|
}>;
|
|
2159
2470
|
};
|
|
@@ -2170,6 +2481,10 @@ type VaultQuery = {
|
|
|
2170
2481
|
icon: string | null;
|
|
2171
2482
|
category: TokenCategory | null;
|
|
2172
2483
|
name: string;
|
|
2484
|
+
chain: {
|
|
2485
|
+
__typename?: 'Chain';
|
|
2486
|
+
id: 80094;
|
|
2487
|
+
};
|
|
2173
2488
|
};
|
|
2174
2489
|
totalSupplied: {
|
|
2175
2490
|
__typename?: 'TokenAmount';
|
|
@@ -2217,6 +2532,10 @@ type VaultQuery = {
|
|
|
2217
2532
|
icon: string | null;
|
|
2218
2533
|
category: TokenCategory | null;
|
|
2219
2534
|
name: string;
|
|
2535
|
+
chain: {
|
|
2536
|
+
__typename?: 'Chain';
|
|
2537
|
+
id: 80094;
|
|
2538
|
+
};
|
|
2220
2539
|
} | null;
|
|
2221
2540
|
loanAsset: {
|
|
2222
2541
|
__typename?: 'Token';
|
|
@@ -2226,6 +2545,10 @@ type VaultQuery = {
|
|
|
2226
2545
|
icon: string | null;
|
|
2227
2546
|
category: TokenCategory | null;
|
|
2228
2547
|
name: string;
|
|
2548
|
+
chain: {
|
|
2549
|
+
__typename?: 'Chain';
|
|
2550
|
+
id: 80094;
|
|
2551
|
+
};
|
|
2229
2552
|
};
|
|
2230
2553
|
supplyApy: {
|
|
2231
2554
|
__typename?: 'Apy';
|
|
@@ -2243,6 +2566,10 @@ type VaultQuery = {
|
|
|
2243
2566
|
icon: string | null;
|
|
2244
2567
|
category: TokenCategory | null;
|
|
2245
2568
|
name: string;
|
|
2569
|
+
chain: {
|
|
2570
|
+
__typename?: 'Chain';
|
|
2571
|
+
id: 80094;
|
|
2572
|
+
};
|
|
2246
2573
|
};
|
|
2247
2574
|
}>;
|
|
2248
2575
|
};
|
|
@@ -2306,6 +2633,10 @@ type VaultQuery = {
|
|
|
2306
2633
|
icon: string | null;
|
|
2307
2634
|
category: TokenCategory | null;
|
|
2308
2635
|
name: string;
|
|
2636
|
+
chain: {
|
|
2637
|
+
__typename?: 'Chain';
|
|
2638
|
+
id: 80094;
|
|
2639
|
+
};
|
|
2309
2640
|
};
|
|
2310
2641
|
}>;
|
|
2311
2642
|
};
|
|
@@ -2361,6 +2692,10 @@ type MarketQuery = {
|
|
|
2361
2692
|
icon: string | null;
|
|
2362
2693
|
category: TokenCategory | null;
|
|
2363
2694
|
name: string;
|
|
2695
|
+
chain: {
|
|
2696
|
+
__typename?: 'Chain';
|
|
2697
|
+
id: 80094;
|
|
2698
|
+
};
|
|
2364
2699
|
} | null;
|
|
2365
2700
|
loanAsset: {
|
|
2366
2701
|
__typename?: 'Token';
|
|
@@ -2371,6 +2706,10 @@ type MarketQuery = {
|
|
|
2371
2706
|
icon: string | null;
|
|
2372
2707
|
category: TokenCategory | null;
|
|
2373
2708
|
name: string;
|
|
2709
|
+
chain: {
|
|
2710
|
+
__typename?: 'Chain';
|
|
2711
|
+
id: 80094;
|
|
2712
|
+
};
|
|
2374
2713
|
};
|
|
2375
2714
|
vaultAllocations: Array<{
|
|
2376
2715
|
__typename?: 'MorphoVaultMarketAllocation';
|
|
@@ -2389,6 +2728,10 @@ type MarketQuery = {
|
|
|
2389
2728
|
icon: string | null;
|
|
2390
2729
|
category: TokenCategory | null;
|
|
2391
2730
|
name: string;
|
|
2731
|
+
chain: {
|
|
2732
|
+
__typename?: 'Chain';
|
|
2733
|
+
id: 80094;
|
|
2734
|
+
};
|
|
2392
2735
|
};
|
|
2393
2736
|
chain: {
|
|
2394
2737
|
__typename?: 'Chain';
|
|
@@ -2466,6 +2809,10 @@ type MarketQuery = {
|
|
|
2466
2809
|
icon: string | null;
|
|
2467
2810
|
category: TokenCategory | null;
|
|
2468
2811
|
name: string;
|
|
2812
|
+
chain: {
|
|
2813
|
+
__typename?: 'Chain';
|
|
2814
|
+
id: 80094;
|
|
2815
|
+
};
|
|
2469
2816
|
};
|
|
2470
2817
|
}>;
|
|
2471
2818
|
};
|
|
@@ -2485,6 +2832,10 @@ type MarketQuery = {
|
|
|
2485
2832
|
icon: string | null;
|
|
2486
2833
|
category: TokenCategory | null;
|
|
2487
2834
|
name: string;
|
|
2835
|
+
chain: {
|
|
2836
|
+
__typename?: 'Chain';
|
|
2837
|
+
id: 80094;
|
|
2838
|
+
};
|
|
2488
2839
|
};
|
|
2489
2840
|
}>;
|
|
2490
2841
|
};
|
|
@@ -2504,6 +2855,10 @@ type MarketQuery = {
|
|
|
2504
2855
|
icon: string | null;
|
|
2505
2856
|
category: TokenCategory | null;
|
|
2506
2857
|
name: string;
|
|
2858
|
+
chain: {
|
|
2859
|
+
__typename?: 'Chain';
|
|
2860
|
+
id: 80094;
|
|
2861
|
+
};
|
|
2507
2862
|
};
|
|
2508
2863
|
}>;
|
|
2509
2864
|
};
|
|
@@ -2954,15 +3309,15 @@ type MarketIbrHistoryDataQuery = {
|
|
|
2954
3309
|
} | null>;
|
|
2955
3310
|
};
|
|
2956
3311
|
};
|
|
2957
|
-
declare const ChainInfoFragment:
|
|
2958
|
-
declare const TokenInfoFragment:
|
|
2959
|
-
declare const CuratorInfoFragment:
|
|
2960
|
-
declare const ApyFragment:
|
|
2961
|
-
declare const VaultSummaryFragment:
|
|
2962
|
-
declare const MarketSummaryFragment:
|
|
2963
|
-
declare const VaultSummaries:
|
|
2964
|
-
declare const MarketSummaries:
|
|
2965
|
-
/**
|
|
3312
|
+
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
3313
|
+
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
3314
|
+
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
3315
|
+
declare const ApyFragment: graphql.DocumentNode;
|
|
3316
|
+
declare const VaultSummaryFragment: graphql.DocumentNode;
|
|
3317
|
+
declare const MarketSummaryFragment: graphql.DocumentNode;
|
|
3318
|
+
declare const VaultSummaries: graphql.DocumentNode;
|
|
3319
|
+
declare const MarketSummaries: graphql.DocumentNode;
|
|
3320
|
+
/** Yield-bearing vault aggregating deposits across DeFi protocols */
|
|
2966
3321
|
type Vault = {
|
|
2967
3322
|
__typename?: 'Vault';
|
|
2968
3323
|
/** Underlying asset of the vault */
|
|
@@ -2975,26 +3330,26 @@ type Vault = {
|
|
|
2975
3330
|
name: Scalars['String']['output'];
|
|
2976
3331
|
/** Protocol the vault is part of */
|
|
2977
3332
|
protocol: Protocol;
|
|
2978
|
-
/** APY
|
|
3333
|
+
/** APY earned when supplying to the vault */
|
|
2979
3334
|
supplyApy: Apy;
|
|
2980
3335
|
/** Total amount of underlying assets supplied to the vault */
|
|
2981
3336
|
totalSupplied: TokenAmount;
|
|
2982
3337
|
/** Type of vault */
|
|
2983
3338
|
type: VaultType;
|
|
2984
|
-
/** URL
|
|
3339
|
+
/** URL to the vault's page on the protocol's website */
|
|
2985
3340
|
url: Scalars['String']['output'];
|
|
2986
3341
|
/** Address of the vault */
|
|
2987
3342
|
vaultAddress: Scalars['Address']['output'];
|
|
2988
3343
|
};
|
|
2989
|
-
declare const Vault:
|
|
2990
|
-
declare const Market:
|
|
2991
|
-
declare const VaultPositions:
|
|
2992
|
-
declare const MarketPositions:
|
|
2993
|
-
declare const SupportedMarketIds:
|
|
2994
|
-
declare const VaultHistoryData:
|
|
2995
|
-
declare const VaultMarketAllocationHistoryData:
|
|
2996
|
-
declare const MarketHistoryData:
|
|
2997
|
-
declare const MarketIbrHistoryData:
|
|
3344
|
+
declare const Vault: graphql.DocumentNode;
|
|
3345
|
+
declare const Market: graphql.DocumentNode;
|
|
3346
|
+
declare const VaultPositions: graphql.DocumentNode;
|
|
3347
|
+
declare const MarketPositions: graphql.DocumentNode;
|
|
3348
|
+
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
3349
|
+
declare const VaultHistoryData: graphql.DocumentNode;
|
|
3350
|
+
declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
|
|
3351
|
+
declare const MarketHistoryData: graphql.DocumentNode;
|
|
3352
|
+
declare const MarketIbrHistoryData: graphql.DocumentNode;
|
|
2998
3353
|
interface PossibleTypesResultData {
|
|
2999
3354
|
possibleTypes: {
|
|
3000
3355
|
[key: string]: string[];
|
|
@@ -3002,4 +3357,4 @@ interface PossibleTypesResultData {
|
|
|
3002
3357
|
}
|
|
3003
3358
|
declare const result: PossibleTypesResultData;
|
|
3004
3359
|
|
|
3005
|
-
export { type Adapter, type AdapterCap, type
|
|
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 };
|