I am very new to Ethereum and don't really understand the problem spec very well, so bear with me.
There is a function named GetVotesCount() in the contract MordorVote which I must limit to only being called by a 'vote master'. How can I determine who is calling a function in the contract?
Also, when I invoke a function in Embark, I get a hex string returned, but not whatever the function returns. How can I find out what a function is returning?
Also, how should I determine the address of vote master? Is that just an IP address? (so 127.0.0.1?)
Unrelated to this question, but I cannot post another question; do you know how I can increase my gas? I am trying to test a contract given to me, but I can no longer call some functions due to being out of gas.
– Daniel Paczuski Bak Apr 19 '17 at 00:00{from: ..., gas: 1000000}. As a new user, you may need to give some time between asking questions. We'll have to continue there. Also, the 2 questions here aren't related so should be asked separately in the future. – eth Apr 19 '17 at 00:38