diff options
author | jamesray1 <james.ray0001@gmail.com> | 2017-05-10 13:20:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 13:20:12 +0800 |
commit | 1d5c0ce9f4169d8e750d7cfac0e7b86894f4bcbb (patch) | |
tree | b420e34ecd46ffd39d43ceaf74a45784105ce125 | |
parent | 1b1af751fd29c1adc58d1931d6ee123aa1f26496 (diff) | |
download | dexon-solidity-1d5c0ce9f4169d8e750d7cfac0e7b86894f4bcbb.tar.gz dexon-solidity-1d5c0ce9f4169d8e750d7cfac0e7b86894f4bcbb.tar.zst dexon-solidity-1d5c0ce9f4169d8e750d7cfac0e7b86894f4bcbb.zip |
Update introduction-to-smart-contracts.rst
Updated link for pragma.
-rw-r--r-- | docs/introduction-to-smart-contracts.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst index 1023f8a1..69887134 100644 --- a/docs/introduction-to-smart-contracts.rst +++ b/docs/introduction-to-smart-contracts.rst @@ -33,9 +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/Pragma_once). +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)). -A contract in the sense of Solidity is a collection of code (its [functions](https://en.wikipedia.org/wiki/Subroutine)) and +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 blockchain. The line ``uint storedData;`` declares a state variable called ``storedData`` of type ``uint`` (unsigned integer of 256 bits). You can think of it as a single slot |