Query editor
SELECTsum(bytearray_to_uint256(data) * 1e-18) AS totalPaymentsInCUSD, -- converts to decimal (10^18 wei = 1 ether)tx_from as paymentFromIssuer,max(block_time) as lastPaymentDateFROM celo.logsWHEREcontract_address = 0xAE6B29f31B96e61DdDc792f45fDa4e4F0356D0CB -- OdisPayments.sol (Proxy)AND topic0 = 0x3a2d0e41c506b136330c6e5e0295ccbf0966daece99bfe7c89020cc01dbfb8d6 -- PaymentMade eventGROUP BY tx_fromORDER by totalPaymentsInCUSD DESC