/** * Discovery Queries * * Thin GraphQL queries for "what does Lagoon look like right now?" tools: * global TVL, indexing health, chain directory, curator directory, single asset * lookup, and historical vault state. * * All queries are direct, single-shot, low-cost. They intentionally do NOT * pull VaultFragment — these are metadata endpoints, not vault drill-downs. */ /** * Total protocol TVL across all chains (USD). * Used by: get_global_tvl tool. No args. */ export declare const GET_GLOBAL_TVL_QUERY = "\n query GetGlobalTVL {\n getGlobalTVL\n }\n"; /** * Indexer health — last indexed block per chain. * Used by: get_indexing_status tool. Optional chainIds filter. */ export declare const GET_INDEXING_STATUS_QUERY = "\n query GetIndexingStatus($chainIds: [Int!]) {\n _meta(chainIds: $chainIds) {\n lastIndexedBlocks {\n chainId\n number\n hash\n parentHash\n chain {\n id\n name\n nativeToken\n }\n }\n }\n }\n"; /** * Chain directory. Paginated; default ordering by id ascending. * Used by: list_chains tool. */ export declare const LIST_CHAINS_QUERY = "\n query ListChains($first: Int, $skip: Int, $where: ChainFilterInput) {\n chains(first: $first, skip: $skip, where: $where, orderBy: id, orderDirection: asc) {\n items {\n id\n name\n nativeToken\n logoUrl\n isVisible\n factory\n wrappedNativeToken {\n address\n symbol\n name\n decimals\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n }\n }\n"; /** * Curator directory. * Used by: list_curators tool. */ export declare const LIST_CURATORS_QUERY = "\n query ListCurators($first: Int, $skip: Int, $where: CuratorFilterInput) {\n curators(first: $first, skip: $skip, where: $where, orderBy: name, orderDirection: asc) {\n items {\n id\n name\n aboutDescription\n logoUrl\n url\n isVisible\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n }\n }\n"; /** * Single curator lookup by id. * Used by: get_curator tool. */ export declare const GET_CURATOR_QUERY = "\n query GetCurator($id: ID!) {\n curator(id: $id) {\n id\n name\n aboutDescription\n logoUrl\n url\n isVisible\n }\n }\n"; /** * Single asset (ERC20) lookup by address + chain. * Used by: get_asset tool. */ export declare const GET_ASSET_QUERY = "\n query GetAsset($address: Address!, $chainId: Int!) {\n assetByAddress(address: $address, chainId: $chainId) {\n id\n address\n symbol\n name\n decimals\n description\n logoUrl\n isVisible\n priceUsd\n chain {\n id\n name\n nativeToken\n logoUrl\n }\n }\n }\n"; /** * Historical vault state at a specific Unix timestamp. * Used by: get_historical_state tool. * * Note: requests the full HistoricalVaultState shape (which mirrors VaultState * shape but with `asOfTimestamp`). Some optional fields may be null on older * vaults that pre-date a given configuration field. */ export declare const GET_HISTORICAL_STATE_QUERY = "\n query GetHistoricalState($address: Address!, $chainId: Int!, $timestamp: Int!) {\n vaultByAddress(address: $address, chainId: $chainId) {\n address\n stateAt(timestamp: $timestamp) {\n state\n syncMode\n isAsyncOnly\n safeLocked\n superOperatorLocked\n allowHighWaterMarkReset\n accessMode\n externalSanctionsList\n maxCap\n totalAssets\n totalAssetsExpiration\n pricePerShare\n pricePerShareUsd\n managementFee\n performanceFee\n protocolFee\n entryRate\n exitRate\n haircutRate\n feeRatesCooldown\n newRatesTimestamp\n highWaterMark\n lastFeeTime\n newTotalAssets\n isWhitelistActivated\n roles {\n owner\n valuationManager\n whitelistManager\n safe\n feeReceiver\n securityCouncil\n superOperator\n }\n guardrails {\n activated\n lowerRate\n upperRate\n }\n }\n }\n }\n"; //# sourceMappingURL=discovery.queries.d.ts.map