Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
### User Story
[comment]: # (As a , I want to so that .)
As a grants community member, I want to be able to check the blockchain tx's match the Grants DB info, so I can audit the results I get from the Gitcoin frontend
### Why Is this Needed
[comment]: # (Describe the problem and why this task is needed. Provide description of the current state, what you would like to happen, and what actually happen)
Because people are starting to falsify information they get from the frontend to backend.
[comment]: # (Feature or Bug? i.e Type: Bug)
### Current Behavior
[comment]: # (Describe what actually happened.)
No checking of backend data vs blockchain.
### Expected Behavior
[comment]: # (Describe what you expected to happen.)
- We need a helper method that takes a look at the onchain tx's (contribution approve() and transefer()s) and make sure the information has not been falsified
- Run that helper method automatically for each new grant contribution
. Write a helper script that can be used to run that method on each previous grant contribution, and mark success=False on the contribution if it was falsified.
### Definition of Done
[comment]: # (Any other information that would be useful, bullets are helpful.)
### Additional Information
[comment]: # (Any other information that would be useful, content, screenshots, etc.)
example grants approve tx which can be used for testing
example grants splitter contract send function which can be used for testing https://etherscan.io/tx/0x0f4837fc443dea4ae50e511c2f79960675e99287d97891aa6ded06a539bf5fec