WITH T AS (
select
distinct tx_hash
from near.core.fact_actions_events_function_call a
where
a.receiver_id = 'aaaaaa20d9e0e2461697782ef11675f668207961.factory.bridge.near'
)
select
distinct method_name from near.core.fact_actions_events_function_call
where tx_hash in (select tx_hash from t)