@berachain/graphql 0.3.3 → 0.4.0
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 +9 -9
- package/dist/bend/whisk.codegen.d.cts +155 -1
- package/dist/bend/whisk.codegen.d.ts +155 -1
- package/dist/bend/whisk.codegen.mjs +6 -6
- package/dist/dex/subgraph.codegen.cjs +1 -1
- package/dist/dex/subgraph.codegen.d.cts +29 -49
- package/dist/dex/subgraph.codegen.d.ts +29 -49
- package/dist/dex/subgraph.codegen.mjs +1 -1
- package/dist/pol/api.codegen.cjs +19 -42
- package/dist/pol/api.codegen.d.cts +1 -39
- package/dist/pol/api.codegen.d.ts +1 -39
- package/dist/pol/api.codegen.mjs +7 -30
- package/package.json +1 -1
|
@@ -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 };
|
|
@@ -428,7 +428,7 @@ ${l}`,T=t`
|
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
`,
|
|
431
|
+
`,V=t`
|
|
432
432
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
433
433
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
434
434
|
items {
|
|
@@ -443,7 +443,7 @@ ${l}`,T=t`
|
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
`,
|
|
446
|
+
`,C=t`
|
|
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 @@ ${l}`,T=t`
|
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
|
|
489
|
+
`,P=t`
|
|
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 @@ ${l}`,T=t`
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
|
|
585
|
+
`,$=t`
|
|
586
586
|
query MarketHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
587
587
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
588
588
|
items {
|
|
@@ -663,7 +663,7 @@ ${l}`,T=t`
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
|
-
`,
|
|
666
|
+
`,v=t`
|
|
667
667
|
query MarketIBRHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
668
668
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
669
669
|
items {
|
|
@@ -684,4 +684,4 @@ ${l}`,T=t`
|
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
`,h={possibleTypes:{Adapter:["BoxVaultAdapter","MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},H=h;export{u as ApyFragment,m as ApySide,d as ApyTimeframe,p as ChainInfoFragment,l as CuratorInfoFragment,A as Erc4626VaultProtocol,c as IdentityResolver,w as Market
|
|
687
|
+
`,h={possibleTypes:{Adapter:["BoxVaultAdapter","MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2"],Erc4626VaultPosition:["GenericErc4626VaultPosition"]}},H=h;export{u as ApyFragment,m as ApySide,d as ApyTimeframe,p as ChainInfoFragment,l as CuratorInfoFragment,A as Erc4626VaultProtocol,c as IdentityResolver,w as Market,$ as MarketHistoryData,v as MarketIbrHistoryData,f as MarketPositions,I as MarketSummaries,y as MarketSummaryFragment,_ as MerklAction,V as SupportedMarketIds,g as TokenCategory,o as TokenInfoFragment,x as Vault,C as VaultHistoryData,P as VaultMarketAllocationHistoryData,T as VaultPositions,b as VaultProtocol,S as VaultSummaries,i as VaultSummaryFragment,k as VaultType,H as default};
|
|
@@ -2113,7 +2113,7 @@ declare enum PoolSnapshot_OrderBy {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
type PoolToken = {
|
|
2115
2115
|
__typename?: 'PoolToken';
|
|
2116
|
-
address: Scalars['
|
|
2116
|
+
address: Scalars['Bytes']['output'];
|
|
2117
2117
|
assetManager: Scalars['Bytes']['output'];
|
|
2118
2118
|
balance: Scalars['BigDecimal']['output'];
|
|
2119
2119
|
cashBalance: Scalars['BigDecimal']['output'];
|
|
@@ -2143,26 +2143,16 @@ type PoolTokenManagementsArgs = {
|
|
|
2143
2143
|
type PoolToken_Filter = {
|
|
2144
2144
|
/** Filter for the block changed event. */
|
|
2145
2145
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
2146
|
-
address?: InputMaybe<Scalars['
|
|
2147
|
-
address_contains?: InputMaybe<Scalars['
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
address_not?: InputMaybe<Scalars['String']['input']>;
|
|
2157
|
-
address_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
2158
|
-
address_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2159
|
-
address_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
2160
|
-
address_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2161
|
-
address_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2162
|
-
address_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2163
|
-
address_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2164
|
-
address_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2165
|
-
address_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2146
|
+
address?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2147
|
+
address_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2148
|
+
address_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2149
|
+
address_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2150
|
+
address_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
2151
|
+
address_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2152
|
+
address_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2153
|
+
address_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2154
|
+
address_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2155
|
+
address_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
2166
2156
|
and?: InputMaybe<Array<InputMaybe<PoolToken_Filter>>>;
|
|
2167
2157
|
assetManager?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2168
2158
|
assetManager_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
@@ -4738,7 +4728,7 @@ declare enum Swap_OrderBy {
|
|
|
4738
4728
|
}
|
|
4739
4729
|
type Token = {
|
|
4740
4730
|
__typename?: 'Token';
|
|
4741
|
-
address: Scalars['
|
|
4731
|
+
address: Scalars['Bytes']['output'];
|
|
4742
4732
|
decimals: Scalars['Int']['output'];
|
|
4743
4733
|
fxOracleDecimals?: Maybe<Scalars['Int']['output']>;
|
|
4744
4734
|
id: Scalars['ID']['output'];
|
|
@@ -5051,26 +5041,16 @@ declare enum TokenSnapshot_OrderBy {
|
|
|
5051
5041
|
type Token_Filter = {
|
|
5052
5042
|
/** Filter for the block changed event. */
|
|
5053
5043
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
5054
|
-
address?: InputMaybe<Scalars['
|
|
5055
|
-
address_contains?: InputMaybe<Scalars['
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
address_not?: InputMaybe<Scalars['String']['input']>;
|
|
5065
|
-
address_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
5066
|
-
address_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5067
|
-
address_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
5068
|
-
address_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5069
|
-
address_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5070
|
-
address_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
5071
|
-
address_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5072
|
-
address_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
5073
|
-
address_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5044
|
+
address?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5045
|
+
address_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5046
|
+
address_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5047
|
+
address_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5048
|
+
address_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
5049
|
+
address_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5050
|
+
address_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5051
|
+
address_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5052
|
+
address_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5053
|
+
address_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
5074
5054
|
and?: InputMaybe<Array<InputMaybe<Token_Filter>>>;
|
|
5075
5055
|
decimals?: InputMaybe<Scalars['Int']['input']>;
|
|
5076
5056
|
decimals_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5729,7 +5709,7 @@ type SubgraphPoolFragment = {
|
|
|
5729
5709
|
type?: string | null;
|
|
5730
5710
|
tokens?: Array<{
|
|
5731
5711
|
__typename?: 'PoolToken';
|
|
5732
|
-
address: string
|
|
5712
|
+
address: `0x${string}`;
|
|
5733
5713
|
name: string;
|
|
5734
5714
|
decimals: number;
|
|
5735
5715
|
symbol: string;
|
|
@@ -5757,7 +5737,7 @@ type GetSubgraphPoolQuery = {
|
|
|
5757
5737
|
type?: string | null;
|
|
5758
5738
|
tokens?: Array<{
|
|
5759
5739
|
__typename?: 'PoolToken';
|
|
5760
|
-
address: string
|
|
5740
|
+
address: `0x${string}`;
|
|
5761
5741
|
name: string;
|
|
5762
5742
|
decimals: number;
|
|
5763
5743
|
symbol: string;
|
|
@@ -5771,7 +5751,7 @@ type SubgraphTokenFragment = {
|
|
|
5771
5751
|
__typename?: 'Token';
|
|
5772
5752
|
latestUSDPrice?: string | null;
|
|
5773
5753
|
latestUSDPriceTimestamp?: string | null;
|
|
5774
|
-
address: string
|
|
5754
|
+
address: `0x${string}`;
|
|
5775
5755
|
name?: string | null;
|
|
5776
5756
|
symbol?: string | null;
|
|
5777
5757
|
decimals: number;
|
|
@@ -5785,14 +5765,14 @@ type GetTokenQuery = {
|
|
|
5785
5765
|
__typename?: 'Token';
|
|
5786
5766
|
latestUSDPrice?: string | null;
|
|
5787
5767
|
latestUSDPriceTimestamp?: string | null;
|
|
5788
|
-
address: string
|
|
5768
|
+
address: `0x${string}`;
|
|
5789
5769
|
name?: string | null;
|
|
5790
5770
|
symbol?: string | null;
|
|
5791
5771
|
decimals: number;
|
|
5792
5772
|
} | null;
|
|
5793
5773
|
};
|
|
5794
5774
|
type GetTokensQueryVariables = Exact<{
|
|
5795
|
-
ids: Array<Scalars['
|
|
5775
|
+
ids: Array<Scalars['Bytes']['input']> | Scalars['Bytes']['input'];
|
|
5796
5776
|
}>;
|
|
5797
5777
|
type GetTokensQuery = {
|
|
5798
5778
|
__typename?: 'Query';
|
|
@@ -5800,7 +5780,7 @@ type GetTokensQuery = {
|
|
|
5800
5780
|
__typename?: 'Token';
|
|
5801
5781
|
latestUSDPrice?: string | null;
|
|
5802
5782
|
latestUSDPriceTimestamp?: string | null;
|
|
5803
|
-
address: string
|
|
5783
|
+
address: `0x${string}`;
|
|
5804
5784
|
name?: string | null;
|
|
5805
5785
|
symbol?: string | null;
|
|
5806
5786
|
decimals: number;
|
|
@@ -5826,7 +5806,7 @@ type GetDedupedSubgraphPoolsQuery = {
|
|
|
5826
5806
|
type?: string | null;
|
|
5827
5807
|
tokens?: Array<{
|
|
5828
5808
|
__typename?: 'PoolToken';
|
|
5829
|
-
address: string
|
|
5809
|
+
address: `0x${string}`;
|
|
5830
5810
|
name: string;
|
|
5831
5811
|
decimals: number;
|
|
5832
5812
|
symbol: string;
|