Skip to content
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

Modernize uniswap demo code #859

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

cburgdorf
Copy link
Collaborator

Just a few tiny modernizations in the uniswap demo that I spotted while working on something else. In the future the whole demo should probably be converted to be split over multiple files to not repeat certain structs etc.

contract ERC20 {
pub fn balanceOf(self, _ account: address) -> u256 {
return 0
revert
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made it slightly clearer that this is meant to be an interface

Copy link
Collaborator

@sbillig sbillig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sbillig sbillig merged commit e63e1b4 into ethereum:master Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants