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.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