ERC777 Transfer Hooks (Reentrancy Risk)
⚠ HIGH severityAMP implements ERC777 transfer hooks (tokensReceived/tokensToSend), enabling reentrancy attacks on every token transfer. The infamous imBTC/Uniswap reentrancy exploit used this vector.
Related: Reentrancy Attack
Apply reentrancy guards (nonReentrant modifier) on all functions that interact with ERC777-compatible tokens. Use checks-effects-interactions pattern.
| Chain | Address |
|---|---|
| Ethereum | 0xff20817765cb7f73d4bde2e66e067e58d11095c2 |
Audit any contract that interacts with AMP: SmartContract.us automatically detects AMP integration risks →