add 2 lines between top level definitions

pull/114/head
Manuel Araoz 8 years ago
parent 5567e73730
commit f79ad4e2f6
  1. 1
      contracts/Claimable.sol
  2. 9
      contracts/LimitBalance.sol
  3. 3
      contracts/Migrations.sol
  4. 4
      contracts/examples/BadArrayUse.sol
  5. 3
      contracts/examples/BadFailEarly.sol
  6. 3
      contracts/examples/BadPushPayments.sol
  7. 3
      contracts/examples/GoodArrayUse.sol
  8. 1
      contracts/examples/GoodFailEarly.sol
  9. 2
      contracts/examples/GoodPullPayments.sol
  10. 1
      contracts/examples/ProofOfExistence.sol
  11. 2
      contracts/examples/PullPaymentBid.sol
  12. 2
      contracts/examples/StoppableBid.sol
  13. 3
      contracts/test-helpers/BasicTokenMock.sol
  14. 3
      contracts/test-helpers/LimitBalanceMock.sol
  15. 3
      contracts/test-helpers/PullPaymentMock.sol
  16. 3
      contracts/test-helpers/SafeMathMock.sol
  17. 3
      contracts/test-helpers/StandardTokenMock.sol
  18. 3
      contracts/test-helpers/StoppableMock.sol
  19. 4
      contracts/token/StandardToken.sol

@ -1,7 +1,6 @@
pragma solidity ^0.4.0;
import './Ownable.sol';

@ -1,4 +1,13 @@
pragma solidity ^0.4.4;
/**
* LimitBalance
* Simple contract to limit the balance of child contract.
* Note this doesn't prevent other contracts to send funds
* by using selfdestruct(address);
* See: https://github.com/ConsenSys/smart-contract-best-practices#remember-that-ether-can-be-forcibly-sent-to-an-account
*/
contract LimitBalance {
uint public limit;

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import './Ownable.sol';
contract Migrations is Ownable {
uint public lastCompletedMigration;

@ -1,8 +1,10 @@
pragma solidity ^0.4.4;
import '../PullPayment.sol';
// UNSAFE CODE, DO NOT USE!
// UNSAFE CODE, DO NOT USE!
contract BadArrayUse is PullPayment {
address[] employees;

@ -1,6 +1,7 @@
pragma solidity ^0.4.4;
// UNSAFE CODE, DO NOT USE!
// UNSAFE CODE, DO NOT USE!
contract BadFailEarly {
uint constant DEFAULT_SALARY = 50000;

@ -1,6 +1,7 @@
pragma solidity ^0.4.4;
// UNSAFE CODE, DO NOT USE!
// UNSAFE CODE, DO NOT USE!
contract BadPushPayments {
address highestBidder;

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../PullPayment.sol';
contract GoodArrayUse is PullPayment {
address[] employees;
mapping(address => uint) bonuses;

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

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

@ -1,5 +1,6 @@
pragma solidity ^0.4.4;
/*
* Proof of Existence example contract
* see https://medium.com/zeppelin-blog/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05

@ -1,7 +1,9 @@
pragma solidity ^0.4.4;
import '../PullPayment.sol';
contract PullPaymentBid is PullPayment {
address public highestBidder;
uint public highestBid;

@ -1,8 +1,10 @@
pragma solidity ^0.4.4;
import '../PullPayment.sol';
import '../Stoppable.sol';
contract StoppableBid is Stoppable, PullPayment {
address public highestBidder;
uint public highestBid;

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../token/BasicToken.sol';
// mock class using BasicToken
contract BasicTokenMock is BasicToken {

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../LimitBalance.sol';
// mock class using LimitBalance
contract LimitBalanceMock is LimitBalance(1000) {

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../PullPayment.sol';
// mock class using PullPayment
contract PullPaymentMock is PullPayment {

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../SafeMath.sol';
contract SafeMathMock is SafeMath {
uint public result;

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../token/StandardToken.sol';
// mock class using StandardToken
contract StandardTokenMock is StandardToken {

@ -1,6 +1,9 @@
pragma solidity ^0.4.4;
import '../Stoppable.sol';
// mock class using Stoppable
contract StoppableMock is Stoppable {
bool public drasticMeasureTaken;

@ -1,10 +1,12 @@
pragma solidity ^0.4.4;
import './ERC20.sol';
import '../SafeMath.sol';
/**
* ERC20 token
* Standard ERC20 token
*
* https://github.com/ethereum/EIPs/issues/20
* Based on code by FirstBlood:

Loading…
Cancel
Save