NAME | SYMBOL | DESCRIPTION | |
---|---|---|---|
1 | ` |
hesssound-sapphire
Updated 2025-02-12
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with base as ( select block_timestamp::Date as date,
tx_hash,
origin_from_address,
VALUE:name::STRING AS field_name,
VALUE:value::STRING AS field_value
from ronin.core.ez_decoded_event_logs a , LATERAL FLATTEN(input_data => Full_decoded_log:data)
where origin_to_address = '0xa54b0184d12349cf65281c6f965a74828ddd9e8f'
and event_name = 'TokenCreated'
and TX_SUCCEEDED = 'TRUE'
)
,
token as (select date,
tx_hash,
origin_from_address,
max(case when field_name = 'token' THEN field_value END) AS token_address,
max(case when field_name = 'creator' THEN field_value END) AS creator_address,
max(case when field_name = 'mcapInEth' THEN field_value END) AS mcapInEth,
max(case when field_name = 'symbol' THEN field_value END) AS token_name,
max(case when field_name = 'description' THEN field_value END) AS description
from base
group by 1,2,3
UNION all
select block_timestamp::date as date,
tx_hash,
origin_from_address,
'0x' || substr(topics[1],27) as token_address,
'0x' || substr(topics[2],27) as creator_address,
'' as mcapInEth,
'' as token_name,
'' as description
from ronin.core.fact_event_logs
where topics[0] = '0xf372df0af3c16a1deb41b25691dd807a3836ba8f443e83d24c1406ae3748232e'
and TX_SUCCEEDED = 'TRUE'
and tx_hash not in (select tx_hash from ronin.core.ez_decoded_event_logs
where origin_to_address = '0xa54b0184d12349cf65281c6f965a74828ddd9e8f'
and event_name = 'TokenCreated'
Last run: 2 months ago
1
21B
1s