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