concept check in category blockchain

appears as: checks, check, checks
Blockchain in Action

This is an excerpt from Manning's book Blockchain in Action.

  • You specify the rules or conditions, using a control structure called a modifier. Solidity language provides the modifier feature to code the rules.
  • You can also see functions reverting if invalid values are given for their parameters. The Ethereum VM itself will throw an error if you give a negative value as a parameter to the changeState() function.