Query editor
SELECTdate_trunc('week', block_time) as week, case when bytearray_substring(data, 1, 1) IN (0x0e, 0x09) then 'depositers'when bytearray_substring(data, 1, 1) IN (0x0a, 0x10) then 'withdrawers'end as staker_type, count(distinct tx_signer) as stakersFROM solana.instruction_callsWHERE executing_account = 'SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy'AND contains(account_arguments, 'bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1')AND bytearray_substring(data, 1, 1) IN (0x0e, 0x09, 0x0a, 0x10) --deposit_sol, deposit_stake, withdraw_stake, withdraw_solgroup by 1,2