Skip to content

Merging updates from defillama#3

Open
iagoLD wants to merge 5769 commits intoWindow-Finance:masterfrom
DefiLlama:master
Open

Merging updates from defillama#3
iagoLD wants to merge 5769 commits intoWindow-Finance:masterfrom
DefiLlama:master

Conversation

@iagoLD
Copy link

@iagoLD iagoLD commented Jul 18, 2022

No description provided.

fabiaz84 and others added 28 commits January 12, 2026 23:15
feat: add APY data fetching functionality for mondayTrade
LazyUSD is a delta-neutral yield vault on Ethereum that deploys USDC
across lending protocols, DEXs, and derivatives platforms to generate
sustainable yields while maintaining full USDC backing.

The adapter calculates APY based on share price changes over a 7-day
window, falling back to accumulated yield for new vaults.
- Use vault deploy block to calculate available history
- Try 7-day window first, fall back to 1-day if vault is newer
- Remove hardcoded daysLive that would become stale
- Corrected VAULT_DEPLOY_BLOCK from 21763550 to 24181000 (Jan 7, 2026)
- Use ethers.js directly instead of SDK for more reliable ABI parsing
- Calculate APY using 7-day window (falls back to 1-day for new vaults)
- Remove fallback to 1-day calculation
- Return 0 APY if vault is less than 7 days old
- Add guard against division by zero
- Cap APY at 100% to filter data outliers
- Simpler, more predictable calculation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Following best practices from other vault-style adapters (Sandclock, Beraborrow),
providing both metrics gives users better insight into yield stability.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
slasher125 and others added 30 commits February 13, 2026 15:42
* Add maxshot yield adaptor.

* Split TVL

* Use BigInt for precision in TVL calculation to prevent overflow.

* Use apyBase instead of apy

* Add description for the pool fees.

* Fix issues by ai reviewer.

* Display poolMeta when fee is zero.
* add hyperliquid pools

* fix ausd pool and add merkl rewards

* more robust by using bigint and console errors
* add earn vaults

* use subgraph instead

* checksum addresses to ensure pools are correctly matched
* adds abyss adapter

* optimise
* fix: add more robust underlying token identifier

* fix avalanche url, add more precise underlying token mechanism for borrow markets
…2367)

* underlying tokens updated to token itself

* add neth for node dao

* exclude inactive lsts

* exclude mev protocol

* additional
* fix: layerbank adapter

* add better rate model check and sanity cap
* Nest V1 adapter

Nest V1 adapter

* Update index.js

* Update index.js

* Update index.js

* Update index.js

---------

Co-authored-by: aegas-io <support@aegas.io>
* fix node dao

* remove duplicate url and add price guard

* match preexisting pool value to preserve history
* fix: meta pool eth, add new spETH pool

* adjust apy calculation
* fix: reserve protocol

* use token itself as underlying
* add stke sol by sol strategies

* add spl-stake-pool library

* pacakge lock rebase

* new calcSolanaLstApy helper func

* use big int
* feat: add starke-staked-sol

* add guard for apy data
* remove taiko chain and add try / catch

* add console error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments