/** * APR Breakdown Fragment * * Reusable fragment for APR breakdown structure across all time periods. * Used in: inceptionApr, weeklyApr, monthlyApr, yearlyApr * * Reduces duplication of 43-line APR structure from 4 instances to 1 definition. */ /** * APR breakdown structure used across all APR time periods */ export interface APRBreakdown { linearNetApr: number; linearNetAprWithoutExtraYields: number; twrrNetApr?: number | null; twrrNetAprWithoutExtraYields?: number | null; twrrGrossAprWithoutExtraYields?: number | null; airdrops: Array<{ name: string; apr: number; description: string | null; distributionTimestamp: string; endTimestamp: number; isEstimation: boolean; logoUrl: string; multiplier: string | null; ppsIncrease: number; startTimestamp: number; }>; incentives: Array<{ name: string; apr: number; aprDescription: string; description: string | null; endTimestamp: number; incentiveRate: { incentiveAmount: string; referenceToken: { id: string; }; referenceTokenAmount: string; }; }>; nativeYields: Array<{ name: string; apr: number; aprDescription: string; description: string | null; endTimestamp: number | null; isEstimation: boolean; logoUrl: string; multiplier: string | null; startTimestamp: number; }>; } /** * GraphQL fragment for APR breakdown * * Usage: * ```graphql * inceptionApr { * ...APRBreakdownFragment * } * ``` */ export declare const APR_BREAKDOWN_FRAGMENT = "\n fragment APRBreakdownFragment on APRs {\n linearNetApr\n linearNetAprWithoutExtraYields\n twrrNetApr\n twrrNetAprWithoutExtraYields\n twrrGrossAprWithoutExtraYields\n airdrops {\n name\n apr\n description\n distributionTimestamp\n endTimestamp\n isEstimation\n logoUrl\n multiplier\n ppsIncrease\n startTimestamp\n }\n incentives {\n name\n apr\n aprDescription\n description\n endTimestamp\n incentiveRate {\n incentiveAmount\n referenceToken {\n id\n }\n referenceTokenAmount\n }\n }\n nativeYields {\n name\n apr\n aprDescription\n description\n endTimestamp\n isEstimation\n logoUrl\n multiplier\n startTimestamp\n }\n }\n"; //# sourceMappingURL=apr-breakdown.fragment.d.ts.map