Guest User

Untitled

a guest
Jun 18th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. pragma solidity ^0.4.23;
  2.  
  3. /* --- seed stake contract ---
  4. as opposed to ICOs the funding happens in discrete units call SeedStakes
  5. the divisibility of a SeedStake is 1
  6. there is a maximum number of seedstakes which are required to fill the seedamount
  7. */
  8. contract SeedStake {
  9. //number of distinct seed tokens
  10. uint numseeders const = 500;
  11.  
  12. minseedrequired 300;
  13.  
  14. maxduration 6 months
  15.  
  16. uint minamount const = 1;
  17.  
  18. bool seedOccurred false;
  19.  
  20. //address of seeder
  21. adress[] balances
  22.  
  23. //pay in seed amount
  24. //can withdraw after 1 month if seed has not happened
  25. function seed() {
  26.  
  27.  
  28. }
  29.  
  30. function provideSeedInvestment () payable {
  31. //store balance
  32. //add amount raised
  33. //make seed investment withdrawable as long as minseed is not met
  34.  
  35. }
  36.  
  37.  
  38. }s
Add Comment
Please, Sign In to add comment