Query editor
-- Ramses V3 LP depositors-- Robinhood Chain-- Pool: 0x5860dd468b4fc1740eaf80a3b7f22e78d70a076a---- Depositor = transaction sender, NOT pool Mint.owner.-- Mint.owner is the NonfungiblePositionManager in this architecture.WITH mints AS (SELECTl.block_time,l.block_number,l.tx_hash,l.index AS log_index,tx."from" AS depositor,-- topic1 = Ramses position owner.-- Usually NonfungiblePositionManager, NOT the user.bytearray_substring(l.topic1, 13, 20) AS position_manager,-- Mint event data:-- word 1 = sender-- word 2 = index / NFT tokenId-- word 3 = liquidity-- word 4 = amount0-- word 5 = amount1bytearray_to_uint256(bytearray_substring(l.data, 33, 32)) AS token_id,bytearray_to_uint256(bytearray_substring(l.data, 65, 32)) AS liquidity_added,bytearray_to_uint256(bytearray_substring(l.data, 97, 32)) AS amount0_raw,bytearray_to_uint256(bytearray_substring(l.data, 129, 32)) AS amount1_rawFROM robinhood.logs lINNER JOIN robinhood.transactions txON tx.hash = l.tx_hashAND tx.block_number = l.block_numberWHERE l.contract_address =0x5860dd468b4fc1740eaf80a3b7f22e78d70a076aAND l.topic0 =0xd78218c0d304e8893cb3200abe394bbc8d5b7804d9c51f236df9fdcf481d02d3)SELECTdepositor,MIN(block_time) AS first_deposit,