diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-24 20:46:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 02:03:25 +0800 |
commit | 3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c (patch) | |
tree | 6679b9e4363b7df17df5136a0830ef4a105bd4b6 /docs/solidity-by-example.rst | |
parent | c9f468b7172157752df64c4ff3d7bfab01650a65 (diff) | |
download | dexon-solidity-3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c.tar.gz dexon-solidity-3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c.tar.zst dexon-solidity-3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c.zip |
Update version pragma in all documentation examples
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r-- | docs/solidity-by-example.rst | 10 |
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. |