Query editor
selectsum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault','SOL Received by SOL Strategy Vault') then token_amount end) as "Total SOL Deposited (Pre-Fees)", sum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault') then token_amount end) as "Total SOL Fees Received", sum(case when description = 'frSOL Received by User' then token_amount end) as "Total SOL Staked", sum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault') then token_amount end)/sum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault','SOL Received by SOL Strategy Vault') then token_amount end) as "Fees % Based on FR Deposit"from query_4239268