summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorsc0Vu <alk03073135@gmail.com>2017-07-25 18:32:29 +0800
committersc0Vu <alk03073135@gmail.com>2017-07-25 18:32:29 +0800
commitb15f719178803a3952e0b8f56b4e24752f22e2b5 (patch)
treeb8a76ac7a91d6eaef5cb275d80dadc608a55d064 /solidity.html.markdown
parent6e7c5c793327f4a63b13e555894597915ca91fda (diff)
[solidity/en] Add version pragma
Diffstat (limited to 'solidity.html.markdown')
-rw-r--r--solidity.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index 602d74f0..d9b33ed4 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -37,6 +37,9 @@ features are typically marked, and subject to change. Pull requests welcome.
// simple_bank.sol (note .sol extension)
/* **** START EXAMPLE **** */
+// Declare the source file compiler version.
+pragma solidity ^0.4.2;
+
// Start with Natspec comment (the three slashes)
// used for documentation - and as descriptive data for UI elements/actions