The Nomad
  • Member for 4 years, 5 months
  • Last seen more than a month ago
  • Albany, CA
Who pays gas for smart contracts?
4 votes

In addition to the correct answer, also note that calling constant functions do not cost any gas as they do not alter any storage variables.

View answer
Can we apply modifier to an event in solidity just like function?
0 votes

AFAIK, you can't throw on an Event. The purpose of an Event is to basically log something out that can be read (by watching it). You should just handle the logic of posting the event (or not posting) ...

View answer