@berachain/graphql 0.2.4-beta.3 → 0.2.4-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2179,333 +2179,6 @@ type SupportedMarketIdsQuery = {
2179
2179
  } | null>;
2180
2180
  };
2181
2181
  };
2182
- type VaultHistoryDataQueryVariables = Exact<{
2183
- chainId: Scalars['ChainId']['input'];
2184
- vaultId: 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
- supplyApy30d: {
2202
- __typename?: 'Apy';
2203
- total: number;
2204
- };
2205
- supplyApy7d: {
2206
- __typename?: 'Apy';
2207
- total: number;
2208
- };
2209
- totalSupplied: {
2210
- __typename?: 'TokenAmount';
2211
- usd: number | null;
2212
- raw: string;
2213
- formatted: string;
2214
- };
2215
- }>;
2216
- hourly: Array<{
2217
- __typename?: 'MorphoVaultHistoricalEntry';
2218
- bucketTimestamp: number;
2219
- supplyApy1d: {
2220
- __typename?: 'Apy';
2221
- total: number;
2222
- };
2223
- supplyApy30d: {
2224
- __typename?: 'Apy';
2225
- total: number;
2226
- };
2227
- supplyApy7d: {
2228
- __typename?: 'Apy';
2229
- total: number;
2230
- };
2231
- totalSupplied: {
2232
- __typename?: 'TokenAmount';
2233
- usd: number | null;
2234
- raw: string;
2235
- formatted: string;
2236
- };
2237
- }>;
2238
- } | null;
2239
- } | null>;
2240
- };
2241
- };
2242
- type VaultMarketAllocationHistoryDataQueryVariables = Exact<{
2243
- chainId: Scalars['ChainId']['input'];
2244
- vaultId: Scalars['Address']['input'];
2245
- }>;
2246
- type VaultMarketAllocationHistoryDataQuery = {
2247
- __typename?: 'Query';
2248
- morphoVaults: {
2249
- __typename?: 'MorphoVaultPage';
2250
- items: Array<{
2251
- __typename?: 'MorphoVault';
2252
- name: string;
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;
2363
- };
2364
- };
2365
- }>;
2366
- } | null>;
2367
- };
2368
- };
2369
- type MarketHistoryDataQueryVariables = Exact<{
2370
- chainId: Scalars['ChainId']['input'];
2371
- marketId: Scalars['Hex']['input'];
2372
- }>;
2373
- type MarketHistoryDataQuery = {
2374
- __typename?: 'Query';
2375
- morphoMarkets: {
2376
- __typename?: 'MorphoMarketPage';
2377
- items: Array<{
2378
- __typename?: 'MorphoMarket';
2379
- historical: {
2380
- __typename?: 'MorphoMarketHistorical';
2381
- daily: Array<{
2382
- __typename?: 'MorphoMarketHistoricalEntry';
2383
- bucketTimestamp: number;
2384
- borrowApy1d: {
2385
- __typename?: 'Apy';
2386
- total: number;
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
- };
2408
- totalBorrowed: {
2409
- __typename?: 'TokenAmount';
2410
- formatted: string;
2411
- raw: string;
2412
- usd: number | null;
2413
- };
2414
- totalCollateral: {
2415
- __typename?: 'TokenAmount';
2416
- formatted: string;
2417
- raw: string;
2418
- usd: number | null;
2419
- };
2420
- totalSupplied: {
2421
- __typename?: 'TokenAmount';
2422
- formatted: string;
2423
- raw: string;
2424
- usd: number | null;
2425
- };
2426
- }>;
2427
- hourly: Array<{
2428
- __typename?: 'MorphoMarketHistoricalEntry';
2429
- bucketTimestamp: number;
2430
- borrowApy1d: {
2431
- __typename?: 'Apy';
2432
- total: number;
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
- };
2454
- totalBorrowed: {
2455
- __typename?: 'TokenAmount';
2456
- formatted: string;
2457
- raw: string;
2458
- usd: number | null;
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
- };
2472
- }>;
2473
- } | null;
2474
- } | null>;
2475
- };
2476
- };
2477
- type MarketIbrHistoryDataQueryVariables = Exact<{
2478
- chainId: Scalars['ChainId']['input'];
2479
- marketId: Scalars['Hex']['input'];
2480
- }>;
2481
- type MarketIbrHistoryDataQuery = {
2482
- __typename?: 'Query';
2483
- morphoMarkets: {
2484
- __typename?: 'MorphoMarketPage';
2485
- items: Array<{
2486
- __typename?: 'MorphoMarket';
2487
- historical: {
2488
- __typename?: 'MorphoMarketHistorical';
2489
- daily: Array<{
2490
- __typename?: 'MorphoMarketHistoricalEntry';
2491
- bucketTimestamp: number;
2492
- borrowApyInstantaneous: {
2493
- __typename?: 'Apy';
2494
- total: number;
2495
- };
2496
- }>;
2497
- hourly: Array<{
2498
- __typename?: 'MorphoMarketHistoricalEntry';
2499
- bucketTimestamp: number;
2500
- borrowApyInstantaneous: {
2501
- __typename?: 'Apy';
2502
- total: number;
2503
- };
2504
- }>;
2505
- } | null;
2506
- } | null>;
2507
- };
2508
- };
2509
2182
  declare const ChainInfoFragment: graphql.DocumentNode;
2510
2183
  declare const TokenInfoFragment: graphql.DocumentNode;
2511
2184
  declare const CuratorInfoFragment: graphql.DocumentNode;
@@ -2543,10 +2216,6 @@ declare const Market: graphql.DocumentNode;
2543
2216
  declare const VaultPositions: graphql.DocumentNode;
2544
2217
  declare const MarketPositions: graphql.DocumentNode;
2545
2218
  declare const SupportedMarketIds: graphql.DocumentNode;
2546
- declare const VaultHistoryData: graphql.DocumentNode;
2547
- declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
2548
- declare const MarketHistoryData: graphql.DocumentNode;
2549
- declare const MarketIbrHistoryData: graphql.DocumentNode;
2550
2219
  interface PossibleTypesResultData {
2551
2220
  possibleTypes: {
2552
2221
  [key: string]: string[];
@@ -2554,4 +2223,4 @@ interface PossibleTypesResultData {
2554
2223
  }
2555
2224
  declare const result: PossibleTypesResultData;
2556
2225
 
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 };
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 };