@lagoon-protocol/lagoon-mcp 0.1.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/LICENSE +201 -0
- package/README.md +618 -0
- package/dist/cache/index.d.ts +97 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +106 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/config.d.ts +34 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +40 -0
- package/dist/config.js.map +1 -0
- package/dist/core/cache-adapter.d.ts +73 -0
- package/dist/core/cache-adapter.d.ts.map +1 -0
- package/dist/core/cache-adapter.js +47 -0
- package/dist/core/cache-adapter.js.map +1 -0
- package/dist/core/cache-invalidation.d.ts +72 -0
- package/dist/core/cache-invalidation.d.ts.map +1 -0
- package/dist/core/cache-invalidation.js +114 -0
- package/dist/core/cache-invalidation.js.map +1 -0
- package/dist/core/container.d.ts +34 -0
- package/dist/core/container.d.ts.map +1 -0
- package/dist/core/container.js +75 -0
- package/dist/core/container.js.map +1 -0
- package/dist/graphql/client.d.ts +32 -0
- package/dist/graphql/client.d.ts.map +1 -0
- package/dist/graphql/client.js +49 -0
- package/dist/graphql/client.js.map +1 -0
- package/dist/graphql/fragments/apr-breakdown.fragment.d.ts +64 -0
- package/dist/graphql/fragments/apr-breakdown.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/apr-breakdown.fragment.js +62 -0
- package/dist/graphql/fragments/apr-breakdown.fragment.js.map +1 -0
- package/dist/graphql/fragments/asset-info.fragment.d.ts +18 -0
- package/dist/graphql/fragments/asset-info.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/asset-info.fragment.js +36 -0
- package/dist/graphql/fragments/asset-info.fragment.js.map +1 -0
- package/dist/graphql/fragments/chain-info.fragment.d.ts +18 -0
- package/dist/graphql/fragments/chain-info.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/chain-info.fragment.js +32 -0
- package/dist/graphql/fragments/chain-info.fragment.js.map +1 -0
- package/dist/graphql/fragments/index.d.ts +15 -0
- package/dist/graphql/fragments/index.d.ts.map +1 -0
- package/dist/graphql/fragments/index.js +21 -0
- package/dist/graphql/fragments/index.js.map +1 -0
- package/dist/graphql/fragments/pageinfo.fragment.d.ts +33 -0
- package/dist/graphql/fragments/pageinfo.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/pageinfo.fragment.js +47 -0
- package/dist/graphql/fragments/pageinfo.fragment.js.map +1 -0
- package/dist/graphql/fragments/transaction-base.fragment.d.ts +19 -0
- package/dist/graphql/fragments/transaction-base.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/transaction-base.fragment.js +32 -0
- package/dist/graphql/fragments/transaction-base.fragment.js.map +1 -0
- package/dist/graphql/fragments/vault-list.fragment.d.ts +53 -0
- package/dist/graphql/fragments/vault-list.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/vault-list.fragment.js +51 -0
- package/dist/graphql/fragments/vault-list.fragment.js.map +1 -0
- package/dist/graphql/fragments/vault-summary.fragment.d.ts +68 -0
- package/dist/graphql/fragments/vault-summary.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/vault-summary.fragment.js +66 -0
- package/dist/graphql/fragments/vault-summary.fragment.js.map +1 -0
- package/dist/graphql/fragments/vault.fragment.d.ts +133 -0
- package/dist/graphql/fragments/vault.fragment.d.ts.map +1 -0
- package/dist/graphql/fragments/vault.fragment.js +119 -0
- package/dist/graphql/fragments/vault.fragment.js.map +1 -0
- package/dist/graphql/fragments.d.ts +183 -0
- package/dist/graphql/fragments.d.ts.map +1 -0
- package/dist/graphql/fragments.js +297 -0
- package/dist/graphql/fragments.js.map +1 -0
- package/dist/graphql/queries/export.queries.d.ts +72 -0
- package/dist/graphql/queries/export.queries.d.ts.map +1 -0
- package/dist/graphql/queries/export.queries.js +202 -0
- package/dist/graphql/queries/export.queries.js.map +1 -0
- package/dist/graphql/queries/index.d.ts +15 -0
- package/dist/graphql/queries/index.d.ts.map +1 -0
- package/dist/graphql/queries/index.js +23 -0
- package/dist/graphql/queries/index.js.map +1 -0
- package/dist/graphql/queries/performance.queries.d.ts +63 -0
- package/dist/graphql/queries/performance.queries.d.ts.map +1 -0
- package/dist/graphql/queries/performance.queries.js +133 -0
- package/dist/graphql/queries/performance.queries.js.map +1 -0
- package/dist/graphql/queries/period-summaries.d.ts +15 -0
- package/dist/graphql/queries/period-summaries.d.ts.map +1 -0
- package/dist/graphql/queries/period-summaries.js +24 -0
- package/dist/graphql/queries/period-summaries.js.map +1 -0
- package/dist/graphql/queries/portfolio.queries.d.ts +78 -0
- package/dist/graphql/queries/portfolio.queries.d.ts.map +1 -0
- package/dist/graphql/queries/portfolio.queries.js +198 -0
- package/dist/graphql/queries/portfolio.queries.js.map +1 -0
- package/dist/graphql/queries/prediction.queries.d.ts +38 -0
- package/dist/graphql/queries/prediction.queries.d.ts.map +1 -0
- package/dist/graphql/queries/prediction.queries.js +100 -0
- package/dist/graphql/queries/prediction.queries.js.map +1 -0
- package/dist/graphql/queries/risk.queries.d.ts +37 -0
- package/dist/graphql/queries/risk.queries.d.ts.map +1 -0
- package/dist/graphql/queries/risk.queries.js +90 -0
- package/dist/graphql/queries/risk.queries.js.map +1 -0
- package/dist/graphql/queries/search.queries.d.ts +61 -0
- package/dist/graphql/queries/search.queries.d.ts.map +1 -0
- package/dist/graphql/queries/search.queries.js +103 -0
- package/dist/graphql/queries/search.queries.js.map +1 -0
- package/dist/graphql/queries/transaction.queries.d.ts +60 -0
- package/dist/graphql/queries/transaction.queries.d.ts.map +1 -0
- package/dist/graphql/queries/transaction.queries.js +252 -0
- package/dist/graphql/queries/transaction.queries.js.map +1 -0
- package/dist/graphql/queries/vault.queries.d.ts +54 -0
- package/dist/graphql/queries/vault.queries.d.ts.map +1 -0
- package/dist/graphql/queries/vault.queries.js +78 -0
- package/dist/graphql/queries/vault.queries.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/competitor-comparison.d.ts +8 -0
- package/dist/prompts/competitor-comparison.d.ts.map +1 -0
- package/dist/prompts/competitor-comparison.js +432 -0
- package/dist/prompts/competitor-comparison.js.map +1 -0
- package/dist/prompts/curator-performance.d.ts +8 -0
- package/dist/prompts/curator-performance.d.ts.map +1 -0
- package/dist/prompts/curator-performance.js +383 -0
- package/dist/prompts/curator-performance.js.map +1 -0
- package/dist/prompts/financial-analysis.d.ts +8 -0
- package/dist/prompts/financial-analysis.d.ts.map +1 -0
- package/dist/prompts/financial-analysis.js +480 -0
- package/dist/prompts/financial-analysis.js.map +1 -0
- package/dist/prompts/index.d.ts +21 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +50 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/onboarding-first-vault.d.ts +8 -0
- package/dist/prompts/onboarding-first-vault.d.ts.map +1 -0
- package/dist/prompts/onboarding-first-vault.js +317 -0
- package/dist/prompts/onboarding-first-vault.js.map +1 -0
- package/dist/prompts/portfolio-optimization.d.ts +8 -0
- package/dist/prompts/portfolio-optimization.d.ts.map +1 -0
- package/dist/prompts/portfolio-optimization.js +412 -0
- package/dist/prompts/portfolio-optimization.js.map +1 -0
- package/dist/prompts/protocol-overview.d.ts +8 -0
- package/dist/prompts/protocol-overview.d.ts.map +1 -0
- package/dist/prompts/protocol-overview.js +398 -0
- package/dist/prompts/protocol-overview.js.map +1 -0
- package/dist/prompts/shared/disclaimers.d.ts +54 -0
- package/dist/prompts/shared/disclaimers.d.ts.map +1 -0
- package/dist/prompts/shared/disclaimers.js +400 -0
- package/dist/prompts/shared/disclaimers.js.map +1 -0
- package/dist/resources/glossary.d.ts +8 -0
- package/dist/resources/glossary.d.ts.map +1 -0
- package/dist/resources/glossary.js +407 -0
- package/dist/resources/glossary.js.map +1 -0
- package/dist/resources/index.d.ts +18 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +29 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/resources/schema.d.ts +22 -0
- package/dist/resources/schema.d.ts.map +1 -0
- package/dist/resources/schema.js +67 -0
- package/dist/resources/schema.js.map +1 -0
- package/dist/schemas/config.schema.d.ts +46 -0
- package/dist/schemas/config.schema.d.ts.map +1 -0
- package/dist/schemas/config.schema.js +48 -0
- package/dist/schemas/config.schema.js.map +1 -0
- package/dist/sdk/__tests__/apr-service.test.d.ts +7 -0
- package/dist/sdk/__tests__/apr-service.test.d.ts.map +1 -0
- package/dist/sdk/__tests__/apr-service.test.js +385 -0
- package/dist/sdk/__tests__/apr-service.test.js.map +1 -0
- package/dist/sdk/__tests__/math-utils.test.d.ts +7 -0
- package/dist/sdk/__tests__/math-utils.test.d.ts.map +1 -0
- package/dist/sdk/__tests__/math-utils.test.js +185 -0
- package/dist/sdk/__tests__/math-utils.test.js.map +1 -0
- package/dist/sdk/__tests__/simulation-service.test.d.ts +5 -0
- package/dist/sdk/__tests__/simulation-service.test.d.ts.map +1 -0
- package/dist/sdk/__tests__/simulation-service.test.js +397 -0
- package/dist/sdk/__tests__/simulation-service.test.js.map +1 -0
- package/dist/sdk/__tests__/vault-utils.test.d.ts +7 -0
- package/dist/sdk/__tests__/vault-utils.test.d.ts.map +1 -0
- package/dist/sdk/__tests__/vault-utils.test.js +189 -0
- package/dist/sdk/__tests__/vault-utils.test.js.map +1 -0
- package/dist/sdk/apr-service.d.ts +101 -0
- package/dist/sdk/apr-service.d.ts.map +1 -0
- package/dist/sdk/apr-service.js +175 -0
- package/dist/sdk/apr-service.js.map +1 -0
- package/dist/sdk/math-utils.d.ts +138 -0
- package/dist/sdk/math-utils.d.ts.map +1 -0
- package/dist/sdk/math-utils.js +218 -0
- package/dist/sdk/math-utils.js.map +1 -0
- package/dist/sdk/simulation-service.d.ts +106 -0
- package/dist/sdk/simulation-service.d.ts.map +1 -0
- package/dist/sdk/simulation-service.js +143 -0
- package/dist/sdk/simulation-service.js.map +1 -0
- package/dist/sdk/vault-utils.d.ts +125 -0
- package/dist/sdk/vault-utils.d.ts.map +1 -0
- package/dist/sdk/vault-utils.js +165 -0
- package/dist/sdk/vault-utils.js.map +1 -0
- package/dist/server.d.ts +21 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +225 -0
- package/dist/server.js.map +1 -0
- package/dist/services/analytics/protocol-overview.service.d.ts +61 -0
- package/dist/services/analytics/protocol-overview.service.d.ts.map +1 -0
- package/dist/services/analytics/protocol-overview.service.js +182 -0
- package/dist/services/analytics/protocol-overview.service.js.map +1 -0
- package/dist/services/analytics/risk.service.d.ts +92 -0
- package/dist/services/analytics/risk.service.d.ts.map +1 -0
- package/dist/services/analytics/risk.service.js +423 -0
- package/dist/services/analytics/risk.service.js.map +1 -0
- package/dist/services/base.service.d.ts +39 -0
- package/dist/services/base.service.d.ts.map +1 -0
- package/dist/services/base.service.js +37 -0
- package/dist/services/base.service.js.map +1 -0
- package/dist/services/index.d.ts +30 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +101 -0
- package/dist/services/index.js.map +1 -0
- package/dist/tools/__tests__/simulate-vault.test.d.ts +5 -0
- package/dist/tools/__tests__/simulate-vault.test.d.ts.map +1 -0
- package/dist/tools/__tests__/simulate-vault.test.js +363 -0
- package/dist/tools/__tests__/simulate-vault.test.js.map +1 -0
- package/dist/tools/analyze-risk.d.ts +34 -0
- package/dist/tools/analyze-risk.d.ts.map +1 -0
- package/dist/tools/analyze-risk.js +100 -0
- package/dist/tools/analyze-risk.js.map +1 -0
- package/dist/tools/compare-vaults.d.ts +29 -0
- package/dist/tools/compare-vaults.d.ts.map +1 -0
- package/dist/tools/compare-vaults.js +285 -0
- package/dist/tools/compare-vaults.js.map +1 -0
- package/dist/tools/export-data.d.ts +34 -0
- package/dist/tools/export-data.d.ts.map +1 -0
- package/dist/tools/export-data.js +309 -0
- package/dist/tools/export-data.js.map +1 -0
- package/dist/tools/get-price-history.d.ts +29 -0
- package/dist/tools/get-price-history.d.ts.map +1 -0
- package/dist/tools/get-price-history.js +236 -0
- package/dist/tools/get-price-history.js.map +1 -0
- package/dist/tools/get-transactions.d.ts +29 -0
- package/dist/tools/get-transactions.d.ts.map +1 -0
- package/dist/tools/get-transactions.js +181 -0
- package/dist/tools/get-transactions.js.map +1 -0
- package/dist/tools/index.d.ts +26 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +32 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/optimize-portfolio.d.ts +37 -0
- package/dist/tools/optimize-portfolio.d.ts.map +1 -0
- package/dist/tools/optimize-portfolio.js +459 -0
- package/dist/tools/optimize-portfolio.js.map +1 -0
- package/dist/tools/predict-yield.d.ts +30 -0
- package/dist/tools/predict-yield.d.ts.map +1 -0
- package/dist/tools/predict-yield.js +248 -0
- package/dist/tools/predict-yield.js.map +1 -0
- package/dist/tools/query-graphql.d.ts +35 -0
- package/dist/tools/query-graphql.d.ts.map +1 -0
- package/dist/tools/query-graphql.js +54 -0
- package/dist/tools/query-graphql.js.map +1 -0
- package/dist/tools/registry.d.ts +42 -0
- package/dist/tools/registry.d.ts.map +1 -0
- package/dist/tools/registry.js +231 -0
- package/dist/tools/registry.js.map +1 -0
- package/dist/tools/search-vaults.d.ts +40 -0
- package/dist/tools/search-vaults.d.ts.map +1 -0
- package/dist/tools/search-vaults.js +184 -0
- package/dist/tools/search-vaults.js.map +1 -0
- package/dist/tools/simulate-vault.d.ts +80 -0
- package/dist/tools/simulate-vault.d.ts.map +1 -0
- package/dist/tools/simulate-vault.js +281 -0
- package/dist/tools/simulate-vault.js.map +1 -0
- package/dist/tools/user-portfolio.d.ts +30 -0
- package/dist/tools/user-portfolio.d.ts.map +1 -0
- package/dist/tools/user-portfolio.js +142 -0
- package/dist/tools/user-portfolio.js.map +1 -0
- package/dist/tools/vault-data.d.ts +23 -0
- package/dist/tools/vault-data.d.ts.map +1 -0
- package/dist/tools/vault-data.js +68 -0
- package/dist/tools/vault-data.js.map +1 -0
- package/dist/tools/vault-performance.d.ts +30 -0
- package/dist/tools/vault-performance.d.ts.map +1 -0
- package/dist/tools/vault-performance.js +275 -0
- package/dist/tools/vault-performance.js.map +1 -0
- package/dist/types/generated.d.ts +1109 -0
- package/dist/types/generated.d.ts.map +1 -0
- package/dist/types/generated.js +2 -0
- package/dist/types/generated.js.map +1 -0
- package/dist/types/index.d.ts +46 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +8 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/comparison-metrics.d.ts +120 -0
- package/dist/utils/comparison-metrics.d.ts.map +1 -0
- package/dist/utils/comparison-metrics.js +215 -0
- package/dist/utils/comparison-metrics.js.map +1 -0
- package/dist/utils/config-loader.d.ts +17 -0
- package/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/utils/config-loader.js +45 -0
- package/dist/utils/config-loader.js.map +1 -0
- package/dist/utils/csv-generator.d.ts +89 -0
- package/dist/utils/csv-generator.d.ts.map +1 -0
- package/dist/utils/csv-generator.js +97 -0
- package/dist/utils/csv-generator.js.map +1 -0
- package/dist/utils/disclaimers.d.ts +70 -0
- package/dist/utils/disclaimers.d.ts.map +1 -0
- package/dist/utils/disclaimers.js +161 -0
- package/dist/utils/disclaimers.js.map +1 -0
- package/dist/utils/errors.d.ts +66 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +86 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/execute-tool-with-cache.d.ts +97 -0
- package/dist/utils/execute-tool-with-cache.d.ts.map +1 -0
- package/dist/utils/execute-tool-with-cache.js +105 -0
- package/dist/utils/execute-tool-with-cache.js.map +1 -0
- package/dist/utils/portfolio-optimization.d.ts +100 -0
- package/dist/utils/portfolio-optimization.d.ts.map +1 -0
- package/dist/utils/portfolio-optimization.js +283 -0
- package/dist/utils/portfolio-optimization.js.map +1 -0
- package/dist/utils/risk-scoring.d.ts +226 -0
- package/dist/utils/risk-scoring.d.ts.map +1 -0
- package/dist/utils/risk-scoring.js +523 -0
- package/dist/utils/risk-scoring.js.map +1 -0
- package/dist/utils/tool-error-handler.d.ts +16 -0
- package/dist/utils/tool-error-handler.d.ts.map +1 -0
- package/dist/utils/tool-error-handler.js +43 -0
- package/dist/utils/tool-error-handler.js.map +1 -0
- package/dist/utils/tool-handler.d.ts +33 -0
- package/dist/utils/tool-handler.d.ts.map +1 -0
- package/dist/utils/tool-handler.js +59 -0
- package/dist/utils/tool-handler.js.map +1 -0
- package/dist/utils/tool-response.d.ts +16 -0
- package/dist/utils/tool-response.d.ts.map +1 -0
- package/dist/utils/tool-response.js +25 -0
- package/dist/utils/tool-response.js.map +1 -0
- package/dist/utils/validators.d.ts +359 -0
- package/dist/utils/validators.d.ts.map +1 -0
- package/dist/utils/validators.js +233 -0
- package/dist/utils/validators.js.map +1 -0
- package/dist/utils/yield-prediction.d.ts +69 -0
- package/dist/utils/yield-prediction.d.ts.map +1 -0
- package/dist/utils/yield-prediction.js +290 -0
- package/dist/utils/yield-prediction.js.map +1 -0
- package/package.json +83 -0
|
@@ -0,0 +1,1109 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
+
};
|
|
22
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
|
+
export type Scalars = {
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
Address: {
|
|
45
|
+
input: string;
|
|
46
|
+
output: string;
|
|
47
|
+
};
|
|
48
|
+
BigInt: {
|
|
49
|
+
input: string;
|
|
50
|
+
output: string;
|
|
51
|
+
};
|
|
52
|
+
HexString: {
|
|
53
|
+
input: any;
|
|
54
|
+
output: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
/** Annual Percentage Rate with various calculation methods */
|
|
58
|
+
export type ApRs = {
|
|
59
|
+
__typename?: 'APRs';
|
|
60
|
+
/** List of airdrops with their respective APR contributions for the corresponding period */
|
|
61
|
+
airdrops: Array<AirdropWithApr>;
|
|
62
|
+
/** List of incentives with their respective APR contributions for the corresponding period */
|
|
63
|
+
incentives: Array<Incentive>;
|
|
64
|
+
/** Linear net APR including all rewards and after fees */
|
|
65
|
+
linearNetApr: Scalars['Float']['output'];
|
|
66
|
+
/** Linear net APR excluding airdrops after fees */
|
|
67
|
+
linearNetAprWithoutExtraYields: Scalars['Float']['output'];
|
|
68
|
+
/** List of native yields with their respective APR contributions for the corresponding period */
|
|
69
|
+
nativeYields: Array<NativeYield>;
|
|
70
|
+
};
|
|
71
|
+
/** Represents an airdrop event with details about token distribution */
|
|
72
|
+
export type Airdrop = {
|
|
73
|
+
__typename?: 'Airdrop';
|
|
74
|
+
/** Detailed description of the yield */
|
|
75
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
76
|
+
/** The timestamp when the airdrop campaign starts */
|
|
77
|
+
distributionTimestamp: Scalars['String']['output'];
|
|
78
|
+
/** End timestamp of the yield */
|
|
79
|
+
endTimestamp: Scalars['Float']['output'];
|
|
80
|
+
/** Whether the yield is an estimation */
|
|
81
|
+
isEstimation: Scalars['Boolean']['output'];
|
|
82
|
+
/** Icon of the yield */
|
|
83
|
+
logoUrl: Scalars['String']['output'];
|
|
84
|
+
/** Multiplier applied to the yield source calculation */
|
|
85
|
+
multiplier?: Maybe<Scalars['String']['output']>;
|
|
86
|
+
/** Name of the yield */
|
|
87
|
+
name: Scalars['String']['output'];
|
|
88
|
+
/** The airdrop share in the price per share of the vault */
|
|
89
|
+
ppsIncrease: Scalars['Float']['output'];
|
|
90
|
+
/** Start timestamp of the yield */
|
|
91
|
+
startTimestamp: Scalars['Float']['output'];
|
|
92
|
+
};
|
|
93
|
+
/** Airdrop information with associated APR */
|
|
94
|
+
export type AirdropWithApr = {
|
|
95
|
+
__typename?: 'AirdropWithApr';
|
|
96
|
+
/** APR as a decimal value */
|
|
97
|
+
apr: Scalars['Float']['output'];
|
|
98
|
+
/** Detailed description of the yield */
|
|
99
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
100
|
+
/** The timestamp when the airdrop campaign starts */
|
|
101
|
+
distributionTimestamp: Scalars['String']['output'];
|
|
102
|
+
/** End timestamp of the yield */
|
|
103
|
+
endTimestamp: Scalars['Float']['output'];
|
|
104
|
+
/** Whether the yield is an estimation */
|
|
105
|
+
isEstimation: Scalars['Boolean']['output'];
|
|
106
|
+
/** Icon of the yield */
|
|
107
|
+
logoUrl: Scalars['String']['output'];
|
|
108
|
+
/** Multiplier applied to the yield source calculation */
|
|
109
|
+
multiplier?: Maybe<Scalars['String']['output']>;
|
|
110
|
+
/** Name of the yield */
|
|
111
|
+
name: Scalars['String']['output'];
|
|
112
|
+
/** The airdrop share in the price per share of the vault */
|
|
113
|
+
ppsIncrease: Scalars['Float']['output'];
|
|
114
|
+
/** Start timestamp of the yield */
|
|
115
|
+
startTimestamp: Scalars['Float']['output'];
|
|
116
|
+
};
|
|
117
|
+
/** A vault asset */
|
|
118
|
+
export type Asset = {
|
|
119
|
+
__typename?: 'Asset';
|
|
120
|
+
/** Contract address of the asset */
|
|
121
|
+
address: Scalars['String']['output'];
|
|
122
|
+
/** The network that this asset belongs to */
|
|
123
|
+
chain: Chain;
|
|
124
|
+
/** Number of decimal places for the asset */
|
|
125
|
+
decimals: Scalars['Int']['output'];
|
|
126
|
+
/** Detailed description of the asset */
|
|
127
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
128
|
+
/** Unique identifier for the asset */
|
|
129
|
+
id: Scalars['ID']['output'];
|
|
130
|
+
/** Whether the asset is visible to users in the Lagoon frontend */
|
|
131
|
+
isVisible: Scalars['Boolean']['output'];
|
|
132
|
+
/** URL to the asset's logo image */
|
|
133
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
134
|
+
/** Name of the asset */
|
|
135
|
+
name: Scalars['String']['output'];
|
|
136
|
+
/** Current price of the asset in USD */
|
|
137
|
+
priceUsd: Scalars['Float']['output'];
|
|
138
|
+
/** Symbol of the asset */
|
|
139
|
+
symbol: Scalars['String']['output'];
|
|
140
|
+
};
|
|
141
|
+
/** Filter input for Asset */
|
|
142
|
+
export type AssetFilterInput = {
|
|
143
|
+
/** Filter by address equal to value */
|
|
144
|
+
address_eq?: InputMaybe<Scalars['String']['input']>;
|
|
145
|
+
/** Filter by chainId equal to value */
|
|
146
|
+
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
147
|
+
/** Filter by chainId in array of values */
|
|
148
|
+
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
149
|
+
/** Filter by id in array of values */
|
|
150
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
151
|
+
/** Filter by isVisible equal to value */
|
|
152
|
+
isVisible_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
153
|
+
};
|
|
154
|
+
/** Available fields to order Asset by */
|
|
155
|
+
export type AssetOrderBy =
|
|
156
|
+
/** Order by address */
|
|
157
|
+
'address'
|
|
158
|
+
/** Order by chainId */
|
|
159
|
+
| 'chainId'
|
|
160
|
+
/** Order by id */
|
|
161
|
+
| 'id'
|
|
162
|
+
/** Order by name */
|
|
163
|
+
| 'name'
|
|
164
|
+
/** Order by symbol */
|
|
165
|
+
| 'symbol';
|
|
166
|
+
/** The Asset paginated response */
|
|
167
|
+
export type AssetPage = {
|
|
168
|
+
__typename?: 'AssetPage';
|
|
169
|
+
/** The list of items for the current page */
|
|
170
|
+
items: Array<Asset>;
|
|
171
|
+
/** Pagination information */
|
|
172
|
+
pageInfo: PageInfo;
|
|
173
|
+
};
|
|
174
|
+
/** Current shares and assets balances of an address */
|
|
175
|
+
export type Balances = {
|
|
176
|
+
__typename?: 'Balances';
|
|
177
|
+
/** Amount of assets */
|
|
178
|
+
assets: Scalars['BigInt']['output'];
|
|
179
|
+
/** USD amount of assets */
|
|
180
|
+
assetsUsd: Scalars['Float']['output'];
|
|
181
|
+
/** Amount of shares */
|
|
182
|
+
shares: Scalars['BigInt']['output'];
|
|
183
|
+
/** USD amount of shares */
|
|
184
|
+
sharesUsd: Scalars['Float']['output'];
|
|
185
|
+
};
|
|
186
|
+
/** Bundle */
|
|
187
|
+
export type Bundles = {
|
|
188
|
+
__typename?: 'Bundles';
|
|
189
|
+
/** URL to the debank bundle */
|
|
190
|
+
debank: Scalars['String']['output'];
|
|
191
|
+
/** URL to the octav bundle */
|
|
192
|
+
octav: Scalars['String']['output'];
|
|
193
|
+
};
|
|
194
|
+
/** Represents a network with its native token and metadata */
|
|
195
|
+
export type Chain = {
|
|
196
|
+
__typename?: 'Chain';
|
|
197
|
+
/** Vault factory address */
|
|
198
|
+
factory: Scalars['Address']['output'];
|
|
199
|
+
/** Unique identifier of the chain */
|
|
200
|
+
id: Scalars['ID']['output'];
|
|
201
|
+
/** Whether the chain is visible to users in the Lagoon frontend */
|
|
202
|
+
isVisible: Scalars['Boolean']['output'];
|
|
203
|
+
/** URL pointing to the chain's logo image */
|
|
204
|
+
logoUrl: Scalars['String']['output'];
|
|
205
|
+
/** Name of the chain */
|
|
206
|
+
name: Scalars['String']['output'];
|
|
207
|
+
/** Symbol of the native token for this chain (e.g., ETH for Ethereum) */
|
|
208
|
+
nativeToken: Scalars['String']['output'];
|
|
209
|
+
/** Wrapped version of the native token for this chain (e.g., WETH for Ethereum) */
|
|
210
|
+
wrappedNativeToken: WrappedNativeToken;
|
|
211
|
+
};
|
|
212
|
+
/** Filter input for Chain */
|
|
213
|
+
export type ChainFilterInput = {
|
|
214
|
+
/** Filter by id in array of values */
|
|
215
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
216
|
+
/** Filter by isVisible equal to value */
|
|
217
|
+
isVisible_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
218
|
+
};
|
|
219
|
+
/** Available fields to order Chain by */
|
|
220
|
+
export type ChainOrderBy =
|
|
221
|
+
/** Order by id */
|
|
222
|
+
'id'
|
|
223
|
+
/** Order by name */
|
|
224
|
+
| 'name'
|
|
225
|
+
/** Order by nativeToken */
|
|
226
|
+
| 'nativeToken';
|
|
227
|
+
/** The Chain paginated response */
|
|
228
|
+
export type ChainPage = {
|
|
229
|
+
__typename?: 'ChainPage';
|
|
230
|
+
/** The list of items for the current page */
|
|
231
|
+
items: Array<Chain>;
|
|
232
|
+
/** Pagination information */
|
|
233
|
+
pageInfo: PageInfo;
|
|
234
|
+
};
|
|
235
|
+
/** A curator entity that manages vault assets */
|
|
236
|
+
export type Curator = {
|
|
237
|
+
__typename?: 'Curator';
|
|
238
|
+
/** Descriptive text about the curator */
|
|
239
|
+
aboutDescription?: Maybe<Scalars['String']['output']>;
|
|
240
|
+
/** Unique identifier for the curator */
|
|
241
|
+
id: Scalars['ID']['output'];
|
|
242
|
+
/** Whether the chain is visible to users in the Lagoon frontend */
|
|
243
|
+
isVisible: Scalars['Boolean']['output'];
|
|
244
|
+
/** Logo image URL of the curator */
|
|
245
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
246
|
+
/** Name of the curator */
|
|
247
|
+
name: Scalars['String']['output'];
|
|
248
|
+
/** Website URL of the curator */
|
|
249
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
250
|
+
};
|
|
251
|
+
/** Filter input for Curator */
|
|
252
|
+
export type CuratorFilterInput = {
|
|
253
|
+
/** Filter by id in array of values */
|
|
254
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
255
|
+
/** Filter by isVisible equal to value */
|
|
256
|
+
isVisible_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
257
|
+
};
|
|
258
|
+
/** Available fields to order Curator by */
|
|
259
|
+
export type CuratorOrderBy =
|
|
260
|
+
/** Order by id */
|
|
261
|
+
'id'
|
|
262
|
+
/** Order by name */
|
|
263
|
+
| 'name';
|
|
264
|
+
/** The Curator paginated response */
|
|
265
|
+
export type CuratorPage = {
|
|
266
|
+
__typename?: 'CuratorPage';
|
|
267
|
+
/** The list of items for the current page */
|
|
268
|
+
items: Array<Curator>;
|
|
269
|
+
/** Pagination information */
|
|
270
|
+
pageInfo: PageInfo;
|
|
271
|
+
};
|
|
272
|
+
/** Defi integration */
|
|
273
|
+
export type DefiIntegration = {
|
|
274
|
+
__typename?: 'DefiIntegration';
|
|
275
|
+
/** Description of the protocol */
|
|
276
|
+
description: Scalars['String']['output'];
|
|
277
|
+
/** Link to the protocol */
|
|
278
|
+
link: Scalars['String']['output'];
|
|
279
|
+
/** Logo URL of the protocol */
|
|
280
|
+
logoUrl: Scalars['String']['output'];
|
|
281
|
+
/** Name of the protocol */
|
|
282
|
+
name: Scalars['String']['output'];
|
|
283
|
+
/** Type of the defi integration */
|
|
284
|
+
type: DefiIntegrationType;
|
|
285
|
+
};
|
|
286
|
+
/** Type of the defi integration */
|
|
287
|
+
export type DefiIntegrationType =
|
|
288
|
+
/** Lending protocol */
|
|
289
|
+
'LENDING'
|
|
290
|
+
/** Yield protocol */
|
|
291
|
+
| 'YIELD';
|
|
292
|
+
/** Emitted when a deposit request happens. */
|
|
293
|
+
export type DepositRequest = {
|
|
294
|
+
__typename?: 'DepositRequest';
|
|
295
|
+
/** Amount of assets deposited */
|
|
296
|
+
assets: Scalars['BigInt']['output'];
|
|
297
|
+
/** The USD value of the assets being deposited */
|
|
298
|
+
assetsUsd: Scalars['Float']['output'];
|
|
299
|
+
/** The address that will control the request */
|
|
300
|
+
controller: Scalars['Address']['output'];
|
|
301
|
+
/** The address from which the asset will be transfered from. */
|
|
302
|
+
owner: Scalars['Address']['output'];
|
|
303
|
+
/** The id of the deposit request. */
|
|
304
|
+
requestId: Scalars['BigInt']['output'];
|
|
305
|
+
/** The address who gave its assets. */
|
|
306
|
+
sender: Scalars['Address']['output'];
|
|
307
|
+
/** The vault associated with the deposit request */
|
|
308
|
+
vault: Vault;
|
|
309
|
+
};
|
|
310
|
+
/** Emitted when a deposit request is canceled. */
|
|
311
|
+
export type DepositRequestCanceled = {
|
|
312
|
+
__typename?: 'DepositRequestCanceled';
|
|
313
|
+
/** The address that will control the request. */
|
|
314
|
+
controller: Scalars['Address']['output'];
|
|
315
|
+
/** The id of the deposit request canceled. */
|
|
316
|
+
requestId: Scalars['BigInt']['output'];
|
|
317
|
+
/** The vault associated with the canceled deposit request */
|
|
318
|
+
vault: Vault;
|
|
319
|
+
};
|
|
320
|
+
/** Same as a 4626 Deposit event. */
|
|
321
|
+
export type DepositSync = {
|
|
322
|
+
__typename?: 'DepositSync';
|
|
323
|
+
/** Amount of assets deposited. */
|
|
324
|
+
assets: Scalars['BigInt']['output'];
|
|
325
|
+
/** The USD value of the assets being deposited */
|
|
326
|
+
assetsUsd: Scalars['Float']['output'];
|
|
327
|
+
/** The address from which the asset will be transfered from. */
|
|
328
|
+
owner: Scalars['Address']['output'];
|
|
329
|
+
/** Address of the transaction sender who initiated the deposit. */
|
|
330
|
+
sender: Scalars['Address']['output'];
|
|
331
|
+
/** Number of shares issued for the deposit. */
|
|
332
|
+
shares: Scalars['BigInt']['output'];
|
|
333
|
+
/** The vault associated with the deposit sync */
|
|
334
|
+
vault: Vault;
|
|
335
|
+
};
|
|
336
|
+
/** Incentives from incentive programs */
|
|
337
|
+
export type Incentive = {
|
|
338
|
+
__typename?: 'Incentive';
|
|
339
|
+
/** APR of the incentive */
|
|
340
|
+
apr?: Maybe<Scalars['Float']['output']>;
|
|
341
|
+
/** Disclaimer of the incentive */
|
|
342
|
+
aprDescription: Scalars['String']['output'];
|
|
343
|
+
/** Detailed description of the yield */
|
|
344
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
345
|
+
/** End timestamp of the incentive */
|
|
346
|
+
endTimestamp?: Maybe<Scalars['Float']['output']>;
|
|
347
|
+
/** Rate of the incentive */
|
|
348
|
+
incentiveRate?: Maybe<IncentiveRate>;
|
|
349
|
+
/** Type of the incentive */
|
|
350
|
+
incentiveType: Scalars['String']['output'];
|
|
351
|
+
/** Whether the yield is an estimation */
|
|
352
|
+
isEstimation: Scalars['Boolean']['output'];
|
|
353
|
+
/** Icon of the yield */
|
|
354
|
+
logoUrl: Scalars['String']['output'];
|
|
355
|
+
/** Multiplier applied to the yield source calculation */
|
|
356
|
+
multiplier?: Maybe<Scalars['String']['output']>;
|
|
357
|
+
/** Name of the yield */
|
|
358
|
+
name: Scalars['String']['output'];
|
|
359
|
+
/** Start timestamp of the yield */
|
|
360
|
+
startTimestamp: Scalars['Float']['output'];
|
|
361
|
+
};
|
|
362
|
+
/** Rate system of a reward */
|
|
363
|
+
export type IncentiveRate = {
|
|
364
|
+
__typename?: 'IncentiveRate';
|
|
365
|
+
/** Amount of incentive */
|
|
366
|
+
incentiveAmount: Scalars['Float']['output'];
|
|
367
|
+
/** The token evaluated to compute the incentive */
|
|
368
|
+
referenceToken: Asset;
|
|
369
|
+
/** Amount of reference token required to obtain the amount of incentive */
|
|
370
|
+
referenceTokenAmount: Scalars['Float']['output'];
|
|
371
|
+
};
|
|
372
|
+
/** A integrator entity that manages vault assets */
|
|
373
|
+
export type Integrator = {
|
|
374
|
+
__typename?: 'Integrator';
|
|
375
|
+
/** Descriptive text about the integrator */
|
|
376
|
+
aboutDescription?: Maybe<Scalars['String']['output']>;
|
|
377
|
+
/** Unique identifier for the integrator */
|
|
378
|
+
id: Scalars['ID']['output'];
|
|
379
|
+
/** Whether the chain is visible to users in the Lagoon frontend */
|
|
380
|
+
isVisible: Scalars['Boolean']['output'];
|
|
381
|
+
/** Logo image URL of the integrator */
|
|
382
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
383
|
+
/** Name of the integrator */
|
|
384
|
+
name: Scalars['String']['output'];
|
|
385
|
+
/** Website URL of the integrator */
|
|
386
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
387
|
+
};
|
|
388
|
+
/** Filter input for Integrator */
|
|
389
|
+
export type IntegratorFilterInput = {
|
|
390
|
+
/** Filter by id in array of values */
|
|
391
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
392
|
+
/** Filter by isVisible equal to value */
|
|
393
|
+
isVisible_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
394
|
+
};
|
|
395
|
+
/** Available fields to order Integrator by */
|
|
396
|
+
export type IntegratorOrderBy =
|
|
397
|
+
/** Order by id */
|
|
398
|
+
'id'
|
|
399
|
+
/** Order by name */
|
|
400
|
+
| 'name';
|
|
401
|
+
/** The Integrator paginated response */
|
|
402
|
+
export type IntegratorPage = {
|
|
403
|
+
__typename?: 'IntegratorPage';
|
|
404
|
+
/** The list of items for the current page */
|
|
405
|
+
items: Array<Integrator>;
|
|
406
|
+
/** Pagination information */
|
|
407
|
+
pageInfo: PageInfo;
|
|
408
|
+
};
|
|
409
|
+
/** Live net APR */
|
|
410
|
+
export type LiveApr = {
|
|
411
|
+
__typename?: 'LiveAPR';
|
|
412
|
+
/** Detailed description of the yield */
|
|
413
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
414
|
+
/** Live gross APR */
|
|
415
|
+
grossApr?: Maybe<Scalars['Float']['output']>;
|
|
416
|
+
/** Name of the live APR */
|
|
417
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
418
|
+
/** Live net APR */
|
|
419
|
+
netApr?: Maybe<Scalars['Float']['output']>;
|
|
420
|
+
};
|
|
421
|
+
/** Native yields from underlying asset */
|
|
422
|
+
export type NativeYield = {
|
|
423
|
+
__typename?: 'NativeYield';
|
|
424
|
+
/** APR of the native yield */
|
|
425
|
+
apr: Scalars['Float']['output'];
|
|
426
|
+
/** Explanation of the native yield */
|
|
427
|
+
aprDescription: Scalars['String']['output'];
|
|
428
|
+
/** Detailed description of the yield */
|
|
429
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
430
|
+
/** End timestamp of the yield */
|
|
431
|
+
endTimestamp?: Maybe<Scalars['Float']['output']>;
|
|
432
|
+
/** Whether the yield is an estimation */
|
|
433
|
+
isEstimation: Scalars['Boolean']['output'];
|
|
434
|
+
/** Icon of the yield */
|
|
435
|
+
logoUrl: Scalars['String']['output'];
|
|
436
|
+
/** Multiplier applied to the yield source calculation */
|
|
437
|
+
multiplier?: Maybe<Scalars['String']['output']>;
|
|
438
|
+
/** Name of the yield */
|
|
439
|
+
name: Scalars['String']['output'];
|
|
440
|
+
/** Start timestamp of the yield */
|
|
441
|
+
startTimestamp: Scalars['Float']['output'];
|
|
442
|
+
};
|
|
443
|
+
/** Emitted when there is a new valuation proposition. */
|
|
444
|
+
export type NewTotalAssetsUpdated = {
|
|
445
|
+
__typename?: 'NewTotalAssetsUpdated';
|
|
446
|
+
/** The new total assets value. */
|
|
447
|
+
totalAssets: Scalars['BigInt']['output'];
|
|
448
|
+
/** The total value of all assets in the vault converted to USD */
|
|
449
|
+
totalAssetsUsd: Scalars['Float']['output'];
|
|
450
|
+
/** The new total supply value. */
|
|
451
|
+
totalSupply: Scalars['BigInt']['output'];
|
|
452
|
+
/** The vault associated with the new total assets updated */
|
|
453
|
+
vault: Vault;
|
|
454
|
+
};
|
|
455
|
+
/** The direction to order results */
|
|
456
|
+
export type OrderDirection =
|
|
457
|
+
/** Sort results in ascending order (A to Z, 0 to 9) */
|
|
458
|
+
'asc'
|
|
459
|
+
/** Sort results in descending order (Z to A, 9 to 0) */
|
|
460
|
+
| 'desc';
|
|
461
|
+
/** Pagination information for paginated query results */
|
|
462
|
+
export type PageInfo = {
|
|
463
|
+
__typename?: 'PageInfo';
|
|
464
|
+
/** Number of items returned in this page */
|
|
465
|
+
count: Scalars['Int']['output'];
|
|
466
|
+
/** If there are some items left in the data collections */
|
|
467
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
468
|
+
/** If there are previous items before the current page */
|
|
469
|
+
hasPreviousPage: Scalars['Boolean']['output'];
|
|
470
|
+
/** Limit used for this page (aka "first") */
|
|
471
|
+
limit: Scalars['Int']['output'];
|
|
472
|
+
/** Offset used for this page */
|
|
473
|
+
skip: Scalars['Int']['output'];
|
|
474
|
+
/** Total number of items matching the filters (across all pages) */
|
|
475
|
+
totalCount: Scalars['Int']['output'];
|
|
476
|
+
};
|
|
477
|
+
/** 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. */
|
|
478
|
+
export type PeriodSummary = {
|
|
479
|
+
__typename?: 'PeriodSummary';
|
|
480
|
+
/** The duration of the period. */
|
|
481
|
+
duration: Scalars['BigInt']['output'];
|
|
482
|
+
/** The amount of shares at the end of the period, meaning after the TotalAssetsUpdate and after the fee taking but before the settlements of requests. */
|
|
483
|
+
netTotalSupplyAtEnd: Scalars['BigInt']['output'];
|
|
484
|
+
/** The value of TotalAssets at the end of the period, meaning after the TotalAssetsUpdate but before the potential settlements of requests. */
|
|
485
|
+
totalAssetsAtEnd: Scalars['BigInt']['output'];
|
|
486
|
+
/** The value of TotalAssets at the beginning of the period. */
|
|
487
|
+
totalAssetsAtStart: Scalars['BigInt']['output'];
|
|
488
|
+
/** The amount of shares at the end of the period, meaning after the TotalAssetsUpdate but before the settlements of requests and fee taking. */
|
|
489
|
+
totalSupplyAtEnd: Scalars['BigInt']['output'];
|
|
490
|
+
/** The amount of shares at the beginning of the period. */
|
|
491
|
+
totalSupplyAtStart: Scalars['BigInt']['output'];
|
|
492
|
+
/** The vault associated with the period summary */
|
|
493
|
+
vault: Vault;
|
|
494
|
+
};
|
|
495
|
+
/** If activated, the curator want to prevent users from requesting redemption */
|
|
496
|
+
export type PreventWithdraw = {
|
|
497
|
+
__typename?: 'PreventWithdraw';
|
|
498
|
+
/** Is the feature activated */
|
|
499
|
+
activated: Scalars['Boolean']['output'];
|
|
500
|
+
/** Description of the reason why the curator want to prevent withdraw */
|
|
501
|
+
description: Scalars['String']['output'];
|
|
502
|
+
};
|
|
503
|
+
export type Query = {
|
|
504
|
+
__typename?: 'Query';
|
|
505
|
+
/** Find a Asset entity by address and chain id */
|
|
506
|
+
assetByAddress: Asset;
|
|
507
|
+
/** Retrieve paginated list of Asset entities with optional filtering and sorting */
|
|
508
|
+
assets: AssetPage;
|
|
509
|
+
/** Find a single Chain entity by its unique identifier */
|
|
510
|
+
chain: Chain;
|
|
511
|
+
/** Retrieve paginated list of Chain entities with optional filtering and sorting */
|
|
512
|
+
chains: ChainPage;
|
|
513
|
+
/** Find a single Curator entity by its unique identifier */
|
|
514
|
+
curator: Curator;
|
|
515
|
+
/** Retrieve paginated list of Curator entities with optional filtering and sorting */
|
|
516
|
+
curators: CuratorPage;
|
|
517
|
+
/** Get the global TVL for all Lagoon vaults from DeFiLlama */
|
|
518
|
+
getGlobalTVL: Scalars['Float']['output'];
|
|
519
|
+
/** Find a single Integrator entity by its unique identifier */
|
|
520
|
+
integrator: Integrator;
|
|
521
|
+
/** Retrieve paginated list of Integrator entities with optional filtering and sorting */
|
|
522
|
+
integrators: IntegratorPage;
|
|
523
|
+
/** Retrieve paginated list of Transaction entities with optional filtering and sorting */
|
|
524
|
+
transactions: TransactionPage;
|
|
525
|
+
/** Find a user by their address and chain ID */
|
|
526
|
+
userByAddress: User;
|
|
527
|
+
/** Retrieve paginated list of User entities with optional filtering and sorting */
|
|
528
|
+
users: UserPage;
|
|
529
|
+
/** Find a Vault entity by address and chain id */
|
|
530
|
+
vaultByAddress: Vault;
|
|
531
|
+
/** Retrieve paginated list of Vault entities with optional filtering and sorting */
|
|
532
|
+
vaults: VaultPage;
|
|
533
|
+
};
|
|
534
|
+
export type QueryAssetByAddressArgs = {
|
|
535
|
+
address: Scalars['Address']['input'];
|
|
536
|
+
chainId: Scalars['Int']['input'];
|
|
537
|
+
};
|
|
538
|
+
export type QueryAssetsArgs = {
|
|
539
|
+
first?: Scalars['Int']['input'];
|
|
540
|
+
orderBy?: AssetOrderBy;
|
|
541
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
542
|
+
skip?: Scalars['Int']['input'];
|
|
543
|
+
where?: InputMaybe<AssetFilterInput>;
|
|
544
|
+
};
|
|
545
|
+
export type QueryChainArgs = {
|
|
546
|
+
id: Scalars['ID']['input'];
|
|
547
|
+
};
|
|
548
|
+
export type QueryChainsArgs = {
|
|
549
|
+
first?: Scalars['Int']['input'];
|
|
550
|
+
orderBy?: ChainOrderBy;
|
|
551
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
552
|
+
skip?: Scalars['Int']['input'];
|
|
553
|
+
where?: InputMaybe<ChainFilterInput>;
|
|
554
|
+
};
|
|
555
|
+
export type QueryCuratorArgs = {
|
|
556
|
+
id: Scalars['ID']['input'];
|
|
557
|
+
};
|
|
558
|
+
export type QueryCuratorsArgs = {
|
|
559
|
+
first?: Scalars['Int']['input'];
|
|
560
|
+
orderBy?: CuratorOrderBy;
|
|
561
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
562
|
+
skip?: Scalars['Int']['input'];
|
|
563
|
+
where?: InputMaybe<CuratorFilterInput>;
|
|
564
|
+
};
|
|
565
|
+
export type QueryIntegratorArgs = {
|
|
566
|
+
id: Scalars['ID']['input'];
|
|
567
|
+
};
|
|
568
|
+
export type QueryIntegratorsArgs = {
|
|
569
|
+
first?: Scalars['Int']['input'];
|
|
570
|
+
orderBy?: IntegratorOrderBy;
|
|
571
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
572
|
+
skip?: Scalars['Int']['input'];
|
|
573
|
+
where?: InputMaybe<IntegratorFilterInput>;
|
|
574
|
+
};
|
|
575
|
+
export type QueryTransactionsArgs = {
|
|
576
|
+
first?: Scalars['Int']['input'];
|
|
577
|
+
orderBy?: TransactionOrderBy;
|
|
578
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
579
|
+
skip?: Scalars['Int']['input'];
|
|
580
|
+
where?: InputMaybe<TransactionFilterInput>;
|
|
581
|
+
};
|
|
582
|
+
export type QueryUserByAddressArgs = {
|
|
583
|
+
address: Scalars['Address']['input'];
|
|
584
|
+
chainId: Scalars['Int']['input'];
|
|
585
|
+
};
|
|
586
|
+
export type QueryUsersArgs = {
|
|
587
|
+
first?: Scalars['Int']['input'];
|
|
588
|
+
orderBy?: UserOrderBy;
|
|
589
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
590
|
+
skip?: Scalars['Int']['input'];
|
|
591
|
+
where?: InputMaybe<UserFilterInput>;
|
|
592
|
+
};
|
|
593
|
+
export type QueryVaultByAddressArgs = {
|
|
594
|
+
address: Scalars['Address']['input'];
|
|
595
|
+
chainId: Scalars['Int']['input'];
|
|
596
|
+
};
|
|
597
|
+
export type QueryVaultsArgs = {
|
|
598
|
+
first?: Scalars['Int']['input'];
|
|
599
|
+
orderBy?: VaultOrderBy;
|
|
600
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
601
|
+
skip?: Scalars['Int']['input'];
|
|
602
|
+
where?: InputMaybe<VaultFilterInput>;
|
|
603
|
+
};
|
|
604
|
+
/** Holds management and performance rates for the vault. */
|
|
605
|
+
export type Rates = {
|
|
606
|
+
__typename?: 'Rates';
|
|
607
|
+
/** Management fee rate in basis points. */
|
|
608
|
+
managementRate: Scalars['Float']['output'];
|
|
609
|
+
/** Performance fee rate in basis points. */
|
|
610
|
+
performanceRate: Scalars['Float']['output'];
|
|
611
|
+
};
|
|
612
|
+
/** Emitted when the rates are updated. */
|
|
613
|
+
export type RatesUpdated = {
|
|
614
|
+
__typename?: 'RatesUpdated';
|
|
615
|
+
/** The new rates. */
|
|
616
|
+
newRates: Rates;
|
|
617
|
+
/** The old rates. */
|
|
618
|
+
oldRates: Rates;
|
|
619
|
+
/** The timestamp at which the update will take effect. */
|
|
620
|
+
timestamp: Scalars['BigInt']['output'];
|
|
621
|
+
/** The vault associated with this rates update */
|
|
622
|
+
vault: Vault;
|
|
623
|
+
};
|
|
624
|
+
/** Emitted when a redemption request happens. */
|
|
625
|
+
export type RedeemRequest = {
|
|
626
|
+
__typename?: 'RedeemRequest';
|
|
627
|
+
/** The controller is the address that will manage the request. */
|
|
628
|
+
controller: Scalars['Address']['output'];
|
|
629
|
+
/** The owner of the shares. */
|
|
630
|
+
owner: Scalars['Address']['output'];
|
|
631
|
+
/** The request ID. It is the current redeem epoch ID. */
|
|
632
|
+
requestId: Scalars['BigInt']['output'];
|
|
633
|
+
/** The address to which the asset will be transfered to. */
|
|
634
|
+
sender: Scalars['Address']['output'];
|
|
635
|
+
/** The amount of shares to redeemed. */
|
|
636
|
+
shares: Scalars['BigInt']['output'];
|
|
637
|
+
/** The USD value of the shares being redeemed */
|
|
638
|
+
sharesUsd: Scalars['Float']['output'];
|
|
639
|
+
/** The vault associated with the redeem request */
|
|
640
|
+
vault: Vault;
|
|
641
|
+
};
|
|
642
|
+
/** Referral program configuration with visibility settings and commission shares */
|
|
643
|
+
export type Referral = {
|
|
644
|
+
__typename?: 'Referral';
|
|
645
|
+
/** Optional description providing additional details about the referral program */
|
|
646
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
647
|
+
/** Commission share percentage (person being referred) */
|
|
648
|
+
refereeShare: Scalars['String']['output'];
|
|
649
|
+
/** Commission share percentage (person making the referral) */
|
|
650
|
+
referrerShare: Scalars['String']['output'];
|
|
651
|
+
/** Whether the referral program is visible and active */
|
|
652
|
+
visible: Scalars['Boolean']['output'];
|
|
653
|
+
};
|
|
654
|
+
/** Vault Roles */
|
|
655
|
+
export type Roles = {
|
|
656
|
+
__typename?: 'Roles';
|
|
657
|
+
/** The address that will receive the fees generated by the vault */
|
|
658
|
+
feeReceiver: Scalars['String']['output'];
|
|
659
|
+
/** The vault admin */
|
|
660
|
+
owner: Scalars['String']['output'];
|
|
661
|
+
/** The fund custody contract address associated with this lagoon vault */
|
|
662
|
+
safe: Scalars['String']['output'];
|
|
663
|
+
/** The address responsible for updating the newTotalAssets value of the vault */
|
|
664
|
+
valuationManager: Scalars['String']['output'];
|
|
665
|
+
/** The address responsible for managing the whitelist of permissioned vaults */
|
|
666
|
+
whitelistManager: Scalars['String']['output'];
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* Emitted only when assets are deposited into the safe, in the following sequence:
|
|
670
|
+
* * After the `TotalAssetsUpdated` event
|
|
671
|
+
* * After fee collection occurs
|
|
672
|
+
* * Before the `SettleRedeem` event (if applicable)
|
|
673
|
+
*
|
|
674
|
+
*/
|
|
675
|
+
export type SettleDeposit = {
|
|
676
|
+
__typename?: 'SettleDeposit';
|
|
677
|
+
/** The amount of asset deposited. */
|
|
678
|
+
assetsDeposited: Scalars['BigInt']['output'];
|
|
679
|
+
/** The USD value of the assets being deposited */
|
|
680
|
+
assetsDepositedUsd: Scalars['Float']['output'];
|
|
681
|
+
/** The last deposit epoch id settled. */
|
|
682
|
+
epochId: Scalars['Int']['output'];
|
|
683
|
+
/** Unique identifier for the related settlement data. */
|
|
684
|
+
settledId: Scalars['Int']['output'];
|
|
685
|
+
/** The amount of shares minted. */
|
|
686
|
+
sharesMinted: Scalars['BigInt']['output'];
|
|
687
|
+
/** The total assets value settled. */
|
|
688
|
+
totalAssets: Scalars['BigInt']['output'];
|
|
689
|
+
/** The total value of all assets in the vault converted to USD */
|
|
690
|
+
totalAssetsUsd: Scalars['Float']['output'];
|
|
691
|
+
/** The new total supply value. */
|
|
692
|
+
totalSupply: Scalars['BigInt']['output'];
|
|
693
|
+
/** The vault associated with the settle deposit */
|
|
694
|
+
vault: Vault;
|
|
695
|
+
};
|
|
696
|
+
/**
|
|
697
|
+
* Emitted only when assets are unwind from the safe, in the following sequence:
|
|
698
|
+
* * After the `TotalAssetsUpdated` event
|
|
699
|
+
* * After fee collection occurs
|
|
700
|
+
* * After the `SettleDeposit` event (if applicable)
|
|
701
|
+
*
|
|
702
|
+
*/
|
|
703
|
+
export type SettleRedeem = {
|
|
704
|
+
__typename?: 'SettleRedeem';
|
|
705
|
+
/** The amount of asset withdrawed. */
|
|
706
|
+
assetsWithdrawed: Scalars['BigInt']['output'];
|
|
707
|
+
/** The USD value of the assets being withdrawed */
|
|
708
|
+
assetsWithdrawedUsd: Scalars['Float']['output'];
|
|
709
|
+
/** The last redeem epoch id settled. */
|
|
710
|
+
epochId: Scalars['Int']['output'];
|
|
711
|
+
/** Unique identifier for the related settlement data. */
|
|
712
|
+
settledId: Scalars['Int']['output'];
|
|
713
|
+
/** The amount of shares burned. */
|
|
714
|
+
sharesBurned: Scalars['BigInt']['output'];
|
|
715
|
+
/** The total assets value settled. */
|
|
716
|
+
totalAssets: Scalars['BigInt']['output'];
|
|
717
|
+
/** The total value of all assets in the vault converted to USD */
|
|
718
|
+
totalAssetsUsd: Scalars['Float']['output'];
|
|
719
|
+
/** The total supply value. */
|
|
720
|
+
totalSupply: Scalars['BigInt']['output'];
|
|
721
|
+
/** The vault associated with the settle settle redeem */
|
|
722
|
+
vault: Vault;
|
|
723
|
+
};
|
|
724
|
+
/** The state of the vault */
|
|
725
|
+
export type State =
|
|
726
|
+
/** The vault is closed; settlement are locked; withdrawals are guaranteed at fixed price per share */
|
|
727
|
+
'Closed'
|
|
728
|
+
/** The vault is in the process of closing; no NEW deposit (settlement) are accepted into the vault */
|
|
729
|
+
| 'Closing'
|
|
730
|
+
/** The vault is open for deposits and withdrawals. */
|
|
731
|
+
| 'Open';
|
|
732
|
+
/** Emitted when vault state changes from Open -> Closing -> Close */
|
|
733
|
+
export type StateUpdated = {
|
|
734
|
+
__typename?: 'StateUpdated';
|
|
735
|
+
/** The current state of the vault */
|
|
736
|
+
state: State;
|
|
737
|
+
/** The vault associated with this state update. */
|
|
738
|
+
vault: Vault;
|
|
739
|
+
};
|
|
740
|
+
/** Emitted before fees are taken, SettleDeposit and SettleRedeem when there is a new vault valuation settled. */
|
|
741
|
+
export type TotalAssetsUpdated = {
|
|
742
|
+
__typename?: 'TotalAssetsUpdated';
|
|
743
|
+
/** The total assets value settled before fees, deposits and redeems. */
|
|
744
|
+
totalAssets: Scalars['BigInt']['output'];
|
|
745
|
+
/** The total value of all assets in the vault converted to USD */
|
|
746
|
+
totalAssetsUsd: Scalars['Float']['output'];
|
|
747
|
+
/** The total supply value settled before fees, deposits, adn redeems */
|
|
748
|
+
totalSupply: Scalars['BigInt']['output'];
|
|
749
|
+
/** The vault associated with the total assets updated */
|
|
750
|
+
vault: Vault;
|
|
751
|
+
};
|
|
752
|
+
/** A transaction with associated metadata and event data */
|
|
753
|
+
export type Transaction = {
|
|
754
|
+
__typename?: 'Transaction';
|
|
755
|
+
/** Block number where the transaction was included */
|
|
756
|
+
blockNumber: Scalars['BigInt']['output'];
|
|
757
|
+
/** Network details */
|
|
758
|
+
chain: Chain;
|
|
759
|
+
/** Union type representing different types of transaction that can occur, including real on-chain events and virtual ones like PeriodSummaries */
|
|
760
|
+
data: TransactionData;
|
|
761
|
+
/** Transaction hash in hexadecimal format (null for virtual events) */
|
|
762
|
+
hash?: Maybe<Scalars['HexString']['output']>;
|
|
763
|
+
/** Unique identifier for the transaction */
|
|
764
|
+
id: Scalars['ID']['output'];
|
|
765
|
+
/** Index of the log entry within the transaction (null for virtual events) */
|
|
766
|
+
logIndex?: Maybe<Scalars['Int']['output']>;
|
|
767
|
+
/** Unix timestamp when the transaction was mined */
|
|
768
|
+
timestamp: Scalars['BigInt']['output'];
|
|
769
|
+
/** Type of transaction or event */
|
|
770
|
+
type: TransactionType;
|
|
771
|
+
};
|
|
772
|
+
/** Union type representing different types of transaction that can occur, including real on-chain events and virtual ones like PeriodSummaries */
|
|
773
|
+
export type TransactionData = DepositRequest | DepositRequestCanceled | DepositSync | NewTotalAssetsUpdated | PeriodSummary | RatesUpdated | RedeemRequest | SettleDeposit | SettleRedeem | StateUpdated | TotalAssetsUpdated;
|
|
774
|
+
/** Filter input for Transaction */
|
|
775
|
+
export type TransactionFilterInput = {
|
|
776
|
+
/** Filter by chainId equal to value */
|
|
777
|
+
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
778
|
+
/** Filter by chainId in array of values */
|
|
779
|
+
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
780
|
+
/** Filter by state equal to value */
|
|
781
|
+
state_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
782
|
+
/** Filter by type in array of values */
|
|
783
|
+
type_in?: InputMaybe<Array<TransactionType>>;
|
|
784
|
+
/** Filter by type not in array of values */
|
|
785
|
+
type_not_in?: InputMaybe<Array<TransactionType>>;
|
|
786
|
+
/** Filter by vault in array of values */
|
|
787
|
+
vault_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
788
|
+
/** Filter by vault not in array of values */
|
|
789
|
+
vault_not_in?: InputMaybe<Array<Scalars['Address']['input']>>;
|
|
790
|
+
};
|
|
791
|
+
/** Available fields to order Transaction by */
|
|
792
|
+
export type TransactionOrderBy =
|
|
793
|
+
/** Order by blockNumber */
|
|
794
|
+
'blockNumber'
|
|
795
|
+
/** Order by chainId */
|
|
796
|
+
| 'chainId'
|
|
797
|
+
/** Order by id */
|
|
798
|
+
| 'id'
|
|
799
|
+
/** Order by timestamp */
|
|
800
|
+
| 'timestamp';
|
|
801
|
+
/** The Transaction paginated response */
|
|
802
|
+
export type TransactionPage = {
|
|
803
|
+
__typename?: 'TransactionPage';
|
|
804
|
+
/** The list of items for the current page */
|
|
805
|
+
items: Array<Transaction>;
|
|
806
|
+
/** Pagination information */
|
|
807
|
+
pageInfo: PageInfo;
|
|
808
|
+
};
|
|
809
|
+
/** Enum representing different types of vault transactions and operations */
|
|
810
|
+
export type TransactionType =
|
|
811
|
+
/** Emitted when a deposit request happens. */
|
|
812
|
+
'DepositRequest'
|
|
813
|
+
/** Emitted when a deposit request is canceled. */
|
|
814
|
+
| 'DepositRequestCanceled'
|
|
815
|
+
/** Same as a 4626 Deposit event. */
|
|
816
|
+
| 'DepositSync'
|
|
817
|
+
/** Emitted when the newTotalAssets variable is updated. */
|
|
818
|
+
| 'NewTotalAssetsUpdated'
|
|
819
|
+
/** 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. */
|
|
820
|
+
| 'PeriodSummary'
|
|
821
|
+
/** Emitted when vault fee rates get updated */
|
|
822
|
+
| 'RatesUpdated'
|
|
823
|
+
/** Emitted when a redemption request happens. */
|
|
824
|
+
| 'RedeemRequest'
|
|
825
|
+
/** Emitted when there is assets deposited in the safe. */
|
|
826
|
+
| 'SettleDeposit'
|
|
827
|
+
/** Emitted when there assets unwind from the safe */
|
|
828
|
+
| 'SettleRedeem'
|
|
829
|
+
/** Emitted when vault state changes from Open -> Closing -> Close */
|
|
830
|
+
| 'StateUpdated'
|
|
831
|
+
/** Emitted when the totalAssets variable is updated. */
|
|
832
|
+
| 'TotalAssetsUpdated'
|
|
833
|
+
/** Vault states are not events but it maintains key event states. */
|
|
834
|
+
| 'VaultState';
|
|
835
|
+
/** User entity representing a vault user */
|
|
836
|
+
export type User = {
|
|
837
|
+
__typename?: 'User';
|
|
838
|
+
/** The user's address */
|
|
839
|
+
address: Scalars['Address']['output'];
|
|
840
|
+
/** The network this user belongs to */
|
|
841
|
+
chain: Chain;
|
|
842
|
+
/** User id */
|
|
843
|
+
id: Scalars['ID']['output'];
|
|
844
|
+
/** Current operational state and metrics of the user */
|
|
845
|
+
state: UserState;
|
|
846
|
+
/** User's positions into a vault */
|
|
847
|
+
vaultPositions: Array<VaultPosition>;
|
|
848
|
+
};
|
|
849
|
+
/** Filter input for User */
|
|
850
|
+
export type UserFilterInput = {
|
|
851
|
+
/** Filter by chainId equal to value */
|
|
852
|
+
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
853
|
+
/** Filter by chainId in array of values */
|
|
854
|
+
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
855
|
+
/** Filter by id in array of values */
|
|
856
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
857
|
+
/** Filter by user equal to value */
|
|
858
|
+
user_eq?: InputMaybe<Scalars['Address']['input']>;
|
|
859
|
+
};
|
|
860
|
+
/** Available fields to order User by */
|
|
861
|
+
export type UserOrderBy =
|
|
862
|
+
/** Order by address */
|
|
863
|
+
'address'
|
|
864
|
+
/** Order by chainId */
|
|
865
|
+
| 'chainId'
|
|
866
|
+
/** Order by id */
|
|
867
|
+
| 'id';
|
|
868
|
+
/** The User paginated response */
|
|
869
|
+
export type UserPage = {
|
|
870
|
+
__typename?: 'UserPage';
|
|
871
|
+
/** The list of items for the current page */
|
|
872
|
+
items: Array<User>;
|
|
873
|
+
/** Pagination information */
|
|
874
|
+
pageInfo: PageInfo;
|
|
875
|
+
};
|
|
876
|
+
/** Current operational state and metrics of the vault position */
|
|
877
|
+
export type UserState = {
|
|
878
|
+
__typename?: 'UserState';
|
|
879
|
+
/** The total values of all user's vault shares */
|
|
880
|
+
totalSharesUsd: Scalars['Float']['output'];
|
|
881
|
+
};
|
|
882
|
+
/** A vault entity that represents a Lagoon vault contract */
|
|
883
|
+
export type Vault = {
|
|
884
|
+
__typename?: 'Vault';
|
|
885
|
+
/** The address of the vault */
|
|
886
|
+
address: Scalars['String']['output'];
|
|
887
|
+
/** Active and past airdrops for vault participants */
|
|
888
|
+
airdrops: Array<Airdrop>;
|
|
889
|
+
/** The underlying asset of the vault */
|
|
890
|
+
asset: Asset;
|
|
891
|
+
/** Average settlement time hours */
|
|
892
|
+
averageSettlement?: Maybe<Scalars['Float']['output']>;
|
|
893
|
+
/** URLs of the bundles */
|
|
894
|
+
bundles?: Maybe<Bundles>;
|
|
895
|
+
/** The network where the vault is deployed */
|
|
896
|
+
chain: Chain;
|
|
897
|
+
/** List of curators associated with this vault */
|
|
898
|
+
curators?: Maybe<Array<Curator>>;
|
|
899
|
+
/** Number of decimal places for the vault share */
|
|
900
|
+
decimals?: Maybe<Scalars['Int']['output']>;
|
|
901
|
+
/** DeFi protocols that integrated Lagoon vaults */
|
|
902
|
+
defiIntegrations?: Maybe<Array<DefiIntegration>>;
|
|
903
|
+
/** Detailed description of the vault and its strategy */
|
|
904
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
905
|
+
/** Unique identifier for the vault */
|
|
906
|
+
id: Scalars['ID']['output'];
|
|
907
|
+
/** Incentive mechanisms associated with the vault */
|
|
908
|
+
incentives: Array<Incentive>;
|
|
909
|
+
/** Unix timestamp of the inception date of the vault. By default it is the timestamp of the first PeriodSummary. It can be overriden by the currator, in this case, PeriodSummaries older than this value won't be used for APR computations. */
|
|
910
|
+
inception?: Maybe<Scalars['Float']['output']>;
|
|
911
|
+
/** DeFi protocol that integrated Lagoon vaults */
|
|
912
|
+
integrator?: Maybe<Integrator>;
|
|
913
|
+
/** Whether the vault is visible to users in the Lagoon frontend */
|
|
914
|
+
isVisible: Scalars['Boolean']['output'];
|
|
915
|
+
/** URL to the vault logo image */
|
|
916
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
917
|
+
/** Maximum capacity limit for deposits in the vault */
|
|
918
|
+
maxCapacity?: Maybe<Scalars['String']['output']>;
|
|
919
|
+
/** Name of the vault */
|
|
920
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
921
|
+
/** Native yields associated with the vault */
|
|
922
|
+
nativeYields: Array<NativeYield>;
|
|
923
|
+
/** Prevent withdraw */
|
|
924
|
+
preventWithdraw?: Maybe<PreventWithdraw>;
|
|
925
|
+
/** Referral program associated with the vault */
|
|
926
|
+
referral?: Maybe<Referral>;
|
|
927
|
+
/** Brief summary of the vault */
|
|
928
|
+
shortDescription?: Maybe<Scalars['String']['output']>;
|
|
929
|
+
/** Current operational state and metrics of the vault */
|
|
930
|
+
state: VaultState;
|
|
931
|
+
/** The symbol of the vault share */
|
|
932
|
+
symbol?: Maybe<Scalars['String']['output']>;
|
|
933
|
+
};
|
|
934
|
+
/** Filter input for Vault */
|
|
935
|
+
export type VaultFilterInput = {
|
|
936
|
+
/** Filter by address equal to value */
|
|
937
|
+
address_eq?: InputMaybe<Scalars['String']['input']>;
|
|
938
|
+
/** Filter by address in array of values */
|
|
939
|
+
address_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
940
|
+
/** Filter by address not equal to value */
|
|
941
|
+
address_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
942
|
+
/** Filter by address not in array of values */
|
|
943
|
+
address_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
944
|
+
/** Filter by assetId equal to value */
|
|
945
|
+
assetId_eq?: InputMaybe<Scalars['String']['input']>;
|
|
946
|
+
/** Filter by assetId in array of values */
|
|
947
|
+
assetId_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
948
|
+
/** Filter by assetId not equal to value */
|
|
949
|
+
assetId_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
950
|
+
/** Filter by assetId not in array of values */
|
|
951
|
+
assetId_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
952
|
+
/** Filter by assetSymbol equal to value */
|
|
953
|
+
assetSymbol_eq?: InputMaybe<Scalars['String']['input']>;
|
|
954
|
+
/** Filter by assetSymbol in array of values */
|
|
955
|
+
assetSymbol_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
956
|
+
/** Filter by assetSymbol not equal to value */
|
|
957
|
+
assetSymbol_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
958
|
+
/** Filter by assetSymbol not in array of values */
|
|
959
|
+
assetSymbol_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
960
|
+
/** Filter by chainId equal to value */
|
|
961
|
+
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
962
|
+
/** Filter by chainId in array of values */
|
|
963
|
+
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
964
|
+
/** Filter by curatorIds containing value */
|
|
965
|
+
curatorIds_contains?: InputMaybe<Scalars['String']['input']>;
|
|
966
|
+
/** Filter by curatorIds containing any of the values */
|
|
967
|
+
curatorIds_contains_any?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
968
|
+
/** Filter by decimals equal to value */
|
|
969
|
+
decimals_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
970
|
+
/** Filter by decimals greater than value */
|
|
971
|
+
decimals_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
972
|
+
/** Filter by decimals greater than or equal to value */
|
|
973
|
+
decimals_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
974
|
+
/** Filter by decimals less than value */
|
|
975
|
+
decimals_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
976
|
+
/** Filter by decimals less than or equal to value */
|
|
977
|
+
decimals_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
978
|
+
/** Filter by decimals not equal to value */
|
|
979
|
+
decimals_not_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
980
|
+
/** Filter by factoryId equal to value */
|
|
981
|
+
factoryId_eq?: InputMaybe<Scalars['String']['input']>;
|
|
982
|
+
/** Filter by factoryId in array of values */
|
|
983
|
+
factoryId_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
984
|
+
/** Filter by factoryId not equal to value */
|
|
985
|
+
factoryId_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
986
|
+
/** Filter by factoryId not in array of values */
|
|
987
|
+
factoryId_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
988
|
+
/** Filter by id in array of values */
|
|
989
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
990
|
+
/** Filter by integratorId equal to value */
|
|
991
|
+
integratorId_eq?: InputMaybe<Scalars['String']['input']>;
|
|
992
|
+
/** Filter by integratorId in array of values */
|
|
993
|
+
integratorId_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
994
|
+
/** Filter by integratorId not equal to value */
|
|
995
|
+
integratorId_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
996
|
+
/** Filter by integratorId not in array of values */
|
|
997
|
+
integratorId_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
998
|
+
/** Filter by isVisible equal to value */
|
|
999
|
+
isVisible_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1000
|
+
/** Filter by symbol equal to value */
|
|
1001
|
+
symbol_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1002
|
+
/** Filter by symbol in array of values */
|
|
1003
|
+
symbol_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1004
|
+
/** Filter by symbol not equal to value */
|
|
1005
|
+
symbol_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1006
|
+
/** Filter by symbol not in array of values */
|
|
1007
|
+
symbol_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1008
|
+
};
|
|
1009
|
+
/** Available fields to order Vault by */
|
|
1010
|
+
export type VaultOrderBy =
|
|
1011
|
+
/** Order by address */
|
|
1012
|
+
'address'
|
|
1013
|
+
/** Order by chainId */
|
|
1014
|
+
| 'chainId'
|
|
1015
|
+
/** Order by id */
|
|
1016
|
+
| 'id'
|
|
1017
|
+
/** Order by totalAssetsUsd */
|
|
1018
|
+
| 'totalAssetsUsd';
|
|
1019
|
+
/** The Vault paginated response */
|
|
1020
|
+
export type VaultPage = {
|
|
1021
|
+
__typename?: 'VaultPage';
|
|
1022
|
+
/** The list of items for the current page */
|
|
1023
|
+
items: Array<Vault>;
|
|
1024
|
+
/** Pagination information */
|
|
1025
|
+
pageInfo: PageInfo;
|
|
1026
|
+
};
|
|
1027
|
+
/** Entity representing a user's position inside a vault */
|
|
1028
|
+
export type VaultPosition = {
|
|
1029
|
+
__typename?: 'VaultPosition';
|
|
1030
|
+
/** Vault position id */
|
|
1031
|
+
id: Scalars['ID']['output'];
|
|
1032
|
+
/** Current operational state and metrics of the vault position */
|
|
1033
|
+
state: VaultPositionState;
|
|
1034
|
+
/** Vault associated with this user */
|
|
1035
|
+
vault: Vault;
|
|
1036
|
+
};
|
|
1037
|
+
/** Current operational state and metrics of the vault position */
|
|
1038
|
+
export type VaultPositionState = {
|
|
1039
|
+
__typename?: 'VaultPositionState';
|
|
1040
|
+
/** User shares in this vault converted in underlying asset */
|
|
1041
|
+
assets: Scalars['BigInt']['output'];
|
|
1042
|
+
/** User shares in this vault */
|
|
1043
|
+
shares: Scalars['BigInt']['output'];
|
|
1044
|
+
/** User shares in this vault converted to USD */
|
|
1045
|
+
sharesUsd: Scalars['Float']['output'];
|
|
1046
|
+
};
|
|
1047
|
+
/** Current state and metrics of a vault including assets, supply, pricing, and performance data */
|
|
1048
|
+
export type VaultState = {
|
|
1049
|
+
__typename?: 'VaultState';
|
|
1050
|
+
/** List of curators associated with this vault */
|
|
1051
|
+
curators?: Maybe<Array<Curator>>;
|
|
1052
|
+
/** The highest price per share ever reached, performance fees are taken when the price per share is above this value */
|
|
1053
|
+
highWaterMark: Scalars['BigInt']['output'];
|
|
1054
|
+
/** Annualized percentage returns since inception */
|
|
1055
|
+
inceptionApr: ApRs;
|
|
1056
|
+
/** The timestamp of the last fee calculation, used to compute management fees */
|
|
1057
|
+
lastFeeTime: Scalars['BigInt']['output'];
|
|
1058
|
+
/** Live APRs associated with the vault */
|
|
1059
|
+
liveAPR?: Maybe<LiveApr>;
|
|
1060
|
+
/** Management fee percentage charged by the vault */
|
|
1061
|
+
managementFee: Scalars['Float']['output'];
|
|
1062
|
+
/** Monthly annualized percentage returns */
|
|
1063
|
+
monthlyApr: ApRs;
|
|
1064
|
+
/** 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. */
|
|
1065
|
+
newTotalAssets?: Maybe<Scalars['BigInt']['output']>;
|
|
1066
|
+
/** The shares and assets that will be settled if the settle is possible */
|
|
1067
|
+
pendingSettlement: Balances;
|
|
1068
|
+
/** The balance of the silo in assets and shares */
|
|
1069
|
+
pendingSiloBalances: Balances;
|
|
1070
|
+
/** Performance fee percentage charged on profits */
|
|
1071
|
+
performanceFee: Scalars['Float']['output'];
|
|
1072
|
+
/** Price per vault share in base units */
|
|
1073
|
+
pricePerShare: Scalars['BigInt']['output'];
|
|
1074
|
+
/** Price per vault share in USD */
|
|
1075
|
+
pricePerShareUsd: Scalars['Float']['output'];
|
|
1076
|
+
/** Vault access control roles and permissions */
|
|
1077
|
+
roles: Roles;
|
|
1078
|
+
/** The asset amounts currenlty in the vault custody */
|
|
1079
|
+
safeAssetBalance: Scalars['BigInt']['output'];
|
|
1080
|
+
/** The USD asset amounts currenlty in the vault custody */
|
|
1081
|
+
safeAssetBalanceUsd: Scalars['Float']['output'];
|
|
1082
|
+
/** The status of the vault, open, closed, or closing */
|
|
1083
|
+
state: State;
|
|
1084
|
+
/** Total assets under management in the vault */
|
|
1085
|
+
totalAssets: Scalars['BigInt']['output'];
|
|
1086
|
+
/** Total assets value in USD */
|
|
1087
|
+
totalAssetsUsd: Scalars['Float']['output'];
|
|
1088
|
+
/** Total supply of vault shares */
|
|
1089
|
+
totalSupply: Scalars['BigInt']['output'];
|
|
1090
|
+
/** Vault version */
|
|
1091
|
+
version: Scalars['String']['output'];
|
|
1092
|
+
/** Weekly annualized percentage returns */
|
|
1093
|
+
weeklyApr: ApRs;
|
|
1094
|
+
/** Yearly annualized percentage returns */
|
|
1095
|
+
yearlyApr: ApRs;
|
|
1096
|
+
};
|
|
1097
|
+
/** Represents a wrapped native token with its contract details and metadata */
|
|
1098
|
+
export type WrappedNativeToken = {
|
|
1099
|
+
__typename?: 'WrappedNativeToken';
|
|
1100
|
+
/** The contract address of the token */
|
|
1101
|
+
address: Scalars['Address']['output'];
|
|
1102
|
+
/** The number of decimal places for the token */
|
|
1103
|
+
decimals: Scalars['Int']['output'];
|
|
1104
|
+
/** The name of the token */
|
|
1105
|
+
name: Scalars['String']['output'];
|
|
1106
|
+
/** The symbol of the token */
|
|
1107
|
+
symbol: Scalars['String']['output'];
|
|
1108
|
+
};
|
|
1109
|
+
//# sourceMappingURL=generated.d.ts.map
|