Merging updates from defillama#3
Open
iagoLD wants to merge 6484 commits into
Open
Conversation
* fix dedust adapter * dedust fixes
…on (#2512) * fix: update metrom adapter to add supported chains * feat(metrom-adapter): add support for megaeth and pool meta information * feat(metrom): add mainnet and erc4626 vault support * fix: import * fix(metrom-adapter): shorten meta text * fix(metrom-adapter): make humanize target protocol future proof * chore(metrom): remove format symbol usages
Add Monad for Pendle
fix: correct token symbol for native pool yield, new app url
…#2688) * feat: add Kerne Protocol yield adapter (kLP delta-neutral WETH vault on Base) Pool listed: KerneVault (ERC-4626) on Base, share symbol kLP, asset WETH. Strategy: delta-neutral basis trade (Lido stETH long, Hyperliquid perp short). Contract verified on Basescan: https://basescan.org/address/0x8005bc7A86AD904C20fd62788ABED7546c1cF2AC#code Data sources (no protocol API dependency in the critical path): - TVL : KerneVault.totalAssets() × WETH price (coins.llama.fi) - APY : KerneVault.projectedAPY() (governance-configured, basis points) - asset() sanity-checked = WETH Sets token (vault address) and isIntrinsicSource (yield-bearing primitive) per the current adaptor schema. Supersedes PR #2254 which was closed pending a TVL adapter; that prerequisite is opened in parallel against DefiLlama-Adapters. Local test output (npm run test --adapter=kerne-protocol equivalent): pool: 0x8005bc7a86ad904c20fd62788abed7546c1cf2ac-base chain: Base project: kerne-protocol symbol: kLP tvlUsd: 189.58 apyBase: 12 apyReward: 0 isIntrinsicSource: true * fix: rename adapter dir to 'kerne' to match DefiLlama-assigned slug * fix: track skUSD (staked synthetic dollar) instead of the pre-v2 WETH vault * fix: guard expectedAPY with a finite number check before computing apyBase * feat(kerne): compute APY on-chain from skUSD share price (review #2688) Addresses @0xkr3p review: - APY now derived on-chain from skUSD ERC-4626 share-price growth over a trailing 24h window (drops the kerne.fi/api dependency) - add pricePerShare - remove apyReward and rewardTokens (no token incentives) - remove poolMeta - export protocolId 7873 to match the kerne slug (new harness check) A genesis guard reports par price-per-share and 0 realized APY while the vault is below the seed threshold, so no transient pre-seed share-price noise is published; both values flow from on-chain share price once seeded. Pool stays below the public display threshold until then. * refactor(kerne): use shared price/block helpers instead of axios Replace the adapter's direct axios calls to coins.llama.fi with the shared utils helpers (getPriceApiData, getBlocksByTime), matching the rest of yield-server and routing through the pro-api endpoint when DL_API_KEY is set. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: enerzy17 <liamlakevold@gmail.com> Co-authored-by: kr3p <123127490+0xkr3p@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Marin Petrunic <marin.petrunic@gmail.com>
* Add tizi yield adapter * fix: change tizi/index.js * feat: add intrinsic source and search token override in tizi adapter * fix: handle errors and validate API responses in tizi adapter
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.
No description provided.