Merge pull request #1003 from winsvega/docs

add "pragma solidity ^0.4.0;" to code examples
This commit is contained in:
chriseth
2016-09-06 15:59:49 +02:00
committed by GitHub
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,