function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
Minimal Reproduction Repo / Steps to Reproduce
simply do creamToken.transfer(address(0), 1); from a creamToken holder wallet
Expected behavior
Should change recipient to 0x000000000000000000000000000000000000dEaD
Describe the bug transfer to the zero address is not allowed for creamToken. ref: https://etherscan.io/token/0x49D72e3973900A195A155a46441F0C08179FdB64#code#F3#L226
Minimal Reproduction Repo / Steps to Reproduce simply do
creamToken.transfer(address(0), 1);
from a creamToken holder walletExpected behavior Should change recipient to
0x000000000000000000000000000000000000dEaD