aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-02 19:29:48 +0800
committerchriseth <chris@ethereum.org>2018-03-02 19:29:48 +0800
commit66ee9aa2f1d5af5dbabd6699e98935261d49558c (patch)
treeb648e926d566fb8b8210b2f8c091aaac8a1fefb9 /docs
parentc9840c98f45e6fa9258ec4624219622f5f71c75c (diff)
downloaddexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.gz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.bz2
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.lz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.xz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.zst
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.zip
Use 0.4.21 pragma for documentation that uses "emit".
Diffstat (limited to 'docs')
-rw-r--r--docs/introduction-to-smart-contracts.rst2
-rw-r--r--docs/solidity-by-example.rst6
-rw-r--r--docs/structure-of-a-contract.rst2
-rw-r--r--docs/types.rst2
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst
index 11e07292..56f0fe3e 100644
--- a/docs/introduction-to-smart-contracts.rst
+++ b/docs/introduction-to-smart-contracts.rst
@@ -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
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 57556fa5..27fefd49 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -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;
diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst
index 4a0873df..df40b1d0 100644
--- a/docs/structure-of-a-contract.rst
+++ b/docs/structure-of-a-contract.rst
@@ -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
diff --git a/docs/types.rst b/docs/types.rst
index 3611bc3e..e704687e 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -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 {