Query editor
with breed_start as (select-- BREEDING Started https://polygonscan.com/tx/0xa05c0c3abe17874e2c352d49eba41489e810cbd4cda05ba9e35f0ad1035864ca#eventlogtx_hash,tx_from,topic1 as firstparentid,topic2 as secondparentid--topic2 as breederfrom polygon.logswhere contract_address = 0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1fand topic0 = 0x4f9507a23f79eedc389ea00f193fac8b6132b0080e65cb0786ccbe4e6cbdbef1),newegg as (select-- NewEggRNG Requested https://polygonscan.com/tx/0xa05c0c3abe17874e2c352d49eba41489e810cbd4cda05ba9e35f0ad1035864ca#eventlogtx_hash,tx_from,topic1 as roundtrip_id,--topic2 as eggid,topic2 as vrfrequestfrom polygon.logswhere contract_address = 0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1fand topic0 = 0x972f1920c9d62537bba60325b9bf0de2a89c4010e1c303b8f19a6dea624df6b2),corn_birth as (selectevt_tx_hash as tx_hash,tokenID as tokenidfrom erc721_polygon.evt_transferwhere contract_address = 0xdc0479cc5bba033b3e7de9f178607150b3abce1fand "from" = 0x0000000000000000000000000000000000000000),breed_complete as (select-- BREEDING COMPLETE https://polygonscan.com/tx/0xa05c0c3abe17874e2c352d49eba41489e810cbd4cda05ba9e35f0ad1035864ca#eventlogtx_hash,tx_from,bytearray_to_int256(topic1) as roundtrip_id,bytearray_to_int256(topic2) as eggidfrom polygon.logswhere contract_address = 0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1fand topic0 = 0x6a240f3d736b5cfb06904eb0e2c22546daf8d093c281e59533e3683006ddeaaf),startbreed as (selectb.tx_hash,b.tx_from as sender,bytearray_to_int256(e.roundtrip_id) as roundtrip_id,e.vrfrequest as vrfrequest,c.tokenid as tokenidfrom breed_start bleft join newegg e on b.tx_hash = e.tx_hashleft join corn_birth c on b.tx_hash = c.tx_hash)selects.*,f.roundtrip_id as breed_complete_roundtrip,f.tx_hash as breed_complete_txhashfrom startbreed sleft join breed_complete f on s.tokenid = f.eggid