Update pragmas.

This commit is contained in:
chriseth
2019-03-05 18:10:09 +01:00
parent 77c3352744
commit 8d401ba936
32 changed files with 111 additions and 111 deletions
+5 -5
View File
@@ -55,7 +55,7 @@ complete contract):
::
pragma solidity >=0.4.0 <0.6.0;
pragma solidity >=0.4.0 <0.7.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract Fund {
@@ -78,7 +78,7 @@ as it uses ``call`` which forwards all remaining gas by default:
::
pragma solidity >=0.4.0 <0.6.0;
pragma solidity >=0.4.0 <0.7.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract Fund {
@@ -97,7 +97,7 @@ outlined further below:
::
pragma solidity >=0.4.11 <0.6.0;
pragma solidity >=0.4.11 <0.7.0;
contract Fund {
/// Mapping of ether shares of the contract.
@@ -183,7 +183,7 @@ Never use tx.origin for authorization. Let's say you have a wallet contract like
::
pragma solidity ^0.5.0;
pragma solidity >=0.5.0 <0.7.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract TxUserWallet {
@@ -203,7 +203,7 @@ Now someone tricks you into sending ether to the address of this attack wallet:
::
pragma solidity ^0.5.0;
pragma solidity >=0.5.0 <0.7.0;
interface TxUserWallet {
function transferTo(address payable dest, uint amount) external;