add "pragma solidity ^0.4.0;" to code examples

This commit is contained in:
Dimitry
2016-09-05 14:54:54 +03:00
parent 341c9436a8
commit 183cd70c47
9 changed files with 96 additions and 0 deletions
+8
View File
@@ -28,6 +28,8 @@ become the new richest.
::
pragma solidity ^0.4.0;
contract WithdrawalContract {
address public richest;
uint public mostSent;
@@ -68,6 +70,8 @@ This is as opposed to the more intuitive sending pattern.
::
pragma solidity ^0.4.0;
contract SendContract {
address public richest;
uint public mostSent;
@@ -131,6 +135,8 @@ restrictions highly readable.
::
pragma solidity ^0.4.0;
contract AccessRestriction {
// These will be assigned at the construction
// phase, where `msg.sender` is the account
@@ -270,6 +276,8 @@ function finishes.
::
pragma solidity ^0.4.0;
contract StateMachine {
enum Stages {
AcceptingBlindedBids,