-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement ERC721 standard in both Linear and Pro contracts #124
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use modifier for the "cancel" function
feat: inherit ERC721 in SablierV2Pro feat: mint NFT in the create function feat: add isApprovedOrOwner function feat: change modifier to onlySenderOrRecipientOrApproved feat: add tokenURI function perf: remove the recipient address from the Stream struct test: change the struct recipient with the user recipient
test: make recipient the default caller for the cancel tests test: when the recipient is no longer the owner of the stream in the cancel function test: when the recipient is no longer the owner of the stream in the withdraw function test: when the recipient is no longer the owner of the streams in the cancellAll function test: when the caller is an approved third party in the cancel function test: when the caller is an approved third party in the cancelAll funtion test: when the caller is an approved third party in the withdraw function test: order correctly the branches in the cancel tree test: order correctly the branches in the cancelAll tree
test: when the recipient is no longer the owner of the streams in the withdrawAll function test: when the recipient is no longer the owner of the streams in the withdrawAllTo function test: when the recipient is no longer the owner of the stream in the withrawTo function test: when the caller is an approved third party in the withdrawAll function test: when the caller is an approved third party in the withdrawAllTo function test: when the caller is an approved third party in the withdtawTo function test: order correctly the branches in the withdraw tree test: remove the local withdrawAmount variable from the test functions test: change the new owner of the streams to eve when using transfer function
test: correct function name in the withdrawAllTo test: improve english in the tree branches
e9a6469
to
27ab5ab
Compare
test: "isApprovedOrOwner" function in the "SablierV2Pro" contract test: correct comment about return value
d131c0a
to
8fdf71d
Compare
Due to too many git conflicts I'm closing this PR in favor of #131. |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features implemented:
create
function in both contractsrecipient
address from theStream
struct in both contractsisApprovedOrOwner
function that returns abool
value wether the caller is theowner
of the stream or isapproved
onlySenderOrRecipient
modifier toonlySenderOrAuthorized
that callsisApprovedOrOwner
functionapproved
third party in thecancel
cancelAll
withdraw
withdrawAll
withdrawAllTo
withdrawTo
functionscancel
cancelAll
withdraw
withdrawAll
withdrawAllTo
withdrawTo
functions