-
Notifications
You must be signed in to change notification settings - Fork 291
Vyper approve2 #255
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
Open
gmc98
wants to merge
28
commits into
Uniswap:main
Choose a base branch
from
gmc98:vyper-approve2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Vyper approve2 #255
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
4eea7e9
🚧 WIP
transmissions11 306ba1f
♻️ Inline safetransfer
transmissions11 b7ad213
👷♂️ Update vyper
transmissions11 44162d0
♻️ Reordering
transmissions11 8b136b9
♻️ Cleanup
transmissions11 2b9886e
⚡️ Optimize
transmissions11 7016aba
⚡️ Optimize
transmissions11 f50353d
🔥 Remove isOperator
transmissions11 7967ce4
♻️ Cleanup
transmissions11 e5fe831
♻️ Use ERC20 interface
transmissions11 fe70c4f
♻️ Use default_return_value
transmissions11 cea31b7
♻️ Use skip_contract_check
transmissions11 e7b777f
♻️ Cleanup
transmissions11 88fdd6b
♻️ Cleanup
transmissions11 fd0af78
♻️ Cleanup
transmissions11 7b5b413
👷♂️ Add vyper to CI
transmissions11 249b8f8
👷♂️ Build Vyper docs in CI
transmissions11 e0d37eb
📝 TODOs
transmissions11 6ad3b2f
♻️ Cleanup
transmissions11 4efdfe1
♻️ Cleanup
transmissions11 2ae0cf6
♻️ Cleanup
transmissions11 49fa8a5
📝 TODO
transmissions11 048fc00
✅ Lockdown draft
transmissions11 75a3a18
⚡️ Inline
transmissions11 0c700ab
Update Approve2.vy
transmissions11 5e18bcf
♻️ Compliant domain seperator
transmissions11 fd4d378
⚡️ Separate assert
transmissions11 717f9e0
♻️ Cleanup
transmissions11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,15 @@ | ||
| Approve2Test:testOZSafePermit() (gas: 23395) | ||
| Approve2Test:testOZSafePermitPlusOZSafeTransferFrom() (gas: 129095) | ||
| Approve2Test:testInvalidateNonces() (gas: 27184) | ||
| Approve2Test:testLockdown() (gas: 432733) | ||
| Approve2Test:testOZSafePermit() (gas: 23418) | ||
| Approve2Test:testOZSafePermitPlusOZSafeTransferFrom() (gas: 129118) | ||
| Approve2Test:testOZSafeTransferFrom() (gas: 39310) | ||
| Approve2Test:testPermit2() (gas: 21763) | ||
| Approve2Test:testPermit2Full() (gas: 32804) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 5 |
||
| Approve2Test:testPermit2NonPermitToken() (gas: 22758) | ||
| Approve2Test:testPermit2PlusTransferFrom2() (gas: 126262) | ||
| Approve2Test:testPermit2PlusTransferFrom2WithNonPermit() (gas: 136552) | ||
| Approve2Test:testStandardPermit() (gas: 21427) | ||
| Approve2Test:testPermit2() (gas: 21797) | ||
| Approve2Test:testPermit2Full() (gas: 32243) | ||
| Approve2Test:testPermit2NonPermitToken() (gas: 22231) | ||
| Approve2Test:testPermit2PlusTransferFrom2() (gas: 126273) | ||
| Approve2Test:testPermit2PlusTransferFrom2WithNonPermit() (gas: 135604) | ||
| Approve2Test:testStandardPermit() (gas: 21405) | ||
| Approve2Test:testStandardTransferFrom() (gas: 38207) | ||
| Approve2Test:testTransferFrom2() (gas: 38086) | ||
| Approve2Test:testTransferFrom2Full() (gas: 47928) | ||
| Approve2Test:testTransferFrom2NonPermitToken() (gas: 47929) | ||
| Approve2Test:testTransferFrom2() (gas: 38064) | ||
| Approve2Test:testTransferFrom2Full() (gas: 47574) | ||
| Approve2Test:testTransferFrom2NonPermitToken() (gas: 47531) | ||
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| [profile.default] | ||
| ffi = true | ||
| solc = "0.8.15" | ||
| bytecode_hash = "none" | ||
| optimizer_runs = 1000000 | ||
|
|
||
This file contains hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
217634