Skip to content

Commit

Permalink
chore(NAY4-S2-1): remove comments regarding overriding _update()
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-fruitful committed Oct 3, 2024
1 parent dbf1581 commit 234dc35
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libs/LibERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ library LibERC20Token {
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
Expand Down Expand Up @@ -125,8 +123,6 @@ library LibERC20Token {
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
Expand All @@ -140,8 +136,6 @@ library LibERC20Token {
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
Expand Down

0 comments on commit 234dc35

Please sign in to comment.