Use TokenLogic for Aave v4 Core APRs - #2629
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Replaces the DeFiLlama feeds for the four Aave v4 Core waCore tokens on mainnet (added in #2623) with TokenLogic's official API, and adds two new Avalanche waCore feeds from the same source:
GET https://api.tokenlogic.xyz/v1/aave/reserves/{marketKey}/{reserveAddress}/latestMainnet (
main-ethereum-core-v4)0xa0b8…eb480x531e90a2376902de8915789fcc1075e3b0c153e70xdac1…1ec70x5ec44a70f309854fe04d495cfe1b5da63dd1cc730x40d1…6c2f0x58c14a5e061c9bc6926c5b853445290f296c2f7b0xe343…491d0xac2435e3c25e8246870d33ce0a26988a46d5db68Avalanche (
main-avalanche-core-v4) — new0xb97e…8a6e0x01d7f7b7ce2123192fecc20bd1caf3e4d9e4c10d0x9702…a8c70x2e4ba06ff97e10d09fa4f5a270e97301eae729a9Notes:
Authorization: Bearer ${TOKENLOGIC_API_KEY}— new optional env var added toapps/env.tsandenv.local; the secret is already in theapi-secretsSecrets Manager entry.scale: TokenLogic returnssupply_apyas a fraction (DeFiLlama'sapyBasewas in percent).{ data: [row], lastUpdated }, extractor$.data[-1:].supply_apyreturns mainnet USDC 3.18% / USDT 3.36% / GHO 3.38% / USDG 1.10%, avalanche USDC 0.47% / USDT 1.41%.🤖 Generated with Claude Code