diff options
author | Dimitry <winsvega@mail.ru> | 2016-09-05 19:54:54 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2016-09-05 19:54:54 +0800 |
commit | 183cd70c47e27f2cec34512757860193104f674b (patch) | |
tree | 403ba1d0099bce0377c11d334156bc670a047d40 /docs/introduction-to-smart-contracts.rst | |
parent | 341c9436a8b6f5ae49265a482519e165a7f40395 (diff) | |
download | dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.gz dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.zst dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.zip |
add "pragma solidity ^0.4.0;" to code examples
Diffstat (limited to 'docs/introduction-to-smart-contracts.rst')
-rw-r--r-- | docs/introduction-to-smart-contracts.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst index 6fcd4854..de126a5a 100644 --- a/docs/introduction-to-smart-contracts.rst +++ b/docs/introduction-to-smart-contracts.rst @@ -16,6 +16,8 @@ Storage :: + pragma solidity ^0.4.0; + contract SimpleStorage { uint storedData; @@ -63,6 +65,8 @@ registering with username and password - all you need is an Ethereum keypair. :: + pragma solidity ^0.4.0; + contract Coin { // The keyword "public" makes those variables // readable from outside. |