diff options
author | chriseth <c@ethdev.com> | 2016-09-05 22:29:08 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-09-07 01:11:41 +0800 |
commit | 4f5a95d569408e6a0a94c54b1eb39ea62b873c5e (patch) | |
tree | e0624ae19d837fb8e2acf9f828c4464e9e788c60 /docs/introduction-to-smart-contracts.rst | |
parent | fbe0edb32c973166efbd5c0ac556f37fd38584d6 (diff) | |
download | dexon-solidity-4f5a95d569408e6a0a94c54b1eb39ea62b873c5e.tar.gz dexon-solidity-4f5a95d569408e6a0a94c54b1eb39ea62b873c5e.tar.zst dexon-solidity-4f5a95d569408e6a0a94c54b1eb39ea62b873c5e.zip |
Update documentation to version 0.4.0.
Diffstat (limited to 'docs/introduction-to-smart-contracts.rst')
-rw-r--r-- | docs/introduction-to-smart-contracts.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst index de126a5a..922056ec 100644 --- a/docs/introduction-to-smart-contracts.rst +++ b/docs/introduction-to-smart-contracts.rst @@ -30,6 +30,11 @@ 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. + 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 |