diff options
-rw-r--r-- | docs/abi-spec.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst index 0c0d4556..069abbfa 100644 --- a/docs/abi-spec.rst +++ b/docs/abi-spec.rst @@ -187,12 +187,12 @@ Given the contract: :: - pragma solidity ^0.4.0; + pragma solidity ^0.4.16; contract Foo { - function bar(bytes3[2] xy) public {} - function baz(uint32 x, bool y) public returns (bool r) { r = x > 32 || y; } - function sam(bytes name, bool z, uint[] data) public {} + function bar(bytes3[2]) public pure {} + function baz(uint32 x, bool y) public pure returns (bool r) { r = x > 32 || y; } + function sam(bytes name, bool z, uint[] data) public pure {name=name; z=z; data=data;} } |