summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion ElensĂșlĂ« <andre@oire.org>2017-08-24 01:14:49 +0300
committerGitHub <noreply@github.com>2017-08-24 01:14:49 +0300
commit1058ecc7d4d966788e5d963caf9f8c27dd2ac330 (patch)
tree31f8067304ee2b73fe6bd32d1205dcda4ddab6e2 /solidity.html.markdown
parentb903cac07dc5afd5114d0c526a0a2fef4bac62f8 (diff)
parentb15f719178803a3952e0b8f56b4e24752f22e2b5 (diff)
Merge pull request #2809 from sc0Vu/master
[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