contract: update applyToRound signature #171
-
Currently the signature is This can be found here: https://github.com/gitcoinco/grants-round/blob/main/packages/contracts/contracts/round/RoundImplementation.sol#L251 The grants hub team mentioned that every project does not have it's own contract aka no unique identifier. We have two means of going about this which would require making contract changes. Option 1:
Option 2:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I would argue for |
Beta Was this translation helpful? Give feedback.
-
@nfrgosselin we should have this added to the backlog as this is contract change which break things in a few places on the hub side -> the longer we delay it |
Beta Was this translation helpful? Give feedback.
-
should the Round contract be aware of the |
Beta Was this translation helpful? Give feedback.
-
Closing as stale. |
Beta Was this translation helpful? Give feedback.
should the Round contract be aware of the
ProjectRegistry
contract?If it knows about it, and a project owner applies with
project 1
, the Round contract can check if themsg.sender
is actually a project owner.Otherwise anyone can apply with any project even if they don't own it, and set any recipient address in the application metadata.