manifoldfinance / mevETH2

mevETH LST Protocol - Repo has migrated see link
https://github.com/MEV-Protocol/meveth
27 stars 2 forks source link

- redeemCream() won't work #248

Closed jnosleep closed 11 months ago

jnosleep commented 11 months ago

Describe the bug transfer to the zero address is not allowed for creamToken. ref: https://etherscan.io/token/0x49D72e3973900A195A155a46441F0C08179FdB64#code#F3#L226

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

jnosleep commented 11 months ago

duplicated with #191.