-
Notifications
You must be signed in to change notification settings - Fork 203
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: check custom gateway tokens withdrawal approval #2144
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Tested that after removal, the approval dialog still shows up for withdrawals with https://sepolia.arbiscan.io/token/0xdEFB0b365C718D1F9677E6232494B927c91284B6 (an xErc20 token on Sepolia)
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.
logic lgtm
This covers USDC custom custom gateway (USDC bridge) but also other custom & custom custom gateway tokens.
This PR removes the hardcoded list we maintained for tokens that require approval at withdrawal.
Closes FS-973