Skip to content

Token price not being displayed or accounted #412

@kroggen

Description

@kroggen

For many coins the Uniswap Pool and the Trade are not showing the price of the token, even being so easy to calculate the price using the current rate of exchange with the other token (eg WETH)

I guess there is no need for an external "oracle" for this purpose, but if there is one, after the oracle returns 0 or null as the price for the token on the pair, its price can then be calculated using the above simple method.

This is also happening when displaying the TVL (total value locked), it is showing the value of only ETH locked:

Screen Shot 2021-09-17 at 20 27 41

Screen Shot 2021-09-17 at 22 57 34

Also when adding liquidity, it only shows the value related to ETH or USDT, not the other token. Sometimes it appears as 0 (zero) total value added when adding only the other token on the pair:

Screen Shot 2021-09-17 at 20 22 27

Screen Shot 2021-09-17 at 20 23 23

Screen Shot 2021-09-17 at 22 57 49

Example:

https://info.uniswap.org/#/pools/0x8c2f778589b08dbd5857be26b604dc5c42861732

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions