Hello, Just a quick question. If i have erc20 tokens and i send them to the burn address manually does it automatically lower the supply (openzeppelin erc20) Or will i have to call burn function and do it that method?
Thank you
Hello, Just a quick question. If i have erc20 tokens and i send them to the burn address manually does it automatically lower the supply (openzeppelin erc20) Or will i have to call burn function and do it that method?
Thank you
Hello @BlockchainDev
It is not possible to do a transfer
or a transferFrom
with address(0)
as the recipient.
burn
function is available, this will reduce the totalSupply and emit an event with address(0)
as the recipient0xdead
) will NOT update the totalSupply.