diff options
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 b8fa4a73..1eefa4d4 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; |