From b15f719178803a3952e0b8f56b4e24752f22e2b5 Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Tue, 25 Jul 2017 18:32:29 +0800 Subject: [solidity/en] Add version pragma --- solidity.html.markdown | 3 +++ 1 file changed, 3 insertions(+) (limited to 'solidity.html.markdown') 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 -- cgit v1.2.3