@berachain/graphql 0.2.3-beta.3 → 0.2.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bend/whisk.codegen.cjs +150 -19
- package/dist/bend/whisk.codegen.d.cts +196 -1
- package/dist/bend/whisk.codegen.d.ts +196 -1
- package/dist/bend/whisk.codegen.mjs +146 -15
- package/dist/honey/honey.codegen.cjs +11 -14
- package/dist/honey/honey.codegen.d.cts +6 -189
- package/dist/honey/honey.codegen.d.ts +6 -189
- package/dist/honey/honey.codegen.mjs +11 -14
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var y=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var w=(o,n)=>{for(var r in n)y(o,r,{get:n[r],enumerable:!0})},f=(o,n,r,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of x(n))!T.call(o,u)&&u!==r&&y(o,u,{get:()=>n[u],enumerable:!(e=I(n,u))||e.enumerable});return o};var C=o=>f(y({},"__esModule",{value:!0}),o);var U={};w(U,{ApyFragment:()=>i,ApySide:()=>A,ApyTimeframe:()=>_,ChainInfoFragment:()=>l,CuratorInfoFragment:()=>d,Erc4626VaultProtocol:()=>g,IdentityResolver:()=>h,Market:()=>v,MarketBorrowHistoryData:()=>R,MarketCollateralAtRiskHistoryData:()=>q,MarketIbrHistoryData:()=>O,MarketPositions:()=>F,MarketSummaries:()=>$,MarketSummaryFragment:()=>c,MerklAction:()=>k,SupportedMarketIds:()=>E,TokenCategory:()=>b,TokenInfoFragment:()=>p,Vault:()=>P,VaultHistoryData:()=>B,VaultMarketAllocationHistoryData:()=>Q,VaultPositions:()=>H,VaultProtocol:()=>M,VaultSummaries:()=>V,VaultSummaryFragment:()=>m,VaultType:()=>S,default:()=>D});module.exports=C(U);var t=require("@apollo/client"),A=(r=>(r.Borrow="Borrow",r.Supply="Supply",r))(A||{}),_=(e=>(e.OneDay="one_day",e.SevenDays="seven_days",e.ThirtyDays="thirty_days",e))(_||{}),g=(e=>(e.Generic="generic",e.MorphoV1="morpho_v1",e.MorphoV2="morpho_v2",e))(g||{}),h=(s=>(s.Base="base",s.Ens="ens",s.Farcaster="farcaster",s.Lens="lens",s.Nns="nns",s.Uni="uni",s.World="world",s))(h||{}),k=(r=>(r.Borrow="Borrow",r.Lend="Lend",r))(k||{}),b=(e=>(e.Btc="Btc",e.Eth="Eth",e.Stable="Stable",e))(b||{}),M=(a=>(a.Enzyme="enzyme",a.EulerEarn="euler_earn",a.EulerV2="euler_v2",a.Gearbox="gearbox",a.Lista="lista",a.Mellow="mellow",a.Midas="midas",a.Morpho="morpho",a.Napier="napier",a.Pendle="pendle",a.Reserve="reserve",a.Silo="silo",a.TurtleClub="turtle_club",a))(M||{}),S=(e=>(e.Index="index",e.Lending="lending",e.Staking="staking",e))(S||{}),l=t.gql`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
5
5
|
icon
|
|
6
6
|
}
|
|
7
|
-
`,
|
|
7
|
+
`,p=t.gql`
|
|
8
8
|
fragment TokenInfoFragment on Token {
|
|
9
9
|
address
|
|
10
10
|
symbol
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
icon
|
|
13
13
|
category
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,d=t.gql`
|
|
16
16
|
fragment CuratorInfoFragment on Curator {
|
|
17
17
|
name
|
|
18
18
|
image
|
|
19
19
|
url
|
|
20
20
|
}
|
|
21
|
-
`,i=
|
|
21
|
+
`,i=t.gql`
|
|
22
22
|
fragment ApyFragment on Apy {
|
|
23
23
|
base
|
|
24
24
|
rewards {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
total
|
|
31
31
|
fee
|
|
32
32
|
}
|
|
33
|
-
${
|
|
33
|
+
${p}`,m=t.gql`
|
|
34
34
|
fragment VaultSummaryFragment on MorphoVault {
|
|
35
35
|
chain {
|
|
36
36
|
...ChainInfoFragment
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
${l}
|
|
83
|
-
${
|
|
84
|
-
${
|
|
85
|
-
${i}`,c=
|
|
83
|
+
${p}
|
|
84
|
+
${d}
|
|
85
|
+
${i}`,c=t.gql`
|
|
86
86
|
fragment MarketSummaryFragment on MorphoMarket {
|
|
87
87
|
chain {
|
|
88
88
|
...ChainInfoFragment
|
|
@@ -138,8 +138,8 @@ ${i}`,c=e.gql`
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
${l}
|
|
141
|
-
${
|
|
142
|
-
${i}`,V=
|
|
141
|
+
${p}
|
|
142
|
+
${i}`,V=t.gql`
|
|
143
143
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
144
144
|
morphoVaults(
|
|
145
145
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
|
|
@@ -153,7 +153,7 @@ ${i}`,V=e.gql`
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
${m}
|
|
156
|
+
${m}`,$=t.gql`
|
|
157
157
|
query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
|
|
158
158
|
morphoMarkets(
|
|
159
159
|
where: {chainId_in: $chainIds, marketId_in: $marketIds}
|
|
@@ -167,7 +167,7 @@ ${i}`,V=e.gql`
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
${c}`,P=
|
|
170
|
+
${c}`,P=t.gql`
|
|
171
171
|
query Vault($chainId: ChainId!, $vaultAddress: Address!) {
|
|
172
172
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
|
|
173
173
|
items {
|
|
@@ -256,8 +256,8 @@ ${i}`,V=e.gql`
|
|
|
256
256
|
}
|
|
257
257
|
${m}
|
|
258
258
|
${l}
|
|
259
|
-
${
|
|
260
|
-
${i}
|
|
259
|
+
${p}
|
|
260
|
+
${i}`,v=t.gql`
|
|
261
261
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
262
262
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
263
263
|
items {
|
|
@@ -342,9 +342,9 @@ ${i}`,$=e.gql`
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
${c}
|
|
345
|
-
${
|
|
345
|
+
${p}
|
|
346
346
|
${l}
|
|
347
|
-
${
|
|
347
|
+
${d}`,H=t.gql`
|
|
348
348
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
349
349
|
morphoVaultPositions(
|
|
350
350
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -372,7 +372,7 @@ ${y}`,F=e.gql`
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
`,
|
|
375
|
+
`,F=t.gql`
|
|
376
376
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
377
377
|
morphoMarketPositions(
|
|
378
378
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -415,7 +415,7 @@ ${y}`,F=e.gql`
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
`,E=
|
|
418
|
+
`,E=t.gql`
|
|
419
419
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
420
420
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
421
421
|
items {
|
|
@@ -430,4 +430,135 @@ ${y}`,F=e.gql`
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
`,B=
|
|
433
|
+
`,B=t.gql`
|
|
434
|
+
query VaultHistoryData($chainId: ChainId!, $marketId: Address!) {
|
|
435
|
+
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$marketId]}) {
|
|
436
|
+
items {
|
|
437
|
+
historical {
|
|
438
|
+
daily {
|
|
439
|
+
supplyApy1d {
|
|
440
|
+
total
|
|
441
|
+
}
|
|
442
|
+
totalSupplied {
|
|
443
|
+
usd
|
|
444
|
+
raw
|
|
445
|
+
formatted
|
|
446
|
+
}
|
|
447
|
+
bucketTimestamp
|
|
448
|
+
}
|
|
449
|
+
hourly {
|
|
450
|
+
supplyApy1d {
|
|
451
|
+
total
|
|
452
|
+
}
|
|
453
|
+
totalSupplied {
|
|
454
|
+
formatted
|
|
455
|
+
raw
|
|
456
|
+
usd
|
|
457
|
+
}
|
|
458
|
+
bucketTimestamp
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
`,Q=t.gql`
|
|
465
|
+
query VaultMarketAllocationHistoryData($chainId: ChainId!, $marketIds: [Hex!]!) {
|
|
466
|
+
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: $marketIds}) {
|
|
467
|
+
items {
|
|
468
|
+
historical {
|
|
469
|
+
hourly {
|
|
470
|
+
bucketTimestamp
|
|
471
|
+
totalSupplied {
|
|
472
|
+
formatted
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
daily {
|
|
476
|
+
bucketTimestamp
|
|
477
|
+
totalSupplied {
|
|
478
|
+
formatted
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
name
|
|
483
|
+
isIdle
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
`,R=t.gql`
|
|
488
|
+
query MarketBorrowHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
489
|
+
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
490
|
+
items {
|
|
491
|
+
historical {
|
|
492
|
+
daily {
|
|
493
|
+
borrowApy1d {
|
|
494
|
+
total
|
|
495
|
+
}
|
|
496
|
+
totalBorrowed {
|
|
497
|
+
usd
|
|
498
|
+
raw
|
|
499
|
+
formatted
|
|
500
|
+
}
|
|
501
|
+
bucketTimestamp
|
|
502
|
+
}
|
|
503
|
+
hourly {
|
|
504
|
+
borrowApy1d {
|
|
505
|
+
total
|
|
506
|
+
}
|
|
507
|
+
totalBorrowed {
|
|
508
|
+
formatted
|
|
509
|
+
raw
|
|
510
|
+
usd
|
|
511
|
+
}
|
|
512
|
+
bucketTimestamp
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
`,O=t.gql`
|
|
519
|
+
query MarketIBRHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
520
|
+
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
521
|
+
items {
|
|
522
|
+
historical {
|
|
523
|
+
daily {
|
|
524
|
+
borrowApyInstantaneous {
|
|
525
|
+
total
|
|
526
|
+
}
|
|
527
|
+
bucketTimestamp
|
|
528
|
+
}
|
|
529
|
+
hourly {
|
|
530
|
+
borrowApyInstantaneous {
|
|
531
|
+
total
|
|
532
|
+
}
|
|
533
|
+
bucketTimestamp
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
`,q=t.gql`
|
|
540
|
+
query MarketCollateralAtRiskHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
541
|
+
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
542
|
+
items {
|
|
543
|
+
historical {
|
|
544
|
+
daily {
|
|
545
|
+
totalCollateral {
|
|
546
|
+
formatted
|
|
547
|
+
raw
|
|
548
|
+
usd
|
|
549
|
+
}
|
|
550
|
+
bucketTimestamp
|
|
551
|
+
}
|
|
552
|
+
hourly {
|
|
553
|
+
totalCollateral {
|
|
554
|
+
formatted
|
|
555
|
+
raw
|
|
556
|
+
usd
|
|
557
|
+
}
|
|
558
|
+
bucketTimestamp
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
`,L={possibleTypes:{Adapter:["MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},D=L;0&&(module.exports={ApyFragment,ApySide,ApyTimeframe,ChainInfoFragment,CuratorInfoFragment,Erc4626VaultProtocol,IdentityResolver,Market,MarketBorrowHistoryData,MarketCollateralAtRiskHistoryData,MarketIbrHistoryData,MarketPositions,MarketSummaries,MarketSummaryFragment,MerklAction,SupportedMarketIds,TokenCategory,TokenInfoFragment,Vault,VaultHistoryData,VaultMarketAllocationHistoryData,VaultPositions,VaultProtocol,VaultSummaries,VaultSummaryFragment,VaultType});
|
|
@@ -2179,6 +2179,196 @@ type SupportedMarketIdsQuery = {
|
|
|
2179
2179
|
} | null>;
|
|
2180
2180
|
};
|
|
2181
2181
|
};
|
|
2182
|
+
type VaultHistoryDataQueryVariables = Exact<{
|
|
2183
|
+
chainId: Scalars['ChainId']['input'];
|
|
2184
|
+
marketId: Scalars['Address']['input'];
|
|
2185
|
+
}>;
|
|
2186
|
+
type VaultHistoryDataQuery = {
|
|
2187
|
+
__typename?: 'Query';
|
|
2188
|
+
morphoVaults: {
|
|
2189
|
+
__typename?: 'MorphoVaultPage';
|
|
2190
|
+
items: Array<{
|
|
2191
|
+
__typename?: 'MorphoVault';
|
|
2192
|
+
historical: {
|
|
2193
|
+
__typename?: 'MorphoVaultHistorical';
|
|
2194
|
+
daily: Array<{
|
|
2195
|
+
__typename?: 'MorphoVaultHistoricalEntry';
|
|
2196
|
+
bucketTimestamp: number;
|
|
2197
|
+
supplyApy1d: {
|
|
2198
|
+
__typename?: 'Apy';
|
|
2199
|
+
total: number;
|
|
2200
|
+
};
|
|
2201
|
+
totalSupplied: {
|
|
2202
|
+
__typename?: 'TokenAmount';
|
|
2203
|
+
usd: number | null;
|
|
2204
|
+
raw: string;
|
|
2205
|
+
formatted: string;
|
|
2206
|
+
};
|
|
2207
|
+
}>;
|
|
2208
|
+
hourly: Array<{
|
|
2209
|
+
__typename?: 'MorphoVaultHistoricalEntry';
|
|
2210
|
+
bucketTimestamp: number;
|
|
2211
|
+
supplyApy1d: {
|
|
2212
|
+
__typename?: 'Apy';
|
|
2213
|
+
total: number;
|
|
2214
|
+
};
|
|
2215
|
+
totalSupplied: {
|
|
2216
|
+
__typename?: 'TokenAmount';
|
|
2217
|
+
formatted: string;
|
|
2218
|
+
raw: string;
|
|
2219
|
+
usd: number | null;
|
|
2220
|
+
};
|
|
2221
|
+
}>;
|
|
2222
|
+
} | null;
|
|
2223
|
+
} | null>;
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
type VaultMarketAllocationHistoryDataQueryVariables = Exact<{
|
|
2227
|
+
chainId: Scalars['ChainId']['input'];
|
|
2228
|
+
marketIds: Array<Scalars['Hex']['input']> | Scalars['Hex']['input'];
|
|
2229
|
+
}>;
|
|
2230
|
+
type VaultMarketAllocationHistoryDataQuery = {
|
|
2231
|
+
__typename?: 'Query';
|
|
2232
|
+
morphoMarkets: {
|
|
2233
|
+
__typename?: 'MorphoMarketPage';
|
|
2234
|
+
items: Array<{
|
|
2235
|
+
__typename?: 'MorphoMarket';
|
|
2236
|
+
name: string;
|
|
2237
|
+
isIdle: boolean;
|
|
2238
|
+
historical: {
|
|
2239
|
+
__typename?: 'MorphoMarketHistorical';
|
|
2240
|
+
hourly: Array<{
|
|
2241
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2242
|
+
bucketTimestamp: number;
|
|
2243
|
+
totalSupplied: {
|
|
2244
|
+
__typename?: 'TokenAmount';
|
|
2245
|
+
formatted: string;
|
|
2246
|
+
};
|
|
2247
|
+
}>;
|
|
2248
|
+
daily: Array<{
|
|
2249
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2250
|
+
bucketTimestamp: number;
|
|
2251
|
+
totalSupplied: {
|
|
2252
|
+
__typename?: 'TokenAmount';
|
|
2253
|
+
formatted: string;
|
|
2254
|
+
};
|
|
2255
|
+
}>;
|
|
2256
|
+
} | null;
|
|
2257
|
+
} | null>;
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
type MarketBorrowHistoryDataQueryVariables = Exact<{
|
|
2261
|
+
chainId: Scalars['ChainId']['input'];
|
|
2262
|
+
marketId: Scalars['Hex']['input'];
|
|
2263
|
+
}>;
|
|
2264
|
+
type MarketBorrowHistoryDataQuery = {
|
|
2265
|
+
__typename?: 'Query';
|
|
2266
|
+
morphoMarkets: {
|
|
2267
|
+
__typename?: 'MorphoMarketPage';
|
|
2268
|
+
items: Array<{
|
|
2269
|
+
__typename?: 'MorphoMarket';
|
|
2270
|
+
historical: {
|
|
2271
|
+
__typename?: 'MorphoMarketHistorical';
|
|
2272
|
+
daily: Array<{
|
|
2273
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2274
|
+
bucketTimestamp: number;
|
|
2275
|
+
borrowApy1d: {
|
|
2276
|
+
__typename?: 'Apy';
|
|
2277
|
+
total: number;
|
|
2278
|
+
};
|
|
2279
|
+
totalBorrowed: {
|
|
2280
|
+
__typename?: 'TokenAmount';
|
|
2281
|
+
usd: number | null;
|
|
2282
|
+
raw: string;
|
|
2283
|
+
formatted: string;
|
|
2284
|
+
};
|
|
2285
|
+
}>;
|
|
2286
|
+
hourly: Array<{
|
|
2287
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2288
|
+
bucketTimestamp: number;
|
|
2289
|
+
borrowApy1d: {
|
|
2290
|
+
__typename?: 'Apy';
|
|
2291
|
+
total: number;
|
|
2292
|
+
};
|
|
2293
|
+
totalBorrowed: {
|
|
2294
|
+
__typename?: 'TokenAmount';
|
|
2295
|
+
formatted: string;
|
|
2296
|
+
raw: string;
|
|
2297
|
+
usd: number | null;
|
|
2298
|
+
};
|
|
2299
|
+
}>;
|
|
2300
|
+
} | null;
|
|
2301
|
+
} | null>;
|
|
2302
|
+
};
|
|
2303
|
+
};
|
|
2304
|
+
type MarketIbrHistoryDataQueryVariables = Exact<{
|
|
2305
|
+
chainId: Scalars['ChainId']['input'];
|
|
2306
|
+
marketId: Scalars['Hex']['input'];
|
|
2307
|
+
}>;
|
|
2308
|
+
type MarketIbrHistoryDataQuery = {
|
|
2309
|
+
__typename?: 'Query';
|
|
2310
|
+
morphoMarkets: {
|
|
2311
|
+
__typename?: 'MorphoMarketPage';
|
|
2312
|
+
items: Array<{
|
|
2313
|
+
__typename?: 'MorphoMarket';
|
|
2314
|
+
historical: {
|
|
2315
|
+
__typename?: 'MorphoMarketHistorical';
|
|
2316
|
+
daily: Array<{
|
|
2317
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2318
|
+
bucketTimestamp: number;
|
|
2319
|
+
borrowApyInstantaneous: {
|
|
2320
|
+
__typename?: 'Apy';
|
|
2321
|
+
total: number;
|
|
2322
|
+
};
|
|
2323
|
+
}>;
|
|
2324
|
+
hourly: Array<{
|
|
2325
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2326
|
+
bucketTimestamp: number;
|
|
2327
|
+
borrowApyInstantaneous: {
|
|
2328
|
+
__typename?: 'Apy';
|
|
2329
|
+
total: number;
|
|
2330
|
+
};
|
|
2331
|
+
}>;
|
|
2332
|
+
} | null;
|
|
2333
|
+
} | null>;
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
type MarketCollateralAtRiskHistoryDataQueryVariables = Exact<{
|
|
2337
|
+
chainId: Scalars['ChainId']['input'];
|
|
2338
|
+
marketId: Scalars['Hex']['input'];
|
|
2339
|
+
}>;
|
|
2340
|
+
type MarketCollateralAtRiskHistoryDataQuery = {
|
|
2341
|
+
__typename?: 'Query';
|
|
2342
|
+
morphoMarkets: {
|
|
2343
|
+
__typename?: 'MorphoMarketPage';
|
|
2344
|
+
items: Array<{
|
|
2345
|
+
__typename?: 'MorphoMarket';
|
|
2346
|
+
historical: {
|
|
2347
|
+
__typename?: 'MorphoMarketHistorical';
|
|
2348
|
+
daily: Array<{
|
|
2349
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2350
|
+
bucketTimestamp: number;
|
|
2351
|
+
totalCollateral: {
|
|
2352
|
+
__typename?: 'TokenAmount';
|
|
2353
|
+
formatted: string;
|
|
2354
|
+
raw: string;
|
|
2355
|
+
usd: number | null;
|
|
2356
|
+
};
|
|
2357
|
+
}>;
|
|
2358
|
+
hourly: Array<{
|
|
2359
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2360
|
+
bucketTimestamp: number;
|
|
2361
|
+
totalCollateral: {
|
|
2362
|
+
__typename?: 'TokenAmount';
|
|
2363
|
+
formatted: string;
|
|
2364
|
+
raw: string;
|
|
2365
|
+
usd: number | null;
|
|
2366
|
+
};
|
|
2367
|
+
}>;
|
|
2368
|
+
} | null;
|
|
2369
|
+
} | null>;
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2182
2372
|
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
2183
2373
|
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
2184
2374
|
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
@@ -2216,6 +2406,11 @@ declare const Market: graphql.DocumentNode;
|
|
|
2216
2406
|
declare const VaultPositions: graphql.DocumentNode;
|
|
2217
2407
|
declare const MarketPositions: graphql.DocumentNode;
|
|
2218
2408
|
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
2409
|
+
declare const VaultHistoryData: graphql.DocumentNode;
|
|
2410
|
+
declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
|
|
2411
|
+
declare const MarketBorrowHistoryData: graphql.DocumentNode;
|
|
2412
|
+
declare const MarketIbrHistoryData: graphql.DocumentNode;
|
|
2413
|
+
declare const MarketCollateralAtRiskHistoryData: graphql.DocumentNode;
|
|
2219
2414
|
interface PossibleTypesResultData {
|
|
2220
2415
|
possibleTypes: {
|
|
2221
2416
|
[key: string]: string[];
|
|
@@ -2223,4 +2418,4 @@ interface PossibleTypesResultData {
|
|
|
2223
2418
|
}
|
|
2224
2419
|
declare const result: PossibleTypesResultData;
|
|
2225
2420
|
|
|
2226
|
-
export { type Adapter, type AdapterCap, type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, ApyTimeframe, 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, Erc4626VaultProtocol, type Exact, type GenericErc4626Vault, type GenericErc4626VaultApyArgs, type Identity, IdentityResolver, type IdentityResolverOutput, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, Market, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, type MarketV1Adapter, type MarketV1ExposureCap, type Maybe, type MerklAccountReward, MerklAction, type MerklRewardInput, type MorphoIrm, type MorphoIrmCurvePoint, type MorphoMarket, type MorphoMarketFilter, type MorphoMarketHistorical, type MorphoMarketHistoricalEntry, type MorphoMarketPage, type MorphoMarketPosition, type MorphoMarketPositionFilter, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultApyArgs, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionPage, type MorphoVaultV2, type MorphoVaultV2ApyArgs, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, type QueryErc4626VaultsArgs, type QueryIdentitiesArgs, type QueryIdentityArgs, type QueryMerklAccountRewardsArgs, type QueryMorphoMarketPositionsArgs, type QueryMorphoMarketsArgs, type QueryMorphoVaultPositionsArgs, type QueryMorphoVaultsArgs, type QueryTokenHoldingsArgs, type QueryTokensArgs, type QueryVaultsArgs, type Reward, type Scalars, SupportedMarketIds, type SupportedMarketIdsQuery, type SupportedMarketIdsQueryVariables, type Token, type TokenAmount, TokenCategory, type TokenHistorical, type TokenHistoricalEntry, type TokenHolding, type TokenHoldingInput, TokenInfoFragment, type TokenInfoFragmentFragment, type TokenInput, type UnknownAdapter, type UnknownCap, Vault, type VaultInput, VaultPositions, type VaultPositionsQuery, type VaultPositionsQueryVariables, VaultProtocol, type VaultQuery, type VaultQueryVariables, VaultSummaries, type VaultSummariesQuery, type VaultSummariesQueryVariables, VaultSummaryFragment, type VaultSummaryFragmentFragment, VaultType, type VaultV1Adapter, result as default };
|
|
2421
|
+
export { type Adapter, type AdapterCap, type AeraVault, type AeraVaultFilter, type AeraVaultPage, type AeraVaultPosition, type AeraVaultPositionFilter, type AeraVaultPositionPage, type Apy, ApyFragment, type ApyFragmentFragment, ApySide, ApyTimeframe, 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, Erc4626VaultProtocol, type Exact, type GenericErc4626Vault, type GenericErc4626VaultApyArgs, type Identity, IdentityResolver, type IdentityResolverOutput, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, Market, MarketBorrowHistoryData, type MarketBorrowHistoryDataQuery, type MarketBorrowHistoryDataQueryVariables, MarketCollateralAtRiskHistoryData, type MarketCollateralAtRiskHistoryDataQuery, type MarketCollateralAtRiskHistoryDataQueryVariables, MarketIbrHistoryData, type MarketIbrHistoryDataQuery, type MarketIbrHistoryDataQueryVariables, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, type MarketV1Adapter, type MarketV1ExposureCap, type Maybe, type MerklAccountReward, MerklAction, type MerklRewardInput, type MorphoIrm, type MorphoIrmCurvePoint, type MorphoMarket, type MorphoMarketFilter, type MorphoMarketHistorical, type MorphoMarketHistoricalEntry, type MorphoMarketPage, type MorphoMarketPosition, type MorphoMarketPositionFilter, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultApyArgs, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionPage, type MorphoVaultV2, type MorphoVaultV2ApyArgs, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, type QueryErc4626VaultsArgs, type QueryIdentitiesArgs, type QueryIdentityArgs, type QueryMerklAccountRewardsArgs, type QueryMorphoMarketPositionsArgs, type QueryMorphoMarketsArgs, type QueryMorphoVaultPositionsArgs, type QueryMorphoVaultsArgs, type QueryTokenHoldingsArgs, type QueryTokensArgs, type QueryVaultsArgs, type Reward, type Scalars, SupportedMarketIds, type SupportedMarketIdsQuery, type SupportedMarketIdsQueryVariables, type Token, type TokenAmount, TokenCategory, type TokenHistorical, type TokenHistoricalEntry, type TokenHolding, type TokenHoldingInput, TokenInfoFragment, type TokenInfoFragmentFragment, type TokenInput, 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 };
|