Skip to content

Instantly share code, notes, and snippets.

@krsnnik krsnnik/send.sol Secret
Created Jul 8, 2019

Embed
What would you like to do?
/**
* @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
You can’t perform that action at this time.