medium10 pts · first answer countstoken-standardssmart-contract-security
Fee-on-transfer token deposits
A vault credits users with the amount argument after calling transferFrom(user, vault, amount). A token takes a 2% fee on every transfer. What goes wrong and how do you handle it?
Discussion 0
Join free to post in the discussion.
Related questions
- Private variables are public dataBlockchain Developer
- One contract, many token typesBlockchain Developer
- Token decimalsBlockchain 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