Query editor
WITH EthereumIssued AS (SELECT DISTINCTcontract_addressFROM ethereum.logsWHEREtopic0 = 0x0e9905d62635f049c2f4e11678ebf9dc3d1f8c4a653e290759b772e47ba00d00 /* Issued */), EthereumRedeemed AS (SELECT DISTINCTcontract_addressFROM ethereum.logsWHEREtopic0 = 0xb7d0d6b60740753e9f16692a2f479472a1385aec2420fa43225b02f2ffa1afe7 /* Redeemed */), EthereumIssuedByPartition AS (SELECT DISTINCTcontract_addressFROM ethereum.logsWHEREtopic0 = 0xf0ded82afbb1bb3ff3fc48cb2a26584aa84e4af0bf309c804ecdb94d0f6a98bb /* IssuedByPartition */), EthereumRedeemedByPartition AS (SELECT DISTINCTcontract_addressFROM ethereum.logsWHEREtopic0 = 0xce306c3dbc4a497124b5a4f2be8388b41084c1d74663da27ecee1186c00239bf /* RedeemedByPartition */), EthereumCombined AS (SELECTi.contract_addressFROM EthereumIssued AS iJOIN EthereumRedeemed AS rON i.contract_address = r.contract_addressUNIONSELECTibp.contract_addressFROM EthereumIssuedByPartition AS ibpJOIN EthereumRedeemedByPartition AS rbpON ibp.contract_address = rbp.contract_address), ArbitrumIssued AS (SELECT DISTINCTcontract_addressFROM arbitrum.logsWHEREtopic0 = 0x0e9905d62635f049c2f4e11678ebf9dc3d1f8c4a653e290759b772e47ba00d00 /* Issued */), ArbitrumRedeemed AS (SELECT DISTINCTcontract_addressFROM arbitrum.logsWHEREtopic0 = 0xb7d0d6b60740753e9f16692a2f479472a1385aec2420fa43225b02f2ffa1afe7 /* Redeemed */), ArbitrumIssuedByPartition AS (SELECT DISTINCTcontract_addressFROM arbitrum.logsWHEREtopic0 = 0xf0ded82afbb1bb3ff3fc48cb2a26584aa84e4af0bf309c804ecdb94d0f6a98bb /* IssuedByPartition */), ArbitrumRedeemedByPartition AS (SELECT DISTINCTcontract_addressFROM arbitrum.logsWHEREtopic0 = 0xce306c3dbc4a497124b5a4f2be8388b41084c1d74663da27ecee1186c00239bf /* RedeemedByPartition */