diff --git a/sdk/subgraph-manager-common/src/generated/client.ts b/sdk/subgraph-manager-common/src/generated/client.ts index db016eceb..613d023c8 100644 --- a/sdk/subgraph-manager-common/src/generated/client.ts +++ b/sdk/subgraph-manager-common/src/generated/client.ts @@ -6643,7 +6643,7 @@ export type GetVaultQueryVariables = Exact<{ }>; -export type GetVaultQuery = { __typename?: 'Query', vault?: { __typename?: 'Vault', id: string, protocol: { __typename?: 'YieldAggregator', network: Network }, rebalances: Array<{ __typename?: 'Rebalance', amount: bigint, timestamp: bigint, vault: { __typename?: 'Vault', id: string, name?: string | null, protocol: { __typename?: 'YieldAggregator', id: string, name: string, network: Network, type: ProtocolType } }, from: { __typename?: 'Ark', id: string, name?: string | null, inputToken: { __typename?: 'Token', symbol: string, decimals: number } }, to: { __typename?: 'Ark', id: string, name?: string | null, inputToken: { __typename?: 'Token', symbol: string, decimals: number } }, asset: { __typename?: 'Token', name: string, symbol: string } }>, arks: Array<{ __typename?: 'Ark', id: string, name?: string | null, depositLimit: bigint, cumulativeDeposits: bigint, cumulativeEarnings: bigint, cumulativeWithdrawals: bigint, dailySnapshots: Array<{ __typename?: 'ArkDailySnapshot', id: string, apr: string, totalValueLockedUSD: string, inputTokenBalance: bigint }>, hourlySnapshots: Array<{ __typename?: 'ArkHourlySnapshot', id: string, calculatedApr: string, totalValueLockedUSD: string, inputTokenBalance: bigint }> }> } | null }; +export type GetVaultQuery = { __typename?: 'Query', vault?: { __typename?: 'Vault', id: string, name?: string | null, rewardTokenEmissionsUSD?: Array | null, outputTokenPriceUSD?: string | null, depositLimit: bigint, calculatedApr: string, createdTimestamp: bigint, totalValueLockedUSD: string, cumulativeTotalRevenueUSD: string, cumulativeSupplySideRevenueUSD: string, cumulativeProtocolSideRevenueUSD: string, lastUpdateTimestamp: bigint, protocol: { __typename?: 'YieldAggregator', network: Network }, rewardTokens?: Array<{ __typename?: 'RewardToken', id: string, token: { __typename?: 'Token', symbol: string, decimals: number } }> | null, rebalances: Array<{ __typename?: 'Rebalance', amount: bigint, timestamp: bigint, vault: { __typename?: 'Vault', id: string, name?: string | null, protocol: { __typename?: 'YieldAggregator', id: string, name: string, network: Network, type: ProtocolType } }, from: { __typename?: 'Ark', id: string, name?: string | null, inputToken: { __typename?: 'Token', symbol: string, decimals: number } }, to: { __typename?: 'Ark', id: string, name?: string | null, inputToken: { __typename?: 'Token', symbol: string, decimals: number } }, asset: { __typename?: 'Token', name: string, symbol: string } }>, arks: Array<{ __typename?: 'Ark', id: string, name?: string | null, depositLimit: bigint, cumulativeDeposits: bigint, cumulativeEarnings: bigint, cumulativeWithdrawals: bigint, createdTimestamp: bigint, lastUpdateTimestamp: bigint, inputToken: { __typename?: 'Token', name: string, symbol: string, decimals: number }, dailySnapshots: Array<{ __typename?: 'ArkDailySnapshot', id: string, apr: string, totalValueLockedUSD: string, inputTokenBalance: bigint }>, hourlySnapshots: Array<{ __typename?: 'ArkHourlySnapshot', id: string, calculatedApr: string, totalValueLockedUSD: string, inputTokenBalance: bigint }>, fees: Array<{ __typename?: 'VaultFee', id: string, feePercentage?: string | null, feeType: VaultFeeType }> }>, inputToken: { __typename?: 'Token', name: string, symbol: string, decimals: number }, outputToken?: { __typename?: 'Token', name: string, symbol: string, decimals: number } | null } | null }; export const GetUserPositionsDocument = gql` @@ -6762,10 +6762,19 @@ export const GetVaultsDocument = gql` export const GetVaultDocument = gql` query GetVault($id: ID!) { vault(id: $id) { - id protocol { network } + id + name + rewardTokens { + id + token { + symbol + decimals + } + } + rewardTokenEmissionsUSD rebalances { amount vault { @@ -6807,6 +6816,11 @@ export const GetVaultDocument = gql` cumulativeDeposits cumulativeEarnings cumulativeWithdrawals + inputToken { + name + symbol + decimals + } dailySnapshots(first: 10) { id apr @@ -6819,7 +6833,33 @@ export const GetVaultDocument = gql` totalValueLockedUSD inputTokenBalance } + fees { + id + feePercentage + feeType + } + createdTimestamp + lastUpdateTimestamp } + inputToken { + name + symbol + decimals + } + outputToken { + name + symbol + decimals + } + outputTokenPriceUSD + depositLimit + calculatedApr + createdTimestamp + totalValueLockedUSD + cumulativeTotalRevenueUSD + cumulativeSupplySideRevenueUSD + cumulativeProtocolSideRevenueUSD + lastUpdateTimestamp } } `;