-
-
Save krsnnik/f9a8243205bafb73acd9588e52b85dd9 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
/** | |
* @dev See `IERC777.send`. | |
* | |
* Also emits a `Transfer` event for ERC20 compatibility. | |
*/ | |
function send(address recipient, uint256 amount, bytes calldata data) external { | |
_send(msg.sender, msg.sender, recipient, amount, data, "", true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment