Updates documentation to 0.7.0.

This commit is contained in:
Erik Kundt
2020-01-10 18:56:38 +01:00
parent 2c478e85e2
commit fe1676203d
33 changed files with 127 additions and 127 deletions
+6 -6
View File
@@ -58,7 +58,7 @@ complete contract):
::
pragma solidity >=0.4.0 <0.7.0;
pragma solidity >=0.4.0 <0.8.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract Fund {
@@ -81,7 +81,7 @@ as it uses ``call`` which forwards all remaining gas by default:
::
pragma solidity >=0.4.0 <0.7.0;
pragma solidity >=0.4.0 <0.8.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract Fund {
@@ -100,7 +100,7 @@ outlined further below:
::
pragma solidity >=0.4.11 <0.7.0;
pragma solidity >=0.4.11 <0.8.0;
contract Fund {
/// Mapping of ether shares of the contract.
@@ -197,7 +197,7 @@ Never use tx.origin for authorization. Let's say you have a wallet contract like
::
pragma solidity >=0.5.0 <0.7.0;
pragma solidity >=0.5.0 <0.8.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract TxUserWallet {
@@ -217,7 +217,7 @@ Now someone tricks you into sending Ether to the address of this attack wallet:
::
pragma solidity ^0.6.0;
pragma solidity >=0.6.0 <0.8.0;
interface TxUserWallet {
function transferTo(address payable dest, uint amount) external;
@@ -277,7 +277,7 @@ field of a ``struct`` that is the base type of a dynamic storage array. The
::
pragma solidity >=0.5.0 <0.7.0;
pragma solidity >=0.5.0 <0.8.0;
contract Map {
mapping (uint => uint)[] array;