Created
August 31, 2022 06:41
-
-
Save Shashank-In/49b573e44d39b29115c33db6986ec12a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function transferTokens(address _from, address _to, uint256 _value) internal { | |
if (balanceOfOld[_from] < _value) { | |
revert(); | |
} | |
if (_to == address(this)) { | |
sell(_value); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment