No Revert on Transfer Failure
⚠ HIGH severityBAT returns false on failure instead of reverting. If the return value is not checked, failed transfers will silently succeed, leading to accounting errors or fund loss.
Related: Unchecked Return Values
Always check the boolean return value of transfer/transferFrom, or use SafeERC20 which reverts on false returns.
| Chain | Address |
|---|---|
| Ethereum | 0x0d8775f648430679a709e98d2b0cb6250d2887ef |
Audit any contract that interacts with BAT: SmartContract.us automatically detects BAT integration risks →