aboutsummaryrefslogtreecommitdiffstats
path: root/docs/structure-of-a-contract.rst
diff options
context:
space:
mode:
authorholgerd77 <Holger.Drewes@googlemail.com>2016-02-19 18:30:00 +0800
committerholgerd77 <Holger.Drewes@googlemail.com>2016-02-19 18:30:00 +0800
commitacee4b7040b5b7991b540ecf59a9dd5d7fc1fb5a (patch)
tree5735ecf983447178b9b2b2d1b1a9ec553f9b6fb2 /docs/structure-of-a-contract.rst
parent6640e9e91897e4b030d1fea1a3c7a227c902bd26 (diff)
downloaddexon-solidity-acee4b7040b5b7991b540ecf59a9dd5d7fc1fb5a.tar.gz
dexon-solidity-acee4b7040b5b7991b540ecf59a9dd5d7fc1fb5a.tar.zst
dexon-solidity-acee4b7040b5b7991b540ecf59a9dd5d7fc1fb5a.zip
Added in-depth links for further reading to the state variable, function and function modifier overview in the structure section
Diffstat (limited to 'docs/structure-of-a-contract.rst')
-rw-r--r--docs/structure-of-a-contract.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst
index 2916c3f1..7b3dca60 100644
--- a/docs/structure-of-a-contract.rst
+++ b/docs/structure-of-a-contract.rst
@@ -25,6 +25,10 @@ State variables are values which are permanently stored in contract storage.
// ...
}
+See the :ref:`types` section for valid state variable types and
+:ref:`visibility-and-accessors` for possible choices for
+visability.
+
.. _functions:
Functions
@@ -40,6 +44,10 @@ Functions are the executable units of code within a contract.
}
}
+Functions can be called internally or externally (:ref:`function-calls`)
+and have different levels of visibility (:ref:`visibility-and-accessors`)
+towards other contracts.
+
.. _function-modifiers:
Function Modifiers
@@ -62,6 +70,8 @@ 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.
+
.. _events:
Events