Query editor
WITH inputs AS (SELECT*FROM (VALUES(0x22C1f6050E56d2876009903609a2cC3fEf83B415, 'POAP'), /* POAP */(0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85, 'ENS'), /* ENS */(0xc9a42690912f6bd134dbc4e2493158b3d72cad21, 'RabbitHole'), /* */(0x2face815247a997eaa29881c16f75fd83f4df65b, 'RabbitHole'), /* */(0xa3b61c077da9da080d22a4ce24f9fd5f139634ca, 'RabbitHole'), /* */(0x94c1ff1951c38fc3df189c8f4edf01e3bf4d1e5b, 'RabbitHole'),(0xF1c121A563A84D62a5F11152d064Dd0D554024F9, 'Noox'), /* */(0x8CC6517e45dB7a0803feF220D9b577326A12033f, 'CyberConnect Link3'), /* */(0x3CD266509D127d0Eac42f4474F57D0526804b44e, 'Buildspace'),(0x60576A64851C5B42e8c57E3E4A5cF3CF4eEb2ED6, 'MintKudos'),(0xE57B336779A346E6D2b6f82Ddc38B3A21333C2c8, 'Dework'),(0x1Ed25648382c2e6Da067313e5DAcb4F138Bc8b33, 'Learnweb3'),(0x5D666F215a85B87Cb042D59662A7ecd2C8Cc44e6, 'Galxe'),(0xF12494e3545D49616D9dFb78E5907E9078618a34, 'Sismo'),(0x813147e63c5B8FE2E8fb75df26f15186874b3901, '101'),(0x200FB6e28EdF0FBC9B5fabf7d39Ae583981f5038, 'Layer3'), /* bounty NFT rewards */(0x2714Fe16Fa6F51e0cC0d4C030a02032d5171Da3d, 'Layer3'), /* early express card */(0xF8cE3cB9556fBba679841D959fF693c88c63C969, 'Layer3'), /* web3 resume */(0xF9481510210C13Be887d200fBb03036088638D79, 'RabbitHole'), /* skills */(0xDb46d1Dc155634FbC732f92E853b10B288AD5a1d, 'Lens Protocol'), /* profiles */(0xbf4E6C28d7f37C867CE62cf6ccb9efa4C7676F7F, 'Lens Protocol'), /* profiles */(0xa31FF85E840ED117E172BC9Ad89E55128A999205, 'Lens Protocol'), /* profiles */(0xb05BAe098D2b0E3048DE27F1931E50b0200a043B, 'Lens Protocol'), /* profiles */(0xeff187b4190E551FC25a7fA4dFC6cf7fDeF7194f, 'Lens Protocol'), /* profiles */(0xB0298C5540f4Cfb3840C25d290Be3Ef3Fe09fa8c, 'Lens Protocol'), /* profiles */(0xDd7047d6A8B02595c55DDF01c5934B10D7e03873, 'Lens Protocol'), /* profiles */(0x1292E6dF9a4697DAAfDDBD61D5a7545A634af33d, 'Lens Protocol'), /* profiles */(0xBA97fc9137b7cbBBC7fcB70a87DA645d917C902F, 'Lens Protocol'), /* profiles */(0x17317F96f0C7a845FFe78c60B10aB15789b57Aaa, 'Lens Protocol'), /* profiles */(0xeff187b4190E551FC25a7fA4dFC6cf7fDeF7194f, 'Lens Protocol'), /* profiles */(0x506402DbEEEc75B2425d80B6f51e806684fD9F40, 'Gateway'), /* gateway credentials */(0xF5177C4fA79d81b211D3F0AA9E94066841771A3f, 'Continuum'), /* continuum credentials */-- (0xDb46d1Dc155634FbC732f92E853b10B288AD5a1d, 'Lens'), /* lens */(0x94CCe07F299945CFE80e309c85cb0A784B3ee6C2, 'twitfi'), /* twitfi */(0x3D8C06e65ebf06A9d40F313a35353be06BD46038, 'Phi'), /* phi qeust object */(0x017BD973FE4D3E0F81bAB69BcccCb44679D86eab, 'Phi'), /* phi free object */(0xe30dfbad0cab7982b04ccca7d28930e7466843d5, 'FanTV'),(0x9d9b975a31428fbf98dbd062c518db4d8ac31a8d, 'FanTV'),(0x312E2F8AD479BEDd32c7A752bCB68FA24550CAF7, 'Phi') /* phi premium object */) AS inputs(contract_address, project)unionSELECT distinctclone AS contract_address, 'Mirror' AS projectFROM mirror_optimism.Observability_evt_WritingEditionPurchased),polygon AS (SELECT"to" AS wallet_address, i.project, t.evt_block_time as dt