Query editor
-- super high tipsWITH casts AS (SELECTfid AS tipper_fid, TRY_CAST(created_at AS DATE) AS cast_day, text as post, REGEXP_EXTRACT_ALL(UPPER(text), '[1-9]*[0-9]+ \$DEGEN') AS mentions_array, parent_fid as tipreceiver_fid, parent_hash, root_parent_hashFROM dune.neynar.dataset_farcaster_castsWHEREregexp_like(upper(text), '[1-9]*[0-9]+ \$DEGEN')AND parent_hash is not nullAND deleted_at IS NULLAND NOT fid IN (234434, 244128)AND created_at >= cast('2024-01-01 00:00' as timestamp)), daily_allowances AS (SELECTfid, snapshot_date AS allowance_day, tip_allowanceFROM query_3408503WHERE snapshot_date >= cast('2024-01-01 00:00' as timestamp)), parsed_tips AS (SELECT-- da.fid AS tipper_fid-- , da.allowance_day AS cast_dayTRY_CAST(SUBSTRING(TRIM(REPLACE(c.mentions_array[1], '$DEGEN', '')), 1, 30) AS DECIMAL) AS tip_amount, da.tip_allowance, c.*FROM daily_allowances daright JOIN casts c ON da.fid = c.tipper_fid AND da.allowance_day = c.cast_day), airdrop1 AS (SELECT-- c.tipper_fid AS tipper_fid-- , c.cast_dayTRY_CAST(SUBSTRING(TRIM(REPLACE(c.mentions_array[1], '$DEGEN', '')), 1, 30) AS DECIMAL) AS tip_amount-- TRY_CAST(SUBSTRING(TRIM(REPLACE(c.mentions_array[1], '$DEGEN', '')), 1, 30) AS DECIMAL) AS tip_allowance, case when cast_day < cast('2024-03-01' as date) then NULL end as tip_allowance, c.*FROM casts cwhere c.cast_day < cast('2023-03-01' as timestamp)), combine as (select * from parsed_tips where tip_amount > 1000000000 -- 1e9union allselect * from airdrop1 where tip_amount > 100000000 -- 1e9-- order by tipper_fid, cast_day asc)select