F-2025-0006·error-handling

ERC-20 approval failure handling

Acknowledgedtypescriptwidgetrouter-api
TL;DR

ERC-20 approval failures were not surfaced cleanly to the user, producing confusing UX when allowance updates failed.

Severity
LOW
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description

Description

The ERC-20 approval flow did not surface failures cleanly. When an approval transaction reverted or failed silently, the widget did not retry or surface the error in a way the user could act on.

03Section · Recommendation

Recommendation

Detect approval transaction failures explicitly. Surface user-visible errors with actionable guidance and retry options.

Initia: Acknowledged. Pashov Audit Group: Acknowledged.

F-2025-0006