Query editor
with flap as (selectblock_time,tx_hash,tx_from,tx_to,contract_address,REGEXP_EXTRACT_ALL(SUBSTR(TRY_CAST(data AS VARCHAR), 3), '.{64}') AS segmentedfrom monad.logswhere topic0 = 0x504e7f360b2e5fe33cbaaae4c593bc55305328341bf79009e43e0e3b7f699603and contract_address = 0x30e8ee7b5881bf2E158A0514f2150aabe2c68b23),offset_located as (selectblock_time,tx_hash,tx_from,tx_to,concat('0x', substr(segmented[4], 25)) as token,concat('0x', substr(segmented[2], 25)) as deployer,date_diff('day', block_time, current_date) as date_launched,segmented,try_cast(VARBINARY_TO_UINT256 (FROM_HEX(segmented[8])) as bigint) * 2 as name_subset,try_cast(VARBINARY_TO_UINT256 (FROM_HEX(segmented[10])) as bigint) * 2 as symbol_subsetfrom flap),created_tokens as (selectblock_time,tx_hash,tx_from,tx_to,date_launched,token,deployer,substr(from_hex(segmented[9]), 1, name_subset) as name_string,substr(from_hex(segmented[11]), 1, symbol_subset) as symbol_stringfrom offset_located),tokens_decoded as (selectblock_time,tx_hash,tx_from,tx_to,date_launched,token,deployer,from_utf8(name_string) as token_name,from_utf8(symbol_string) as token_symbolfrom created_tokens)select*from tokens_decoded