Skip to content

Commit

Permalink
Regenerate client
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinciarka committed Oct 24, 2024
1 parent 5fcab0b commit bb76c37
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions sdk/subgraph-manager-common/src/generated/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> | 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`
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -6807,6 +6816,11 @@ export const GetVaultDocument = gql`
cumulativeDeposits
cumulativeEarnings
cumulativeWithdrawals
inputToken {
name
symbol
decimals
}
dailySnapshots(first: 10) {
id
apr
Expand All @@ -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
}
}
`;
Expand Down

0 comments on commit bb76c37

Please sign in to comment.