[audit]#4 add transfer event to dodo lptoken burn
This commit is contained in:
@@ -122,5 +122,6 @@ contract DODOLpToken is Ownable {
|
|||||||
balances[user] = balances[user].sub(value);
|
balances[user] = balances[user].sub(value);
|
||||||
totalSupply = totalSupply.sub(value);
|
totalSupply = totalSupply.sub(value);
|
||||||
emit Burn(user, value);
|
emit Burn(user, value);
|
||||||
|
emit Transfer(user, address(0), value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user