add pragmas and get tests to run

pull/26/head
Michael J. Curry 8 years ago
parent 21fb7463c7
commit 5c07cd148d
No known key found for this signature in database
GPG Key ID: 58EEF5BB97F3E791
  1. 1
      contracts/LimitFunds.sol
  2. 1
      contracts/examples/BadArrayUse.sol
  3. 1
      contracts/examples/BadFailEarly.sol
  4. 1
      contracts/examples/BadPushPayments.sol
  5. 1
      contracts/examples/GoodArrayUse.sol
  6. 2
      contracts/examples/GoodFailEarly.sol
  7. 1
      contracts/examples/GoodPullPayments.sol
  8. 2
      contracts/examples/ProofOfExistence.sol
  9. 2
      contracts/examples/PullPaymentBid.sol
  10. 2
      contracts/examples/PullPaymentExample.sol
  11. 2
      contracts/examples/StoppableBid.sol
  12. 1
      contracts/test-helpers/PullPaymentMock.sol
  13. 1
      test/TestOwnable.sol

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
contract LimitFunds {
uint LIMIT = 5000;

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
import '../PullPayment.sol';
// UNSAFE CODE, DO NOT USE!

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
// UNSAFE CODE, DO NOT USE!
contract BadFailEarly {

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
// UNSAFE CODE, DO NOT USE!
contract BadPushPayments {

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
import '../PullPayment.sol';
contract GoodArrayUse is PullPayment {

@ -1,3 +1,5 @@
pragma solidity ^0.4.0;
contract GoodFailEarly {
uint constant DEFAULT_SALARY = 50000;

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
contract GoodPullPayments {
address highestBidder;
uint highestBid;

@ -1,3 +1,5 @@
pragma solidity ^0.4.0;
import "../Rejector.sol";
/*

@ -1,3 +1,5 @@
pragma solidity ^0.4.0;
import '../PullPayment.sol';
contract PullPaymentBid is PullPayment {

@ -1,3 +1,5 @@
pragma solidity ^0.4.0;
import '../PullPayment.sol';
// Example class using PullPayment

@ -1,3 +1,5 @@
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../Stoppable.sol';

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
import '../PullPayment.sol';
// mock class using PullPayment

@ -1,3 +1,4 @@
pragma solidity ^0.4.0;
import "truffle/Assert.sol";
import "truffle/DeployedAddresses.sol";
import "../contracts/Ownable.sol";

Loading…
Cancel
Save