You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_transfer, _mint and _burn are not virtual on purpose. This is to avoid inconsistency between calling an overriden version of these and the underlying _update function they are based on.
I suggest you override _update instead, as shown here
🧐 Motivation
Sometimes you want to override methods like:
_burn
it seems that in general having internal methods virtual is a good idea.Same thing about
safeTransferFrom
so we can add modifiers that limits the access or change the behavior.The text was updated successfully, but these errors were encountered: