@berachain/graphql 0.3.3 → 0.4.1-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.
Files changed (33) hide show
  1. package/dist/bend/whisk.codegen.cjs +9 -9
  2. package/dist/bend/whisk.codegen.d.cts +155 -1
  3. package/dist/bend/whisk.codegen.d.ts +155 -1
  4. package/dist/bend/whisk.codegen.mjs +6 -6
  5. package/dist/chain/chain.codegen.cjs +1 -1
  6. package/dist/chain/chain.codegen.d.cts +1 -26
  7. package/dist/chain/chain.codegen.d.ts +1 -26
  8. package/dist/chain/chain.codegen.mjs +2 -2
  9. package/dist/dex/api.codegen.cjs +3 -3
  10. package/dist/dex/api.codegen.d.cts +24 -5
  11. package/dist/dex/api.codegen.d.ts +24 -5
  12. package/dist/dex/api.codegen.mjs +6 -6
  13. package/dist/dex/subgraph.codegen.cjs +5 -5
  14. package/dist/dex/subgraph.codegen.d.cts +30 -475
  15. package/dist/dex/subgraph.codegen.d.ts +30 -475
  16. package/dist/dex/subgraph.codegen.mjs +6 -6
  17. package/dist/governance/governance.codegen.cjs +7 -7
  18. package/dist/governance/governance.codegen.d.cts +1 -90
  19. package/dist/governance/governance.codegen.d.ts +1 -90
  20. package/dist/governance/governance.codegen.mjs +10 -10
  21. package/dist/honey/honey.codegen.cjs +7 -7
  22. package/dist/honey/honey.codegen.d.cts +14 -108
  23. package/dist/honey/honey.codegen.d.ts +14 -108
  24. package/dist/honey/honey.codegen.mjs +7 -7
  25. package/dist/pol/api.codegen.cjs +20 -44
  26. package/dist/pol/api.codegen.d.cts +24 -48
  27. package/dist/pol/api.codegen.d.ts +24 -48
  28. package/dist/pol/api.codegen.mjs +5 -29
  29. package/dist/pol/subgraph.codegen.cjs +23 -23
  30. package/dist/pol/subgraph.codegen.d.cts +238 -600
  31. package/dist/pol/subgraph.codegen.d.ts +238 -600
  32. package/dist/pol/subgraph.codegen.mjs +23 -23
  33. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- "use strict";var y=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var w=Object.prototype.hasOwnProperty;var T=(s,o)=>{for(var r in o)y(s,r,{get:o[r],enumerable:!0})},f=(s,o,r,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of x(o))!w.call(s,n)&&n!==r&&y(s,n,{get:()=>o[n],enumerable:!(e=I(o,n))||e.enumerable});return s};var C=s=>f(y({},"__esModule",{value:!0}),s);var U={};T(U,{ApyFragment:()=>i,ApySide:()=>c,ApyTimeframe:()=>_,ChainInfoFragment:()=>l,CuratorInfoFragment:()=>m,Erc4626VaultProtocol:()=>g,IdentityResolver:()=>b,Market:()=>P,MarketHistoryData:()=>R,MarketIbrHistoryData:()=>O,MarketPositions:()=>F,MarketSummaries:()=>$,MarketSummaryFragment:()=>A,MerklAction:()=>k,SupportedMarketIds:()=>E,TokenCategory:()=>h,TokenInfoFragment:()=>u,Vault:()=>v,VaultHistoryData:()=>B,VaultMarketAllocationHistoryData:()=>Q,VaultPositions:()=>H,VaultProtocol:()=>M,VaultSummaries:()=>V,VaultSummaryFragment:()=>d,VaultType:()=>S,default:()=>L});module.exports=C(U);var t=require("@apollo/client"),c=(r=>(r.Borrow="Borrow",r.Supply="Supply",r))(c||{}),_=(e=>(e.OneDay="one_day",e.SevenDays="seven_days",e.ThirtyDays="thirty_days",e))(_||{}),g=(n=>(n.Box="box",n.Generic="generic",n.MorphoV1="morpho_v1",n.MorphoV2="morpho_v2",n))(g||{}),b=(p=>(p.Base="base",p.Ens="ens",p.Farcaster="farcaster",p.Lens="lens",p.Nns="nns",p.Uni="uni",p.World="world",p))(b||{}),k=(r=>(r.Borrow="Borrow",r.Lend="Lend",r))(k||{}),h=(e=>(e.Btc="Btc",e.Eth="Eth",e.Stable="Stable",e))(h||{}),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`
1
+ "use strict";var y=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var w=Object.prototype.hasOwnProperty;var T=(s,o)=>{for(var r in o)y(s,r,{get:o[r],enumerable:!0})},f=(s,o,r,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of x(o))!w.call(s,n)&&n!==r&&y(s,n,{get:()=>o[n],enumerable:!(e=I(o,n))||e.enumerable});return s};var V=s=>f(y({},"__esModule",{value:!0}),s);var U={};T(U,{ApyFragment:()=>i,ApySide:()=>c,ApyTimeframe:()=>_,ChainInfoFragment:()=>l,CuratorInfoFragment:()=>m,Erc4626VaultProtocol:()=>g,IdentityResolver:()=>b,Market:()=>v,MarketHistoryData:()=>Q,MarketIbrHistoryData:()=>O,MarketPositions:()=>F,MarketSummaries:()=>P,MarketSummaryFragment:()=>A,MerklAction:()=>k,SupportedMarketIds:()=>E,TokenCategory:()=>h,TokenInfoFragment:()=>u,Vault:()=>$,VaultHistoryData:()=>R,VaultMarketAllocationHistoryData:()=>B,VaultPositions:()=>H,VaultProtocol:()=>M,VaultSummaries:()=>C,VaultSummaryFragment:()=>d,VaultType:()=>S,default:()=>L});module.exports=V(U);var t=require("@apollo/client"),c=(r=>(r.Borrow="Borrow",r.Supply="Supply",r))(c||{}),_=(e=>(e.OneDay="one_day",e.SevenDays="seven_days",e.ThirtyDays="thirty_days",e))(_||{}),g=(n=>(n.Box="box",n.Generic="generic",n.MorphoV1="morpho_v1",n.MorphoV2="morpho_v2",n))(g||{}),b=(p=>(p.Base="base",p.Ens="ens",p.Farcaster="farcaster",p.Lens="lens",p.Nns="nns",p.Uni="uni",p.World="world",p))(b||{}),k=(r=>(r.Borrow="Borrow",r.Lend="Lend",r))(k||{}),h=(e=>(e.Btc="Btc",e.Eth="Eth",e.Stable="Stable",e))(h||{}),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
@@ -152,7 +152,7 @@ ${i}`,A=t.gql`
152
152
  }
153
153
  ${l}
154
154
  ${u}
155
- ${i}`,V=t.gql`
155
+ ${i}`,C=t.gql`
156
156
  query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
157
157
  morphoVaults(
158
158
  where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
@@ -166,7 +166,7 @@ ${i}`,V=t.gql`
166
166
  }
167
167
  }
168
168
  }
169
- ${d}`,$=t.gql`
169
+ ${d}`,P=t.gql`
170
170
  query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
171
171
  morphoMarkets(
172
172
  where: {chainId_in: $chainIds, marketId_in: $marketIds}
@@ -180,7 +180,7 @@ ${i}`,V=t.gql`
180
180
  }
181
181
  }
182
182
  }
183
- ${A}`,v=t.gql`
183
+ ${A}`,$=t.gql`
184
184
  query Vault($chainId: ChainId!, $vaultAddress: Address!) {
185
185
  morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
186
186
  items {
@@ -270,7 +270,7 @@ ${i}`,V=t.gql`
270
270
  ${d}
271
271
  ${l}
272
272
  ${u}
273
- ${i}`,P=t.gql`
273
+ ${i}`,v=t.gql`
274
274
  query Market($chainId: ChainId!, $marketId: Hex!) {
275
275
  morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
276
276
  items {
@@ -443,7 +443,7 @@ ${m}`,H=t.gql`
443
443
  }
444
444
  }
445
445
  }
446
- `,B=t.gql`
446
+ `,R=t.gql`
447
447
  query VaultHistoryData($chainId: ChainId!, $vaultId: Address!) {
448
448
  morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
449
449
  items {
@@ -486,7 +486,7 @@ ${m}`,H=t.gql`
486
486
  }
487
487
  }
488
488
  }
489
- `,Q=t.gql`
489
+ `,B=t.gql`
490
490
  query VaultMarketAllocationHistoryData($chainId: ChainId!, $vaultId: Address!) {
491
491
  morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
492
492
  items {
@@ -582,7 +582,7 @@ ${m}`,H=t.gql`
582
582
  }
583
583
  }
584
584
  }
585
- `,R=t.gql`
585
+ `,Q=t.gql`
586
586
  query MarketHistoryData($chainId: ChainId!, $marketId: Hex!) {
587
587
  morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
588
588
  items {
@@ -684,4 +684,4 @@ ${m}`,H=t.gql`
684
684
  }
685
685
  }
686
686
  }
687
- `,q={possibleTypes:{Adapter:["BoxVaultAdapter","MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},L=q;0&&(module.exports={ApyFragment,ApySide,ApyTimeframe,ChainInfoFragment,CuratorInfoFragment,Erc4626VaultProtocol,IdentityResolver,Market,MarketHistoryData,MarketIbrHistoryData,MarketPositions,MarketSummaries,MarketSummaryFragment,MerklAction,SupportedMarketIds,TokenCategory,TokenInfoFragment,Vault,VaultHistoryData,VaultMarketAllocationHistoryData,VaultPositions,VaultProtocol,VaultSummaries,VaultSummaryFragment,VaultType});
687
+ `,q={possibleTypes:{Adapter:["BoxVaultAdapter","MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2"],Erc4626VaultPosition:["GenericErc4626VaultPosition"]}},L=q;0&&(module.exports={ApyFragment,ApySide,ApyTimeframe,ChainInfoFragment,CuratorInfoFragment,Erc4626VaultProtocol,IdentityResolver,Market,MarketHistoryData,MarketIbrHistoryData,MarketPositions,MarketSummaries,MarketSummaryFragment,MerklAction,SupportedMarketIds,TokenCategory,TokenInfoFragment,Vault,VaultHistoryData,VaultMarketAllocationHistoryData,VaultPositions,VaultProtocol,VaultSummaries,VaultSummaryFragment,VaultType});
@@ -80,6 +80,10 @@ type Adapter = {
80
80
  * @deprecated Schema is subject to change, not yet stable
81
81
  */
82
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>;
83
87
  };
84
88
  type AdapterCap = Cap & {
85
89
  __typename?: 'AdapterCap';
@@ -104,6 +108,22 @@ type AdapterCap = Cap & {
104
108
  */
105
109
  relativeCap: OnchainAmount;
106
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
+ };
107
127
  /** Aera vault */
108
128
  type AeraVault = {
109
129
  __typename?: 'AeraVault';
@@ -156,6 +176,10 @@ type AeraVaultPosition = {
156
176
  hasPendingDeposit: Scalars['Boolean']['output'];
157
177
  /** Whether the account has a pending withdrawal */
158
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>;
159
183
  /** Position balance in numeraire assets */
160
184
  supplyAmount: TokenAmount;
161
185
  /** Position balance in shares */
@@ -223,6 +247,8 @@ type BoxVault = Erc4626Vault & {
223
247
  decimals: Scalars['Int']['output'];
224
248
  /** Name of the vault */
225
249
  name: Scalars['String']['output'];
250
+ /** Risk assessment for the vault */
251
+ riskAssessment: BoxVaultRiskAssessment;
226
252
  /** Symbol of the vault */
227
253
  symbol: Scalars['String']['output'];
228
254
  /** Total amount of the underlying assets supplied to the vault */
@@ -250,9 +276,22 @@ type BoxVaultAdapter = Adapter & {
250
276
  * @deprecated Schema is subject to change, not yet stable
251
277
  */
252
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>;
253
286
  /** @deprecated Schema is subject to change, not yet stable */
254
287
  vault: Maybe<BoxVault>;
255
288
  };
289
+ /** Risk assessment for a box vault */
290
+ type BoxVaultRiskAssessment = {
291
+ __typename?: 'BoxVaultRiskAssessment';
292
+ /** Steakhouse risk assessment */
293
+ steakhouse: Maybe<SteakhouseRiskAssessment>;
294
+ };
256
295
  /** V2: Caps for a Morpho vault adapter id */
257
296
  type Cap = {
258
297
  /**
@@ -374,6 +413,40 @@ type Erc4626VaultPage = {
374
413
  /** Total number of items */
375
414
  totalCount: Scalars['Int']['output'];
376
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
+ };
377
450
  declare enum Erc4626VaultProtocol {
378
451
  Box = "box",
379
452
  Generic = "generic",
@@ -402,6 +475,19 @@ type GenericErc4626Vault = Erc4626Vault & {
402
475
  type GenericErc4626VaultApyArgs = {
403
476
  timeframe: ApyTimeframe;
404
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
+ };
405
491
  type Identity = {
406
492
  __typename?: 'Identity';
407
493
  aggregate: IdentityResolverOutput;
@@ -461,6 +547,13 @@ type MarketV1Adapter = Adapter & {
461
547
  * @deprecated Schema is subject to change, not yet stable
462
548
  */
463
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>;
464
557
  };
465
558
  type MarketV1ExposureCap = Cap & {
466
559
  __typename?: 'MarketV1ExposureCap';
@@ -583,6 +676,8 @@ type MorphoMarket = {
583
676
  oracleAddress: Scalars['Address']['output'];
584
677
  /** Amount of loan assets that can be allocated to this market via the public allocator */
585
678
  publicAllocatorSharedLiquidity: TokenAmount;
679
+ /** Risk assessment for the market */
680
+ riskAssessment: MorphoMarketV1RiskAssessment;
586
681
  /** APY earned for supplying to the market (instantaneous) */
587
682
  supplyApy: Apy;
588
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. */
@@ -710,6 +805,12 @@ type MorphoMarketPositionPage = {
710
805
  /** Total number of items */
711
806
  totalCount: Scalars['Int']['output'];
712
807
  };
808
+ /** Risk assessment for a Morpho market */
809
+ type MorphoMarketV1RiskAssessment = {
810
+ __typename?: 'MorphoMarketV1RiskAssessment';
811
+ /** Steakhouse risk assessment */
812
+ steakhouse: Maybe<SteakhouseRiskAssessment>;
813
+ };
713
814
  /** Morpho vault */
714
815
  type MorphoVault = Erc4626Vault & {
715
816
  __typename?: 'MorphoVault';
@@ -739,6 +840,8 @@ type MorphoVault = Erc4626Vault & {
739
840
  ownerAddress: Scalars['Address']['output'];
740
841
  /** Performance fee of the vault, this is the fee that is taken from the vaults profits */
741
842
  performanceFee: Scalars['Float']['output'];
843
+ /** Risk assessment for the vault */
844
+ riskAssessment: MorphoVaultV1RiskAssessment;
742
845
  /**
743
846
  * APY earned when supplying to the vault
744
847
  * @deprecated Use apy(timeframe: one_day) instead
@@ -894,6 +997,12 @@ type MorphoVaultPositionPage = {
894
997
  /** Total number of items */
895
998
  totalCount: Scalars['Int']['output'];
896
999
  };
1000
+ /** Risk assessment for a Morpho vault */
1001
+ type MorphoVaultV1RiskAssessment = {
1002
+ __typename?: 'MorphoVaultV1RiskAssessment';
1003
+ /** Steakhouse risk assessment */
1004
+ steakhouse: Maybe<SteakhouseRiskAssessment>;
1005
+ };
897
1006
  type MorphoVaultV2 = Erc4626Vault & {
898
1007
  __typename?: 'MorphoVaultV2';
899
1008
  /**
@@ -983,6 +1092,8 @@ type MorphoVaultV2 = Erc4626Vault & {
983
1092
  * @deprecated Schema is subject to change, not yet stable
984
1093
  */
985
1094
  receiveSharesGateAddress: Scalars['Address']['output'];
1095
+ /** Risk assessment for the vault */
1096
+ riskAssessment: MorphoVaultV2RiskAssessment;
986
1097
  /**
987
1098
  * Send assets gate
988
1099
  * @deprecated Schema is subject to change, not yet stable
@@ -1017,6 +1128,12 @@ type MorphoVaultV2 = Erc4626Vault & {
1017
1128
  type MorphoVaultV2ApyArgs = {
1018
1129
  timeframe: ApyTimeframe;
1019
1130
  };
1131
+ /** Risk assessment for a Morpho vault */
1132
+ type MorphoVaultV2RiskAssessment = {
1133
+ __typename?: 'MorphoVaultV2RiskAssessment';
1134
+ /** Steakhouse risk assessment */
1135
+ steakhouse: Maybe<SteakhouseRiskAssessment>;
1136
+ };
1020
1137
  /** An arbitrary onchain amount */
1021
1138
  type OnchainAmount = {
1022
1139
  __typename?: 'OnchainAmount';
@@ -1051,6 +1168,7 @@ type Query = {
1051
1168
  aeraVaults: AeraVaultPage;
1052
1169
  /** Get supported chains (note that not all kits support all chains) */
1053
1170
  chains: Array<Chain>;
1171
+ erc4626VaultPositions: Erc4626VaultPositionPage;
1054
1172
  erc4626Vaults: Erc4626VaultPage;
1055
1173
  identities: Array<Identity>;
1056
1174
  identity: Maybe<Identity>;
@@ -1086,6 +1204,12 @@ type QueryAeraVaultsArgs = {
1086
1204
  type QueryChainsArgs = {
1087
1205
  where: InputMaybe<ChainFilter>;
1088
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
+ };
1089
1213
  type QueryErc4626VaultsArgs = {
1090
1214
  after: InputMaybe<Scalars['String']['input']>;
1091
1215
  before: InputMaybe<Scalars['String']['input']>;
@@ -1145,6 +1269,14 @@ type Reward = {
1145
1269
  /** The token being rewarded */
1146
1270
  asset: Token;
1147
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
+ };
1148
1280
  /** ERC-20 token with metadata and pricing information */
1149
1281
  type Token = {
1150
1282
  __typename?: 'Token';
@@ -1163,6 +1295,8 @@ type Token = {
1163
1295
  name: Scalars['String']['output'];
1164
1296
  /** Current price of the token in USD, null iff price data unavailable */
1165
1297
  priceUsd: Maybe<Scalars['Float']['output']>;
1298
+ /** Risk assessment for the token */
1299
+ riskAssessment: TokenRiskAssessment;
1166
1300
  /** The symbol of the token (e.g., 'ETH') */
1167
1301
  symbol: Scalars['String']['output'];
1168
1302
  };
@@ -1229,6 +1363,12 @@ type TokenInput = {
1229
1363
  /** The token contract address */
1230
1364
  tokenAddress: Scalars['Address']['input'];
1231
1365
  };
1366
+ /** Risk assessment for a token */
1367
+ type TokenRiskAssessment = {
1368
+ __typename?: 'TokenRiskAssessment';
1369
+ /** Steakhouse risk assessment */
1370
+ steakhouse: Maybe<SteakhouseRiskAssessment>;
1371
+ };
1232
1372
  type UnknownAdapter = Adapter & {
1233
1373
  __typename?: 'UnknownAdapter';
1234
1374
  /**
@@ -1246,6 +1386,13 @@ type UnknownAdapter = Adapter & {
1246
1386
  * @deprecated Schema is subject to change, not yet stable
1247
1387
  */
1248
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>;
1249
1396
  };
1250
1397
  type UnknownCap = Cap & {
1251
1398
  __typename?: 'UnknownCap';
@@ -1318,6 +1465,13 @@ type VaultV1Adapter = Adapter & {
1318
1465
  * @deprecated Schema is subject to change, not yet stable
1319
1466
  */
1320
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>;
1321
1475
  /**
1322
1476
  * Vault for the adapter
1323
1477
  * @deprecated Schema is subject to change, not yet stable
@@ -2848,4 +3002,4 @@ interface PossibleTypesResultData {
2848
3002
  }
2849
3003
  declare const result: PossibleTypesResultData;
2850
3004
 
2851
- 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 BoxVault, type BoxVaultAdapter, type BoxVaultApyArgs, 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 };
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 };