medium10 pts · first answer countstoken-standardsopenzeppelin
Tokens that return nothing
Your contract calls require(token.transfer(to, amount)). It works with most tokens but reverts with USDT on Ethereum mainnet. Why, and what is the usual fix?
Discussion 0
Join free to post in the discussion.
Related questions
- One contract, many token typesBlockchain Developer
- Token decimalsBlockchain Developer
- Why use OpenZeppelinBlockchain Developer
- Safer ownership transferBlockchain Developer
- Fee-on-transfer token depositsBlockchain Developer
- Approving with a signatureBlockchain Developer
- UUPS vs transparent proxyBlockchain Developer
- Constructors behind a proxyBlockchain Developer