aboutsummaryrefslogtreecommitdiffstats
path: root/docs/abi-spec.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-11 05:58:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-13 23:10:37 +0800
commitb2fcd59ee6941de4a392b89295c734385d6019e3 (patch)
tree7f40372a2d95ec35ed707bdd63958bb9e68b97ee /docs/abi-spec.rst
parent9a5aac599e0003009fd0ba1794c6a02d97b3d026 (diff)
downloaddexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.gz
dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.zst
dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.zip
Add version pragma to docs examples
Diffstat (limited to 'docs/abi-spec.rst')
-rw-r--r--docs/abi-spec.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst
index d915973d..82c52159 100644
--- a/docs/abi-spec.rst
+++ b/docs/abi-spec.rst
@@ -182,6 +182,8 @@ Given the contract:
::
+ pragma solidity ^0.4.0;
+
contract Foo {
function bar(bytes3[2] xy) {}
function baz(uint32 x, bool y) returns (bool r) { r = x > 32 || y; }