Skip to content

Conversation

@iagoLD
Copy link

@iagoLD iagoLD commented Jul 18, 2022

No description provided.

slasher125 and others added 28 commits November 4, 2025 15:32
track 40-acres blackhole yield
feat(metrom): adapt to new api structure
- Set apyBase to 7-day APY (rolling7d), fallback to 0 if empty
- Add required 'project' field set to 'nest-credit'
- Add live=true parameter to API URL
- Handle empty/missing APY values gracefully
feature: Add Isle Finance adapter
Feat: Add cSigma Yield Bearing Tokens
fabiaz84 and others added 30 commits January 12, 2026 22:25
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>
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.