Comments (6)
sorry for lack of reply here, didnt see your messages
I've just pushed an update to most fantom dexs to price volume against FTM instead (and then we price FTM against coingecko). Haven't managed to match dexscreener volumes but dont see where the issue could be in our new methodology
As for wagmi, we'll completely delist it from fantom
from dimension-adapters.
This was all fixed a week ago, so closing due to inactivity
from dimension-adapters.
we set the price of all multichain assets to 0, although in some dexs these assets are priced by using the internal price against ftm
if you found a concrete case of mispricing related to this, could you point us to it?
from dimension-adapters.
@0xngmi here's what defillama volume (/dexs) board shows for fantom:
(starting with the first one as example)
the adapter for spooky uses https://api.thegraph.com/subgraphs/name/eerieeight/spookyswap , running a simple query on it gives
which is what defillama shows. (the $5.28m volume for yesterday).
if we compare it to other trackers, like gecko terminal
or dexscreener
or dextools
then we get the number at around $1.1m,
and if we check the price of FTM, spooky's subgraph returns $1.29 = 1 FTM (i wish!)
the difference in prices is roughly the same 5x that USDC (multichain) has depegged to ($0.19 right now).
all of the other dexes that use subgraphs have similar issues.. with numbers being inflated about 5x. I'm not sure about wagmi's numbers though.. their site reports $30 while dexscreener says $25 (https://dexscreener.com/fantom/f:0xaf20f5f19698f1D19351028cd7103B63D30DE7d7).. meanwhile, on defillama we see $3m+ .. i'm guessing its because of something related to its CL math not sitting well with depegged token's prices in the subgraph.. idk tbh.
i tried writing adapters that would iterate over the "Swap" events (similar to equalizer's adapter), but get with an out-of-memory heap error on my local machine when i do the yarn test dexs spooky2
.. i guess its probably because of the millions of swaps that spooky has had coupled with the smol ram i have available. so maybe someone else can give it a shot..
from dimension-adapters.
It has got worse now.. over-reporting numbers by 10x with anyswap's USDC depegged to $0.1 ๐
for example, spooky should have 600K volume, instead of 6M
from dimension-adapters.
thanks 0xngmi! the numbers look quite accurate now, similar to those reported at other sites. and the modified adapter is going to be quite useful if some other chain has a similar issue
there are still a few old ones with the wrong numbers on fantom.. i'll try to rewrite all those this week, and add the few missing ones (spirit v1, velocimeter)..
from dimension-adapters.
Related Issues (20)
- Polygon fees pulls from stale subgraph HOT 2
- DefiLlama
- DefiLlama
- Uniswap Volume is 0 on OP Mainnet HOT 1
- The Apollox.finance project is not listed on this page https://defillama.com/derivatives. HOT 1
- Missing fields for voodoo-trade HOT 1
- Demex not listed in https://defillama.com/derivatives HOT 1
- Limit of eth_getLogs exceeded HOT 2
- Defillama's Daily Volume Display Doesn't Match Our Real Trading Activity HOT 2
- Can you help to check dexs/apollox ? Seems api throw error. HOT 2
- Aave V3 Fee Issue (potentially large deviations from the real value) HOT 3
- Chainlink CCIP Fees use v1.0 addresses which will be deprecated March 31st HOT 1
- Smol typo on Unimaia V3 adapter comments
- ERROR: Use Adapter v2 format for new adapters HOT 1
- ใNo dataใCan you help check Cellula? HOT 2
- Volume data is not being synchronised since 31 May. (Keller Finance V2) HOT 1
- Subgraph endpoint update required
- Bitoro Network Logo and Daily volume issue HOT 4
- Hi @dtmkeng HOT 1
- Seems like something error in our APX Finance Daily Volume chart HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dimension-adapters.