@lagoon-protocol/lagoon-mcp 0.5.0 → 0.7.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/README.md +72 -54
- package/dist/cache/index.d.ts +4 -1
- package/dist/cache/index.d.ts.map +1 -1
- package/dist/cache/index.js +4 -1
- package/dist/cache/index.js.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/core/container.js +1 -1
- package/dist/graphql/fragments/apr-breakdown.fragment.d.ts +4 -1
- package/dist/graphql/fragments/apr-breakdown.fragment.d.ts.map +1 -1
- package/dist/graphql/fragments/apr-breakdown.fragment.js +3 -0
- package/dist/graphql/fragments/apr-breakdown.fragment.js.map +1 -1
- package/dist/graphql/fragments/composition.fragment.d.ts +23 -134
- package/dist/graphql/fragments/composition.fragment.d.ts.map +1 -1
- package/dist/graphql/fragments/composition.fragment.js +9 -7
- package/dist/graphql/fragments/composition.fragment.js.map +1 -1
- package/dist/graphql/fragments/index.d.ts +1 -1
- package/dist/graphql/fragments/index.d.ts.map +1 -1
- package/dist/graphql/fragments/index.js +5 -4
- package/dist/graphql/fragments/index.js.map +1 -1
- package/dist/graphql/fragments/transaction-base.fragment.d.ts +1 -1
- package/dist/graphql/fragments/transaction-base.fragment.d.ts.map +1 -1
- package/dist/graphql/fragments/transaction-base.fragment.js +0 -1
- package/dist/graphql/fragments/transaction-base.fragment.js.map +1 -1
- package/dist/graphql/fragments/vault.fragment.d.ts +29 -1
- package/dist/graphql/fragments/vault.fragment.d.ts.map +1 -1
- package/dist/graphql/fragments/vault.fragment.js +29 -0
- package/dist/graphql/fragments/vault.fragment.js.map +1 -1
- package/dist/graphql/queries/composition.queries.d.ts +10 -28
- package/dist/graphql/queries/composition.queries.d.ts.map +1 -1
- package/dist/graphql/queries/composition.queries.js +17 -28
- package/dist/graphql/queries/composition.queries.js.map +1 -1
- package/dist/graphql/queries/discovery.queries.d.ts +50 -0
- package/dist/graphql/queries/discovery.queries.d.ts.map +1 -0
- package/dist/graphql/queries/discovery.queries.js +188 -0
- package/dist/graphql/queries/discovery.queries.js.map +1 -0
- package/dist/graphql/queries/export.queries.d.ts +5 -7
- package/dist/graphql/queries/export.queries.d.ts.map +1 -1
- package/dist/graphql/queries/export.queries.js +22 -28
- package/dist/graphql/queries/export.queries.js.map +1 -1
- package/dist/graphql/queries/index.d.ts +4 -3
- package/dist/graphql/queries/index.d.ts.map +1 -1
- package/dist/graphql/queries/index.js +5 -3
- package/dist/graphql/queries/index.js.map +1 -1
- package/dist/graphql/queries/performance.queries.d.ts +6 -4
- package/dist/graphql/queries/performance.queries.d.ts.map +1 -1
- package/dist/graphql/queries/performance.queries.js +5 -11
- package/dist/graphql/queries/performance.queries.js.map +1 -1
- package/dist/graphql/queries/portfolio.queries.d.ts +6 -12
- package/dist/graphql/queries/portfolio.queries.d.ts.map +1 -1
- package/dist/graphql/queries/portfolio.queries.js +21 -88
- package/dist/graphql/queries/portfolio.queries.js.map +1 -1
- package/dist/graphql/queries/prediction.queries.d.ts +13 -15
- package/dist/graphql/queries/prediction.queries.d.ts.map +1 -1
- package/dist/graphql/queries/prediction.queries.js +12 -31
- package/dist/graphql/queries/prediction.queries.js.map +1 -1
- package/dist/graphql/queries/risk.queries.d.ts +3 -3
- package/dist/graphql/queries/risk.queries.d.ts.map +1 -1
- package/dist/graphql/queries/risk.queries.js +7 -22
- package/dist/graphql/queries/risk.queries.js.map +1 -1
- package/dist/graphql/queries/search.queries.d.ts.map +1 -1
- package/dist/graphql/queries/search.queries.js +6 -2
- package/dist/graphql/queries/search.queries.js.map +1 -1
- package/dist/graphql/queries/transaction.queries.d.ts +6 -26
- package/dist/graphql/queries/transaction.queries.d.ts.map +1 -1
- package/dist/graphql/queries/transaction.queries.js +227 -59
- package/dist/graphql/queries/transaction.queries.js.map +1 -1
- package/dist/graphql/queries/vault.queries.d.ts +21 -3
- package/dist/graphql/queries/vault.queries.d.ts.map +1 -1
- package/dist/graphql/queries/vault.queries.js +38 -0
- package/dist/graphql/queries/vault.queries.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/services/analytics/risk.service.d.ts +52 -33
- package/dist/services/analytics/risk.service.d.ts.map +1 -1
- package/dist/services/analytics/risk.service.js +165 -155
- package/dist/services/analytics/risk.service.js.map +1 -1
- package/dist/tools/compare-vaults.d.ts.map +1 -1
- package/dist/tools/compare-vaults.js +50 -77
- package/dist/tools/compare-vaults.js.map +1 -1
- package/dist/tools/export-data.d.ts.map +1 -1
- package/dist/tools/export-data.js +10 -16
- package/dist/tools/export-data.js.map +1 -1
- package/dist/tools/get-asset.d.ts +17 -0
- package/dist/tools/get-asset.d.ts.map +1 -0
- package/dist/tools/get-asset.js +44 -0
- package/dist/tools/get-asset.js.map +1 -0
- package/dist/tools/get-curator.d.ts +13 -0
- package/dist/tools/get-curator.d.ts.map +1 -0
- package/dist/tools/get-curator.js +81 -0
- package/dist/tools/get-curator.js.map +1 -0
- package/dist/tools/get-global-tvl.d.ts +20 -0
- package/dist/tools/get-global-tvl.d.ts.map +1 -0
- package/dist/tools/get-global-tvl.js +38 -0
- package/dist/tools/get-global-tvl.js.map +1 -0
- package/dist/tools/get-historical-state.d.ts +22 -0
- package/dist/tools/get-historical-state.d.ts.map +1 -0
- package/dist/tools/get-historical-state.js +65 -0
- package/dist/tools/get-historical-state.js.map +1 -0
- package/dist/tools/get-indexing-status.d.ts +20 -0
- package/dist/tools/get-indexing-status.d.ts.map +1 -0
- package/dist/tools/get-indexing-status.js +38 -0
- package/dist/tools/get-indexing-status.js.map +1 -0
- package/dist/tools/get-price-history.d.ts.map +1 -1
- package/dist/tools/get-price-history.js +55 -63
- package/dist/tools/get-price-history.js.map +1 -1
- package/dist/tools/get-transactions.d.ts.map +1 -1
- package/dist/tools/get-transactions.js +3 -1
- package/dist/tools/get-transactions.js.map +1 -1
- package/dist/tools/list-chains.d.ts +16 -0
- package/dist/tools/list-chains.d.ts.map +1 -0
- package/dist/tools/list-chains.js +46 -0
- package/dist/tools/list-chains.js.map +1 -0
- package/dist/tools/list-curators.d.ts +18 -0
- package/dist/tools/list-curators.d.ts.map +1 -0
- package/dist/tools/list-curators.js +49 -0
- package/dist/tools/list-curators.js.map +1 -0
- package/dist/tools/optimize-portfolio.d.ts.map +1 -1
- package/dist/tools/optimize-portfolio.js +6 -17
- package/dist/tools/optimize-portfolio.js.map +1 -1
- package/dist/tools/predict-yield.d.ts.map +1 -1
- package/dist/tools/predict-yield.js +109 -11
- package/dist/tools/predict-yield.js.map +1 -1
- package/dist/tools/registry.d.ts.map +1 -1
- package/dist/tools/registry.js +83 -11
- package/dist/tools/registry.js.map +1 -1
- package/dist/tools/search-vaults.d.ts.map +1 -1
- package/dist/tools/search-vaults.js +9 -2
- package/dist/tools/search-vaults.js.map +1 -1
- package/dist/tools/simulate-vault.d.ts +1 -1
- package/dist/tools/user-portfolio.d.ts.map +1 -1
- package/dist/tools/user-portfolio.js +30 -51
- package/dist/tools/user-portfolio.js.map +1 -1
- package/dist/tools/vault-composition.d.ts +18 -15
- package/dist/tools/vault-composition.d.ts.map +1 -1
- package/dist/tools/vault-composition.js +71 -155
- package/dist/tools/vault-composition.js.map +1 -1
- package/dist/tools/vault-performance.d.ts.map +1 -1
- package/dist/tools/vault-performance.js +7 -19
- package/dist/tools/vault-performance.js.map +1 -1
- package/dist/types/generated.d.ts +1191 -21
- package/dist/types/generated.d.ts.map +1 -1
- package/dist/utils/comparison-metrics.d.ts +13 -1
- package/dist/utils/comparison-metrics.d.ts.map +1 -1
- package/dist/utils/comparison-metrics.js +29 -4
- package/dist/utils/comparison-metrics.js.map +1 -1
- package/dist/utils/composition-metrics.d.ts +42 -0
- package/dist/utils/composition-metrics.d.ts.map +1 -0
- package/dist/utils/composition-metrics.js +50 -0
- package/dist/utils/composition-metrics.js.map +1 -0
- package/dist/utils/csv-generator.d.ts +4 -1
- package/dist/utils/csv-generator.d.ts.map +1 -1
- package/dist/utils/csv-generator.js +8 -4
- package/dist/utils/csv-generator.js.map +1 -1
- package/dist/utils/fee-formatting.d.ts +41 -0
- package/dist/utils/fee-formatting.d.ts.map +1 -0
- package/dist/utils/fee-formatting.js +57 -0
- package/dist/utils/fee-formatting.js.map +1 -0
- package/dist/utils/operational-signals.d.ts +55 -0
- package/dist/utils/operational-signals.d.ts.map +1 -0
- package/dist/utils/operational-signals.js +105 -0
- package/dist/utils/operational-signals.js.map +1 -0
- package/dist/utils/tool-error-handler.d.ts.map +1 -1
- package/dist/utils/tool-error-handler.js +8 -6
- package/dist/utils/tool-error-handler.js.map +1 -1
- package/dist/utils/validators.d.ts +112 -3
- package/dist/utils/validators.d.ts.map +1 -1
- package/dist/utils/validators.js +108 -4
- package/dist/utils/validators.js.map +1 -1
- package/dist/utils/yield-prediction.d.ts +3 -0
- package/dist/utils/yield-prediction.d.ts.map +1 -1
- package/dist/utils/yield-prediction.js +13 -1
- package/dist/utils/yield-prediction.js.map +1 -1
- package/package.json +2 -2
- package/dist/graphql/fragments.d.ts +0 -183
- package/dist/graphql/fragments.d.ts.map +0 -1
- package/dist/graphql/fragments.js +0 -297
- package/dist/graphql/fragments.js.map +0 -1
- package/dist/graphql/queries/period-summaries.d.ts +0 -15
- package/dist/graphql/queries/period-summaries.d.ts.map +0 -1
- package/dist/graphql/queries/period-summaries.js +0 -24
- package/dist/graphql/queries/period-summaries.js.map +0 -1
- package/dist/services/analytics/protocol-overview.service.d.ts +0 -61
- package/dist/services/analytics/protocol-overview.service.d.ts.map +0 -1
- package/dist/services/analytics/protocol-overview.service.js +0 -182
- package/dist/services/analytics/protocol-overview.service.js.map +0 -1
- package/dist/tools/index.d.ts +0 -26
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/index.js +0 -32
- package/dist/tools/index.js.map +0 -1
|
@@ -53,6 +53,10 @@ export type Scalars = {
|
|
|
53
53
|
input: any;
|
|
54
54
|
output: any;
|
|
55
55
|
};
|
|
56
|
+
JSONObject: {
|
|
57
|
+
input: any;
|
|
58
|
+
output: any;
|
|
59
|
+
};
|
|
56
60
|
};
|
|
57
61
|
/** Annual Percentage Rate with various calculation methods */
|
|
58
62
|
export type ApRs = {
|
|
@@ -67,6 +71,26 @@ export type ApRs = {
|
|
|
67
71
|
linearNetAprWithoutExtraYields?: Maybe<Scalars['Float']['output']>;
|
|
68
72
|
/** List of native yields with their respective APR contributions for the corresponding period */
|
|
69
73
|
nativeYields: Array<NativeYield>;
|
|
74
|
+
/** Time-weighted gross APR before fees and excluding airdrops, computed from per-period total assets/supply (uses pre-fee gross supply) */
|
|
75
|
+
twrrGrossAprWithoutExtraYields?: Maybe<Scalars['Float']['output']>;
|
|
76
|
+
/** Time-weighted net APR including all rewards and after fees, computed from per-period total assets/supply */
|
|
77
|
+
twrrNetApr?: Maybe<Scalars['Float']['output']>;
|
|
78
|
+
/** Time-weighted net APR excluding airdrops after fees, computed from per-period total assets/supply */
|
|
79
|
+
twrrNetAprWithoutExtraYields?: Maybe<Scalars['Float']['output']>;
|
|
80
|
+
};
|
|
81
|
+
/** Determines whether the vault enforces a whitelist (deny-by-default) or a blacklist (allow-by-default). */
|
|
82
|
+
export type AccessMode =
|
|
83
|
+
/** Allow-by-default. Any address may interact with the vault unless it is explicitly blacklisted or hit by the external sanctions list. */
|
|
84
|
+
'Blacklist'
|
|
85
|
+
/** Deny-by-default. Only addresses present in the whitelist may interact with the vault. */
|
|
86
|
+
| 'Whitelist';
|
|
87
|
+
/** Emitted when the owner switches the vault between whitelist and blacklist access modes. */
|
|
88
|
+
export type AccessModeUpdated = {
|
|
89
|
+
__typename?: 'AccessModeUpdated';
|
|
90
|
+
/** New access mode. */
|
|
91
|
+
newMode: AccessMode;
|
|
92
|
+
/** The vault whose access mode changed. */
|
|
93
|
+
vault: Vault;
|
|
70
94
|
};
|
|
71
95
|
/** Represents an airdrop event with details about token distribution */
|
|
72
96
|
export type Airdrop = {
|
|
@@ -114,6 +138,18 @@ export type AirdropWithApr = {
|
|
|
114
138
|
/** Start timestamp of the yield */
|
|
115
139
|
startTimestamp: Scalars['Float']['output'];
|
|
116
140
|
};
|
|
141
|
+
/** ERC-20 Approval event on the vault share token. */
|
|
142
|
+
export type Approval = {
|
|
143
|
+
__typename?: 'Approval';
|
|
144
|
+
/** Address that owns the shares and authorizes the allowance. */
|
|
145
|
+
owner: Scalars['Address']['output'];
|
|
146
|
+
/** Address authorized to spend the owner shares. */
|
|
147
|
+
spender: Scalars['Address']['output'];
|
|
148
|
+
/** Allowance amount, in share units. */
|
|
149
|
+
value: Scalars['BigInt']['output'];
|
|
150
|
+
/** The vault whose share token allowance was updated. */
|
|
151
|
+
vault: Vault;
|
|
152
|
+
};
|
|
117
153
|
/** A vault asset */
|
|
118
154
|
export type Asset = {
|
|
119
155
|
__typename?: 'Asset';
|
|
@@ -171,6 +207,12 @@ export type AssetPage = {
|
|
|
171
207
|
/** Pagination information */
|
|
172
208
|
pageInfo: PageInfo;
|
|
173
209
|
};
|
|
210
|
+
/** Marker event emitted once when the owner irreversibly switches the vault to async-only mode. After this, SyncMode is forced to None and cannot be re-enabled. */
|
|
211
|
+
export type AsyncOnlyActivated = {
|
|
212
|
+
__typename?: 'AsyncOnlyActivated';
|
|
213
|
+
/** The vault that was switched to async-only. */
|
|
214
|
+
vault: Vault;
|
|
215
|
+
};
|
|
174
216
|
/** Current shares and assets balances of an address */
|
|
175
217
|
export type Balances = {
|
|
176
218
|
__typename?: 'Balances';
|
|
@@ -183,6 +225,36 @@ export type Balances = {
|
|
|
183
225
|
/** USD amount of shares */
|
|
184
226
|
sharesUsd?: Maybe<Scalars['Float']['output']>;
|
|
185
227
|
};
|
|
228
|
+
/** Emitted when a factory deploys a new beacon proxy vault. */
|
|
229
|
+
export type BeaconProxyDeployed = {
|
|
230
|
+
__typename?: 'BeaconProxyDeployed';
|
|
231
|
+
/** Address that triggered the deployment. */
|
|
232
|
+
deployer: Scalars['Address']['output'];
|
|
233
|
+
/** Address of the factory contract that emitted the event. */
|
|
234
|
+
factoryAddress: Scalars['Address']['output'];
|
|
235
|
+
/** Address of the newly deployed beacon proxy vault. */
|
|
236
|
+
proxy: Scalars['Address']['output'];
|
|
237
|
+
/** The newly deployed vault. */
|
|
238
|
+
vault: Vault;
|
|
239
|
+
};
|
|
240
|
+
/** A timestamped BigInt value. */
|
|
241
|
+
export type BigIntDataPoint = {
|
|
242
|
+
__typename?: 'BigIntDataPoint';
|
|
243
|
+
/** Unix timestamp in seconds. */
|
|
244
|
+
x: Scalars['Float']['output'];
|
|
245
|
+
/** Value at timestamp x. Null when the underlying column is unset. */
|
|
246
|
+
y?: Maybe<Scalars['BigInt']['output']>;
|
|
247
|
+
};
|
|
248
|
+
/** Emitted when the whitelist manager adds or removes an address from the blacklist. The blacklist is only consulted when AccessMode is Blacklist, but it can be mutated at any time. */
|
|
249
|
+
export type BlacklistUpdated = {
|
|
250
|
+
__typename?: 'BlacklistUpdated';
|
|
251
|
+
/** The account whose blacklist status changed. */
|
|
252
|
+
account: Scalars['Address']['output'];
|
|
253
|
+
/** True if the account was added to the blacklist, false if removed. */
|
|
254
|
+
blacklisted: Scalars['Boolean']['output'];
|
|
255
|
+
/** The vault whose blacklist was updated. */
|
|
256
|
+
vault: Vault;
|
|
257
|
+
};
|
|
186
258
|
/** Bundle */
|
|
187
259
|
export type Bundles = {
|
|
188
260
|
__typename?: 'Bundles';
|
|
@@ -232,6 +304,26 @@ export type ChainPage = {
|
|
|
232
304
|
/** Pagination information */
|
|
233
305
|
pageInfo: PageInfo;
|
|
234
306
|
};
|
|
307
|
+
/** Settled deposit request awaiting finalization, expressed in assets and shares at settlement, plus the actualized asset value at the current price per share */
|
|
308
|
+
export type ClaimableDepositRequest = {
|
|
309
|
+
__typename?: 'ClaimableDepositRequest';
|
|
310
|
+
/** Amount denominated in assets at the settlement price */
|
|
311
|
+
assets: Scalars['BigInt']['output'];
|
|
312
|
+
/** Asset value of the locked-in shares at the current price per share (what the claim is worth today) */
|
|
313
|
+
assetsActualized: Scalars['BigInt']['output'];
|
|
314
|
+
/** Amount denominated in shares (locked in at settlement — this is what will be minted when finalized) */
|
|
315
|
+
shares: Scalars['BigInt']['output'];
|
|
316
|
+
};
|
|
317
|
+
/** Complete vault composition data with protocol and token breakdowns */
|
|
318
|
+
export type CompositionData = {
|
|
319
|
+
__typename?: 'CompositionData';
|
|
320
|
+
/** Breakdown by protocol (e.g., Aave, Morpho, Wallet) */
|
|
321
|
+
compositions: Array<ProtocolComposition>;
|
|
322
|
+
/** Breakdown by token/position */
|
|
323
|
+
tokenCompositions: Array<TokenComposition>;
|
|
324
|
+
/** Total portfolio net worth in USD */
|
|
325
|
+
totalValueInUsd?: Maybe<Scalars['Float']['output']>;
|
|
326
|
+
};
|
|
235
327
|
/** A curator entity that manages vault assets */
|
|
236
328
|
export type Curator = {
|
|
237
329
|
__typename?: 'Curator';
|
|
@@ -269,9 +361,43 @@ export type CuratorPage = {
|
|
|
269
361
|
/** Pagination information */
|
|
270
362
|
pageInfo: PageInfo;
|
|
271
363
|
};
|
|
364
|
+
/** Emitted by the FeeRegistry when a per-vault protocol-rate override is set or activated. */
|
|
365
|
+
export type CustomRateUpdated = {
|
|
366
|
+
__typename?: 'CustomRateUpdated';
|
|
367
|
+
/** Whether the custom rate is currently activated for the target vault. When false, the registry default rate applies instead. */
|
|
368
|
+
isActivated: Scalars['Boolean']['output'];
|
|
369
|
+
/** The protocol registry that emitted this override. */
|
|
370
|
+
protocolRegistry: ProtocolRegistry;
|
|
371
|
+
/** Custom protocol rate applied to the target vault, in basis points (1 BPS = 0.01%). */
|
|
372
|
+
rate: Scalars['Int']['output'];
|
|
373
|
+
/** The target vault whose protocol rate is being overridden. */
|
|
374
|
+
targetVault: Vault;
|
|
375
|
+
};
|
|
376
|
+
/** Emitted when the FeeRegistry default implementation contract is changed. */
|
|
377
|
+
export type DefaultLogicUpdated = {
|
|
378
|
+
__typename?: 'DefaultLogicUpdated';
|
|
379
|
+
/** New default logic implementation address. */
|
|
380
|
+
newLogic: Scalars['Address']['output'];
|
|
381
|
+
/** Previous default logic implementation address. */
|
|
382
|
+
previousLogic: Scalars['Address']['output'];
|
|
383
|
+
/** The protocol registry whose default logic was updated. */
|
|
384
|
+
protocolRegistry: ProtocolRegistry;
|
|
385
|
+
};
|
|
386
|
+
/** Emitted when the FeeRegistry default protocol rate is changed. */
|
|
387
|
+
export type DefaultRateUpdated = {
|
|
388
|
+
__typename?: 'DefaultRateUpdated';
|
|
389
|
+
/** New default protocol rate, in basis points (1 BPS = 0.01%). */
|
|
390
|
+
newRate: Scalars['BigInt']['output'];
|
|
391
|
+
/** Previous default protocol rate, in basis points (1 BPS = 0.01%). */
|
|
392
|
+
oldRate: Scalars['BigInt']['output'];
|
|
393
|
+
/** The protocol registry whose default rate changed. */
|
|
394
|
+
protocolRegistry: ProtocolRegistry;
|
|
395
|
+
};
|
|
272
396
|
/** Defi integration */
|
|
273
397
|
export type DefiIntegration = {
|
|
274
398
|
__typename?: 'DefiIntegration';
|
|
399
|
+
/** Annual fee rate in basis points (e.g., 314 = 3.14%). Only available for insurance protocols. */
|
|
400
|
+
annualFee?: Maybe<Scalars['Float']['output']>;
|
|
275
401
|
/** Description of the protocol */
|
|
276
402
|
description: Scalars['String']['output'];
|
|
277
403
|
/** Link to the protocol */
|
|
@@ -280,15 +406,33 @@ export type DefiIntegration = {
|
|
|
280
406
|
logoUrl: Scalars['String']['output'];
|
|
281
407
|
/** Name of the protocol */
|
|
282
408
|
name: Scalars['String']['output'];
|
|
409
|
+
/** Protocol key */
|
|
410
|
+
protocol: Scalars['String']['output'];
|
|
283
411
|
/** Type of the defi integration */
|
|
284
412
|
type: DefiIntegrationType;
|
|
285
413
|
};
|
|
286
414
|
/** Type of the defi integration */
|
|
287
415
|
export type DefiIntegrationType =
|
|
416
|
+
/** Insurance protocol */
|
|
417
|
+
'INSURANCE'
|
|
288
418
|
/** Lending protocol */
|
|
289
|
-
'LENDING'
|
|
419
|
+
| 'LENDING'
|
|
290
420
|
/** Yield protocol */
|
|
291
421
|
| 'YIELD';
|
|
422
|
+
/** Emitted when a user claims a previously requested and settled deposit in the ERC7540 async flow — the pending assets are converted at the settled rate and shares are minted to the owner. */
|
|
423
|
+
export type Deposit = {
|
|
424
|
+
__typename?: 'Deposit';
|
|
425
|
+
/** Amount of assets deposited. */
|
|
426
|
+
assets: Scalars['BigInt']['output'];
|
|
427
|
+
/** The address that receives the newly minted shares. */
|
|
428
|
+
owner: Scalars['Address']['output'];
|
|
429
|
+
/** The address that called `deposit` — pays the assets into the vault. */
|
|
430
|
+
sender: Scalars['Address']['output'];
|
|
431
|
+
/** Amount of shares minted. */
|
|
432
|
+
shares: Scalars['BigInt']['output'];
|
|
433
|
+
/** The vault associated with the deposit */
|
|
434
|
+
vault: Vault;
|
|
435
|
+
};
|
|
292
436
|
/** Emitted when a deposit request happens. */
|
|
293
437
|
export type DepositRequest = {
|
|
294
438
|
__typename?: 'DepositRequest';
|
|
@@ -333,6 +477,225 @@ export type DepositSync = {
|
|
|
333
477
|
/** The vault associated with the deposit sync */
|
|
334
478
|
vault: Vault;
|
|
335
479
|
};
|
|
480
|
+
/** A registered external sanctions list contract that vaults can opt into. The list contract gates access on-chain alongside any per-vault whitelist or blacklist. */
|
|
481
|
+
export type ExternalSanctionsList = {
|
|
482
|
+
__typename?: 'ExternalSanctionsList';
|
|
483
|
+
/** Address of the external sanctions list contract */
|
|
484
|
+
address: Scalars['Address']['output'];
|
|
485
|
+
/** EVM chain ID where the sanctions list contract is deployed */
|
|
486
|
+
chainId: Scalars['Int']['output'];
|
|
487
|
+
/** Whether the entry is shown to end users in the frontend selector. Public queries always filter to true; non-visible rows are not exposed. */
|
|
488
|
+
isVisible: Scalars['Boolean']['output'];
|
|
489
|
+
/** Human-readable name of the provider (e.g., "Chainalysis") */
|
|
490
|
+
name: Scalars['String']['output'];
|
|
491
|
+
};
|
|
492
|
+
/** Filter input for ExternalSanctionsList */
|
|
493
|
+
export type ExternalSanctionsListFilterInput = {
|
|
494
|
+
/** Filter by chainId equal to value */
|
|
495
|
+
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
496
|
+
/** Filter by chainId in array of values */
|
|
497
|
+
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
498
|
+
};
|
|
499
|
+
/** Available fields to order ExternalSanctionsList by */
|
|
500
|
+
export type ExternalSanctionsListOrderBy =
|
|
501
|
+
/** Order by chainId */
|
|
502
|
+
'chainId'
|
|
503
|
+
/** Order by id */
|
|
504
|
+
| 'id'
|
|
505
|
+
/** Order by name */
|
|
506
|
+
| 'name';
|
|
507
|
+
/** The ExternalSanctionsList paginated response */
|
|
508
|
+
export type ExternalSanctionsListPage = {
|
|
509
|
+
__typename?: 'ExternalSanctionsListPage';
|
|
510
|
+
/** The list of items for the current page */
|
|
511
|
+
items: Array<ExternalSanctionsList>;
|
|
512
|
+
/** Pagination information */
|
|
513
|
+
pageInfo: PageInfo;
|
|
514
|
+
};
|
|
515
|
+
/** Emitted when the whitelist manager updates the external sanctions list oracle. The zero address means no external check is performed. */
|
|
516
|
+
export type ExternalSanctionsListUpdated = {
|
|
517
|
+
__typename?: 'ExternalSanctionsListUpdated';
|
|
518
|
+
/** New external sanctions list address. */
|
|
519
|
+
newExternalSanctionList: Scalars['Address']['output'];
|
|
520
|
+
/** Previous external sanctions list address. */
|
|
521
|
+
oldExternalSanctionList: Scalars['Address']['output'];
|
|
522
|
+
/** The vault whose sanctions list was updated. */
|
|
523
|
+
vault: Vault;
|
|
524
|
+
};
|
|
525
|
+
/** Emitted when the owner rotates the fee-receiver address. */
|
|
526
|
+
export type FeeReceiverUpdated = {
|
|
527
|
+
__typename?: 'FeeReceiverUpdated';
|
|
528
|
+
/** New fee-receiver address. */
|
|
529
|
+
newReceiver: Scalars['Address']['output'];
|
|
530
|
+
/** Previous fee-receiver address. */
|
|
531
|
+
oldReceiver: Scalars['Address']['output'];
|
|
532
|
+
/** The vault whose fee receiver was updated. */
|
|
533
|
+
vault: Vault;
|
|
534
|
+
};
|
|
535
|
+
/** Emitted every time the vault takes a fee. Carries the fee category, the total shares minted to cover the fee, the rate (BPS) that produced the amount, and the split between manager and protocol recipients. Starting with v0.6.0. */
|
|
536
|
+
export type FeeTaken = {
|
|
537
|
+
__typename?: 'FeeTaken';
|
|
538
|
+
/** The settleId of the producing settlement, or 0 when not relevant (e.g. fees charged on sync paths). */
|
|
539
|
+
contextId: Scalars['Int']['output'];
|
|
540
|
+
/** Which fee category was collected. */
|
|
541
|
+
feeType: FeeType;
|
|
542
|
+
/** Portion of the fee shares routed to the manager fee receiver. */
|
|
543
|
+
managerShares: Scalars['BigInt']['output'];
|
|
544
|
+
/** Portion of the fee shares routed to the protocol fee receiver. */
|
|
545
|
+
protocolShares: Scalars['BigInt']['output'];
|
|
546
|
+
/** Fee rate applied, expressed in basis points (1 BPS = 0.01%). */
|
|
547
|
+
rate: Scalars['Int']['output'];
|
|
548
|
+
/** Total shares minted to cover the fee. */
|
|
549
|
+
shares: Scalars['BigInt']['output'];
|
|
550
|
+
/** The vault associated with this fee. */
|
|
551
|
+
vault: Vault;
|
|
552
|
+
};
|
|
553
|
+
/** Category of fee collected by the vault. Carried on FeeTaken events so clients can disambiguate which fee rate produced a given deduction. */
|
|
554
|
+
export type FeeType =
|
|
555
|
+
/** Entry fee — charged on deposits. Deducted immediately on syncDeposit, at claim time for async deposits. */
|
|
556
|
+
'Entry'
|
|
557
|
+
/** Exit fee — charged on redemptions. Deducted immediately on syncRedeem, at claim time for async redemptions, at withdraw time for closed vaults. */
|
|
558
|
+
| 'Exit'
|
|
559
|
+
/** Management fee — accrues pro-rata on AUM since the last fee time. Taken during settlement. */
|
|
560
|
+
| 'Management'
|
|
561
|
+
/** Performance fee — charged on value appreciation above the high-water mark. Taken during settlement. */
|
|
562
|
+
| 'Performance';
|
|
563
|
+
/** A timestamped floating point value. */
|
|
564
|
+
export type FloatDataPoint = {
|
|
565
|
+
__typename?: 'FloatDataPoint';
|
|
566
|
+
/** Unix timestamp in seconds. */
|
|
567
|
+
x: Scalars['Float']['output'];
|
|
568
|
+
/** Value at timestamp x. Null when the underlying column is unset. */
|
|
569
|
+
y?: Maybe<Scalars['Float']['output']>;
|
|
570
|
+
};
|
|
571
|
+
/** Price-per-share evolution limits enforced. When activated, attempts to update newTotalAssets that would move PPS outside [lowerRate, upperRate] (scaled by time since the last valuation) are rejected. The security council can bypass this check via securityCouncilUpdateTotalAssets. */
|
|
572
|
+
export type Guardrails = {
|
|
573
|
+
__typename?: 'Guardrails';
|
|
574
|
+
/** Whether guardrails enforcement is currently active. When false, PPS updates bypass the [lowerRate, upperRate] check. */
|
|
575
|
+
activated: Scalars['Boolean']['output'];
|
|
576
|
+
/** Maximum allowed negative price-per-share drift per unit of time, expressed as a signed int256 rate in basis points per year (negative values permitted). */
|
|
577
|
+
lowerRate: Scalars['BigInt']['output'];
|
|
578
|
+
/** Maximum allowed positive price-per-share drift per unit of time, expressed as a uint256 rate in basis points per year. */
|
|
579
|
+
upperRate: Scalars['BigInt']['output'];
|
|
580
|
+
};
|
|
581
|
+
/** Emitted when the security council enables or disables guardrails enforcement. When deactivated, PPS updates bypass the [lowerRate, upperRate] check. */
|
|
582
|
+
export type GuardrailsStatusUpdated = {
|
|
583
|
+
__typename?: 'GuardrailsStatusUpdated';
|
|
584
|
+
/** Whether guardrails enforcement is now active. */
|
|
585
|
+
activated: Scalars['Boolean']['output'];
|
|
586
|
+
/** The vault whose guardrails activation changed. */
|
|
587
|
+
vault: Vault;
|
|
588
|
+
};
|
|
589
|
+
/** Emitted when the security council updates the price-per-share evolution limits. Rates are flattened to four BigInt fields rather than nested Guardrails objects because the activation flag lives on a separate GuardrailsStatusUpdated event. */
|
|
590
|
+
export type GuardrailsUpdated = {
|
|
591
|
+
__typename?: 'GuardrailsUpdated';
|
|
592
|
+
/** New maximum allowed negative PPS drift per unit of time. */
|
|
593
|
+
newLowerRate: Scalars['BigInt']['output'];
|
|
594
|
+
/** New maximum allowed positive PPS drift per unit of time. */
|
|
595
|
+
newUpperRate: Scalars['BigInt']['output'];
|
|
596
|
+
/** Previous maximum allowed negative PPS drift per unit of time. */
|
|
597
|
+
oldLowerRate: Scalars['BigInt']['output'];
|
|
598
|
+
/** Previous maximum allowed positive PPS drift per unit of time. */
|
|
599
|
+
oldUpperRate: Scalars['BigInt']['output'];
|
|
600
|
+
/** The vault whose guardrails were updated. */
|
|
601
|
+
vault: Vault;
|
|
602
|
+
};
|
|
603
|
+
/** Emitted on syncRedeem when a haircut is taken. The deducted shares are burned — they are not routed to any fee receiver, instead they redistribute value to remaining shareholders by reducing supply faster than assets. */
|
|
604
|
+
export type HaircutTaken = {
|
|
605
|
+
__typename?: 'HaircutTaken';
|
|
606
|
+
/** Address whose shares were haircut. */
|
|
607
|
+
owner: Scalars['Address']['output'];
|
|
608
|
+
/** Haircut rate applied, expressed in basis points (1 BPS = 0.01%). Capped at 2000 BPS (20%). */
|
|
609
|
+
rate: Scalars['Int']['output'];
|
|
610
|
+
/** Amount of shares burned as haircut. */
|
|
611
|
+
shares: Scalars['BigInt']['output'];
|
|
612
|
+
/** The vault associated with this haircut. */
|
|
613
|
+
vault: Vault;
|
|
614
|
+
};
|
|
615
|
+
/** Emitted when the high-water mark (used for performance fee accounting) is updated. */
|
|
616
|
+
export type HighWaterMarkUpdated = {
|
|
617
|
+
__typename?: 'HighWaterMarkUpdated';
|
|
618
|
+
/** New high-water mark value. */
|
|
619
|
+
newHighWaterMark: Scalars['BigInt']['output'];
|
|
620
|
+
/** Previous high-water mark value. */
|
|
621
|
+
oldHighWaterMark: Scalars['BigInt']['output'];
|
|
622
|
+
/** The vault whose high-water mark changed. */
|
|
623
|
+
vault: Vault;
|
|
624
|
+
};
|
|
625
|
+
/** Point-in-time reconstruction of a vault from onchain history. State metrics (totalAssets, pricing, USD values) are nullable when the underlying history row has a null column. Config fields (fees, roles, access mode, guardrails) are always populated from the nearest config-history row at or before `asOfTimestamp`. `maxCap: null` when the vault has no cap configured (MAX_UINT_256 sentinel). Some fields (curators, pending balances, safe balance, live APR) are not available on this type yet. */
|
|
626
|
+
export type HistoricalVaultState = {
|
|
627
|
+
__typename?: 'HistoricalVaultState';
|
|
628
|
+
/** Access control mode at `asOfTimestamp` (Whitelist / Blacklist). Pre-v0.6.0 history rows report Blacklist (contract default) as there is no reliable signal in the config row to distinguish legacy from explicitly-configured Blacklist. */
|
|
629
|
+
accessMode?: Maybe<AccessMode>;
|
|
630
|
+
/** Whether the vault allows resetting the high water mark. Immutable, set at deploy time. Defaults to false for vaults deployed before the on-chain flag existed. */
|
|
631
|
+
allowHighWaterMarkReset: Scalars['Boolean']['output'];
|
|
632
|
+
/** Entry fee rate in basis points at `asOfTimestamp`. Capped at 200 BPS (2%). Applied on deposits — immediately on syncDeposit, at claim time for async. Paid to the fee receiver. */
|
|
633
|
+
entryRate: Scalars['Float']['output'];
|
|
634
|
+
/** Exit fee rate in basis points at `asOfTimestamp`. Capped at 200 BPS (2%). Applied on redeems — immediately on syncRedeem, at claim time for async, at withdraw time for closed vaults. Paid to the fee receiver. */
|
|
635
|
+
exitRate: Scalars['Float']['output'];
|
|
636
|
+
/** Address of the external sanctions list oracle configured at `asOfTimestamp`. Defaults to the zero address when unset. */
|
|
637
|
+
externalSanctionsList: Scalars['String']['output'];
|
|
638
|
+
/** Minimum delay (seconds) between fee rate update and enforcement at `asOfTimestamp`. */
|
|
639
|
+
feeRatesCooldown?: Maybe<Scalars['BigInt']['output']>;
|
|
640
|
+
/** Price-per-share guardrails configuration and activation at `asOfTimestamp`. */
|
|
641
|
+
guardrails: Guardrails;
|
|
642
|
+
/** Haircut fee rate in basis points at `asOfTimestamp`. Capped at 2000 BPS (20%). Applied on syncRedeem after the exit fee, on the shares remaining after exit-fee deduction. Unlike entry/exit fees, the haircut is not paid to the fee receiver — the corresponding asset value is retained by the vault. Price-per-share is unchanged at the moment of the redeem, and the retained value accrues to remaining shareholders at the next valuation update. */
|
|
643
|
+
haircutRate: Scalars['Float']['output'];
|
|
644
|
+
/** Highest price per share ever reached as of `asOfTimestamp`. */
|
|
645
|
+
highWaterMark?: Maybe<Scalars['BigInt']['output']>;
|
|
646
|
+
/** Annualized return since inception, computed from period summaries with timestamp <= `asOfTimestamp`. */
|
|
647
|
+
inceptionApr?: Maybe<ApRs>;
|
|
648
|
+
/** Whether the vault had been irreversibly switched to async-only mode at `asOfTimestamp`. */
|
|
649
|
+
isAsyncOnly: Scalars['Boolean']['output'];
|
|
650
|
+
/** Whether the whitelist was activated at `asOfTimestamp`. */
|
|
651
|
+
isWhitelistActivated?: Maybe<Scalars['Boolean']['output']>;
|
|
652
|
+
/** Timestamp of the last fee calculation at `asOfTimestamp`. */
|
|
653
|
+
lastFeeTime?: Maybe<Scalars['BigInt']['output']>;
|
|
654
|
+
/** Effective management fee at `asOfTimestamp` (applies upcoming rates if newRatesTimestamp has elapsed). */
|
|
655
|
+
managementFee?: Maybe<Scalars['Float']['output']>;
|
|
656
|
+
/** Maximum total assets the vault could hold at `asOfTimestamp`, in asset units. Null when no cap was configured. */
|
|
657
|
+
maxCap?: Maybe<Scalars['BigInt']['output']>;
|
|
658
|
+
/** Trailing 30-day APR as of `asOfTimestamp`, computed from period summaries with timestamp <= `asOfTimestamp`. */
|
|
659
|
+
monthlyApr?: Maybe<ApRs>;
|
|
660
|
+
/** Timestamp at which the upcoming rates become effective, as configured at `asOfTimestamp`. */
|
|
661
|
+
newRatesTimestamp?: Maybe<Scalars['BigInt']['output']>;
|
|
662
|
+
/** New valuation proposed for the next settlement at `asOfTimestamp`. */
|
|
663
|
+
newTotalAssets?: Maybe<Scalars['BigInt']['output']>;
|
|
664
|
+
/** Effective performance fee at `asOfTimestamp` (applies upcoming rates if newRatesTimestamp has elapsed). */
|
|
665
|
+
performanceFee?: Maybe<Scalars['Float']['output']>;
|
|
666
|
+
/** Price per vault share in base units at `asOfTimestamp`. */
|
|
667
|
+
pricePerShare?: Maybe<Scalars['BigInt']['output']>;
|
|
668
|
+
/** Price per vault share in USD at `asOfTimestamp`. */
|
|
669
|
+
pricePerShareUsd?: Maybe<Scalars['Float']['output']>;
|
|
670
|
+
/** Protocol fee at `asOfTimestamp`. */
|
|
671
|
+
protocolFee?: Maybe<Scalars['Float']['output']>;
|
|
672
|
+
/** Vault access control roles at `asOfTimestamp`. */
|
|
673
|
+
roles: Roles;
|
|
674
|
+
/** Whether updates to the safe address had been irreversibly locked at `asOfTimestamp`. Once true, the safe address can no longer be changed. Pre-v0.6.0 vaults had no mechanism to change the safe address either, so they are reported as locked (true). */
|
|
675
|
+
safeLocked: Scalars['Boolean']['output'];
|
|
676
|
+
/** Vault lifecycle state (Open/Closing/Closed) at `asOfTimestamp`. */
|
|
677
|
+
state?: Maybe<State>;
|
|
678
|
+
/** Whether updates to the super operator role had been irreversibly locked at `asOfTimestamp`. Null when not applicable — the super operator role did not exist on pre-v0.6.0 vaults. Once true, the super operator can no longer be changed. */
|
|
679
|
+
superOperatorLocked?: Maybe<Scalars['Boolean']['output']>;
|
|
680
|
+
/** Which synchronous operations were allowed at `asOfTimestamp` (Both, SyncDeposit, SyncRedeem, None). */
|
|
681
|
+
syncMode: SyncMode;
|
|
682
|
+
/** Total assets under management in the vault at `asOfTimestamp`. */
|
|
683
|
+
totalAssets?: Maybe<Scalars['BigInt']['output']>;
|
|
684
|
+
/** Unix timestamp after which totalAssets was considered stale (as configured at `asOfTimestamp`). */
|
|
685
|
+
totalAssetsExpiration: Scalars['BigInt']['output'];
|
|
686
|
+
/** Total assets value in USD at `asOfTimestamp`. */
|
|
687
|
+
totalAssetsUsd?: Maybe<Scalars['Float']['output']>;
|
|
688
|
+
/** Total supply of vault shares at `asOfTimestamp`. */
|
|
689
|
+
totalSupply?: Maybe<Scalars['BigInt']['output']>;
|
|
690
|
+
/** Upcoming management fee rate at `asOfTimestamp`. */
|
|
691
|
+
upcomingManagementFee?: Maybe<Scalars['Float']['output']>;
|
|
692
|
+
/** Upcoming performance fee rate at `asOfTimestamp`. */
|
|
693
|
+
upcomingPerformanceFee?: Maybe<Scalars['Float']['output']>;
|
|
694
|
+
/** Trailing 7-day APR as of `asOfTimestamp`, computed from period summaries with timestamp <= `asOfTimestamp`. */
|
|
695
|
+
weeklyApr?: Maybe<ApRs>;
|
|
696
|
+
/** Trailing 365-day APR as of `asOfTimestamp`, computed from period summaries with timestamp <= `asOfTimestamp`. */
|
|
697
|
+
yearlyApr?: Maybe<ApRs>;
|
|
698
|
+
};
|
|
336
699
|
/** Incentives from incentive programs */
|
|
337
700
|
export type Incentive = {
|
|
338
701
|
__typename?: 'Incentive';
|
|
@@ -369,6 +732,28 @@ export type IncentiveRate = {
|
|
|
369
732
|
/** Amount of reference token required to obtain the amount of incentive */
|
|
370
733
|
referenceTokenAmount: Scalars['Float']['output'];
|
|
371
734
|
};
|
|
735
|
+
/** Last block on a chain from which an indexed event was ingested. Only blocks that emit a tracked event advance this value, so on low-activity chains it may lag behind the chain head even when indexing is healthy. An hourly health-check event guarantees the value advances at least once per hour. */
|
|
736
|
+
export type IndexedBlock = {
|
|
737
|
+
__typename?: 'IndexedBlock';
|
|
738
|
+
/** Network details (null if the chain is unknown) */
|
|
739
|
+
chain?: Maybe<Chain>;
|
|
740
|
+
/** Chain ID */
|
|
741
|
+
chainId: Scalars['Int']['output'];
|
|
742
|
+
/** Block hash */
|
|
743
|
+
hash: Scalars['HexString']['output'];
|
|
744
|
+
/** Block number of the most recent tracked event. Not updated for blocks that produce no tracked events, so this can trail the current chain head during quiet periods — an hourly health-check event bounds the lag to ~1 hour. */
|
|
745
|
+
number: Scalars['BigInt']['output'];
|
|
746
|
+
/** Parent block hash */
|
|
747
|
+
parentHash: Scalars['HexString']['output'];
|
|
748
|
+
};
|
|
749
|
+
/** Emitted on proxy initialization. Carries the contract version number used at initialization time — useful for audit and to correlate with implementation upgrades. */
|
|
750
|
+
export type Initialized = {
|
|
751
|
+
__typename?: 'Initialized';
|
|
752
|
+
/** The vault that was initialized. */
|
|
753
|
+
vault: Vault;
|
|
754
|
+
/** Contract version number at the moment of initialization. */
|
|
755
|
+
version: Scalars['BigInt']['output'];
|
|
756
|
+
};
|
|
372
757
|
/** A integrator entity that manages vault assets */
|
|
373
758
|
export type Integrator = {
|
|
374
759
|
__typename?: 'Integrator';
|
|
@@ -418,6 +803,70 @@ export type LiveApr = {
|
|
|
418
803
|
/** Live net APR */
|
|
419
804
|
netApr?: Maybe<Scalars['Float']['output']>;
|
|
420
805
|
};
|
|
806
|
+
/** A vault logic implementation available in a protocol registry. Identified by its onchain address per chain. */
|
|
807
|
+
export type Logic = {
|
|
808
|
+
__typename?: 'Logic';
|
|
809
|
+
/** Address of the logic implementation contract */
|
|
810
|
+
address: Scalars['Address']['output'];
|
|
811
|
+
/** Whether this logic implementation is visible to users in the Lagoon frontend. Configured per (chainId, address) in metadata.logic_implementations; defaults to false when no row exists. */
|
|
812
|
+
isVisible: Scalars['Boolean']['output'];
|
|
813
|
+
/** Lagoon version of this logic implementation (e.g. "v0.5.0"). Derived from the SDK address catalog. Null if the address does not match a known release. */
|
|
814
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
815
|
+
};
|
|
816
|
+
/** Emitted when a new implementation contract is whitelisted in the FeeRegistry. */
|
|
817
|
+
export type LogicAdded = {
|
|
818
|
+
__typename?: 'LogicAdded';
|
|
819
|
+
/** Address of the logic implementation that was whitelisted. */
|
|
820
|
+
logic: Scalars['Address']['output'];
|
|
821
|
+
/** The protocol registry that emitted the event. */
|
|
822
|
+
protocolRegistry: ProtocolRegistry;
|
|
823
|
+
};
|
|
824
|
+
/** Emitted when an implementation contract is removed from the FeeRegistry whitelist. */
|
|
825
|
+
export type LogicRemoved = {
|
|
826
|
+
__typename?: 'LogicRemoved';
|
|
827
|
+
/** Address of the logic implementation removed from the registry whitelist. */
|
|
828
|
+
logic: Scalars['Address']['output'];
|
|
829
|
+
/** The protocol registry that emitted the event. */
|
|
830
|
+
protocolRegistry: ProtocolRegistry;
|
|
831
|
+
};
|
|
832
|
+
/** Emitted when the safe updates the maximum total assets the vault can hold. Enforced on syncDeposit and requestDeposit. */
|
|
833
|
+
export type MaxCapUpdated = {
|
|
834
|
+
__typename?: 'MaxCapUpdated';
|
|
835
|
+
/** New max cap in asset units. */
|
|
836
|
+
maxCap: Scalars['BigInt']['output'];
|
|
837
|
+
/** Previous max cap in asset units. */
|
|
838
|
+
previousMaxCap: Scalars['BigInt']['output'];
|
|
839
|
+
/** The vault whose max cap was updated. */
|
|
840
|
+
vault: Vault;
|
|
841
|
+
};
|
|
842
|
+
/** Indexing status metadata */
|
|
843
|
+
export type Meta = {
|
|
844
|
+
__typename?: 'Meta';
|
|
845
|
+
/** Last indexed block per chain for the active integration */
|
|
846
|
+
lastIndexedBlocks: Array<IndexedBlock>;
|
|
847
|
+
};
|
|
848
|
+
export type Mutation = {
|
|
849
|
+
__typename?: 'Mutation';
|
|
850
|
+
/** Update off-chain metadata for a vault. Requires EIP-712 signature from the vault owner. */
|
|
851
|
+
updateVaultMetadata: Vault;
|
|
852
|
+
};
|
|
853
|
+
export type MutationUpdateVaultMetadataArgs = {
|
|
854
|
+
chainId: Scalars['Int']['input'];
|
|
855
|
+
deadline: Scalars['Int']['input'];
|
|
856
|
+
input: UpdateVaultMetadataInput;
|
|
857
|
+
signature: Scalars['String']['input'];
|
|
858
|
+
vaultAddress: Scalars['Address']['input'];
|
|
859
|
+
};
|
|
860
|
+
/** Emitted when the owner updates the ERC-20 token name. Note that wallets and explorers typically cache token metadata. */
|
|
861
|
+
export type NameUpdated = {
|
|
862
|
+
__typename?: 'NameUpdated';
|
|
863
|
+
/** New ERC-20 token name. */
|
|
864
|
+
newName: Scalars['String']['output'];
|
|
865
|
+
/** Previous ERC-20 token name. */
|
|
866
|
+
previousName: Scalars['String']['output'];
|
|
867
|
+
/** The vault whose name was updated. */
|
|
868
|
+
vault: Vault;
|
|
869
|
+
};
|
|
421
870
|
/** Native yields from underlying asset */
|
|
422
871
|
export type NativeYield = {
|
|
423
872
|
__typename?: 'NativeYield';
|
|
@@ -447,11 +896,21 @@ export type NewTotalAssetsUpdated = {
|
|
|
447
896
|
totalAssets: Scalars['BigInt']['output'];
|
|
448
897
|
/** The total value of all assets in the vault converted to USD */
|
|
449
898
|
totalAssetsUsd?: Maybe<Scalars['Float']['output']>;
|
|
450
|
-
/** The new total supply value. */
|
|
451
|
-
totalSupply: Scalars['BigInt']['output'];
|
|
452
899
|
/** The vault associated with the new total assets updated */
|
|
453
900
|
vault: Vault;
|
|
454
901
|
};
|
|
902
|
+
/** ERC-7540 event: a controller authorizes or revokes an operator to act on its behalf. */
|
|
903
|
+
export type OperatorSet = {
|
|
904
|
+
__typename?: 'OperatorSet';
|
|
905
|
+
/** Whether the operator is approved (true) or revoked (false) by the controller. */
|
|
906
|
+
approved: Scalars['Boolean']['output'];
|
|
907
|
+
/** The controller delegating execution authority (i.e. the principal granting or revoking the operator). */
|
|
908
|
+
controller: Scalars['Address']['output'];
|
|
909
|
+
/** The operator address being granted or revoked authorization to act on behalf of the controller. */
|
|
910
|
+
operator: Scalars['Address']['output'];
|
|
911
|
+
/** The vault on which the operator authorization was set. */
|
|
912
|
+
vault: Vault;
|
|
913
|
+
};
|
|
455
914
|
/** Vault Proxy */
|
|
456
915
|
export type OptinProxy = {
|
|
457
916
|
__typename?: 'OptinProxy';
|
|
@@ -478,6 +937,42 @@ export type OrderDirection =
|
|
|
478
937
|
'asc'
|
|
479
938
|
/** Sort results in descending order (Z to A, 9 to 0) */
|
|
480
939
|
| 'desc';
|
|
940
|
+
/** An owner entity that owns vault assets */
|
|
941
|
+
export type Owner = {
|
|
942
|
+
__typename?: 'Owner';
|
|
943
|
+
/** Descriptive text about the owner */
|
|
944
|
+
aboutDescription?: Maybe<Scalars['String']['output']>;
|
|
945
|
+
/** Unique identifier for the owner */
|
|
946
|
+
id: Scalars['ID']['output'];
|
|
947
|
+
/** Whether the owner is visible to users in the Lagoon frontend */
|
|
948
|
+
isVisible: Scalars['Boolean']['output'];
|
|
949
|
+
/** Logo image URL of the owner */
|
|
950
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
951
|
+
/** Name of the owner */
|
|
952
|
+
name: Scalars['String']['output'];
|
|
953
|
+
/** Website URL of the owner */
|
|
954
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
955
|
+
};
|
|
956
|
+
/** Emitted when ownership transfer is initiated (pending acceptance — 2-step Ownable2Step pattern). */
|
|
957
|
+
export type OwnershipTransferStarted = {
|
|
958
|
+
__typename?: 'OwnershipTransferStarted';
|
|
959
|
+
/** New owner address pending acceptance of ownership. */
|
|
960
|
+
newOwner: Scalars['Address']['output'];
|
|
961
|
+
/** Previous owner address (current owner initiating the transfer). */
|
|
962
|
+
previousOwner: Scalars['Address']['output'];
|
|
963
|
+
/** The vault whose ownership transfer was started. */
|
|
964
|
+
vault: Vault;
|
|
965
|
+
};
|
|
966
|
+
/** Emitted when ownership transfer is finalized (the pending owner has accepted). */
|
|
967
|
+
export type OwnershipTransferred = {
|
|
968
|
+
__typename?: 'OwnershipTransferred';
|
|
969
|
+
/** New vault owner address. */
|
|
970
|
+
newOwner: Scalars['Address']['output'];
|
|
971
|
+
/** Previous vault owner address. */
|
|
972
|
+
previousOwner: Scalars['Address']['output'];
|
|
973
|
+
/** The vault whose ownership was transferred. */
|
|
974
|
+
vault: Vault;
|
|
975
|
+
};
|
|
481
976
|
/** Pagination information for paginated query results */
|
|
482
977
|
export type PageInfo = {
|
|
483
978
|
__typename?: 'PageInfo';
|
|
@@ -494,6 +989,24 @@ export type PageInfo = {
|
|
|
494
989
|
/** Total number of items matching the filters (across all pages) */
|
|
495
990
|
totalCount: Scalars['Int']['output'];
|
|
496
991
|
};
|
|
992
|
+
/** Emitted when the vault is paused (no deposits/redemptions allowed). */
|
|
993
|
+
export type Paused = {
|
|
994
|
+
__typename?: 'Paused';
|
|
995
|
+
/** Account that triggered the pause. */
|
|
996
|
+
account: Scalars['Address']['output'];
|
|
997
|
+
/** The vault that was paused. */
|
|
998
|
+
vault: Vault;
|
|
999
|
+
};
|
|
1000
|
+
/** A user's pending redeem request awaiting settlement, with whether the user can still cancel it */
|
|
1001
|
+
export type PendingRedeemRequest = {
|
|
1002
|
+
__typename?: 'PendingRedeemRequest';
|
|
1003
|
+
/** Amount denominated in assets */
|
|
1004
|
+
assets: Scalars['BigInt']['output'];
|
|
1005
|
+
/** True when the user can still cancel this redeem request. Always false on pre-v0.6.0 vaults (cancelRedeemRequest entrypoint did not exist). The frontend should not re-derive this rule. */
|
|
1006
|
+
isCancelable: Scalars['Boolean']['output'];
|
|
1007
|
+
/** Amount denominated in shares */
|
|
1008
|
+
shares: Scalars['BigInt']['output'];
|
|
1009
|
+
};
|
|
497
1010
|
/** Period summaries are not events but are piece of data that summaries key vault metrics evolution. A period being a portion of time between two updates of TotalAssets. */
|
|
498
1011
|
export type PeriodSummary = {
|
|
499
1012
|
__typename?: 'PeriodSummary';
|
|
@@ -512,6 +1025,20 @@ export type PeriodSummary = {
|
|
|
512
1025
|
/** The vault associated with the period summary */
|
|
513
1026
|
vault: Vault;
|
|
514
1027
|
};
|
|
1028
|
+
/** Emitted at vault initialization when pre-minted shares are sent to the safe. */
|
|
1029
|
+
export type PreMint = {
|
|
1030
|
+
__typename?: 'PreMint';
|
|
1031
|
+
/** Seed assets virtually deposited into the vault. */
|
|
1032
|
+
assets: Scalars['BigInt']['output'];
|
|
1033
|
+
/** Address that receives the pre-minted shares (typically the safe). */
|
|
1034
|
+
receiver: Scalars['Address']['output'];
|
|
1035
|
+
/** Address that provided the seed assets. */
|
|
1036
|
+
sender: Scalars['Address']['output'];
|
|
1037
|
+
/** Shares minted to the receiver. */
|
|
1038
|
+
shares: Scalars['BigInt']['output'];
|
|
1039
|
+
/** The vault that emitted the pre-mint. */
|
|
1040
|
+
vault: Vault;
|
|
1041
|
+
};
|
|
515
1042
|
/** If activated, the curator want to prevent users from requesting redemption */
|
|
516
1043
|
export type PreventWithdraw = {
|
|
517
1044
|
__typename?: 'PreventWithdraw';
|
|
@@ -520,8 +1047,62 @@ export type PreventWithdraw = {
|
|
|
520
1047
|
/** Description of the reason why the curator want to prevent withdraw */
|
|
521
1048
|
description: Scalars['String']['output'];
|
|
522
1049
|
};
|
|
1050
|
+
/** Protocol allocation within a vault composition */
|
|
1051
|
+
export type ProtocolComposition = {
|
|
1052
|
+
__typename?: 'ProtocolComposition';
|
|
1053
|
+
/** Detail breakdown for grouped items (e.g., "Other" category contains small allocations) */
|
|
1054
|
+
details?: Maybe<Array<ProtocolComposition>>;
|
|
1055
|
+
/** Protocol logo URL (from Octav) */
|
|
1056
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
1057
|
+
/** Name of the protocol (e.g., "Aave", "Compound", "Morpho") */
|
|
1058
|
+
protocol: Scalars['String']['output'];
|
|
1059
|
+
/** Percentage of total vault value (0-100) */
|
|
1060
|
+
repartition: Scalars['Float']['output'];
|
|
1061
|
+
/** Value deployed to this protocol in USD */
|
|
1062
|
+
valueInUsd: Scalars['Float']['output'];
|
|
1063
|
+
};
|
|
1064
|
+
/** Emitted when the FeeRegistry protocol-fee receiver is rotated. */
|
|
1065
|
+
export type ProtocolFeeReceiverUpdated = {
|
|
1066
|
+
__typename?: 'ProtocolFeeReceiverUpdated';
|
|
1067
|
+
/** New protocol-fee receiver address. */
|
|
1068
|
+
newReceiver: Scalars['Address']['output'];
|
|
1069
|
+
/** Previous protocol-fee receiver address. */
|
|
1070
|
+
oldReceiver: Scalars['Address']['output'];
|
|
1071
|
+
/** The protocol registry whose fee receiver was rotated. */
|
|
1072
|
+
protocolRegistry: ProtocolRegistry;
|
|
1073
|
+
};
|
|
1074
|
+
/** A Lagoon protocol registry. Exposes the current onchain state derived from registry events (default logic, available logics, default rate, protocol fee receiver). */
|
|
1075
|
+
export type ProtocolRegistry = {
|
|
1076
|
+
__typename?: 'ProtocolRegistry';
|
|
1077
|
+
/** Address of the registry contract */
|
|
1078
|
+
address: Scalars['Address']['output'];
|
|
1079
|
+
/** Set of logic implementations currently available on the registry (added but not subsequently removed). */
|
|
1080
|
+
availableLogics: Array<Logic>;
|
|
1081
|
+
/** The network where the registry is deployed. Null if the chain is not in the metadata catalog. */
|
|
1082
|
+
chain?: Maybe<Chain>;
|
|
1083
|
+
/** The current default logic implementation used by new proxies, derived from the latest DefaultLogicUpdated event. */
|
|
1084
|
+
defaultLogic?: Maybe<Logic>;
|
|
1085
|
+
/** The current default rate applied by the registry, in basis points (1 BPS = 0.01%). Derived from the latest DefaultRateUpdated event. Null if never set. */
|
|
1086
|
+
defaultRate?: Maybe<Scalars['Int']['output']>;
|
|
1087
|
+
/** The current protocol fee receiver, derived from the latest ProtocolFeeReceiverUpdated event. Null if never set. */
|
|
1088
|
+
protocolFeeReceiver?: Maybe<Scalars['Address']['output']>;
|
|
1089
|
+
};
|
|
1090
|
+
/** Emitted when a factory deploys a new vault proxy. */
|
|
1091
|
+
export type ProxyDeployed = {
|
|
1092
|
+
__typename?: 'ProxyDeployed';
|
|
1093
|
+
/** Address that triggered the deployment. */
|
|
1094
|
+
deployer: Scalars['Address']['output'];
|
|
1095
|
+
/** Address of the factory contract that emitted the event. */
|
|
1096
|
+
factoryAddress: Scalars['Address']['output'];
|
|
1097
|
+
/** Address of the newly deployed vault proxy. */
|
|
1098
|
+
proxy: Scalars['Address']['output'];
|
|
1099
|
+
/** The newly deployed vault. */
|
|
1100
|
+
vault: Vault;
|
|
1101
|
+
};
|
|
523
1102
|
export type Query = {
|
|
524
1103
|
__typename?: 'Query';
|
|
1104
|
+
/** Indexing status metadata */
|
|
1105
|
+
_meta: Meta;
|
|
525
1106
|
/** Find a Asset entity by address and chain id */
|
|
526
1107
|
assetByAddress: Asset;
|
|
527
1108
|
/** Retrieve paginated list of Asset entities with optional filtering and sorting */
|
|
@@ -534,12 +1115,18 @@ export type Query = {
|
|
|
534
1115
|
curator: Curator;
|
|
535
1116
|
/** Retrieve paginated list of Curator entities with optional filtering and sorting */
|
|
536
1117
|
curators: CuratorPage;
|
|
1118
|
+
/** Retrieve paginated list of ExternalSanctionsList entities with optional filtering and sorting */
|
|
1119
|
+
externalSanctionsLists: ExternalSanctionsListPage;
|
|
537
1120
|
/** Get the global TVL for all Lagoon vaults from DeFiLlama */
|
|
538
1121
|
getGlobalTVL: Scalars['Float']['output'];
|
|
539
1122
|
/** Find a single Integrator entity by its unique identifier */
|
|
540
1123
|
integrator: Integrator;
|
|
541
1124
|
/** Retrieve paginated list of Integrator entities with optional filtering and sorting */
|
|
542
1125
|
integrators: IntegratorPage;
|
|
1126
|
+
/** List all known Lagoon protocol registries. Optionally filter by one or more chain ids. */
|
|
1127
|
+
protocolRegistries: Array<ProtocolRegistry>;
|
|
1128
|
+
/** Find a ProtocolRegistry entity by chain id */
|
|
1129
|
+
protocolRegistryByChainId?: Maybe<ProtocolRegistry>;
|
|
543
1130
|
/** Retrieve paginated list of Transaction entities with optional filtering and sorting */
|
|
544
1131
|
transactions: TransactionPage;
|
|
545
1132
|
/** Find a user by their address and chain ID */
|
|
@@ -548,9 +1135,17 @@ export type Query = {
|
|
|
548
1135
|
users: UserPage;
|
|
549
1136
|
/** Find a Vault entity by address and chain id */
|
|
550
1137
|
vaultByAddress: Vault;
|
|
1138
|
+
/**
|
|
1139
|
+
* Fetch raw composition data from Octav API for a wallet address
|
|
1140
|
+
* @deprecated Use the `composition` field on `Vault` instead. This query returns untyped raw JSON and will be removed in a future release.
|
|
1141
|
+
*/
|
|
1142
|
+
vaultComposition?: Maybe<Scalars['JSONObject']['output']>;
|
|
551
1143
|
/** Retrieve paginated list of Vault entities with optional filtering and sorting */
|
|
552
1144
|
vaults: VaultPage;
|
|
553
1145
|
};
|
|
1146
|
+
export type QueryMetaArgs = {
|
|
1147
|
+
chainIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1148
|
+
};
|
|
554
1149
|
export type QueryAssetByAddressArgs = {
|
|
555
1150
|
address: Scalars['Address']['input'];
|
|
556
1151
|
chainId: Scalars['Int']['input'];
|
|
@@ -582,6 +1177,13 @@ export type QueryCuratorsArgs = {
|
|
|
582
1177
|
skip?: Scalars['Int']['input'];
|
|
583
1178
|
where?: InputMaybe<CuratorFilterInput>;
|
|
584
1179
|
};
|
|
1180
|
+
export type QueryExternalSanctionsListsArgs = {
|
|
1181
|
+
first?: Scalars['Int']['input'];
|
|
1182
|
+
orderBy?: ExternalSanctionsListOrderBy;
|
|
1183
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1184
|
+
skip?: Scalars['Int']['input'];
|
|
1185
|
+
where?: InputMaybe<ExternalSanctionsListFilterInput>;
|
|
1186
|
+
};
|
|
585
1187
|
export type QueryIntegratorArgs = {
|
|
586
1188
|
id: Scalars['ID']['input'];
|
|
587
1189
|
};
|
|
@@ -592,6 +1194,12 @@ export type QueryIntegratorsArgs = {
|
|
|
592
1194
|
skip?: Scalars['Int']['input'];
|
|
593
1195
|
where?: InputMaybe<IntegratorFilterInput>;
|
|
594
1196
|
};
|
|
1197
|
+
export type QueryProtocolRegistriesArgs = {
|
|
1198
|
+
chainIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1199
|
+
};
|
|
1200
|
+
export type QueryProtocolRegistryByChainIdArgs = {
|
|
1201
|
+
chainId: Scalars['Int']['input'];
|
|
1202
|
+
};
|
|
595
1203
|
export type QueryTransactionsArgs = {
|
|
596
1204
|
first?: Scalars['Int']['input'];
|
|
597
1205
|
orderBy?: TransactionOrderBy;
|
|
@@ -614,16 +1222,27 @@ export type QueryVaultByAddressArgs = {
|
|
|
614
1222
|
address: Scalars['Address']['input'];
|
|
615
1223
|
chainId: Scalars['Int']['input'];
|
|
616
1224
|
};
|
|
1225
|
+
export type QueryVaultCompositionArgs = {
|
|
1226
|
+
walletAddress: Scalars['Address']['input'];
|
|
1227
|
+
};
|
|
617
1228
|
export type QueryVaultsArgs = {
|
|
1229
|
+
entityIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
618
1230
|
first?: Scalars['Int']['input'];
|
|
619
1231
|
orderBy?: VaultOrderBy;
|
|
620
1232
|
orderDirection?: InputMaybe<OrderDirection>;
|
|
1233
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
621
1234
|
skip?: Scalars['Int']['input'];
|
|
622
1235
|
where?: InputMaybe<VaultFilterInput>;
|
|
623
1236
|
};
|
|
624
|
-
/**
|
|
1237
|
+
/** Fee rates for the vault, all expressed in basis points (1 BPS = 0.01%). Management and performance rates are staged via newRatesTimestamp/feeRatesCooldown; entry, exit, and haircut rates are applied immediately with no cooldown. */
|
|
625
1238
|
export type Rates = {
|
|
626
1239
|
__typename?: 'Rates';
|
|
1240
|
+
/** Entry fee rate in basis points. Capped at 200 BPS (2%). Applied to shares on deposit — immediately on syncDeposit, at claim time for async deposits. Can only decrease after first initialization. */
|
|
1241
|
+
entryRate: Scalars['Float']['output'];
|
|
1242
|
+
/** Exit fee rate in basis points. Capped at 200 BPS (2%). Applied to shares on redeem — immediately on syncRedeem, at claim time for async redeems, at withdraw time for closed vaults. Can only decrease after first initialization. */
|
|
1243
|
+
exitRate: Scalars['Float']['output'];
|
|
1244
|
+
/** Haircut fee rate in basis points. Capped at 2000 BPS (20%). Applied only on syncRedeem, after the exit fee. Haircut shares are burned (not sent to the fee receiver), redistributing value to remaining shareholders. */
|
|
1245
|
+
haircutRate: Scalars['Float']['output'];
|
|
627
1246
|
/** Management fee rate in basis points. */
|
|
628
1247
|
managementRate: Scalars['Float']['output'];
|
|
629
1248
|
/** Performance fee rate in basis points. */
|
|
@@ -659,6 +1278,18 @@ export type RedeemRequest = {
|
|
|
659
1278
|
/** The vault associated with the redeem request */
|
|
660
1279
|
vault: Vault;
|
|
661
1280
|
};
|
|
1281
|
+
/** Emitted when a redemption request is canceled. */
|
|
1282
|
+
export type RedeemRequestCanceled = {
|
|
1283
|
+
__typename?: 'RedeemRequestCanceled';
|
|
1284
|
+
/** The controller of the canceled request. */
|
|
1285
|
+
controller: Scalars['Address']['output'];
|
|
1286
|
+
/** The id of the redeem request canceled. */
|
|
1287
|
+
requestId: Scalars['BigInt']['output'];
|
|
1288
|
+
/** The share amount that had been requested for redemption and is now refunded to the controller. */
|
|
1289
|
+
requestedAmount: Scalars['BigInt']['output'];
|
|
1290
|
+
/** The vault associated with this redeem request cancellation. */
|
|
1291
|
+
vault: Vault;
|
|
1292
|
+
};
|
|
662
1293
|
/** Referral program configuration with visibility settings and commission shares */
|
|
663
1294
|
export type Referral = {
|
|
664
1295
|
__typename?: 'Referral';
|
|
@@ -671,6 +1302,20 @@ export type Referral = {
|
|
|
671
1302
|
/** Whether the referral program is visible and active */
|
|
672
1303
|
visible: Scalars['Boolean']['output'];
|
|
673
1304
|
};
|
|
1305
|
+
/** Emitted when a deposit request is tagged with a referrer address. */
|
|
1306
|
+
export type ReferralEvent = {
|
|
1307
|
+
__typename?: 'ReferralEvent';
|
|
1308
|
+
/** The amount of assets associated with the referred deposit request. */
|
|
1309
|
+
assets: Scalars['BigInt']['output'];
|
|
1310
|
+
/** The owner of the deposit request that is being referred. */
|
|
1311
|
+
owner: Scalars['Address']['output'];
|
|
1312
|
+
/** The referrer address credited for the deposit request. */
|
|
1313
|
+
referral: Scalars['Address']['output'];
|
|
1314
|
+
/** The id of the deposit request that the referral is attached to. */
|
|
1315
|
+
requestId: Scalars['BigInt']['output'];
|
|
1316
|
+
/** The vault associated with this referral event. */
|
|
1317
|
+
vault: Vault;
|
|
1318
|
+
};
|
|
674
1319
|
/** Vault Roles */
|
|
675
1320
|
export type Roles = {
|
|
676
1321
|
__typename?: 'Roles';
|
|
@@ -680,11 +1325,43 @@ export type Roles = {
|
|
|
680
1325
|
owner: Scalars['String']['output'];
|
|
681
1326
|
/** The fund custody contract address associated with this lagoon vault */
|
|
682
1327
|
safe: Scalars['String']['output'];
|
|
1328
|
+
/** Address allowed to force a totalAssets update bypassing guardrails and to manage guardrails configuration/activation. Defaults to the zero address when unset. */
|
|
1329
|
+
securityCouncil: Scalars['String']['output'];
|
|
1330
|
+
/** Address allowed to act on behalf of any controller for deposit/mint/redeem/withdraw/requestRedeem/cancelRequestDeposit. Bypasses access checks. Defaults to the zero address when unset. */
|
|
1331
|
+
superOperator: Scalars['String']['output'];
|
|
683
1332
|
/** The address responsible for updating the newTotalAssets value of the vault */
|
|
684
1333
|
valuationManager: Scalars['String']['output'];
|
|
685
1334
|
/** The address responsible for managing the whitelist of permissioned vaults */
|
|
686
1335
|
whitelistManager: Scalars['String']['output'];
|
|
687
1336
|
};
|
|
1337
|
+
/** Emitted when the safe address is irreversibly locked — it can never be rotated again. */
|
|
1338
|
+
export type SafeLocked = {
|
|
1339
|
+
__typename?: 'SafeLocked';
|
|
1340
|
+
/** The safe address that is now permanently locked. */
|
|
1341
|
+
safe: Scalars['Address']['output'];
|
|
1342
|
+
/** The vault whose safe was locked. */
|
|
1343
|
+
vault: Vault;
|
|
1344
|
+
};
|
|
1345
|
+
/** Emitted when the safe (fund custody address) is rotated. */
|
|
1346
|
+
export type SafeUpdated = {
|
|
1347
|
+
__typename?: 'SafeUpdated';
|
|
1348
|
+
/** New safe address. */
|
|
1349
|
+
newSafe: Scalars['Address']['output'];
|
|
1350
|
+
/** Previous safe address. */
|
|
1351
|
+
oldSafe: Scalars['Address']['output'];
|
|
1352
|
+
/** The vault whose safe was updated. */
|
|
1353
|
+
vault: Vault;
|
|
1354
|
+
};
|
|
1355
|
+
/** Emitted when the owner assigns or rotates the security council. The zero address means no security council is configured. */
|
|
1356
|
+
export type SecurityCouncilUpdated = {
|
|
1357
|
+
__typename?: 'SecurityCouncilUpdated';
|
|
1358
|
+
/** New security council address. */
|
|
1359
|
+
newSecurityCouncil: Scalars['Address']['output'];
|
|
1360
|
+
/** Previous security council address. */
|
|
1361
|
+
oldSecurityCouncil: Scalars['Address']['output'];
|
|
1362
|
+
/** The vault whose security council was updated. */
|
|
1363
|
+
vault: Vault;
|
|
1364
|
+
};
|
|
688
1365
|
/**
|
|
689
1366
|
* Emitted only when assets are deposited into the safe, in the following sequence:
|
|
690
1367
|
* * After the `TotalAssetsUpdated` event
|
|
@@ -757,6 +1434,101 @@ export type StateUpdated = {
|
|
|
757
1434
|
/** The vault associated with this state update. */
|
|
758
1435
|
vault: Vault;
|
|
759
1436
|
};
|
|
1437
|
+
/** Emitted when the super operator address is irreversibly locked. */
|
|
1438
|
+
export type SuperOperatorLocked = {
|
|
1439
|
+
__typename?: 'SuperOperatorLocked';
|
|
1440
|
+
/** The super operator address that was irreversibly locked. */
|
|
1441
|
+
superOperator: Scalars['Address']['output'];
|
|
1442
|
+
/** The vault whose super operator was locked. */
|
|
1443
|
+
vault: Vault;
|
|
1444
|
+
};
|
|
1445
|
+
/** Emitted when the owner assigns or rotates the super operator. The zero address means no super operator is configured. */
|
|
1446
|
+
export type SuperOperatorUpdated = {
|
|
1447
|
+
__typename?: 'SuperOperatorUpdated';
|
|
1448
|
+
/** New super operator address. */
|
|
1449
|
+
newSuperOperator: Scalars['Address']['output'];
|
|
1450
|
+
/** Previous super operator address. */
|
|
1451
|
+
oldSuperOperator: Scalars['Address']['output'];
|
|
1452
|
+
/** The vault whose super operator was updated. */
|
|
1453
|
+
vault: Vault;
|
|
1454
|
+
};
|
|
1455
|
+
/** Emitted when the owner updates the ERC-20 token symbol. Note that wallets and explorers typically cache token metadata. */
|
|
1456
|
+
export type SymbolUpdated = {
|
|
1457
|
+
__typename?: 'SymbolUpdated';
|
|
1458
|
+
/** New ERC-20 token symbol. */
|
|
1459
|
+
newSymbol: Scalars['String']['output'];
|
|
1460
|
+
/** Previous ERC-20 token symbol. */
|
|
1461
|
+
previousSymbol: Scalars['String']['output'];
|
|
1462
|
+
/** The vault whose symbol was updated. */
|
|
1463
|
+
vault: Vault;
|
|
1464
|
+
};
|
|
1465
|
+
/** Controls which synchronous operations are currently allowed on the vault. Orthogonal to async request/claim, which is always available. */
|
|
1466
|
+
export type SyncMode =
|
|
1467
|
+
/** Both synchronous deposits and redemptions are enabled. */
|
|
1468
|
+
'Both'
|
|
1469
|
+
/** No synchronous operations are enabled; deposits and redemptions must go through the async request/claim flow. */
|
|
1470
|
+
| 'None'
|
|
1471
|
+
/** Only synchronous deposits are enabled; redemptions must go through the async request/claim flow. */
|
|
1472
|
+
| 'SyncDeposit'
|
|
1473
|
+
/** Only synchronous redemptions are enabled; deposits must go through the async request/claim flow. */
|
|
1474
|
+
| 'SyncRedeem';
|
|
1475
|
+
/** Emitted when the safe updates which synchronous operations are allowed on the vault. */
|
|
1476
|
+
export type SyncModeUpdated = {
|
|
1477
|
+
__typename?: 'SyncModeUpdated';
|
|
1478
|
+
/** Sync mode after the update. */
|
|
1479
|
+
newMode: SyncMode;
|
|
1480
|
+
/** Sync mode before the update. */
|
|
1481
|
+
oldMode: SyncMode;
|
|
1482
|
+
/** The vault whose sync mode changed. */
|
|
1483
|
+
vault: Vault;
|
|
1484
|
+
};
|
|
1485
|
+
/** Inclusive Unix timestamp range (seconds) to bound a historical query. When omitted, the server picks a sensible default per field. */
|
|
1486
|
+
export type TimeRangeOptions = {
|
|
1487
|
+
/** Upper bound (inclusive) of the query range, as Unix timestamp in seconds. */
|
|
1488
|
+
endTimestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1489
|
+
/** Lower bound (inclusive) of the query range, as Unix timestamp in seconds. */
|
|
1490
|
+
startTimestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1491
|
+
};
|
|
1492
|
+
/** Token or position allocation within a vault composition */
|
|
1493
|
+
export type TokenComposition = {
|
|
1494
|
+
__typename?: 'TokenComposition';
|
|
1495
|
+
/** Chain identifier (e.g., "ethereum", "base") */
|
|
1496
|
+
chainKey: Scalars['String']['output'];
|
|
1497
|
+
/** Contract address of the token (empty string if not applicable) */
|
|
1498
|
+
contract: Scalars['String']['output'];
|
|
1499
|
+
/** Detail breakdown for grouped items (e.g., "Wallet" or "Other" categories) */
|
|
1500
|
+
details?: Maybe<Array<TokenComposition>>;
|
|
1501
|
+
/** Logo URL. For positions this is the protocol logo; for wallet tokens this is the token logo. */
|
|
1502
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
1503
|
+
/** Full name of the token or position */
|
|
1504
|
+
name: Scalars['String']['output'];
|
|
1505
|
+
/** Percentage of total vault value (0-100) */
|
|
1506
|
+
repartition: Scalars['Float']['output'];
|
|
1507
|
+
/** Token symbol (e.g., "USDC", "ETH") or position name */
|
|
1508
|
+
symbol: Scalars['String']['output'];
|
|
1509
|
+
/** Value of this token/position in USD */
|
|
1510
|
+
valueInUsd: Scalars['Float']['output'];
|
|
1511
|
+
};
|
|
1512
|
+
/** Emitted when the timestamp after which totalAssets is considered stale changes. */
|
|
1513
|
+
export type TotalAssetsExpirationUpdated = {
|
|
1514
|
+
__typename?: 'TotalAssetsExpirationUpdated';
|
|
1515
|
+
/** New expiration unix timestamp. */
|
|
1516
|
+
newExpiration: Scalars['BigInt']['output'];
|
|
1517
|
+
/** Previous expiration unix timestamp. */
|
|
1518
|
+
oldExpiration: Scalars['BigInt']['output'];
|
|
1519
|
+
/** The vault whose totalAssets expiration changed. */
|
|
1520
|
+
vault: Vault;
|
|
1521
|
+
};
|
|
1522
|
+
/** Legacy pre-v0.6.0 event for the totalAssets lifespan parameter (superseded by TotalAssetsExpirationUpdated). */
|
|
1523
|
+
export type TotalAssetsLifespanUpdated = {
|
|
1524
|
+
__typename?: 'TotalAssetsLifespanUpdated';
|
|
1525
|
+
/** New totalAssets lifespan (in seconds). */
|
|
1526
|
+
newLifespan: Scalars['BigInt']['output'];
|
|
1527
|
+
/** Previous totalAssets lifespan (in seconds). */
|
|
1528
|
+
oldLifespan: Scalars['BigInt']['output'];
|
|
1529
|
+
/** The vault whose totalAssets lifespan changed. */
|
|
1530
|
+
vault: Vault;
|
|
1531
|
+
};
|
|
760
1532
|
/** Emitted before fees are taken, SettleDeposit and SettleRedeem when there is a new vault valuation settled. */
|
|
761
1533
|
export type TotalAssetsUpdated = {
|
|
762
1534
|
__typename?: 'TotalAssetsUpdated';
|
|
@@ -764,8 +1536,6 @@ export type TotalAssetsUpdated = {
|
|
|
764
1536
|
totalAssets: Scalars['BigInt']['output'];
|
|
765
1537
|
/** The total value of all assets in the vault converted to USD */
|
|
766
1538
|
totalAssetsUsd?: Maybe<Scalars['Float']['output']>;
|
|
767
|
-
/** The total supply value settled before fees, deposits, adn redeems */
|
|
768
|
-
totalSupply: Scalars['BigInt']['output'];
|
|
769
1539
|
/** The vault associated with the total assets updated */
|
|
770
1540
|
vault: Vault;
|
|
771
1541
|
};
|
|
@@ -780,25 +1550,45 @@ export type Transaction = {
|
|
|
780
1550
|
data: TransactionData;
|
|
781
1551
|
/** Transaction hash in hexadecimal format (null for virtual events) */
|
|
782
1552
|
hash?: Maybe<Scalars['HexString']['output']>;
|
|
783
|
-
/** Unique identifier for the transaction */
|
|
784
|
-
id: Scalars['ID']['output'];
|
|
785
1553
|
/** Index of the log entry within the transaction (null for virtual events) */
|
|
786
1554
|
logIndex?: Maybe<Scalars['Int']['output']>;
|
|
787
1555
|
/** Unix timestamp when the transaction was mined */
|
|
788
1556
|
timestamp: Scalars['BigInt']['output'];
|
|
1557
|
+
/** Index of the transaction within the block (null for virtual events) */
|
|
1558
|
+
transactionIndex?: Maybe<Scalars['Int']['output']>;
|
|
789
1559
|
/** Type of transaction or event */
|
|
790
1560
|
type: TransactionType;
|
|
791
1561
|
};
|
|
792
1562
|
/** Union type representing different types of transaction that can occur, including real on-chain events and virtual ones like PeriodSummaries */
|
|
793
|
-
export type TransactionData = DepositRequest | DepositRequestCanceled | DepositSync | NewTotalAssetsUpdated | PeriodSummary | RatesUpdated | RedeemRequest | SettleDeposit | SettleRedeem | StateUpdated | TotalAssetsUpdated | WhitelistUpdated;
|
|
1563
|
+
export type TransactionData = AccessModeUpdated | Approval | AsyncOnlyActivated | BeaconProxyDeployed | BlacklistUpdated | CustomRateUpdated | DefaultLogicUpdated | DefaultRateUpdated | Deposit | DepositRequest | DepositRequestCanceled | DepositSync | ExternalSanctionsListUpdated | FeeReceiverUpdated | FeeTaken | GuardrailsStatusUpdated | GuardrailsUpdated | HaircutTaken | HighWaterMarkUpdated | Initialized | LogicAdded | LogicRemoved | MaxCapUpdated | NameUpdated | NewTotalAssetsUpdated | OperatorSet | OwnershipTransferStarted | OwnershipTransferred | Paused | PeriodSummary | PreMint | ProtocolFeeReceiverUpdated | ProxyDeployed | RatesUpdated | RedeemRequest | RedeemRequestCanceled | ReferralEvent | SafeLocked | SafeUpdated | SecurityCouncilUpdated | SettleDeposit | SettleRedeem | StateUpdated | SuperOperatorLocked | SuperOperatorUpdated | SymbolUpdated | SyncModeUpdated | TotalAssetsExpirationUpdated | TotalAssetsLifespanUpdated | TotalAssetsUpdated | Transfer | Unpaused | Upgraded | ValuationManagerUpdated | WhitelistDisabled | WhitelistManagerUpdated | WhitelistUpdated | Withdraw | WithdrawSync;
|
|
794
1564
|
/** Filter input for Transaction */
|
|
795
1565
|
export type TransactionFilterInput = {
|
|
796
1566
|
/** Filter by chainId equal to value */
|
|
797
1567
|
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
798
1568
|
/** Filter by chainId in array of values */
|
|
799
1569
|
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1570
|
+
/** Filter by controller in array of values */
|
|
1571
|
+
controller_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
1572
|
+
/** Filter by controller not in array of values */
|
|
1573
|
+
controller_not_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
1574
|
+
/** Filter by owner in array of values */
|
|
1575
|
+
owner_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
1576
|
+
/** Filter by owner not in array of values */
|
|
1577
|
+
owner_not_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
1578
|
+
/** Filter by sender in array of values */
|
|
1579
|
+
sender_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
1580
|
+
/** Filter by sender not in array of values */
|
|
1581
|
+
sender_not_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
800
1582
|
/** Filter by state equal to value */
|
|
801
1583
|
state_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
1584
|
+
/** Filter by timestamp greater than value */
|
|
1585
|
+
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1586
|
+
/** Filter by timestamp greater than or equal to value */
|
|
1587
|
+
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1588
|
+
/** Filter by timestamp less than value */
|
|
1589
|
+
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1590
|
+
/** Filter by timestamp less than or equal to value */
|
|
1591
|
+
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
802
1592
|
/** Filter by type in array of values */
|
|
803
1593
|
type_in?: InputMaybe<Array<TransactionType>>;
|
|
804
1594
|
/** Filter by type not in array of values */
|
|
@@ -828,32 +1618,167 @@ export type TransactionPage = {
|
|
|
828
1618
|
};
|
|
829
1619
|
/** Enum representing different types of vault transactions and operations */
|
|
830
1620
|
export type TransactionType =
|
|
1621
|
+
/** Emitted when the owner switches the vault between whitelist and blacklist access modes. */
|
|
1622
|
+
'AccessModeUpdated'
|
|
1623
|
+
/** ERC-20 Approval event on the vault share token. */
|
|
1624
|
+
| 'Approval'
|
|
1625
|
+
/** Marker emitted once when the owner irreversibly switches the vault to async-only mode. */
|
|
1626
|
+
| 'AsyncOnlyActivated'
|
|
1627
|
+
/** Emitted when a factory deploys a new beacon proxy vault. */
|
|
1628
|
+
| 'BeaconProxyDeployed'
|
|
1629
|
+
/** Emitted when the whitelist manager adds or removes an address from the blacklist. */
|
|
1630
|
+
| 'BlacklistUpdated'
|
|
1631
|
+
/** Emitted by the FeeRegistry when a per-vault protocol-rate override is set or activated. */
|
|
1632
|
+
| 'CustomRateUpdated'
|
|
1633
|
+
/** Emitted when the FeeRegistry default implementation contract is changed. */
|
|
1634
|
+
| 'DefaultLogicUpdated'
|
|
1635
|
+
/** Emitted when the FeeRegistry default protocol rate is changed. */
|
|
1636
|
+
| 'DefaultRateUpdated'
|
|
1637
|
+
/** Emitted when a user claims a previously requested and settled deposit in the ERC7540 async flow — the pending assets are converted at the settled rate and shares are minted to the owner. */
|
|
1638
|
+
| 'Deposit'
|
|
831
1639
|
/** Emitted when a deposit request happens. */
|
|
832
|
-
'DepositRequest'
|
|
1640
|
+
| 'DepositRequest'
|
|
833
1641
|
/** Emitted when a deposit request is canceled. */
|
|
834
1642
|
| 'DepositRequestCanceled'
|
|
835
1643
|
/** Same as a 4626 Deposit event. */
|
|
836
1644
|
| 'DepositSync'
|
|
1645
|
+
/** Emitted when the whitelist manager updates the external sanctions list oracle. */
|
|
1646
|
+
| 'ExternalSanctionsListUpdated'
|
|
1647
|
+
/** Emitted when the owner rotates the fee-receiver address. */
|
|
1648
|
+
| 'FeeReceiverUpdated'
|
|
1649
|
+
/** Emitted every time the vault takes a fee (management, performance, entry, or exit). */
|
|
1650
|
+
| 'FeeTaken'
|
|
1651
|
+
/** Emitted when the security council enables or disables guardrails enforcement. */
|
|
1652
|
+
| 'GuardrailsStatusUpdated'
|
|
1653
|
+
/** Emitted when the security council updates the price-per-share evolution limits. */
|
|
1654
|
+
| 'GuardrailsUpdated'
|
|
1655
|
+
/** Emitted on syncRedeem when a haircut is applied and burned to protect remaining shareholders. */
|
|
1656
|
+
| 'HaircutTaken'
|
|
1657
|
+
/** Emitted when the high-water mark (used for performance fee accounting) is updated. */
|
|
1658
|
+
| 'HighWaterMarkUpdated'
|
|
1659
|
+
/** Emitted on proxy initialization. Carries the contract version number used at initialization time. */
|
|
1660
|
+
| 'Initialized'
|
|
1661
|
+
/** Emitted when a new implementation contract is whitelisted in the FeeRegistry. */
|
|
1662
|
+
| 'LogicAdded'
|
|
1663
|
+
/** Emitted when an implementation contract is removed from the FeeRegistry whitelist. */
|
|
1664
|
+
| 'LogicRemoved'
|
|
1665
|
+
/** Emitted when the safe updates the maximum total assets the vault can hold. */
|
|
1666
|
+
| 'MaxCapUpdated'
|
|
1667
|
+
/** Emitted when the owner updates the ERC-20 token name. */
|
|
1668
|
+
| 'NameUpdated'
|
|
837
1669
|
/** Emitted when the newTotalAssets variable is updated. */
|
|
838
1670
|
| 'NewTotalAssetsUpdated'
|
|
1671
|
+
/** ERC-7540 event: a controller authorizes or revokes an operator to act on its behalf. */
|
|
1672
|
+
| 'OperatorSet'
|
|
1673
|
+
/** Emitted when ownership transfer is initiated (pending acceptance — 2-step Ownable2Step pattern). */
|
|
1674
|
+
| 'OwnershipTransferStarted'
|
|
1675
|
+
/** Emitted when ownership transfer is finalized (the pending owner has accepted). */
|
|
1676
|
+
| 'OwnershipTransferred'
|
|
1677
|
+
/** Emitted when the vault is paused (no deposits/redemptions allowed). */
|
|
1678
|
+
| 'Paused'
|
|
839
1679
|
/** Period summaries are not events but are piece of data that summaries key vault metrics evolution. A period being a portion of time between two updates of TotalAssets. */
|
|
840
1680
|
| 'PeriodSummary'
|
|
1681
|
+
/** Emitted at vault initialization when pre-minted shares are sent to the safe in exchange for seed assets. */
|
|
1682
|
+
| 'PreMint'
|
|
1683
|
+
/** Emitted when the FeeRegistry protocol-fee receiver is rotated. */
|
|
1684
|
+
| 'ProtocolFeeReceiverUpdated'
|
|
1685
|
+
/** Emitted when a factory deploys a new vault proxy. */
|
|
1686
|
+
| 'ProxyDeployed'
|
|
841
1687
|
/** Emitted when vault fee rates get updated */
|
|
842
1688
|
| 'RatesUpdated'
|
|
843
1689
|
/** Emitted when a redemption request happens. */
|
|
844
1690
|
| 'RedeemRequest'
|
|
1691
|
+
/** Emitted when a redemption request is canceled. */
|
|
1692
|
+
| 'RedeemRequestCanceled'
|
|
1693
|
+
/** Emitted when a deposit request is tagged with a referrer address. */
|
|
1694
|
+
| 'ReferralEvent'
|
|
1695
|
+
/** Emitted when the safe address is irreversibly locked — it can never be rotated again. */
|
|
1696
|
+
| 'SafeLocked'
|
|
1697
|
+
/** Emitted when the safe (fund custody address) is rotated. */
|
|
1698
|
+
| 'SafeUpdated'
|
|
1699
|
+
/** Emitted when the owner assigns or rotates the security council. */
|
|
1700
|
+
| 'SecurityCouncilUpdated'
|
|
845
1701
|
/** Emitted when there is assets deposited in the safe. */
|
|
846
1702
|
| 'SettleDeposit'
|
|
847
1703
|
/** Emitted when there assets unwind from the safe */
|
|
848
1704
|
| 'SettleRedeem'
|
|
849
1705
|
/** Emitted when vault state changes from Open -> Closing -> Close */
|
|
850
1706
|
| 'StateUpdated'
|
|
1707
|
+
/** Emitted when the super operator address is irreversibly locked. */
|
|
1708
|
+
| 'SuperOperatorLocked'
|
|
1709
|
+
/** Emitted when the owner assigns or rotates the super operator. */
|
|
1710
|
+
| 'SuperOperatorUpdated'
|
|
1711
|
+
/** Emitted when the owner updates the ERC-20 token symbol. */
|
|
1712
|
+
| 'SymbolUpdated'
|
|
1713
|
+
/** Emitted when the safe updates which synchronous operations are allowed. */
|
|
1714
|
+
| 'SyncModeUpdated'
|
|
1715
|
+
/** Emitted when the timestamp after which totalAssets is considered stale changes. */
|
|
1716
|
+
| 'TotalAssetsExpirationUpdated'
|
|
1717
|
+
/** Legacy pre-v0.6.0 event for the totalAssets lifespan parameter (superseded by TotalAssetsExpirationUpdated). */
|
|
1718
|
+
| 'TotalAssetsLifespanUpdated'
|
|
851
1719
|
/** Emitted when the totalAssets variable is updated. */
|
|
852
1720
|
| 'TotalAssetsUpdated'
|
|
1721
|
+
/** ERC-20 Transfer event on the vault share token. Emitted on every share movement (mint, burn, P2P transfer). */
|
|
1722
|
+
| 'Transfer'
|
|
1723
|
+
/** Emitted when the vault is resumed from a paused state. */
|
|
1724
|
+
| 'Unpaused'
|
|
1725
|
+
/** EIP-1967 proxy upgrade event — the implementation contract has been swapped. */
|
|
1726
|
+
| 'Upgraded'
|
|
1727
|
+
/** Emitted when the owner rotates the valuation manager. */
|
|
1728
|
+
| 'ValuationManagerUpdated'
|
|
853
1729
|
/** Vault states are not events but it maintains key event states. */
|
|
854
1730
|
| 'VaultState'
|
|
1731
|
+
/** Legacy pre-v0.6.0 event marking the disabling of whitelist enforcement (superseded by AccessMode). */
|
|
1732
|
+
| 'WhitelistDisabled'
|
|
1733
|
+
/** Emitted when the owner rotates the whitelist manager. */
|
|
1734
|
+
| 'WhitelistManagerUpdated'
|
|
855
1735
|
/** Emitted when a whitelist entry is updated */
|
|
856
|
-
| 'WhitelistUpdated'
|
|
1736
|
+
| 'WhitelistUpdated'
|
|
1737
|
+
/** Emitted when a user claims a previously requested and settled redemption in the ERC7540 async flow — pending shares are burned at the settled rate and the corresponding assets are transferred to the receiver. */
|
|
1738
|
+
| 'Withdraw'
|
|
1739
|
+
/** ERC-4626 Withdraw mirror emitted on syncRedeem (after exit fee and haircut deduction). */
|
|
1740
|
+
| 'WithdrawSync';
|
|
1741
|
+
/** ERC-20 Transfer event on the vault share token. Emitted on every share movement (mint, burn, P2P transfer). */
|
|
1742
|
+
export type Transfer = {
|
|
1743
|
+
__typename?: 'Transfer';
|
|
1744
|
+
/** Address shares are transferred from. The zero address indicates a mint. */
|
|
1745
|
+
from: Scalars['Address']['output'];
|
|
1746
|
+
/** Address shares are transferred to. The zero address indicates a burn. */
|
|
1747
|
+
to: Scalars['Address']['output'];
|
|
1748
|
+
/** Amount of shares transferred, in share units. */
|
|
1749
|
+
value: Scalars['BigInt']['output'];
|
|
1750
|
+
/** The vault whose share token was transferred. */
|
|
1751
|
+
vault: Vault;
|
|
1752
|
+
};
|
|
1753
|
+
/** Emitted when the vault is resumed from a paused state. */
|
|
1754
|
+
export type Unpaused = {
|
|
1755
|
+
__typename?: 'Unpaused';
|
|
1756
|
+
/** Account that triggered the unpause. */
|
|
1757
|
+
account: Scalars['Address']['output'];
|
|
1758
|
+
/** The vault that was unpaused. */
|
|
1759
|
+
vault: Vault;
|
|
1760
|
+
};
|
|
1761
|
+
/** Input for updating off-chain vault metadata */
|
|
1762
|
+
export type UpdateVaultMetadataInput = {
|
|
1763
|
+
/** Average settlement time in hours */
|
|
1764
|
+
averageSettlement?: InputMaybe<Scalars['Float']['input']>;
|
|
1765
|
+
/** Detailed description of the vault and its strategy */
|
|
1766
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1767
|
+
/** Off-chain soft cap on total deposits, surfaced to the frontend so vault operators can limit incoming deposits via the UI. Purely informative, no on-chain enforcement. */
|
|
1768
|
+
maxCapacity?: InputMaybe<Scalars['String']['input']>;
|
|
1769
|
+
/** Short one-line description of the vault */
|
|
1770
|
+
shortDescription?: InputMaybe<Scalars['String']['input']>;
|
|
1771
|
+
/** URL to transparency report or dashboard */
|
|
1772
|
+
transparencyUrl?: InputMaybe<Scalars['String']['input']>;
|
|
1773
|
+
};
|
|
1774
|
+
/** EIP-1967 proxy upgrade event — the implementation contract has been swapped. */
|
|
1775
|
+
export type Upgraded = {
|
|
1776
|
+
__typename?: 'Upgraded';
|
|
1777
|
+
/** Address of the new implementation contract. */
|
|
1778
|
+
implementation: Scalars['Address']['output'];
|
|
1779
|
+
/** The vault whose proxy was upgraded. */
|
|
1780
|
+
vault: Vault;
|
|
1781
|
+
};
|
|
857
1782
|
/** User entity representing a vault user */
|
|
858
1783
|
export type User = {
|
|
859
1784
|
__typename?: 'User';
|
|
@@ -901,6 +1826,16 @@ export type UserState = {
|
|
|
901
1826
|
/** The total values of all user's vault shares */
|
|
902
1827
|
totalSharesUsd: Scalars['Float']['output'];
|
|
903
1828
|
};
|
|
1829
|
+
/** Emitted when the owner rotates the valuation manager. */
|
|
1830
|
+
export type ValuationManagerUpdated = {
|
|
1831
|
+
__typename?: 'ValuationManagerUpdated';
|
|
1832
|
+
/** New valuation manager address. */
|
|
1833
|
+
newManager: Scalars['Address']['output'];
|
|
1834
|
+
/** Previous valuation manager address. */
|
|
1835
|
+
oldManager: Scalars['Address']['output'];
|
|
1836
|
+
/** The vault whose valuation manager was rotated. */
|
|
1837
|
+
vault: Vault;
|
|
1838
|
+
};
|
|
904
1839
|
/** A vault entity that represents a Lagoon vault contract */
|
|
905
1840
|
export type Vault = {
|
|
906
1841
|
__typename?: 'Vault';
|
|
@@ -916,6 +1851,10 @@ export type Vault = {
|
|
|
916
1851
|
bundles?: Maybe<Bundles>;
|
|
917
1852
|
/** The network where the vault is deployed */
|
|
918
1853
|
chain: Chain;
|
|
1854
|
+
/** Vault composition showing protocol and token allocations (requires Octav API) */
|
|
1855
|
+
composition?: Maybe<CompositionData>;
|
|
1856
|
+
/** Unix timestamp of when the vault was initialized on the blockchain (VaultInitialized event). */
|
|
1857
|
+
creationDate: Scalars['Float']['output'];
|
|
919
1858
|
/** List of curators associated with this vault */
|
|
920
1859
|
curators?: Maybe<Array<Curator>>;
|
|
921
1860
|
/** Number of decimal places for the vault share */
|
|
@@ -936,7 +1875,7 @@ export type Vault = {
|
|
|
936
1875
|
isVisible: Scalars['Boolean']['output'];
|
|
937
1876
|
/** URL to the vault logo image */
|
|
938
1877
|
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
939
|
-
/**
|
|
1878
|
+
/** Off-chain soft cap on total deposits, surfaced to the frontend so vault operators can limit incoming deposits via the UI. Purely informative, no on-chain enforcement. */
|
|
940
1879
|
maxCapacity?: Maybe<Scalars['String']['output']>;
|
|
941
1880
|
/** Name of the vault */
|
|
942
1881
|
name?: Maybe<Scalars['String']['output']>;
|
|
@@ -944,16 +1883,28 @@ export type Vault = {
|
|
|
944
1883
|
nativeYields: Array<NativeYield>;
|
|
945
1884
|
/** A transparent upgradeable proxy that allows opting into logic upgrades through a registry. Returns null for vaults that don't support this upgradeability pattern. */
|
|
946
1885
|
optinProxy?: Maybe<OptinProxy>;
|
|
1886
|
+
/** Owner of the vault */
|
|
1887
|
+
owner?: Maybe<Owner>;
|
|
947
1888
|
/** Prevent withdraw */
|
|
948
1889
|
preventWithdraw?: Maybe<PreventWithdraw>;
|
|
949
1890
|
/** Referral program associated with the vault */
|
|
950
1891
|
referral?: Maybe<Referral>;
|
|
951
1892
|
/** Brief summary of the vault */
|
|
952
1893
|
shortDescription?: Maybe<Scalars['String']['output']>;
|
|
953
|
-
/** Current operational state and metrics of the vault */
|
|
1894
|
+
/** Current operational state and metrics of the vault. */
|
|
954
1895
|
state: VaultState;
|
|
1896
|
+
/** Vault state as of `timestamp`, reconstructed from onchain history. Returns null if no history exists at or before that time. */
|
|
1897
|
+
stateAt?: Maybe<HistoricalVaultState>;
|
|
1898
|
+
/** Historical event stream for the fields exposed by vault.state. Each field exposes an ascending time series of onchain changes within an optional TimeRangeOptions window (default: from vault creation to now). Capped at 1000 most recent events per underlying table. */
|
|
1899
|
+
stateHistory: VaultStateHistory;
|
|
955
1900
|
/** The symbol of the vault share */
|
|
956
1901
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
1902
|
+
/** Transparency report URL for this vault */
|
|
1903
|
+
transparencyUrl?: Maybe<Scalars['String']['output']>;
|
|
1904
|
+
};
|
|
1905
|
+
/** A vault entity that represents a Lagoon vault contract */
|
|
1906
|
+
export type VaultStateAtArgs = {
|
|
1907
|
+
timestamp: Scalars['Int']['input'];
|
|
957
1908
|
};
|
|
958
1909
|
/** Filter input for Vault */
|
|
959
1910
|
export type VaultFilterInput = {
|
|
@@ -1001,6 +1952,18 @@ export type VaultFilterInput = {
|
|
|
1001
1952
|
integratorId_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1002
1953
|
/** Filter by isVisible equal to value */
|
|
1003
1954
|
isVisible_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1955
|
+
/** Filter by ownerId equal to value */
|
|
1956
|
+
ownerId_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1957
|
+
/** Filter by ownerId in array of values */
|
|
1958
|
+
ownerId_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1959
|
+
/** Filter by ownerId not equal to value */
|
|
1960
|
+
ownerId_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1961
|
+
/** Filter by ownerId not in array of values */
|
|
1962
|
+
ownerId_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1963
|
+
/** Filter by state equal to value */
|
|
1964
|
+
state_eq?: InputMaybe<State>;
|
|
1965
|
+
/** Filter by state in array of values */
|
|
1966
|
+
state_in?: InputMaybe<Array<State>>;
|
|
1004
1967
|
/** Filter by symbol equal to value */
|
|
1005
1968
|
symbol_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1006
1969
|
/** Filter by symbol in array of values */
|
|
@@ -1033,6 +1996,8 @@ export type VaultPosition = {
|
|
|
1033
1996
|
__typename?: 'VaultPosition';
|
|
1034
1997
|
/** Vault position id */
|
|
1035
1998
|
id: Scalars['ID']['output'];
|
|
1999
|
+
/** Unix timestamp (seconds) of the earliest indexed onchain event involving the user in this vault — deposit requests, redeem requests, sync deposits, share transfers (in or out), or withdrawals. Null when no indexed history exists for the pair. */
|
|
2000
|
+
since?: Maybe<Scalars['Float']['output']>;
|
|
1036
2001
|
/** Current operational state and metrics of the vault position */
|
|
1037
2002
|
state: VaultPositionState;
|
|
1038
2003
|
/** Vault associated with this user */
|
|
@@ -1041,23 +2006,68 @@ export type VaultPosition = {
|
|
|
1041
2006
|
/** Current operational state and metrics of the vault position */
|
|
1042
2007
|
export type VaultPositionState = {
|
|
1043
2008
|
__typename?: 'VaultPositionState';
|
|
1044
|
-
/**
|
|
2009
|
+
/** The user's position in assets. Takes into account the user's balance, pending and claimable deposit requests, and pending and claimable redeem requests. */
|
|
1045
2010
|
assets: Scalars['BigInt']['output'];
|
|
1046
|
-
/** User
|
|
2011
|
+
/** User share token balance held in the vault */
|
|
2012
|
+
balance: Scalars['BigInt']['output'];
|
|
2013
|
+
/** Settled deposit request awaiting finalization, with both settlement-time and current-PPS values */
|
|
2014
|
+
claimableDeposit: ClaimableDepositRequest;
|
|
2015
|
+
/** Settled redeem request awaiting finalization, in both asset and share units */
|
|
2016
|
+
claimableRedeem: VaultRequest;
|
|
2017
|
+
/** Pending deposit request awaiting settlement, in both asset and share units */
|
|
2018
|
+
pendingDeposit: VaultRequest;
|
|
2019
|
+
/** Pending redeem request awaiting settlement. Carries `isCancelable` so the frontend can render the Cancel button without re-deriving the rule. */
|
|
2020
|
+
pendingRedeem: PendingRedeemRequest;
|
|
2021
|
+
/** The user's position in shares. Takes into account the user's balance, pending and claimable deposit requests, and pending and claimable redeem requests. */
|
|
1047
2022
|
shares: Scalars['BigInt']['output'];
|
|
1048
|
-
/**
|
|
2023
|
+
/**
|
|
2024
|
+
* User shares in this vault converted to USD
|
|
2025
|
+
* @deprecated use usd instead
|
|
2026
|
+
*/
|
|
1049
2027
|
sharesUsd?: Maybe<Scalars['Float']['output']>;
|
|
2028
|
+
/** The user's position in this vault converted to USD */
|
|
2029
|
+
usd?: Maybe<Scalars['Float']['output']>;
|
|
2030
|
+
};
|
|
2031
|
+
/** A deposit or redeem request in the vault lifecycle, expressed in both asset and share units */
|
|
2032
|
+
export type VaultRequest = {
|
|
2033
|
+
__typename?: 'VaultRequest';
|
|
2034
|
+
/** Amount denominated in assets */
|
|
2035
|
+
assets: Scalars['BigInt']['output'];
|
|
2036
|
+
/** Amount denominated in shares */
|
|
2037
|
+
shares: Scalars['BigInt']['output'];
|
|
1050
2038
|
};
|
|
1051
2039
|
/** Current state and metrics of a vault including assets, supply, pricing, and performance data */
|
|
1052
2040
|
export type VaultState = {
|
|
1053
2041
|
__typename?: 'VaultState';
|
|
2042
|
+
/** Access control mode. Determines whether the vault enforces a whitelist (deny-by-default) or a blacklist (allow-by-default). Null when not applicable. */
|
|
2043
|
+
accessMode?: Maybe<AccessMode>;
|
|
2044
|
+
/** Whether the vault allows resetting the high water mark. Immutable, set at deploy time. Defaults to false for vaults deployed before the on-chain flag existed. */
|
|
2045
|
+
allowHighWaterMarkReset: Scalars['Boolean']['output'];
|
|
2046
|
+
/** Blacklisted addresses. Null for pre-v0.6 vaults (no blacklist concept). v0.6+: always returns the indexed blacklist regardless of accessMode. */
|
|
2047
|
+
blacklist?: Maybe<Array<Scalars['Address']['output']>>;
|
|
1054
2048
|
/** List of curators associated with this vault */
|
|
1055
2049
|
curators?: Maybe<Array<Curator>>;
|
|
2050
|
+
/** Entry fee rate in basis points. Capped at 200 BPS (2%). Applied on deposits — immediately on syncDeposit, at claim time for async. */
|
|
2051
|
+
entryRate: Scalars['Float']['output'];
|
|
2052
|
+
/** Exit fee rate in basis points. Capped at 200 BPS (2%). Applied on redeems — immediately on syncRedeem, at claim time for async, at withdraw time for closed vaults. */
|
|
2053
|
+
exitRate: Scalars['Float']['output'];
|
|
2054
|
+
/** Address of an optional external sanctions list oracle consulted by the access control check. Defaults to the zero address when unset. */
|
|
2055
|
+
externalSanctionsList: Scalars['String']['output'];
|
|
2056
|
+
/** The minimum delay (in seconds) between rates update and their enforcement */
|
|
2057
|
+
feeRatesCooldown: Scalars['BigInt']['output'];
|
|
2058
|
+
/** Price-per-share evolution limits and their activation state. */
|
|
2059
|
+
guardrails: Guardrails;
|
|
2060
|
+
/** Haircut fee rate in basis points. Capped at 2000 BPS (20%). Applied only on syncRedeem, after the exit fee. Haircut shares are burned, redistributing value to remaining shareholders. */
|
|
2061
|
+
haircutRate: Scalars['Float']['output'];
|
|
1056
2062
|
/** The highest price per share ever reached, performance fees are taken when the price per share is above this value */
|
|
1057
2063
|
highWaterMark: Scalars['BigInt']['output'];
|
|
1058
2064
|
/** Annualized percentage returns since inception */
|
|
1059
2065
|
inceptionApr: ApRs;
|
|
1060
|
-
/**
|
|
2066
|
+
/** Whether the vault has been irreversibly switched to async-only mode. When true, SyncMode is forced to None and cannot be re-enabled. */
|
|
2067
|
+
isAsyncOnly: Scalars['Boolean']['output'];
|
|
2068
|
+
/** Whether the vault is currently paused. Defaults to false when no pause history exists. */
|
|
2069
|
+
isPaused: Scalars['Boolean']['output'];
|
|
2070
|
+
/** Whether the whitelist is activated or not */
|
|
1061
2071
|
isWhitelistActivated: Scalars['Boolean']['output'];
|
|
1062
2072
|
/** The timestamp of the last fee calculation, used to compute management fees */
|
|
1063
2073
|
lastFeeTime: Scalars['BigInt']['output'];
|
|
@@ -1065,8 +2075,12 @@ export type VaultState = {
|
|
|
1065
2075
|
liveAPR?: Maybe<LiveApr>;
|
|
1066
2076
|
/** Management fee percentage charged by the vault */
|
|
1067
2077
|
managementFee: Scalars['Float']['output'];
|
|
2078
|
+
/** Maximum total assets the vault can hold, in asset units. Enforced on syncDeposit and requestDeposit. Null when no cap is configured. */
|
|
2079
|
+
maxCap?: Maybe<Scalars['BigInt']['output']>;
|
|
1068
2080
|
/** Monthly annualized percentage returns */
|
|
1069
2081
|
monthlyApr: ApRs;
|
|
2082
|
+
/** The timestamp at which the new rates will be applied */
|
|
2083
|
+
newRatesTimestamp: Scalars['BigInt']['output'];
|
|
1070
2084
|
/** The new valuation proposed for the next settlement. Will return MAX_UINT_256 until a new totalAssets value is proposed or null if no valuation has ever been proposed. */
|
|
1071
2085
|
newTotalAssets?: Maybe<Scalars['BigInt']['output']>;
|
|
1072
2086
|
/** The shares and assets that will be settled if the settle is possible */
|
|
@@ -1083,27 +2097,151 @@ export type VaultState = {
|
|
|
1083
2097
|
protocolFee: Scalars['Float']['output'];
|
|
1084
2098
|
/** Vault access control roles and permissions */
|
|
1085
2099
|
roles: Roles;
|
|
1086
|
-
/** The asset amounts
|
|
2100
|
+
/** The asset amounts currently in the vault custody */
|
|
1087
2101
|
safeAssetBalance: Scalars['BigInt']['output'];
|
|
1088
|
-
/** The USD asset amounts
|
|
2102
|
+
/** The USD asset amounts currently in the vault custody */
|
|
1089
2103
|
safeAssetBalanceUsd?: Maybe<Scalars['Float']['output']>;
|
|
2104
|
+
/** Whether updates to the safe address have been irreversibly locked. Once true, the safe address can no longer be changed. Pre-v0.6.0 vaults had no mechanism to change the safe address either, so they are reported as locked (true). */
|
|
2105
|
+
safeLocked: Scalars['Boolean']['output'];
|
|
1090
2106
|
/** The status of the vault, open, closed, or closing */
|
|
1091
2107
|
state: State;
|
|
2108
|
+
/** Whether updates to the super operator role have been irreversibly locked. Null when not applicable — the super operator role did not exist on pre-v0.6.0 vaults. Once true, the super operator can no longer be changed. */
|
|
2109
|
+
superOperatorLocked?: Maybe<Scalars['Boolean']['output']>;
|
|
2110
|
+
/** Which synchronous operations are currently allowed (Both, SyncDeposit, SyncRedeem, None). Orthogonal to async. */
|
|
2111
|
+
syncMode: SyncMode;
|
|
1092
2112
|
/** Total assets under management in the vault */
|
|
1093
2113
|
totalAssets: Scalars['BigInt']['output'];
|
|
2114
|
+
/** Unix timestamp after which totalAssets is considered stale and synchronous operations are disabled until the next valuation update. */
|
|
2115
|
+
totalAssetsExpiration: Scalars['BigInt']['output'];
|
|
2116
|
+
/** Duration in seconds that a totalAssets valuation stays valid before expiring (how long the vault stays in synchronous mode). Derived from the latest TotalAssetsLifespanUpdated event; null when never configured. */
|
|
2117
|
+
totalAssetsLifespan?: Maybe<Scalars['BigInt']['output']>;
|
|
1094
2118
|
/** Total assets value in USD */
|
|
1095
2119
|
totalAssetsUsd?: Maybe<Scalars['Float']['output']>;
|
|
1096
2120
|
/** Total supply of vault shares */
|
|
1097
2121
|
totalSupply: Scalars['BigInt']['output'];
|
|
2122
|
+
/** Upcoming management fee rates applied at newRatesTimestamp else null */
|
|
2123
|
+
upcomingManagementFee?: Maybe<Scalars['Float']['output']>;
|
|
2124
|
+
/** Upcoming performance fee rates applied at newRatesTimestamp else null */
|
|
2125
|
+
upcomingPerformanceFee?: Maybe<Scalars['Float']['output']>;
|
|
1098
2126
|
/** Vault version */
|
|
1099
2127
|
version: Scalars['String']['output'];
|
|
1100
2128
|
/** Weekly annualized percentage returns */
|
|
1101
2129
|
weeklyApr: ApRs;
|
|
1102
|
-
/** Whitelisted addresses
|
|
2130
|
+
/** Whitelisted addresses. Pre-v0.6: null when isWhitelistActivated is false. v0.6+: always returns the indexed whitelist regardless of accessMode (mode only gates deposits). */
|
|
1103
2131
|
whitelist?: Maybe<Array<Scalars['Address']['output']>>;
|
|
1104
2132
|
/** Yearly annualized percentage returns */
|
|
1105
2133
|
yearlyApr: ApRs;
|
|
1106
2134
|
};
|
|
2135
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2136
|
+
export type VaultStateHistory = {
|
|
2137
|
+
__typename?: 'VaultStateHistory';
|
|
2138
|
+
/** History of the minimum delay (seconds) between fee rates update and enforcement. */
|
|
2139
|
+
feeRatesCooldown: Array<BigIntDataPoint>;
|
|
2140
|
+
/** Highest price per share ever reached, history. */
|
|
2141
|
+
highWaterMark: Array<BigIntDataPoint>;
|
|
2142
|
+
/** History of the last fee-calculation timestamp. */
|
|
2143
|
+
lastFeeTime: Array<BigIntDataPoint>;
|
|
2144
|
+
/** Management fee percentage history. */
|
|
2145
|
+
managementFee: Array<FloatDataPoint>;
|
|
2146
|
+
/** History of the timestamp at which new fee rates become applicable. */
|
|
2147
|
+
newRatesTimestamp: Array<BigIntDataPoint>;
|
|
2148
|
+
/** History of the proposed next-settlement total assets valuation. */
|
|
2149
|
+
newTotalAssets: Array<BigIntDataPoint>;
|
|
2150
|
+
/** Performance fee percentage history. */
|
|
2151
|
+
performanceFee: Array<FloatDataPoint>;
|
|
2152
|
+
/** Price per vault share in base units, history. */
|
|
2153
|
+
pricePerShare: Array<BigIntDataPoint>;
|
|
2154
|
+
/** Price per vault share in USD, history. */
|
|
2155
|
+
pricePerShareUsd: Array<FloatDataPoint>;
|
|
2156
|
+
/** Protocol fee percentage history. */
|
|
2157
|
+
protocolFee: Array<FloatDataPoint>;
|
|
2158
|
+
/** Total assets under management history. */
|
|
2159
|
+
totalAssets: Array<BigIntDataPoint>;
|
|
2160
|
+
/** Total assets value in USD history. */
|
|
2161
|
+
totalAssetsUsd: Array<FloatDataPoint>;
|
|
2162
|
+
/** Total supply of vault shares history. */
|
|
2163
|
+
totalSupply: Array<BigIntDataPoint>;
|
|
2164
|
+
/** Upcoming management fee history. */
|
|
2165
|
+
upcomingManagementFee: Array<FloatDataPoint>;
|
|
2166
|
+
/** Upcoming performance fee history. */
|
|
2167
|
+
upcomingPerformanceFee: Array<FloatDataPoint>;
|
|
2168
|
+
};
|
|
2169
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2170
|
+
export type VaultStateHistoryFeeRatesCooldownArgs = {
|
|
2171
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2172
|
+
};
|
|
2173
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2174
|
+
export type VaultStateHistoryHighWaterMarkArgs = {
|
|
2175
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2176
|
+
};
|
|
2177
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2178
|
+
export type VaultStateHistoryLastFeeTimeArgs = {
|
|
2179
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2180
|
+
};
|
|
2181
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2182
|
+
export type VaultStateHistoryManagementFeeArgs = {
|
|
2183
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2184
|
+
};
|
|
2185
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2186
|
+
export type VaultStateHistoryNewRatesTimestampArgs = {
|
|
2187
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2188
|
+
};
|
|
2189
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2190
|
+
export type VaultStateHistoryNewTotalAssetsArgs = {
|
|
2191
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2192
|
+
};
|
|
2193
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2194
|
+
export type VaultStateHistoryPerformanceFeeArgs = {
|
|
2195
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2196
|
+
};
|
|
2197
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2198
|
+
export type VaultStateHistoryPricePerShareArgs = {
|
|
2199
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2200
|
+
};
|
|
2201
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2202
|
+
export type VaultStateHistoryPricePerShareUsdArgs = {
|
|
2203
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2204
|
+
};
|
|
2205
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2206
|
+
export type VaultStateHistoryProtocolFeeArgs = {
|
|
2207
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2208
|
+
};
|
|
2209
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2210
|
+
export type VaultStateHistoryTotalAssetsArgs = {
|
|
2211
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2212
|
+
};
|
|
2213
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2214
|
+
export type VaultStateHistoryTotalAssetsUsdArgs = {
|
|
2215
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2216
|
+
};
|
|
2217
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2218
|
+
export type VaultStateHistoryTotalSupplyArgs = {
|
|
2219
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2220
|
+
};
|
|
2221
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2222
|
+
export type VaultStateHistoryUpcomingManagementFeeArgs = {
|
|
2223
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2224
|
+
};
|
|
2225
|
+
/** Historical event stream for vault state and fee configuration. Each field exposes an ascending time series of the underlying value, one point per onchain change within the requested range. Capped at 1000 most recent events per underlying table. */
|
|
2226
|
+
export type VaultStateHistoryUpcomingPerformanceFeeArgs = {
|
|
2227
|
+
options?: InputMaybe<TimeRangeOptions>;
|
|
2228
|
+
};
|
|
2229
|
+
/** Legacy pre-v0.6.0 event marking the disabling of whitelist enforcement (superseded by AccessMode). */
|
|
2230
|
+
export type WhitelistDisabled = {
|
|
2231
|
+
__typename?: 'WhitelistDisabled';
|
|
2232
|
+
/** The vault whose whitelist enforcement was disabled. */
|
|
2233
|
+
vault: Vault;
|
|
2234
|
+
};
|
|
2235
|
+
/** Emitted when the owner rotates the whitelist manager. */
|
|
2236
|
+
export type WhitelistManagerUpdated = {
|
|
2237
|
+
__typename?: 'WhitelistManagerUpdated';
|
|
2238
|
+
/** New whitelist manager address. */
|
|
2239
|
+
newManager: Scalars['Address']['output'];
|
|
2240
|
+
/** Previous whitelist manager address. */
|
|
2241
|
+
oldManager: Scalars['Address']['output'];
|
|
2242
|
+
/** The vault whose whitelist manager was rotated. */
|
|
2243
|
+
vault: Vault;
|
|
2244
|
+
};
|
|
1107
2245
|
/** Emitted when a whitelist entry is updated. */
|
|
1108
2246
|
export type WhitelistUpdated = {
|
|
1109
2247
|
__typename?: 'WhitelistUpdated';
|
|
@@ -1111,7 +2249,39 @@ export type WhitelistUpdated = {
|
|
|
1111
2249
|
account: Scalars['Address']['output'];
|
|
1112
2250
|
/** Indicates whether the account is authorized (true) or not (false). */
|
|
1113
2251
|
authorized: Scalars['Boolean']['output'];
|
|
1114
|
-
/** The vault associated with this
|
|
2252
|
+
/** The vault associated with this whitelist update. */
|
|
2253
|
+
vault: Vault;
|
|
2254
|
+
};
|
|
2255
|
+
/** Emitted when a user claims a previously requested and settled redemption in the ERC7540 async flow — pending shares are burned at the settled rate and the corresponding assets are transferred to the receiver. */
|
|
2256
|
+
export type Withdraw = {
|
|
2257
|
+
__typename?: 'Withdraw';
|
|
2258
|
+
/** Amount of assets withdrawn. */
|
|
2259
|
+
assets: Scalars['BigInt']['output'];
|
|
2260
|
+
/** The address whose shares are burned. */
|
|
2261
|
+
owner: Scalars['Address']['output'];
|
|
2262
|
+
/** The address that receives the withdrawn assets. May differ from `sender` and `owner`. */
|
|
2263
|
+
receiver: Scalars['Address']['output'];
|
|
2264
|
+
/** The address that called `withdraw`. */
|
|
2265
|
+
sender: Scalars['Address']['output'];
|
|
2266
|
+
/** Amount of shares burned. */
|
|
2267
|
+
shares: Scalars['BigInt']['output'];
|
|
2268
|
+
/** The vault associated with the withdraw */
|
|
2269
|
+
vault: Vault;
|
|
2270
|
+
};
|
|
2271
|
+
/** ERC-4626 Withdraw mirror emitted on syncRedeem. */
|
|
2272
|
+
export type WithdrawSync = {
|
|
2273
|
+
__typename?: 'WithdrawSync';
|
|
2274
|
+
/** Net assets transferred to the receiver (after exit fee and haircut). */
|
|
2275
|
+
assets: Scalars['BigInt']['output'];
|
|
2276
|
+
/** Address whose shares are burned. */
|
|
2277
|
+
owner: Scalars['Address']['output'];
|
|
2278
|
+
/** Address that receives the assets. May differ from sender and owner. */
|
|
2279
|
+
receiver: Scalars['Address']['output'];
|
|
2280
|
+
/** Address that called syncRedeem. */
|
|
2281
|
+
sender: Scalars['Address']['output'];
|
|
2282
|
+
/** Shares burned — includes the exit-fee and haircut portions. */
|
|
2283
|
+
shares: Scalars['BigInt']['output'];
|
|
2284
|
+
/** The vault associated with this sync redemption. */
|
|
1115
2285
|
vault: Vault;
|
|
1116
2286
|
};
|
|
1117
2287
|
/** Represents a wrapped native token with its contract details and metadata */
|