IERC20 and mint()

Hello

its more a general question … want to override some ERC20 function and also using mint().
So as I see there is no implementation in IERC20 for mint. Is there a common way to do that?
Or should I just write my own mint? (Don’t want to do that because I don’t find and don’t understand how beforeTransaction() works exactly…)

Ty :slight_smile:

1 Like

The IERC20 is the standard interface for ERC20, so it does not contain mint, if you want to rewrite the mint, I think you can write a contract derived from ERC20 to rewrite the function name mint()

1 Like