Query editor
with quest_creations as (selectcase when cast(output_0 as varchar) = '0xde423764b263abded82995c49ae34b429bafa41d' then 'Lend on Aave # 1'when cast(output_0 as varchar) = '0xe77e0a023f1e7036e46526262f11edec40602b7d' then 'Lend on Aave # 2'when cast(output_0 as varchar) = '0x8bfed1d39bd8c9b3ec62ba4c565d46e3eac6babc' then 'Lend on Aave # 3'when cast(output_0 as varchar) = '0xb6207181bb62fd0cf66dee9acd3cd0fcbbcface1' then 'Lend on Aave # 4'when cast(output_0 as varchar) = '0x890b21965e293dcf685e9900d2f9eccb7e470fc3' then 'Lend on Aave # 5'when cast(output_0 as varchar) = '0x8778137b825efe26c77db3b8df7b8b7e95d8ea3a' then 'Lend on Aave # 6'when cast(output_0 as varchar) = '0x1c83d2cea2fcbcfd98f5267b4dc53db492de74a3' then 'Lend on Aave # 7'when cast(output_0 as varchar) = '0x3b37f0059ceb4d572ff47105c112589bb75a2f7e' then 'Lend on Aave # 8'when cast(output_0 as varchar) = '0x20c65b0c3840a1d9d43733bfe21fb2ab931b2454' then 'Lend on Aave # 9'when cast(output_0 as varchar) = '0xba37ef3a3611a5ca17a9be24bea51c11471da6ed' then 'Lend on Aave # 10'when cast(output_0 as varchar) = '0x81b242924569f7928f2d50527b531a4d9e6865e7' then 'Lend on Aave # 11'when cast(output_0 as varchar) = '0xbe3109718e6a8675c7f459dd5f8b26a8e2180b50' then 'Lend on Aave # 12'when cast(output_0 as varchar) = '0xf917ae3ed4182eac530208aa77cef214b8ae797d' then 'Lend on Aave # 13'when cast(output_0 as varchar) = '0x7fb510da444641c7fcb48cad40c700143fec89ed' then 'Participate in the USDC draw on PoolTogether # 1'when cast(output_0 as varchar) = '0xb84228f921dbaf1fff7ba4cf7495a5da67962e00' then 'Participate in the USDC draw on PoolTogether # 2'when cast(output_0 as varchar) = '0x766cfb7eec3b5170d3def49dbe1fe02b7268e942' then 'Participate in the USDC draw on PoolTogether # 3'when cast(output_0 as varchar) = '0xc7fbc51b9162fdeb177d6615cbaacd63e1f4be84' then 'Participate in the USDC draw on PoolTogether # 4'when cast(output_0 as varchar) = '0x9b7bae17f1673e7a0bff76a550fd22cd42606a9f' then 'Participate in the USDC draw on PoolTogether # 5'when cast(output_0 as varchar) = '0xd9931d2b2268f2b3116734420e91c34d7dec4e15' then 'Participate in the USDC draw on PoolTogether # 6'when cast(output_0 as varchar) = '0x420026e4ea663a5db7f6961a4fd862da7ad95834' then 'Participate in the USDC draw on PoolTogether # 7'when cast(output_0 as varchar) = '0x650cd0bba1784e5aca40b97bdb45cddbf6823b6b' then 'Participate in the USDC draw on PoolTogether # 8'when cast(output_0 as varchar) = '0x038821dbb4299faf2b0ed23d44dd8da320215093' then 'Participate in the USDC draw on PoolTogether # 9'when cast(output_0 as varchar) = '0x73137280cae9f75c290a4d7869275b535c3eae25' then 'Participate in the USDC draw on PoolTogether # 10'when cast(output_0 as varchar) = '0x2ef9edcf393c6c0aba643da04ed1fe4c21bf4332' then 'Participate in the USDC draw on PoolTogether # 11'when cast(output_0 as varchar) = '0xbe82fe457bf63da9c0fbb21309d8089d1d5219f6' then 'Participate in the USDC draw on PoolTogether # 12'when cast(output_0 as varchar) = '0xdfa66b4cac9f2e49fcca89ff5b8e017bf58da2b6' then 'Participate in the USDC draw on PoolTogether # 13'when cast(output_0 as varchar) = '0x664d005e56332193a503ee7a7b703d0208ac52f9' then 'Participate in the USDC draw on PoolTogether # 14'when cast(output_0 as varchar) = '0x191cf5452d4bffdd849160d28b13a52229edeaec' then 'Stream USDC on Superfluid on Optimism # 1'when cast(output_0 as varchar) = '0x2ca5473e90eb865ef4de9b333dbbef57e0c9a48c' then 'Stream USDC on Superfluid on Optimism # 2'when cast(output_0 as varchar) = '0x730a54813dd2e3d713ddb9cb8ecf9073f3f88cef' then 'Stream USDC on Superfluid on Optimism # 3'when cast(output_0 as varchar) = '0x55b3a584e1fdbb5e97daae111b76ef5965f0b7d7' then 'Stream USDC on Superfluid on Optimism # 4'when cast(output_0 as varchar) = '0x802e5ba1fedeabc2ad6e546741a9f2e4be7ebb72' then 'Stream USDC on Superfluid on Optimism # 5'when cast(output_0 as varchar) = '0xae52411e1ecd9e22eca6b274bc09fa2e4690df3f' then 'Stream USDC on Superfluid on Optimism # 6'when cast(output_0 as varchar) = '0x4e4049ee6b1f483e110159c93b60a6f68d542afa' then 'Bridge ETH on Hop from Ethereum to Optimism # 1'when cast(output_0 as varchar) = '0x353edcd5f949a19c0cc4be5b33db287c53435670' then 'Bridge ETH on Hop from Ethereum to Optimism # 2'when cast(output_0 as varchar) = '0xd547aaec71a80dcb15ed8a6e689309a4eea15a8e' then 'Bridge ETH on Hop from Ethereum to Optimism # 3'when cast(output_0 as varchar) = '0xd65ebdce1e83a3e2d538f3487f26a3782aa7f616' then 'Bridge ETH on Hop from Ethereum to Optimism # 4'when cast(output_0 as varchar) = '0xe99c6474b03935e14fdbe258764e5b3b4613d9b7' then 'Collect a post on Lens # 1'when cast(output_0 as varchar) = '0xce9e18bbd4730d437b6fdb7a4f08f8b4e8ba2572' then 'Collect a post on Lens # 2'when cast(output_0 as varchar) = '0x72f7f9018f5e925bcbb02b07feaa4a906f5531ae' then 'Swap on Balancer'when cast(output_0 as varchar) = '0x819b6cb7e050c80c6a2a4b8d3ebba146a11469eb' then 'Stake ETH on Lido/Wrap ETH on Uniswap on Goërli Network'when cast(output_0 as varchar) = '0x0310ad9ce48a9b7038d311ea9af04a13ed02babb' then 'Wrap ETH on Uniswap on Goërli Network'Else 'Other' END as quest_name, output_0, questId_ as quest_id, date_trunc('day', call_block_time) as quest_creation_time, date_trunc('day', from_unixtime(cast(startTime_ as bigint))) as start_date, endTime_, totalParticipants_ as total_participants, rewardAmountOrTokenId_from rabbithole_optimism.QuestFactory_call_createQuestwhere call_success = trueorder by call_block_time)