Update non-existant pragma 0.4.99 to 0.5.0

Use correct syntax for pragma

Change pragma syntax

One more change to pragma syntax
This commit is contained in:
Chris Ward
2019-01-07 14:20:10 +01:00
parent aca9e58145
commit cefc6c433e
8 changed files with 24 additions and 24 deletions
+4 -4
View File
@@ -308,7 +308,7 @@ This will no longer compile with Solidity v0.5.0. However, you can define a comp
::
pragma solidity >0.4.99 <0.6.0;
pragma solidity ^0.5.0;
interface OldContract {
function someOldFunction(uint8 a) external;
function anotherOldFunction() external returns (bool);
@@ -325,7 +325,7 @@ Given the interface defined above, you can now easily use the already deployed p
::
pragma solidity >0.4.99 <0.6.0;
pragma solidity ^0.5.0;
interface OldContract {
function someOldFunction(uint8 a) external;
@@ -345,7 +345,7 @@ commandline compiler for linking):
::
pragma solidity >0.4.99 <0.6.0;
pragma solidity ^0.5.0;
library OldLibrary {
function someFunction(uint8 a) public returns(bool);
@@ -430,7 +430,7 @@ New version:
::
pragma solidity >0.4.99 <0.6.0;
pragma solidity ^0.5.0;
contract OtherContract {
uint x;