Question one:
Is this the best election contract for an election system or are there better concepts on how to elect something ?

Question two (stupid question):
If i want to use a factory pattern that creates contract instances with a function, do i need to somehow upload the contract code to the smart contract or is a contract always some sort of runtime object. I dont know how to phrase this properly. Lets say Class B(int number) needs this int number for the constructor, but the int will only be added during runtime, so do i upload it with out any variable or is it only uploaded when the function is triggered and i need the contract for triggering the function ?

Nov 29, 2021, 1:13 PM

© 2024 Draquery.com All rights reserved.