We're all gonna make it
We're all gonna make it
Other urls found in this thread:
pastebin.com
pastebin.com
pastebin.com
twitter.com
I don't know what this is, but nice fren. We WILL make it
I'll show you. all right now.
We're gonna work on this together
Send me 100k
OK im literaly negative iq when it comes to coding but I'll listen. LET'S DO THIS
I have to modify this a bit more to include referrals.
No one is impressed
lol. not trying to impress you basic begginings of code.
just giving you the opportunity to be along for the ride
That contact really doesn't do much
what ... oh...
right. it doesn't right now.
neither does the non-existent website we're about to build
yikes
kys
> unsafe division, addition and subtraction
> empty constructor with no new line, ew
> squashing the value sent into the contract
kek, go back to tutorials boy
lmao dumbass faggot did you just take coding in grade 9?
i've got a nice 125k stack. pretty comfy knowing i'll be a millionaire EOY.
oh i get it, it's bait
What is this for? Are you a dev for a project or something?
>unsafe
there's not even enough ether in the total supply for an overflow.
troll harder.
>empty constructor
idk if i need anything there yet, just keeping good form
this is going to be for funding the rest of the development for a research project I've been doing.
i'll detail more of that once i start working on the website
...
so now i've got to work on the "pull out" option.
anyone can pull out the remaining 95% of eth if they want to before launch
donation = math.min(x, 50000..)
that way you look like a pro
based retard poster
pastebin.com
pretty sure I've got all my bases covered so far
so the code i've got to write now is the code where people can vote to "push" the contract over into the next phase.
there doesn't need to be a timer
didn't know math.min was built into solidity
oh... wait... it's not
it's not? dropped
no wonder cryptokitties fucked it
you can use ether as an unit to avoid endless 0s in your numbers
also, you should switch the order of your actions in backout()
always change contract balances before any transfer action, else smart contracts with fallback functions can revert and trigger an infinite loop to steal all your funds
yeah. i forgot i had to spell "ether" all the way out
i was typing "eth" in my first attempt.
ah, you're right. nice save
I should create a way so that I can't just change the launch contract right before it reaches the majority vote.
lol
I'll work on basic UI first. and then get into the fancy-ness for the website.
The theme of the project is "governance tokens"
the "research" I've been doing has been about achieving fair distribution of a token and ensuring that token will persist to be fairly distributed.
The token also has intrinsic value because it can be used to receive dividends if staked into the core "bonds" contract.
those bonds are what the investor's remaining ~95% of eth is for.
This is looking like something that could really change the governance of DAOs. which will have huge implications for productivity within the industry
All of your modifiers do nothing
The donation cap is retarded, someone can make another contract that'll collect money from people and then call yours, and you'll only get 0.5 eth even though many people put in funds.
I guess I should be more greedy. I don't expect it to gain so much traction that anyone would want to do that. but I guess you're right.
and what do you mean by the modifiers do nothing? maybe not as the contract is. there's a bit more to be written.
so far you have no way of cashing out your developer fund
you could've just done eth4Launch[developerAddress] += donation
and you might forget to set the developerAddress when you launch it, so you might as well just use the address that creates the contract from your constructor
>u might as well just use the address that creates the contract from your constructor
yes. good one
>eth4Launch[developerAddress] += donation
that's actually pretty effecient
instead of creating another function for it.
I forgot that comissions need to go into the contract that the eth is being launched into.
so i need to have a separate variable for them so that they can't be cashed out.
and if someone backs out, they forfeit that comission.
btw: the comission can effectively be cashed out immediately once the final contract is created
i should also have a "staking" requirement for a marketer as well