update constructor syntax for solidity 0.4.23 in numerous contracts (#921)

* update solidity-coverage to ^0.5.0

* update truffle dependency to ^4.1.8

* update solium to ^1.1.7

* update all contracts to solidity ^0.4.23
This commit is contained in:
John Shutt
2018-05-08 18:02:00 -07:00
committed by Matt Condon
parent 20b85be6aa
commit ad12381549
108 changed files with 381 additions and 745 deletions

View File

@ -1,4 +1,4 @@
pragma solidity ^0.4.21;
pragma solidity ^0.4.23;
import "../ownership/Ownable.sol";
@ -10,7 +10,7 @@ import "../ownership/Ownable.sol";
*/
contract Destructible is Ownable {
function Destructible() public payable { }
constructor() public payable { }
/**
* @dev Transfers the current balance to the owner and terminates the contract.

View File

@ -1,4 +1,4 @@
pragma solidity ^0.4.21;
pragma solidity ^0.4.23;
import "../ownership/Ownable.sol";

View File

@ -1,4 +1,4 @@
pragma solidity ^0.4.21;
pragma solidity ^0.4.23;
import "../ownership/Ownable.sol";
import "../token/ERC20/ERC20Basic.sol";
@ -12,7 +12,7 @@ import "../token/ERC20/ERC20Basic.sol";
*/
contract TokenDestructible is Ownable {
function TokenDestructible() public payable { }
constructor() public payable { }
/**
* @notice Terminate contract and refund to owner