aboutsummaryrefslogtreecommitdiffstats
path: root/docs/structure-of-a-contract.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/structure-of-a-contract.rst')
-rw-r--r--docs/structure-of-a-contract.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst
index 8691d33a..f00ac968 100644
--- a/docs/structure-of-a-contract.rst
+++ b/docs/structure-of-a-contract.rst
@@ -53,7 +53,8 @@ towards other contracts.
Function Modifiers
==================
-Function modifiers can be used to amend the semantics of functions in a declarative way.
+Function modifiers can be used to amend the semantics of functions in a declarative way
+(see :ref:`modifiers` in contracts section).
::
@@ -70,7 +71,7 @@ Function modifiers can be used to amend the semantics of functions in a declarat
}
}
-See :ref:`modifiers` in the section on contracts for a more in-depth explanation.
+ in the section on contracts for a more in-depth explanation.
.. _structure-events:
@@ -90,12 +91,16 @@ Events are convenience interfaces with the EVM logging facilities.
}
}
+See :ref:`events` in contracts section for information on how events are declared
+and can be used from within a dapp.
+
.. _structure-structs-types:
Structs Types
=============
-Structs are custom defined types that can group several variables.
+Structs are custom defined types that can group several variables (see
+:ref:`structs` in types section).
::
@@ -113,7 +118,8 @@ Structs are custom defined types that can group several variables.
Enum Types
==========
-Enums can be used to create custom types with a finite set of values.
+Enums can be used to create custom types with a finite set of values (see
+:ref:`enums` in types section).
::