106 - ERC777 hooks
ERC777 tokens have the concept of a hook function that is called before any calls to send, transfer, operatorSend, minting and burning. While these hooks enable a lot of interesting use cases, care should be taken to make sure they do not make external calls because that can lead to reentrancies. (See here)
- ERC777 Hooks
- send/trasnfer/mint/burn/operatorSend
- External Calls -> Reentrancy
- Check Hooks -> External Calls