aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorjamesray1 <james.ray0001@gmail.com>2017-05-10 13:26:17 +0800
committerGitHub <noreply@github.com>2017-05-10 13:26:17 +0800
commit139fdb36c77364384e132d5411cb02876ee74a55 (patch)
tree98a7a74ffe5fc9d8f4bbedc777b4639ae8ad31fe /docs
parent1d5c0ce9f4169d8e750d7cfac0e7b86894f4bcbb (diff)
downloaddexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.tar
dexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.tar.gz
dexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.tar.bz2
dexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.tar.lz
dexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.tar.xz
dexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.tar.zst
dexon-solidity-139fdb36c77364384e132d5411cb02876ee74a55.zip
Update introduction-to-smart-contracts.rst
Diffstat (limited to 'docs')
-rw-r--r--docs/introduction-to-smart-contracts.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst
index 69887134..d6c30db8 100644
--- a/docs/introduction-to-smart-contracts.rst
+++ b/docs/introduction-to-smart-contracts.rst
@@ -33,7 +33,9 @@ Storage
The first line simply tells that the source code is written for
Solidity version 0.4.0 or anything newer that does not break functionality
(up to, but not including, version 0.5.0). This is to ensure that the
-contract does not suddenly behave differently with a new compiler version. For more information about pragma, see [here](https://en.wikipedia.org/wiki/Directive_(programming)).
+contract does not suddenly behave differently with a new compiler version. The keyword ``pragma`` is called that way because, in general,
+pragmas are instructions for the compiler about how to treat the
+source code (e.g. [pragma once](https://en.wikipedia.org/wiki/Pragma_once)). .
A contract in the sense of Solidity is a collection of code (its *functions*) and
data (its *state*) that resides at a specific address on the Ethereum