Query editor
SELECTDATE_TRUNC('{{granularity}}', block_time) AS day,COUNT(BYTEARRAY_LTRIM(topic3)) AS numberOfAccounts,COUNT(topic1) AS numberOfIdentifier /* bytearray_substring(data, 13, 20) as signer */FROM celo.logsWHEREcontract_address = 0x0ad5b1d0c25ecf6266dd951403723b2687d6aff2 /* FederatedAttestation.sol (Proxy) */AND topic0 = 0x3ed7f328925f9f666cc51d584ea4f0260f040f224d26993c6f89a6eb9845ed6f /* AttestationRegistered event */AND block_time BETWEEN TIMESTAMP '{{from}}' AND now()GROUP BYDATE_TRUNC('{{granularity}}', block_time)ORDER BYDATE_TRUNC('{{granularity}}', block_time) DESC/*topic0: AttestationRegisteredtopic1: identifiertopic2: issuertopic3: account```solidityevent AttestationRegistered(bytes32 indexed identifier,address indexed issuer,address indexed account,address signer,uint64 issuedOn,uint64 publishedOn);```Source: https://github.com/celo-org/celo-monorepo/blob/master/packages/protocol/contracts/identity/FederatedAttestations.sol#L65*/