Added OZ's ERC20Burnable dependency which gives you burn() and burnFrom() as standard burn functions. This simplifies ImmutableERC20 contract enabling the existing burn() function to be removed.
Added a test testBurnFrom() which ensures you need approval before using burnFrom(). It tests the happy and unhappy paths.
Added OZ's
ERC20Burnable
dependency which gives youburn()
andburnFrom()
as standard burn functions. This simplifiesImmutableERC20
contract enabling the existingburn()
function to be removed.Added a test
testBurnFrom()
which ensures you need approval before usingburnFrom()
. It tests the happy and unhappy paths.You can run the test with;