metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

feat: Add redesigned ERC20 Approve confirmation and SpendingCap section

Open pedronfigueiredo opened this issue 6 months ago • 5 comments

Description

Introduces support for ERC20 token transactions with the approve type. This includes a new spending cap section and bespoke logic in the "static simulation" section. Above a certain threshold, spending caps are represented as "Unlimited".

Open in GitHub Codespaces

Related issues

Fixes: #2924

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Screenshot 2024-08-22 at 12 30 02 Screenshot 2024-08-22 at 12 30 06

Pre-merge author checklist

Pre-merge reviewer checklist

  • [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

pedronfigueiredo avatar Aug 22 '24 11:08 pedronfigueiredo