Query editor
with genopets_addresses as (select address from (values('WATErpZ2ZBjgAxyttoEjckuTuCe9pEckSabCeENLTYq'),('FireKR7LgjyzjsLnxaNZwa7dnJncDSidD4cXGhTGz2eU'),('woodN5KSiHEAhaCrZVh3vScGta7u6r5Vp3UbqDFuD4e'),('Meta1cQ29N8S4cSwJScHZYtXV6J5Cy55oEA8vRVhh8K'),('EaRtHRxHp1ftdfnJFds9UrCDNaSGxhdnRUucevNr1DzA'),('seeD1wGXYWjio2dcok5DyYKDoVfeVgMASoi7azfyrr4'),('seEd25X22orRqPEhkM7c7PUYu11D8VPPYWQgVsM2K7v'),('seeD3ySNdK1kM9phjJrvYQ2csmUwCxYwV7n6U5rwz'),('SEED4sAHMmLKwiwndkPPCyGcY53i9RMoPagzXbHtpyK'),('SeEd5UUxqXqNEzdtbris3KojzrzKWVrVXFgLPq1rwB1'),('SEED686AzjeJvEB1eB9J8tEUzDX7WyixcraeDznDJiV'),('GENEtH5amGSi8kHAtQoezp1XEXwZJ8vcuePYnXdKrMYz'),('GkpbHQu2zYmJxyp93p9wTX3uHjsFt8ZGeomVwZkGwXLH'),('kiGenopAScF8VF31Zbtx2Hg8qA5ArGqvnVtXb83sotc'),('kiTkNc7nYAu8dLKjQFYPx3BqdzwagZGBUrcb7d4nbN5')) as t(address)),prog_exec as (selectic.tx_id as tx_id,tx.signer as user_wallet,tx.block_time,date_trunc('day', tx.block_time) as day,date_trunc('week', tx.block_time) as week,'Genopets' as projectfrom genopets_addresses gjoin solana.instruction_calls icon ic.executing_account = g.addressand ic.block_date >= current_date - interval '60' dayjoin solana.transactions txon tx.signature = ic.tx_idand tx.block_date >= current_date - interval '60' dayand tx.success = trueand tx.block_time >= now() - interval '60' day),token_transfers as (selectt.tx_id,t.tx_signer as user_wallet,t.block_time,date_trunc('day', t.block_time) as day,date_trunc('week', t.block_time) as week,'Genopets' as projectfrom genopets_addresses gjoin tokens_solana.transfers ton t.token_mint_address = g.addressand t.block_date >= current_date - interval '60' dayand t.block_time >= now() - interval '60' day)select * from prog_execunion allselect * from token_transfers