Query editor
-- Find v1 position openings via transactions to v1 MintingHub-- that also created a new contract (position)SELECTt.block_time,t.hash AS tx_hash,t."from" AS owner,SUBSTR(t.data, 1, 4) AS method_selector,-- collateral is first param (word 0 after selector)SUBSTR(SUBSTR(t.data, 5, 32), 13) AS collateral,t.successFROM ethereum.transactions tWHERE t."to" = 0x7546762fdb1a6d9146b33960545C3f6394265219AND t.block_time >= TIMESTAMP '2023-10-01'AND t.success = trueAND BYTEARRAY_LENGTH(t.data) > 100ORDER BY t.block_time