feat: integrate Kong GraphQL API as single source of truth for strate… - #550
Merged
Conversation
murderteeth
requested changes
Nov 13, 2025
murderteeth
left a comment
Collaborator
There was a problem hiding this comment.
strategies between dev and live are different for usdc-1
https://yearn.fi/v3/1/0xBe53A109B494E5c9f97b9Cd39Fe969BE68BF6204?tab=strategies
- Add graceful handling when KONG_POSTGRES_DSN is not configured - Remove Kong data refresh from metadata scheduler (APY data now stored during indexing) - Clean up unused Kong data mutex code and fetchKongVaultDataFromDB function - Add database connection checks to prevent panics when DB is unavailable - Simplify debt assignment logic with cleaner if-else-if chain and early break - Fix Kong TVL conversion to prevent precision loss for large values - Optimize strategy processing by removing unnecessary error handling overhead 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
matheus1lva
force-pushed
the
feat-kong-strategies
branch
from
November 20, 2025 00:22
428b3c9 to
2da96fb
Compare
murderteeth
self-requested a review
November 22, 2025 01:16
murderteeth
approved these changes
Nov 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrates kong api data into ydaemon for strategies and debts.