Verax is a shared registry for storing attestations of public interest on EVM chains, designed to enhance data discoverability and consumption for dApps across the network.
Currently, the balanceOf function of the AttestationRegistry contract counts the expired/revoked/replaced Attestations.
To make its behaviour clearer, let's change the balanceOf function to return 0 if the corresponding Attestation is either expired, revoked or replaced (actually, checking for revocation covers the 'replacement' case).
Currently, the
balanceOf
function of theAttestationRegistry
contract counts the expired/revoked/replaced Attestations. To make its behaviour clearer, let's change thebalanceOf
function to return0
if the corresponding Attestation is either expired, revoked or replaced (actually, checking for revocation covers the 'replacement' case).