add pragmas and get tests to run

parent 21fb7463
pragma solidity ^0.4.0;
contract LimitFunds { contract LimitFunds {
uint LIMIT = 5000; uint LIMIT = 5000;
......
pragma solidity ^0.4.0;
import '../PullPayment.sol'; import '../PullPayment.sol';
// UNSAFE CODE, DO NOT USE! // UNSAFE CODE, DO NOT USE!
......
pragma solidity ^0.4.0;
// UNSAFE CODE, DO NOT USE! // UNSAFE CODE, DO NOT USE!
contract BadFailEarly { contract BadFailEarly {
......
pragma solidity ^0.4.0;
// UNSAFE CODE, DO NOT USE! // UNSAFE CODE, DO NOT USE!
contract BadPushPayments { contract BadPushPayments {
......
pragma solidity ^0.4.0;
import '../PullPayment.sol'; import '../PullPayment.sol';
contract GoodArrayUse is PullPayment { contract GoodArrayUse is PullPayment {
......
pragma solidity ^0.4.0;
contract GoodFailEarly { contract GoodFailEarly {
uint constant DEFAULT_SALARY = 50000; uint constant DEFAULT_SALARY = 50000;
......
pragma solidity ^0.4.0;
contract GoodPullPayments { contract GoodPullPayments {
address highestBidder; address highestBidder;
uint highestBid; uint highestBid;
......
pragma solidity ^0.4.0;
import "../Rejector.sol"; import "../Rejector.sol";
/* /*
......
pragma solidity ^0.4.0;
import '../PullPayment.sol'; import '../PullPayment.sol';
contract PullPaymentBid is PullPayment { contract PullPaymentBid is PullPayment {
......
pragma solidity ^0.4.0;
import '../PullPayment.sol'; import '../PullPayment.sol';
// Example class using PullPayment // Example class using PullPayment
......
pragma solidity ^0.4.0;
import '../PullPayment.sol'; import '../PullPayment.sol';
import '../Stoppable.sol'; import '../Stoppable.sol';
......
pragma solidity ^0.4.0;
import '../PullPayment.sol'; import '../PullPayment.sol';
// mock class using PullPayment // mock class using PullPayment
......
pragma solidity ^0.4.0;
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