@berachain/graphql 0.2.4-beta.1 → 0.2.4-beta.3
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 +174 -64
- package/dist/bend/whisk.codegen.d.cts +203 -67
- package/dist/bend/whisk.codegen.d.ts +203 -67
- package/dist/bend/whisk.codegen.mjs +160 -50
- package/dist/honey/honey.codegen.cjs +13 -15
- package/dist/honey/honey.codegen.d.cts +188 -11
- package/dist/honey/honey.codegen.d.ts +188 -11
- package/dist/honey/honey.codegen.mjs +13 -15
- package/package.json +1 -1
|
@@ -2181,7 +2181,7 @@ type SupportedMarketIdsQuery = {
|
|
|
2181
2181
|
};
|
|
2182
2182
|
type VaultHistoryDataQueryVariables = Exact<{
|
|
2183
2183
|
chainId: Scalars['ChainId']['input'];
|
|
2184
|
-
|
|
2184
|
+
vaultId: Scalars['Address']['input'];
|
|
2185
2185
|
}>;
|
|
2186
2186
|
type VaultHistoryDataQuery = {
|
|
2187
2187
|
__typename?: 'Query';
|
|
@@ -2198,6 +2198,14 @@ type VaultHistoryDataQuery = {
|
|
|
2198
2198
|
__typename?: 'Apy';
|
|
2199
2199
|
total: number;
|
|
2200
2200
|
};
|
|
2201
|
+
supplyApy30d: {
|
|
2202
|
+
__typename?: 'Apy';
|
|
2203
|
+
total: number;
|
|
2204
|
+
};
|
|
2205
|
+
supplyApy7d: {
|
|
2206
|
+
__typename?: 'Apy';
|
|
2207
|
+
total: number;
|
|
2208
|
+
};
|
|
2201
2209
|
totalSupplied: {
|
|
2202
2210
|
__typename?: 'TokenAmount';
|
|
2203
2211
|
usd: number | null;
|
|
@@ -2212,11 +2220,19 @@ type VaultHistoryDataQuery = {
|
|
|
2212
2220
|
__typename?: 'Apy';
|
|
2213
2221
|
total: number;
|
|
2214
2222
|
};
|
|
2223
|
+
supplyApy30d: {
|
|
2224
|
+
__typename?: 'Apy';
|
|
2225
|
+
total: number;
|
|
2226
|
+
};
|
|
2227
|
+
supplyApy7d: {
|
|
2228
|
+
__typename?: 'Apy';
|
|
2229
|
+
total: number;
|
|
2230
|
+
};
|
|
2215
2231
|
totalSupplied: {
|
|
2216
2232
|
__typename?: 'TokenAmount';
|
|
2217
|
-
formatted: string;
|
|
2218
|
-
raw: string;
|
|
2219
2233
|
usd: number | null;
|
|
2234
|
+
raw: string;
|
|
2235
|
+
formatted: string;
|
|
2220
2236
|
};
|
|
2221
2237
|
}>;
|
|
2222
2238
|
} | null;
|
|
@@ -2225,43 +2241,136 @@ type VaultHistoryDataQuery = {
|
|
|
2225
2241
|
};
|
|
2226
2242
|
type VaultMarketAllocationHistoryDataQueryVariables = Exact<{
|
|
2227
2243
|
chainId: Scalars['ChainId']['input'];
|
|
2228
|
-
|
|
2244
|
+
vaultId: Scalars['Address']['input'];
|
|
2229
2245
|
}>;
|
|
2230
2246
|
type VaultMarketAllocationHistoryDataQuery = {
|
|
2231
2247
|
__typename?: 'Query';
|
|
2232
|
-
|
|
2233
|
-
__typename?: '
|
|
2248
|
+
morphoVaults: {
|
|
2249
|
+
__typename?: 'MorphoVaultPage';
|
|
2234
2250
|
items: Array<{
|
|
2235
|
-
__typename?: '
|
|
2251
|
+
__typename?: 'MorphoVault';
|
|
2236
2252
|
name: string;
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
__typename?: '
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2253
|
+
marketAllocations: Array<{
|
|
2254
|
+
__typename?: 'MorphoVaultMarketAllocation';
|
|
2255
|
+
enabled: boolean;
|
|
2256
|
+
market: {
|
|
2257
|
+
__typename?: 'MorphoMarket';
|
|
2258
|
+
name: string;
|
|
2259
|
+
marketId: `0x${string}`;
|
|
2260
|
+
utilization: number;
|
|
2261
|
+
historical: {
|
|
2262
|
+
__typename?: 'MorphoMarketHistorical';
|
|
2263
|
+
daily: Array<{
|
|
2264
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2265
|
+
bucketTimestamp: number;
|
|
2266
|
+
borrowApy1d: {
|
|
2267
|
+
__typename?: 'Apy';
|
|
2268
|
+
total: number;
|
|
2269
|
+
};
|
|
2270
|
+
borrowApy30d: {
|
|
2271
|
+
__typename?: 'Apy';
|
|
2272
|
+
total: number;
|
|
2273
|
+
};
|
|
2274
|
+
borrowApy7d: {
|
|
2275
|
+
__typename?: 'Apy';
|
|
2276
|
+
total: number;
|
|
2277
|
+
};
|
|
2278
|
+
supplyApy1d: {
|
|
2279
|
+
__typename?: 'Apy';
|
|
2280
|
+
total: number;
|
|
2281
|
+
};
|
|
2282
|
+
supplyApy7d: {
|
|
2283
|
+
__typename?: 'Apy';
|
|
2284
|
+
total: number;
|
|
2285
|
+
};
|
|
2286
|
+
supplyApy30d: {
|
|
2287
|
+
__typename?: 'Apy';
|
|
2288
|
+
total: number;
|
|
2289
|
+
};
|
|
2290
|
+
totalBorrowed: {
|
|
2291
|
+
__typename?: 'TokenAmount';
|
|
2292
|
+
formatted: string;
|
|
2293
|
+
raw: string;
|
|
2294
|
+
usd: number | null;
|
|
2295
|
+
};
|
|
2296
|
+
totalCollateral: {
|
|
2297
|
+
__typename?: 'TokenAmount';
|
|
2298
|
+
formatted: string;
|
|
2299
|
+
raw: string;
|
|
2300
|
+
usd: number | null;
|
|
2301
|
+
};
|
|
2302
|
+
totalSupplied: {
|
|
2303
|
+
__typename?: 'TokenAmount';
|
|
2304
|
+
formatted: string;
|
|
2305
|
+
raw: string;
|
|
2306
|
+
usd: number | null;
|
|
2307
|
+
};
|
|
2308
|
+
}>;
|
|
2309
|
+
hourly: Array<{
|
|
2310
|
+
__typename?: 'MorphoMarketHistoricalEntry';
|
|
2311
|
+
bucketTimestamp: number;
|
|
2312
|
+
borrowApy1d: {
|
|
2313
|
+
__typename?: 'Apy';
|
|
2314
|
+
total: number;
|
|
2315
|
+
};
|
|
2316
|
+
borrowApy30d: {
|
|
2317
|
+
__typename?: 'Apy';
|
|
2318
|
+
total: number;
|
|
2319
|
+
};
|
|
2320
|
+
borrowApy7d: {
|
|
2321
|
+
__typename?: 'Apy';
|
|
2322
|
+
total: number;
|
|
2323
|
+
};
|
|
2324
|
+
supplyApy1d: {
|
|
2325
|
+
__typename?: 'Apy';
|
|
2326
|
+
total: number;
|
|
2327
|
+
};
|
|
2328
|
+
supplyApy7d: {
|
|
2329
|
+
__typename?: 'Apy';
|
|
2330
|
+
total: number;
|
|
2331
|
+
};
|
|
2332
|
+
supplyApy30d: {
|
|
2333
|
+
__typename?: 'Apy';
|
|
2334
|
+
total: number;
|
|
2335
|
+
};
|
|
2336
|
+
totalBorrowed: {
|
|
2337
|
+
__typename?: 'TokenAmount';
|
|
2338
|
+
formatted: string;
|
|
2339
|
+
raw: string;
|
|
2340
|
+
usd: number | null;
|
|
2341
|
+
};
|
|
2342
|
+
totalCollateral: {
|
|
2343
|
+
__typename?: 'TokenAmount';
|
|
2344
|
+
formatted: string;
|
|
2345
|
+
raw: string;
|
|
2346
|
+
usd: number | null;
|
|
2347
|
+
};
|
|
2348
|
+
totalSupplied: {
|
|
2349
|
+
__typename?: 'TokenAmount';
|
|
2350
|
+
formatted: string;
|
|
2351
|
+
raw: string;
|
|
2352
|
+
usd: number | null;
|
|
2353
|
+
};
|
|
2354
|
+
}>;
|
|
2355
|
+
} | null;
|
|
2356
|
+
};
|
|
2357
|
+
vault: {
|
|
2358
|
+
__typename?: 'MorphoVault';
|
|
2359
|
+
decimals: number;
|
|
2360
|
+
asset: {
|
|
2361
|
+
__typename?: 'Token';
|
|
2362
|
+
decimals: number;
|
|
2254
2363
|
};
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
2364
|
+
};
|
|
2365
|
+
}>;
|
|
2257
2366
|
} | null>;
|
|
2258
2367
|
};
|
|
2259
2368
|
};
|
|
2260
|
-
type
|
|
2369
|
+
type MarketHistoryDataQueryVariables = Exact<{
|
|
2261
2370
|
chainId: Scalars['ChainId']['input'];
|
|
2262
2371
|
marketId: Scalars['Hex']['input'];
|
|
2263
2372
|
}>;
|
|
2264
|
-
type
|
|
2373
|
+
type MarketHistoryDataQuery = {
|
|
2265
2374
|
__typename?: 'Query';
|
|
2266
2375
|
morphoMarkets: {
|
|
2267
2376
|
__typename?: 'MorphoMarketPage';
|
|
@@ -2276,11 +2385,43 @@ type MarketBorrowHistoryDataQuery = {
|
|
|
2276
2385
|
__typename?: 'Apy';
|
|
2277
2386
|
total: number;
|
|
2278
2387
|
};
|
|
2388
|
+
borrowApy30d: {
|
|
2389
|
+
__typename?: 'Apy';
|
|
2390
|
+
total: number;
|
|
2391
|
+
};
|
|
2392
|
+
borrowApy7d: {
|
|
2393
|
+
__typename?: 'Apy';
|
|
2394
|
+
total: number;
|
|
2395
|
+
};
|
|
2396
|
+
supplyApy1d: {
|
|
2397
|
+
__typename?: 'Apy';
|
|
2398
|
+
total: number;
|
|
2399
|
+
};
|
|
2400
|
+
supplyApy7d: {
|
|
2401
|
+
__typename?: 'Apy';
|
|
2402
|
+
total: number;
|
|
2403
|
+
};
|
|
2404
|
+
supplyApy30d: {
|
|
2405
|
+
__typename?: 'Apy';
|
|
2406
|
+
total: number;
|
|
2407
|
+
};
|
|
2279
2408
|
totalBorrowed: {
|
|
2280
2409
|
__typename?: 'TokenAmount';
|
|
2410
|
+
formatted: string;
|
|
2411
|
+
raw: string;
|
|
2281
2412
|
usd: number | null;
|
|
2413
|
+
};
|
|
2414
|
+
totalCollateral: {
|
|
2415
|
+
__typename?: 'TokenAmount';
|
|
2416
|
+
formatted: string;
|
|
2282
2417
|
raw: string;
|
|
2418
|
+
usd: number | null;
|
|
2419
|
+
};
|
|
2420
|
+
totalSupplied: {
|
|
2421
|
+
__typename?: 'TokenAmount';
|
|
2283
2422
|
formatted: string;
|
|
2423
|
+
raw: string;
|
|
2424
|
+
usd: number | null;
|
|
2284
2425
|
};
|
|
2285
2426
|
}>;
|
|
2286
2427
|
hourly: Array<{
|
|
@@ -2290,12 +2431,44 @@ type MarketBorrowHistoryDataQuery = {
|
|
|
2290
2431
|
__typename?: 'Apy';
|
|
2291
2432
|
total: number;
|
|
2292
2433
|
};
|
|
2434
|
+
borrowApy30d: {
|
|
2435
|
+
__typename?: 'Apy';
|
|
2436
|
+
total: number;
|
|
2437
|
+
};
|
|
2438
|
+
borrowApy7d: {
|
|
2439
|
+
__typename?: 'Apy';
|
|
2440
|
+
total: number;
|
|
2441
|
+
};
|
|
2442
|
+
supplyApy1d: {
|
|
2443
|
+
__typename?: 'Apy';
|
|
2444
|
+
total: number;
|
|
2445
|
+
};
|
|
2446
|
+
supplyApy7d: {
|
|
2447
|
+
__typename?: 'Apy';
|
|
2448
|
+
total: number;
|
|
2449
|
+
};
|
|
2450
|
+
supplyApy30d: {
|
|
2451
|
+
__typename?: 'Apy';
|
|
2452
|
+
total: number;
|
|
2453
|
+
};
|
|
2293
2454
|
totalBorrowed: {
|
|
2294
2455
|
__typename?: 'TokenAmount';
|
|
2295
2456
|
formatted: string;
|
|
2296
2457
|
raw: string;
|
|
2297
2458
|
usd: number | null;
|
|
2298
2459
|
};
|
|
2460
|
+
totalCollateral: {
|
|
2461
|
+
__typename?: 'TokenAmount';
|
|
2462
|
+
formatted: string;
|
|
2463
|
+
raw: string;
|
|
2464
|
+
usd: number | null;
|
|
2465
|
+
};
|
|
2466
|
+
totalSupplied: {
|
|
2467
|
+
__typename?: 'TokenAmount';
|
|
2468
|
+
formatted: string;
|
|
2469
|
+
raw: string;
|
|
2470
|
+
usd: number | null;
|
|
2471
|
+
};
|
|
2299
2472
|
}>;
|
|
2300
2473
|
} | null;
|
|
2301
2474
|
} | null>;
|
|
@@ -2333,42 +2506,6 @@ type MarketIbrHistoryDataQuery = {
|
|
|
2333
2506
|
} | null>;
|
|
2334
2507
|
};
|
|
2335
2508
|
};
|
|
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
|
-
};
|
|
2372
2509
|
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
2373
2510
|
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
2374
2511
|
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
@@ -2408,9 +2545,8 @@ declare const MarketPositions: graphql.DocumentNode;
|
|
|
2408
2545
|
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
2409
2546
|
declare const VaultHistoryData: graphql.DocumentNode;
|
|
2410
2547
|
declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
|
|
2411
|
-
declare const
|
|
2548
|
+
declare const MarketHistoryData: graphql.DocumentNode;
|
|
2412
2549
|
declare const MarketIbrHistoryData: graphql.DocumentNode;
|
|
2413
|
-
declare const MarketCollateralAtRiskHistoryData: graphql.DocumentNode;
|
|
2414
2550
|
interface PossibleTypesResultData {
|
|
2415
2551
|
possibleTypes: {
|
|
2416
2552
|
[key: string]: string[];
|
|
@@ -2418,4 +2554,4 @@ interface PossibleTypesResultData {
|
|
|
2418
2554
|
}
|
|
2419
2555
|
declare const result: PossibleTypesResultData;
|
|
2420
2556
|
|
|
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,
|
|
2557
|
+
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, MarketHistoryData, type MarketHistoryDataQuery, type MarketHistoryDataQueryVariables, MarketIbrHistoryData, type MarketIbrHistoryDataQuery, type MarketIbrHistoryDataQueryVariables, MarketPositions, type MarketPositionsQuery, type MarketPositionsQueryVariables, type MarketQuery, type MarketQueryVariables, MarketSummaries, type MarketSummariesQuery, type MarketSummariesQueryVariables, MarketSummaryFragment, type MarketSummaryFragmentFragment, type MarketV1Adapter, type MarketV1ExposureCap, type Maybe, type MerklAccountReward, MerklAction, type MerklRewardInput, type MorphoIrm, type MorphoIrmCurvePoint, type MorphoMarket, type MorphoMarketFilter, type MorphoMarketHistorical, type MorphoMarketHistoricalEntry, type MorphoMarketPage, type MorphoMarketPosition, type MorphoMarketPositionFilter, type MorphoMarketPositionPage, type MorphoVault, type MorphoVaultApyArgs, type MorphoVaultFilter, type MorphoVaultHistorical, type MorphoVaultHistoricalEntry, type MorphoVaultMarketAllocation, type MorphoVaultMetadata, type MorphoVaultPage, type MorphoVaultPosition, type MorphoVaultPositionFilter, type MorphoVaultPositionPage, type MorphoVaultV2, type MorphoVaultV2ApyArgs, type OnchainAmount, type PageInfo, type PossibleTypesResultData, type Protocol, type Query, type QueryAeraVaultPositionsArgs, type QueryAeraVaultsArgs, type QueryChainsArgs, type 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 };
|