aboutsummaryrefslogtreecommitdiffstats
path: root/docs/structure-of-a-contract.rst
diff options
context:
space:
mode:
authorholgerd77 <Holger.Drewes@googlemail.com>2016-02-19 19:05:56 +0800
committerholgerd77 <Holger.Drewes@googlemail.com>2016-02-19 19:05:56 +0800
commitaec2f4879a34fc0242a3352a7e52da564fe49ab4 (patch)
treea18974b69e907cf514112d473ff0bf74d5fa1bd8 /docs/structure-of-a-contract.rst
parent448d1601ce4c90e33ab43d896d08d34d2b870843 (diff)
downloaddexon-solidity-aec2f4879a34fc0242a3352a7e52da564fe49ab4.tar.gz
dexon-solidity-aec2f4879a34fc0242a3352a7e52da564fe49ab4.tar.zst
dexon-solidity-aec2f4879a34fc0242a3352a7e52da564fe49ab4.zip
Added in-depth links to function modifiers, structs and enums in structure section
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).
::