aboutsummaryrefslogtreecommitdiffstats
path: root/docs/structure-of-a-contract.rst
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/structure-of-a-contract.rst
parentc9840c98f45e6fa9258ec4624219622f5f71c75c (diff)
downloaddexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.gz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.zst
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.zip
Use 0.4.21 pragma for documentation that uses "emit".
Diffstat (limited to 'docs/structure-of-a-contract.rst')
-rw-r--r--docs/structure-of-a-contract.rst2
1 files changed, 1 insertions, 1 deletions
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