Note that the data must be decoded in order to inspect it, for example for this attestation inputting the attestation id to the EAS contract will return a tuple where the last field is a bytes. This attestation is of the format (bytes32,string,string) , so it can be decoded by doing
(string param1, string memory param2, string memory param3, string memory param4 , string memory param5) = abi.decode(data, (string, string, string,string,string));
[x] hasn't already been included in the eligible projects
[x] determine whether it was attested to by the optimism foundation
[x] is part of the current round (use the time variable)
1
validateProject(bytes32 approvalAttestation)
EASContract Approval SchemaNote that the data must be decoded in order to inspect it, for example for this attestation inputting the attestation id to the EAS contract will return a tuple where the last field is a bytes. This attestation is of the format (bytes32,string,string) , so it can be decoded by doing
(string param1, string memory param2, string memory param3, string memory param4 , string memory param5) = abi.decode(data, (string, string, string,string,string));