-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
We implemented the coins adapter for Yearn V3 vaults, merged in BR: #10299
The coins price is correctly returned for Yearn V3 vaults tokens on Katana and Base, but zero values are returned on Ethereum, Arbitrum and Polygon. The code is the same on all chains.
Working example on Katana
- correct coin price on Llama API: https://coins.llama.fi/prices/current/katana:0x80c34BD3A3569E126e7055831036aa7b212cB159
- Yearn V3 vault: https://yearn.fi/v3/747474/0x80c34BD3A3569E126e7055831036aa7b212cB159
Not working example on Mainnet:
- missing coin price on Llama API: https://coins.llama.fi/prices/current/ethereum:0xBe53A109B494E5c9f97b9Cd39Fe969BE68BF6204
- Yearn V3 vault: https://yearn.fi/v3/1/0xBe53A109B494E5c9f97b9Cd39Fe969BE68BF6204
An additional issue is that DefiLlama treats Yearn V3 vaults as Yearn V2 vaults:
- Defillama defines USDS V3 vault as Yearn V2: https://defillama.com/yields/pool/7501ef09-87d1-405c-b2b2-f269b2727289
- USDS v3 vault has 26M: https://yearn.fi/v3/1/0x182863131F9a4630fF9E27830d945B1413e347E8
- There is no Yearn V2 USDS vault: https://yearn.fi/vaults?chains=1&search=usds
All Yearn V2 and V3 tokens are listed here: https://defillama.com/yields?project=Yearn%20Finance
Is this some internal bug on DefiLlama server, or maybe some clash with Yearn V2 code because we didn't have Yearn V2 code on Katana and Base, where coin prices are correct?
Metadata
Metadata
Assignees
Labels
No labels