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

feat: xSuperchainERC20 #277

Open
wants to merge 12 commits into
base: sc-feat/xsuperc20
Choose a base branch
from

Conversation

0xChin
Copy link
Member

@0xChin 0xChin commented Feb 14, 2025

Closes OPT-696

@0xChin 0xChin requested a review from hexshire February 14, 2025 16:28
@0xChin 0xChin self-assigned this Feb 14, 2025
Copy link

linear bot commented Feb 14, 2025

OPT-696 XSuperERC20.sol

Comment on lines +45 to +46
if (_spender == _PERMIT2) return type(uint256).max;
return super.allowance(_owner, _spender);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (_spender == _PERMIT2) return type(uint256).max;
return super.allowance(_owner, _spender);
return _spender == _PERMIT2 ? type(uint256).max : super.allowance(_owner, _spender);

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