Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.23;
- /* --- seed stake contract ---
- as opposed to ICOs the funding happens in discrete units call SeedStakes
- the divisibility of a SeedStake is 1
- there is a maximum number of seedstakes which are required to fill the seedamount
- */
- contract SeedStake {
- //number of distinct seed tokens
- uint numseeders const = 500;
- minseedrequired 300;
- maxduration 6 months
- uint minamount const = 1;
- bool seedOccurred false;
- //address of seeder
- adress[] balances
- //pay in seed amount
- //can withdraw after 1 month if seed has not happened
- function seed() {
- }
- function provideSeedInvestment () payable {
- //store balance
- //add amount raised
- //make seed investment withdrawable as long as minseed is not met
- }
- }s
Add Comment
Please, Sign In to add comment