mirror of
https://github.com/FlipsideCrypto/sui-models.git
synced 2026-02-06 09:26:50 +00:00
rm lower, add case for native
This commit is contained in:
parent
d5873beb8a
commit
a8131dea42
@ -14,7 +14,10 @@ SELECT
|
||||
NAME,
|
||||
decimals,
|
||||
blockchain,
|
||||
FALSE AS is_native,
|
||||
CASE
|
||||
WHEN token_address = '0x2::sui::SUI' THEN TRUE
|
||||
ELSE FALSE
|
||||
END AS is_native,
|
||||
is_deprecated,
|
||||
COALESCE(
|
||||
is_verified,
|
||||
|
||||
@ -17,7 +17,10 @@ SELECT
|
||||
decimals,
|
||||
price,
|
||||
blockchain,
|
||||
FALSE AS is_native,
|
||||
CASE
|
||||
WHEN token_address = '0x2::sui::SUI' THEN TRUE
|
||||
ELSE FALSE
|
||||
END AS is_native,
|
||||
is_deprecated,
|
||||
is_imputed,
|
||||
COALESCE(
|
||||
|
||||
@ -4,9 +4,7 @@
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
LOWER(
|
||||
A.token_address
|
||||
) AS token_address,
|
||||
A.token_address,
|
||||
asset_id,
|
||||
symbol,
|
||||
NAME,
|
||||
|
||||
@ -5,9 +5,7 @@
|
||||
|
||||
SELECT
|
||||
HOUR,
|
||||
LOWER(
|
||||
p.token_address
|
||||
) AS token_address,
|
||||
p.token_address,
|
||||
asset_id,
|
||||
symbol,
|
||||
NAME,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user