aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index d01886f8..0f9a71ab 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -36,7 +36,7 @@ of votes.
::
- pragma solidity ^0.4.22;
+ pragma solidity >=0.4.22 <0.6.0;
/// @title Voting with delegation.
contract Ballot {
@@ -225,7 +225,7 @@ activate themselves.
::
- pragma solidity ^0.4.22;
+ pragma solidity >=0.4.22 <0.6.0;
contract SimpleAuction {
// Parameters of the auction. Times are either
@@ -542,7 +542,7 @@ Safe Remote Purchase
::
- pragma solidity ^0.4.22;
+ pragma solidity >=0.4.22 <0.6.0;
contract Purchase {
uint public value;
@@ -793,7 +793,7 @@ The full contract
::
- pragma solidity ^0.4.24;
+ pragma solidity >=0.4.24 <0.6.0;
contract ReceiverPays {
address owner = msg.sender;
@@ -988,7 +988,7 @@ The full contract
::
- pragma solidity ^0.4.24;
+ pragma solidity >=0.4.24 <0.6.0;
contract SimplePaymentChannel {
address payable public sender; // The account sending payments.