mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03:00
[solidity/en] Add version pragma
This commit is contained in:
parent
6e7c5c7933
commit
b15f719178
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user