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/solidity-by-example.rst | |
parent | 341c9436a8b6f5ae49265a482519e165a7f40395 (diff) | |
download | dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.gz dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.bz2 dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.lz dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.xz dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.zst dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.zip |
add "pragma solidity ^0.4.0;" to code examples
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r-- | docs/solidity-by-example.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index 8e23dafd..32a2e51f 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -36,6 +36,8 @@ of votes. :: + pragma solidity ^0.4.0; + /// @title Voting with delegation. contract Ballot { // This declares a new complex type which will @@ -208,6 +210,8 @@ activate themselves. :: + pragma solidity ^0.4.0; + contract SimpleAuction { // Parameters of the auction. Times are either // absolute unix timestamps (seconds since 1970-01-01) @@ -377,6 +381,8 @@ high or low invalid bids. :: + pragma solidity ^0.4.0; + contract BlindAuction { struct Bid { bytes32 blindedBid; @@ -543,6 +549,8 @@ Safe Remote Purchase :: + pragma solidity ^0.4.0; + contract Purchase { uint public value; address public seller; |