Guest User

Untitled

a guest
Dec 15th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. // Prevent transfer to 0x0 address. Use burn() instead
  2. require(_to != 0x0);
  3. // Check if the sender has enough
  4. require(balanceOf[_from] >= _value);
  5. // Check for overflows
  6. require(balanceOf[_to] + _value > balanceOf[_to]);
Add Comment
Please, Sign In to add comment