Query editor
-- NOTE: account_whirlpool not included on close instructionsselectcall_block_slot, call_outer_executing_account, call_block_time, call_tx_signer, account_positionAuthority, account_position, account_positionMint, account_receiver, 'close_position' as sourcefrom whirlpool_solana.whirlpool_call_closepositionwhere call_block_time >= CURRENT_DATE - INTERVAL '{{window_in_days}}' dayunion allselectcall_block_slot, call_outer_executing_account, call_block_time, call_tx_signer, account_positionAuthority, account_position, account_positionMint, account_receiver, 'close_position_with_token_extensions' as sourcefrom whirlpool_solana.whirlpool_call_closepositionwithtokenextensionswhere call_block_time >= CURRENT_DATE - INTERVAL '{{window_in_days}}' dayunion allselectcall_block_slot, call_outer_executing_account, call_block_time, call_tx_signer, account_positionBundleOwner as account_owner-- NOTE: PDA for position, account_positionBundle as account_position, account_positionBundleMint as account_positionMint, account_receiver, 'delete_position_bundle' as sourcefrom whirlpool_solana.whirlpool_call_deletepositionbundlewhere call_block_time >= CURRENT_DATE - INTERVAL '{{window_in_days}}' dayunion allselectcall_block_slot, call_outer_executing_account, call_block_time, call_tx_signer-- TODO: is this the same as the `account_positionBundleOwner`, account_positionBundleAuthority as account_owner-- NOTE: PDA for bundled position, account_bundledPosition as account_position-- TODO: do we want to join on initialize and link the single position mint?, NULL as account_positionMint, account_receiver, 'close_position_bundle' as sourcefrom whirlpool_solana.whirlpool_call_closebundledpositionwhere call_block_time >= CURRENT_DATE - INTERVAL '{{window_in_days}}' day