Use 0.4.21 pragma for documentation that uses "emit".

This commit is contained in:
chriseth 2018-03-02 12:29:48 +01:00
parent c9840c98f4
commit 66ee9aa2f1
4 changed files with 6 additions and 6 deletions

View File

@ -80,7 +80,7 @@ registering with username and password - all you need is an Ethereum keypair.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract Coin {
// The keyword "public" makes those variables

View File

@ -219,7 +219,7 @@ activate themselves.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract SimpleAuction {
// Parameters of the auction. Times are either
@ -376,7 +376,7 @@ high or low invalid bids.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract BlindAuction {
struct Bid {
@ -529,7 +529,7 @@ Safe Remote Purchase
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract Purchase {
uint public value;

View File

@ -86,7 +86,7 @@ Events are convenience interfaces with the EVM logging facilities.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract SimpleAuction {
event HighestBidIncreased(address bidder, uint amount); // Event

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.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract Oracle {
struct Request {