BreadchainCoop / BuildersDollarHackathon

0 stars 0 forks source link

validateProject #3

Open RonTuretzky opened 3 weeks ago

RonTuretzky commented 3 weeks ago

1

validateProject(bytes32 approvalAttestation) EASContract Approval Schema

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));

RonTuretzky commented 1 week ago

needs to be reworked