add: MUN to metrics

closes #54
This commit is contained in:
Mohamed Sohail 2022-09-29 10:59:23 +03:00 committed by GitHub
parent 18020e8451
commit e158ce28bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ exclude AS (
SELECT sys_address FROM sys_accounts WHERE sys_address IS NOT NULL
),
cmr_tokens AS (
SELECT token_address from tokens WHERE token_symbol IN ('MBIP')
SELECT token_address from tokens WHERE token_symbol IN ('MBIP', 'MUN')
)
SELECT date_range.day AS x, COUNT(transactions.id) AS y
FROM date_range
@ -112,4 +112,4 @@ LIMIT 730;
--name: latest-token-transactions
-- Returns latest token transactions, with curosr forward query and limit
SELECT id, block_number, date_block, tx_hash, sender_address, recipient_address, tx_value, success FROM transactions
WHERE token_address = $1 AND date_block > TIMESTAMP 'yesterday' ORDER BY id DESC;
WHERE token_address = $1 AND date_block > TIMESTAMP 'yesterday' ORDER BY id DESC;