Query editor
with full_stats as (select *from query_8383420where chain = 'Base')select link, asset, protocol, tvl, weekly_apr-- , case when asset like '%PT%' then 'N/A'-- -- Pendle & Spectra LPs earn half the points, hence half the APR-- when asset like '%LP %' then concat(format('%.1f', min_ecosystem_apr/2 * 100), '% - ', format('%.1f', max_ecosystem_apr/2 * 100), '%')-- else concat(format('%.1f', min_ecosystem_apr * 100), '% - ', format('%.1f', max_ecosystem_apr * 100), '%')-- end-- as potential_additional_apr-- , case when asset like '%PT%' then concat(format('%.1f', (weekly_apr * 100)),'%')-- -- Pendle & Spectra LPs earn half the points, hence half the APR-- when asset like '%LP %' then concat(format('%.1f', (weekly_apr + min_ecosystem_apr/2) * 100), '% - ', format('%.1f', (weekly_apr + max_ecosystem_apr/2) * 100), '%')-- else-- concat(format('%.1f', (weekly_apr + min_ecosystem_apr) * 100), '% - ', format('%.1f', (weekly_apr + max_ecosystem_apr) * 100), '%')-- end-- as total_apr, chain, exposurefrom full_statswhere asset not like '%PT%'