telosnetwork / open-block-explorer

The Open Block Explorer (OBE) is the first open source block explorer that is designed to support all AntelopeIO-based blockchains.
https://explorer.telos.net
Apache License 2.0
27 stars 24 forks source link

Add decimal place for any token under 1 USD #787

Closed kylanhurt closed 1 year ago

kylanhurt commented 1 year ago

Fixes #784

Description

It checks the price and if it is under 1 USD then it adds an extra decimal (3 instead of 2). Relevant for current TLOS price.

Test scenarios

Checked on desktop and mobile

image

Checklist:

netlify[bot] commented 1 year ago

Deploy Preview for open-block-explorer ready!

Name Link
Latest commit 4c87d8ea979d94ac467e3f12dc10c32f320f7a69
Latest deploy log https://app.netlify.com/sites/open-block-explorer/deploys/653052309afb380009c686b6
Deploy Preview https://deploy-preview-787--open-block-explorer.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 year ago

Deploy Preview for obe-testnet ready!

Name Link
Latest commit 4c87d8ea979d94ac467e3f12dc10c32f320f7a69
Latest deploy log https://app.netlify.com/sites/obe-testnet/deploys/65305230c66028000846e456
Deploy Preview https://deploy-preview-787--obe-testnet.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.