hard20 pts · first answer countssmart-contract-securityreentrancytokens
Reentrancy through token hooks
A lending pool follows checks-effects-interactions for ETH but calls token.transferFrom before updating balances, assuming ERC-20 tokens cannot call back. An ERC-777 token is listed. What can happen?
Discussion 0
Join free to post in the discussion.
Related questions
- Letting a contract spend tokensBlockchain Developer
- Standard for unique tokensBlockchain Developer
- Private variables are public dataBlockchain Developer
- Verifying a contract on EtherscanBlockchain Developer
- Sharing a seed phraseBlockchain Developer
- Why use OpenZeppelinBlockchain Developer
- The checks-effects-interactions orderBlockchain Developer
- What nonReentrant doesBlockchain Developer