Commit 83f41046 by Manuel Araoz

migrate to 0.4.4

parent 0c0eb292
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import './PullPayment.sol'; import './PullPayment.sol';
import './Killable.sol'; import './Killable.sol';
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
// see https://github.com/ethereum/EIPs/issues/20 // see https://github.com/ethereum/EIPs/issues/20
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import "./Ownable.sol"; import "./Ownable.sol";
/* /*
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
contract LimitFunds { contract LimitFunds {
uint LIMIT = 5000; uint LIMIT = 5000;
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
contract Migrations { contract Migrations {
address public owner; address public owner;
uint public last_completed_migration; uint public last_completed_migration;
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
/* /*
* Ownable * Ownable
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
/* /*
* PullPayment * PullPayment
* Base contract supporting async send for pull payments. * Base contract supporting async send for pull payments.
......
pragma solidity ^0.4.0;
/*
* Rejector
* Base contract for rejecting direct deposits.
* Fallback function throws immediately.
*/
contract Rejector {
function() { throw; }
}
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
/** /**
* Math operations with safety checks * Math operations with safety checks
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import './ERC20.sol'; import './ERC20.sol';
import './SafeMath.sol'; import './SafeMath.sol';
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import "./Ownable.sol"; import "./Ownable.sol";
/* /*
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../PullPayment.sol'; import '../PullPayment.sol';
// UNSAFE CODE, DO NOT USE! // UNSAFE CODE, DO NOT USE!
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
// UNSAFE CODE, DO NOT USE! // UNSAFE CODE, DO NOT USE!
contract BadFailEarly { contract BadFailEarly {
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
// UNSAFE CODE, DO NOT USE! // UNSAFE CODE, DO NOT USE!
contract BadPushPayments { contract BadPushPayments {
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../PullPayment.sol'; import '../PullPayment.sol';
contract GoodArrayUse is PullPayment { contract GoodArrayUse is PullPayment {
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
contract GoodFailEarly { contract GoodFailEarly {
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
contract GoodPullPayments { contract GoodPullPayments {
address highestBidder; address highestBidder;
uint highestBid; uint highestBid;
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import "../Rejector.sol";
/* /*
* Proof of Existence example contract * Proof of Existence example contract
* see https://medium.com/zeppelin-blog/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05 * see https://medium.com/zeppelin-blog/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05
*/ */
contract ProofOfExistence is Rejector { contract ProofOfExistence {
mapping (bytes32 => bool) public proofs; mapping (bytes32 => bool) public proofs;
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../PullPayment.sol'; import '../PullPayment.sol';
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../PullPayment.sol'; import '../PullPayment.sol';
import '../Stoppable.sol'; import '../Stoppable.sol';
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
contract InsecureTargetMock { contract InsecureTargetMock {
function checkInvariant() returns(bool){ function checkInvariant() returns(bool){
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../PullPayment.sol'; import '../PullPayment.sol';
// mock class using PullPayment // mock class using PullPayment
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
contract SecureTargetMock { contract SecureTargetMock {
function checkInvariant() returns(bool){ function checkInvariant() returns(bool){
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../StandardToken.sol'; import '../StandardToken.sol';
// mock class using StandardToken // mock class using StandardToken
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import '../Stoppable.sol'; import '../Stoppable.sol';
// mock class using Stoppable // mock class using Stoppable
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import "../StandardToken.sol"; import "../StandardToken.sol";
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import "../StandardToken.sol"; import "../StandardToken.sol";
......
pragma solidity ^0.4.0; pragma solidity ^0.4.4;
import "truffle/Assert.sol"; import "truffle/Assert.sol";
import "truffle/DeployedAddresses.sol"; import "truffle/DeployedAddresses.sol";
import "../contracts/Ownable.sol"; import "../contracts/Ownable.sol";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment