Hello.
I have a question about general strategy of writing multiple contracts.
Something like http://ethereum.org/token tutorial assumes that you have one contract which manages all the available tokens.
What if you want to create multiple contracts that have same functions but different initializer values?
For example, A 101 Noob Intro to Programming Smart Contracts on Ethereum,
has a contract example called Conference
which manages buying/refunding tickets of one conference.
The contract is like https://gist.github.com/makoto/1be1b1b6dc5c5dcf1e48e734d69053a8 .
What if I want to write a service like meetup.com or eventbrite on top of blockchain so that I can let organisers to create conference contract which has same functions but different ticket prices, venue capacities, and so on?
Do I need to compile/deploy new contract every time new conference is organised, or is it possible to create some sort of master contract
which can fork multiple conference contracts?
An advise is appreciated.
msg.sender
get 10k coins, now how do I add the coin to the receivers wallet as I need to send and it must reflect there