Advertisement
Guest User

Untitled

a guest
May 30th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. modifier afterDeadline() { if (now >= deadline) _ }
  2.  
  3. /* checks if the goal or time limit has been reached and ends the campaign */
  4. function checkGoalReached() afterDeadline {
  5. ...
  6.  
  7. /* The function without name is the default function that is called whenever anyone sends funds to a contract */
  8. function () {
  9. if (crowdsaleClosed) throw;
  10. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement