DefiLlama / DefiLlama-Adapters

851 stars 4.87k forks source link

Wrong TVL Data for Ring Swap #10741

Open dericwa opened 2 months ago

dericwa commented 2 months ago

Looks like the Defillama website set a wrong TVL data source for Ring Swap (https://defillama.com/protocol/ring-swap). Right now, Defillama website shows $74m, while we have more than $88m in Ring Swap (https://info.ring.exchange/home) Please help to take a look.

g1nt0ki commented 1 month ago

hi @dericwa issue is, price of fwETH is assumed to be 1 ETH in the dashboard, but we calculate price as ETH in contract / fwETH token supply = 27.6k/36.6k = 0.75 ETH

dericwa commented 1 month ago

Hello @g1nt0ki , this fwETH calculation makes sense. However this still cannot explain the gap. As of today, Defillama shows 56m TVL, but our info shows 79m, more than 20m TVL difference. I suspect some assets are not taken into calculation.