Replies: 1 comment 2 replies
-
Hello @sanjay-in, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In ManualToken.sol in foundry-erc20-f23 repo, why do we have an internal _transfer function and public transfer function. The transfer function calls internal _transfer function. Cant we have a single public function which does the logic
function _transfer(address _from, address _to, uint256 _value) internal {
function transfer( address _to, uint256 _value ) public returns (bool success) {
Beta Was this translation helpful? Give feedback.
All reactions