feat: add WealthVille APY adapter for Solana yield optimizer (#2714)
* feat: add WealthVille APY adapter for Solana yield optimizer
WealthVille auto-compounding yield optimizer on Solana. 5 vaults across Orca Whirlpools and Raydium (AMM/CLMM). TVL ~$14.2M. Website: https://wealthville.net
* Update index.js
* Update index.js
* Update index.js
* fix(wealthville): export protocolId (8032) + use canonical /api/v1/defillama/tvl feed
Unblocks CI: the 'known protocol slug' test now passes (TVL adapter merged, slug
registered) and the adapter exports protocolId matching the DefiLlama protocol id.
* wealthville: guard vault_pubkey before building the pool id (addresses coderabbit review)
* wealthville: apply the 10k display floor and use real token tickers
Two changes requested in review:
- Only emit pools at or above DefiLlama's $10k display floor, so the
adapter ships what would actually be surfaced instead of dust pools
that get filtered downstream.
- `symbol` was carrying the vault name ("AI Managed Yield Vault
Enhanced"), which is not a ticker. It now resolves the vault's held
mints to symbols via coins.llama.fi, ordered by position size
(JITOSOL-SOL-USDC), and the vault name moves to `poolMeta` where it
belongs.
`utils.getPrices` is deliberately not used for the symbol lookup: it
lowercases the price keys and Solana mints are case-sensitive base58,
so the lookup would miss.
* wealthville: drop the 10k floor, keep the ticker fix
Reverts the tvlUsd >= 10000 filter from the previous commit. It gave
users nothing the display floor doesn't already do, and introduced a
real failure mode: test.js does `apy[0].project`, which throws on an
empty array, so any dip below the floor by the single qualifying vault
would have taken the suite red rather than just surfacing no pools.
The symbol/poolMeta fix is unaffected and stays. A
amitesh-m committed
e2645a34875fd46eb458ed33b633062e7d853e72
Parent: 7c87e6c
Committed by GitHub <noreply@github.com>
on 8/25/2026, 2:55:33 PM