Docs: Update solidity version for revert with reason

This commit is contained in:
Lefteris Karapetsas 2018-04-15 23:12:28 +02:00
parent 73ca3e8a1e
commit 8a7224683b
No known key found for this signature in database
GPG Key ID: AC4257C95510463E
6 changed files with 12 additions and 12 deletions

View File

@ -130,7 +130,7 @@ restrictions highly readable.
::
pragma solidity ^0.4.11;
pragma solidity ^0.4.22;
contract AccessRestriction {
// These will be assigned at the construction
@ -282,7 +282,7 @@ function finishes.
::
pragma solidity ^0.4.11;
pragma solidity ^0.4.22;
contract StateMachine {
enum Stages {

View File

@ -301,7 +301,7 @@ inheritable properties of contracts and may be overridden by derived contracts.
::
pragma solidity ^0.4.11;
pragma solidity ^0.4.22;
contract owned {
function owned() public { owner = msg.sender; }
@ -1215,7 +1215,7 @@ more advanced example to implement a set).
::
pragma solidity ^0.4.16;
pragma solidity ^0.4.22;
library Set {
// We define a new struct datatype that will be used to

View File

@ -477,7 +477,7 @@ a message string for ``require``, but not for ``assert``.
::
pragma solidity ^0.4.0;
pragma solidity ^0.4.22;
contract Sharer {
function sendHalf(address addr) public payable returns (uint balance) {
@ -524,7 +524,7 @@ The following example shows how an error string can be used together with revert
::
pragma solidity ^0.4.0;
pragma solidity ^0.4.22;
contract VendingMachine {
function buy(uint amount) payable {

View File

@ -36,7 +36,7 @@ of votes.
::
pragma solidity ^0.4.16;
pragma solidity ^0.4.22;
/// @title Voting with delegation.
contract Ballot {
@ -225,7 +225,7 @@ activate themselves.
::
pragma solidity ^0.4.21;
pragma solidity ^0.4.22;
contract SimpleAuction {
// Parameters of the auction. Times are either
@ -388,7 +388,7 @@ high or low invalid bids.
::
pragma solidity ^0.4.21;
pragma solidity ^0.4.22;
contract BlindAuction {
struct Bid {
@ -541,7 +541,7 @@ Safe Remote Purchase
::
pragma solidity ^0.4.21;
pragma solidity ^0.4.22;
contract Purchase {
uint public value;

View File

@ -62,7 +62,7 @@ Function modifiers can be used to amend the semantics of functions in a declarat
::
pragma solidity ^0.4.11;
pragma solidity ^0.4.22;
contract Purchase {
address public seller;

View File

@ -470,7 +470,7 @@ Example that shows how to use internal function types::
Another example that uses external function types::
pragma solidity ^0.4.21;
pragma solidity ^0.4.22;
contract Oracle {
struct Request {