Some changes to creation, events and modifiers.

This commit is contained in:
chriseth
2019-12-05 15:43:26 +01:00
parent 1890d17744
commit 5816c43df9
3 changed files with 25 additions and 17 deletions
+8 -3
View File
@@ -6,9 +6,14 @@
Function Modifiers
******************
Modifiers can be used to easily change the behaviour of functions. For example,
they can automatically check a condition prior to executing the function. Modifiers are
inheritable properties of contracts and may be overridden by derived contracts.
Modifiers can be used to change the behaviour of functions in a declarative way.
For example,
you can use a modifier to automatically check a condition prior to executing the function.
Modifiers are
inheritable properties of contracts and may be overridden by derived contracts, but only
if they are marked ``virtual``. For details, please see
:ref:`Modifier Overriding <modifier-overriding>`.
::