Incorrect spot price for TokenBalanceWidget
Matehoo opened this issue · comments
Description:
There is some deviation in prices for non-native tokens
https://better-call.dev/mainnet/KT1K4EwTpbvYN9agJdjpyJm4ZZdhpUNKB3F6/storage
The root of the issue should be that someone send tokens directly to pool address instead of through proper ui.
Expected behavior:
Show correct prices for all tokens
Actual behavior:
Incorrect prices
Possible solution:
Fetch token balances from pool storage instead of tzkt.io token balance and native token balance