-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculate TVL amount #140
Comments
Can I work on this ? |
Could I be assigned to this? |
holla @djeck1432 |
Hi |
I want to take on this issue, can I be assigned? |
I’d like to resolve this. |
hi, i'm a fullstack blockchain developer, and i can handle the issue efficiently. ETA: 8hours |
I want to take on this issue, can I be assigned? |
I'm a python dev, a new-comer here. I want to take up the issue and solve it. |
I want to take on this issue, can I be assigned? |
I like 🍒. I'll implement a token-price aggregation solution using async batched price fetching and decimal precision handling for accurate multi-token position valuation in USDC, delivering by Nov 1st. Experienced with DeFi protocols and token price normalization implementations. |
Would love to tackle this |
I modified the get_stats method to pull the prices using the get_current_prices method; however, each token needs to be converted into USD and then added together as all assets in USDC. With this, assets will be valued differently across every token. |
May I handle this issue? |
Is it okay if I take this? I like 🍒 and am ready to work..... please assign me |
Will resolve this by trying to retrieve all opened positions from the database, regardless of token type (ETH, STRK, USDC, etc.). |
I am a Full Stack Developer with a strong background in blockchain and extensive experience in Next.js, TypeScript, and Python. I’ve made over 31 contributions to over 12 projects in the OnlyDust ecosystem, solving complex issues and delivering efficient, scalable solutions. I will tackle this task by enhancing the stats endpoint by implementing accurate TVL calculation that properly handles multiple token types. |
@suhas-sensei 1. November, it won't work, if you can do it till during 24 hours, it's okay |
@djeck1432 maybe i can try in 24hours, ill reschedule some of my work for later |
ETH
,STRK
,USDC
.p.s. so if you have in db
ETH
: 100,STRK
: 20,USDC
: 100, you should convertETH
andSTRK
toUSDC
current price and multiply on the amount of these tokens appropriate and return total amount of all assets inUSDC
The text was updated successfully, but these errors were encountered: