mirror of
https://github.com/FlipsideCrypto/sui-models.git
synced 2026-02-06 09:26:50 +00:00
Merge pull request #15 from FlipsideCrypto/ez-bridge
fix amount_usd calculation
This commit is contained in:
commit
9a9e8228e5
@ -70,7 +70,7 @@ SELECT
|
||||
10,
|
||||
b.decimals
|
||||
) AS amount,
|
||||
(amount / pow(10, b.decimals)) * C.price AS amount_usd,
|
||||
amount * C.price AS amount_usd,
|
||||
COALESCE(
|
||||
C.token_is_verified,
|
||||
FALSE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user