Bläddra i källkod

Turn off blank-lines Solium rule (#1284)

* turn off blank-lines rule

* remove triple newlines
Francisco Giordano 7 år sedan
förälder
incheckning
9b37104655
100 ändrade filer med 1 tillägg och 121 borttagningar
  1. 1 0
      .soliumrc.json
  2. 0 1
      contracts/access/Roles.sol
  3. 0 1
      contracts/access/roles/CapperRole.sol
  4. 0 1
      contracts/access/roles/MinterRole.sol
  5. 0 1
      contracts/access/roles/PauserRole.sol
  6. 0 1
      contracts/access/roles/SignerRole.sol
  7. 0 3
      contracts/bounties/BreakInvariantBounty.sol
  8. 0 1
      contracts/crowdsale/Crowdsale.sol
  9. 0 1
      contracts/crowdsale/distribution/FinalizableCrowdsale.sol
  10. 0 1
      contracts/crowdsale/distribution/PostDeliveryCrowdsale.sol
  11. 0 2
      contracts/crowdsale/distribution/RefundableCrowdsale.sol
  12. 0 1
      contracts/crowdsale/emission/AllowanceCrowdsale.sol
  13. 0 1
      contracts/crowdsale/emission/MintedCrowdsale.sol
  14. 0 1
      contracts/crowdsale/price/IncreasingPriceCrowdsale.sol
  15. 0 1
      contracts/crowdsale/validation/CappedCrowdsale.sol
  16. 0 1
      contracts/crowdsale/validation/IndividuallyCappedCrowdsale.sol
  17. 0 1
      contracts/crowdsale/validation/TimedCrowdsale.sol
  18. 0 1
      contracts/cryptography/ECDSA.sol
  19. 0 1
      contracts/cryptography/MerkleProof.sol
  20. 0 1
      contracts/drafts/Counter.sol
  21. 0 2
      contracts/drafts/ERC1046/TokenMetadata.sol
  22. 0 1
      contracts/drafts/ERC20Migrator.sol
  23. 0 1
      contracts/drafts/SignatureBouncer.sol
  24. 0 1
      contracts/drafts/TokenVesting.sol
  25. 0 2
      contracts/examples/SampleCrowdsale.sol
  26. 0 2
      contracts/examples/SimpleToken.sol
  27. 0 1
      contracts/introspection/ERC165.sol
  28. 0 2
      contracts/introspection/ERC165Checker.sol
  29. 0 1
      contracts/introspection/IERC165.sol
  30. 0 2
      contracts/lifecycle/Pausable.sol
  31. 0 1
      contracts/math/Math.sol
  32. 0 1
      contracts/math/SafeMath.sol
  33. 0 1
      contracts/mocks/AddressImpl.sol
  34. 0 1
      contracts/mocks/AllowanceCrowdsaleImpl.sol
  35. 0 1
      contracts/mocks/CappedCrowdsaleImpl.sol
  36. 0 1
      contracts/mocks/CapperRoleMock.sol
  37. 0 2
      contracts/mocks/ConditionalEscrowMock.sol
  38. 0 1
      contracts/mocks/CounterImpl.sol
  39. 0 1
      contracts/mocks/DetailedERC20Mock.sol
  40. 0 2
      contracts/mocks/ECDSAMock.sol
  41. 0 3
      contracts/mocks/ERC165/ERC165InterfacesSupported.sol
  42. 0 1
      contracts/mocks/ERC165/ERC165NotSupported.sol
  43. 0 1
      contracts/mocks/ERC165CheckerMock.sol
  44. 0 1
      contracts/mocks/ERC165Mock.sol
  45. 0 1
      contracts/mocks/ERC20BurnableMock.sol
  46. 0 1
      contracts/mocks/ERC20MintableMock.sol
  47. 0 1
      contracts/mocks/ERC20Mock.sol
  48. 0 1
      contracts/mocks/ERC20PausableMock.sol
  49. 0 1
      contracts/mocks/ERC20WithMetadataMock.sol
  50. 0 1
      contracts/mocks/ERC721FullMock.sol
  51. 0 1
      contracts/mocks/ERC721MintableBurnableImpl.sol
  52. 0 1
      contracts/mocks/ERC721Mock.sol
  53. 0 1
      contracts/mocks/ERC721PausableMock.sol
  54. 0 1
      contracts/mocks/ERC721ReceiverMock.sol
  55. 0 1
      contracts/mocks/FinalizableCrowdsaleImpl.sol
  56. 0 1
      contracts/mocks/ForceEther.sol
  57. 0 1
      contracts/mocks/IncreasingPriceCrowdsaleImpl.sol
  58. 0 1
      contracts/mocks/IndividuallyCappedCrowdsaleImpl.sol
  59. 0 2
      contracts/mocks/InsecureInvariantTargetBounty.sol
  60. 0 2
      contracts/mocks/MathMock.sol
  61. 0 1
      contracts/mocks/MerkleProofWrapper.sol
  62. 0 1
      contracts/mocks/MessageHelper.sol
  63. 0 1
      contracts/mocks/MintedCrowdsaleImpl.sol
  64. 0 1
      contracts/mocks/MinterRoleMock.sol
  65. 0 2
      contracts/mocks/PausableMock.sol
  66. 0 1
      contracts/mocks/PauserRoleMock.sol
  67. 0 1
      contracts/mocks/PostDeliveryCrowdsaleImpl.sol
  68. 0 2
      contracts/mocks/PullPaymentMock.sol
  69. 0 1
      contracts/mocks/ReentrancyAttack.sol
  70. 0 1
      contracts/mocks/ReentrancyMock.sol
  71. 0 1
      contracts/mocks/RefundableCrowdsaleImpl.sol
  72. 0 1
      contracts/mocks/RolesMock.sol
  73. 0 3
      contracts/mocks/SafeERC20Helper.sol
  74. 0 2
      contracts/mocks/SafeMathMock.sol
  75. 0 1
      contracts/mocks/SecondaryMock.sol
  76. 0 2
      contracts/mocks/SecureInvariantTargetBounty.sol
  77. 0 1
      contracts/mocks/SignatureBouncerMock.sol
  78. 0 1
      contracts/mocks/SignerRoleMock.sol
  79. 0 1
      contracts/mocks/TimedCrowdsaleImpl.sol
  80. 0 3
      contracts/ownership/Ownable.sol
  81. 0 1
      contracts/ownership/Secondary.sol
  82. 0 1
      contracts/payment/ConditionalEscrow.sol
  83. 0 1
      contracts/payment/Escrow.sol
  84. 0 1
      contracts/payment/PullPayment.sol
  85. 0 1
      contracts/payment/RefundEscrow.sol
  86. 0 1
      contracts/payment/SplitPayment.sol
  87. 0 1
      contracts/token/ERC20/ERC20.sol
  88. 0 1
      contracts/token/ERC20/ERC20Burnable.sol
  89. 0 1
      contracts/token/ERC20/ERC20Capped.sol
  90. 0 1
      contracts/token/ERC20/ERC20Detailed.sol
  91. 0 1
      contracts/token/ERC20/ERC20Mintable.sol
  92. 0 1
      contracts/token/ERC20/ERC20Pausable.sol
  93. 0 1
      contracts/token/ERC20/IERC20.sol
  94. 0 1
      contracts/token/ERC20/SafeERC20.sol
  95. 0 1
      contracts/token/ERC20/TokenTimelock.sol
  96. 0 1
      contracts/token/ERC721/ERC721.sol
  97. 0 1
      contracts/token/ERC721/ERC721Burnable.sol
  98. 0 1
      contracts/token/ERC721/ERC721Enumerable.sol
  99. 0 1
      contracts/token/ERC721/ERC721Full.sol
  100. 0 1
      contracts/token/ERC721/ERC721Holder.sol

+ 1 - 0
.soliumrc.json

@@ -2,6 +2,7 @@
   "extends": "solium:all",
   "plugins": ["security"],
   "rules": {
+    "blank-lines": "off",
     "error-reason": "off",
     "indentation": ["error", 2],
     "lbrace": "off",

+ 0 - 1
contracts/access/Roles.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title Roles
  * @dev Library for managing addresses assigned to a Role.

+ 0 - 1
contracts/access/roles/CapperRole.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../Roles.sol";
 
-
 contract CapperRole {
   using Roles for Roles.Role;
 

+ 0 - 1
contracts/access/roles/MinterRole.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../Roles.sol";
 
-
 contract MinterRole {
   using Roles for Roles.Role;
 

+ 0 - 1
contracts/access/roles/PauserRole.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../Roles.sol";
 
-
 contract PauserRole {
   using Roles for Roles.Role;
 

+ 0 - 1
contracts/access/roles/SignerRole.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../Roles.sol";
 
-
 contract SignerRole {
   using Roles for Roles.Role;
 

+ 0 - 3
contracts/bounties/BreakInvariantBounty.sol

@@ -1,10 +1,8 @@
 pragma solidity ^0.4.24;
 
-
 import "../payment/PullPayment.sol";
 import "../ownership/Ownable.sol";
 
-
 /**
  * @title BreakInvariantBounty
  * @dev This bounty will pay out to a researcher if they break invariant logic of the contract.
@@ -70,7 +68,6 @@ contract BreakInvariantBounty is PullPayment, Ownable {
 
 }
 
-
 /**
  * @title Target
  * @dev Your main contract should inherit from this class and implement the checkInvariant method.

+ 0 - 1
contracts/crowdsale/Crowdsale.sol

@@ -4,7 +4,6 @@ import "../token/ERC20/IERC20.sol";
 import "../math/SafeMath.sol";
 import "../token/ERC20/SafeERC20.sol";
 
-
 /**
  * @title Crowdsale
  * @dev Crowdsale is a base contract for managing a token crowdsale,

+ 0 - 1
contracts/crowdsale/distribution/FinalizableCrowdsale.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../../math/SafeMath.sol";
 import "../validation/TimedCrowdsale.sol";
 
-
 /**
  * @title FinalizableCrowdsale
  * @dev Extension of Crowdsale with a one-off finalization action, where one

+ 0 - 1
contracts/crowdsale/distribution/PostDeliveryCrowdsale.sol

@@ -4,7 +4,6 @@ import "../validation/TimedCrowdsale.sol";
 import "../../token/ERC20/IERC20.sol";
 import "../../math/SafeMath.sol";
 
-
 /**
  * @title PostDeliveryCrowdsale
  * @dev Crowdsale that locks tokens from withdrawal until it ends.

+ 0 - 2
contracts/crowdsale/distribution/RefundableCrowdsale.sol

@@ -1,11 +1,9 @@
 pragma solidity ^0.4.24;
 
-
 import "../../math/SafeMath.sol";
 import "./FinalizableCrowdsale.sol";
 import "../../payment/RefundEscrow.sol";
 
-
 /**
  * @title RefundableCrowdsale
  * @dev Extension of Crowdsale contract that adds a funding goal, and

+ 0 - 1
contracts/crowdsale/emission/AllowanceCrowdsale.sol

@@ -5,7 +5,6 @@ import "../../token/ERC20/IERC20.sol";
 import "../../token/ERC20/SafeERC20.sol";
 import "../../math/SafeMath.sol";
 
-
 /**
  * @title AllowanceCrowdsale
  * @dev Extension of Crowdsale where tokens are held by a wallet, which approves an allowance to the crowdsale.

+ 0 - 1
contracts/crowdsale/emission/MintedCrowdsale.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../Crowdsale.sol";
 import "../../token/ERC20/ERC20Mintable.sol";
 
-
 /**
  * @title MintedCrowdsale
  * @dev Extension of Crowdsale contract whose tokens are minted in each purchase.

+ 0 - 1
contracts/crowdsale/price/IncreasingPriceCrowdsale.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../validation/TimedCrowdsale.sol";
 import "../../math/SafeMath.sol";
 
-
 /**
  * @title IncreasingPriceCrowdsale
  * @dev Extension of Crowdsale contract that increases the price of tokens linearly in time.

+ 0 - 1
contracts/crowdsale/validation/CappedCrowdsale.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../../math/SafeMath.sol";
 import "../Crowdsale.sol";
 
-
 /**
  * @title CappedCrowdsale
  * @dev Crowdsale with a limit for total contributions.

+ 0 - 1
contracts/crowdsale/validation/IndividuallyCappedCrowdsale.sol

@@ -4,7 +4,6 @@ import "../../math/SafeMath.sol";
 import "../Crowdsale.sol";
 import "../../access/roles/CapperRole.sol";
 
-
 /**
  * @title IndividuallyCappedCrowdsale
  * @dev Crowdsale with per-beneficiary caps.

+ 0 - 1
contracts/crowdsale/validation/TimedCrowdsale.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../../math/SafeMath.sol";
 import "../Crowdsale.sol";
 
-
 /**
  * @title TimedCrowdsale
  * @dev Crowdsale accepting contributions only within a time frame.

+ 0 - 1
contracts/cryptography/ECDSA.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title Elliptic curve signature operations
  * @dev Based on https://gist.github.com/axic/5b33912c6f61ae6fd96d6c4a47afde6d

+ 0 - 1
contracts/cryptography/MerkleProof.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title MerkleProof
  * @dev Merkle proof verification based on

+ 0 - 1
contracts/drafts/Counter.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title Counter
  * @author Matt Condon (@shrugs)

+ 0 - 2
contracts/drafts/ERC1046/TokenMetadata.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../../token/ERC20/IERC20.sol";
 
-
 /**
  * @title ERC-1047 Token Metadata
  * @dev See https://eips.ethereum.org/EIPS/eip-1046
@@ -13,7 +12,6 @@ contract ERC20TokenMetadata is IERC20 {
   function tokenURI() external view returns (string);
 }
 
-
 contract ERC20WithMetadata is ERC20TokenMetadata {
   string private _tokenURI = "";
 

+ 0 - 1
contracts/drafts/ERC20Migrator.sol

@@ -5,7 +5,6 @@ import "../token/ERC20/ERC20Mintable.sol";
 import "../token/ERC20/SafeERC20.sol";
 import "../math/Math.sol";
 
-
 /**
  * @title ERC20Migrator
  * @dev This contract can be used to migrate an ERC20 token from one

+ 0 - 1
contracts/drafts/SignatureBouncer.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../access/roles/SignerRole.sol";
 import "../cryptography/ECDSA.sol";
 
-
 /**
  * @title SignatureBouncer
  * @author PhABC, Shrugs and aflesher

+ 0 - 1
contracts/drafts/TokenVesting.sol

@@ -6,7 +6,6 @@ import "../token/ERC20/SafeERC20.sol";
 import "../ownership/Ownable.sol";
 import "../math/SafeMath.sol";
 
-
 /**
  * @title TokenVesting
  * @dev A token holder contract that can release its token balance gradually like a

+ 0 - 2
contracts/examples/SampleCrowdsale.sol

@@ -5,7 +5,6 @@ import "../crowdsale/distribution/RefundableCrowdsale.sol";
 import "../crowdsale/emission/MintedCrowdsale.sol";
 import "../token/ERC20/ERC20Mintable.sol";
 
-
 /**
  * @title SampleCrowdsaleToken
  * @dev Very simple ERC20 Token that can be minted.
@@ -18,7 +17,6 @@ contract SampleCrowdsaleToken is ERC20Mintable {
   uint8 public constant decimals = 18;
 }
 
-
 /**
  * @title SampleCrowdsale
  * @dev This is an example of a fully fledged crowdsale.

+ 0 - 2
contracts/examples/SimpleToken.sol

@@ -1,9 +1,7 @@
 pragma solidity ^0.4.24;
 
-
 import "../token/ERC20/ERC20.sol";
 
-
 /**
  * @title SimpleToken
  * @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.

+ 0 - 1
contracts/introspection/ERC165.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./IERC165.sol";
 
-
 /**
  * @title ERC165
  * @author Matt Condon (@shrugs)

+ 0 - 2
contracts/introspection/ERC165Checker.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title ERC165Checker
  * @dev Use `using ERC165Checker for address`; to include this library
@@ -16,7 +15,6 @@ library ERC165Checker {
    *   bytes4(keccak256('supportsInterface(bytes4)'))
    */
 
-
   /**
    * @notice Query if a contract supports ERC165
    * @param account The address of the contract to query for support of ERC165

+ 0 - 1
contracts/introspection/IERC165.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title IERC165
  * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md

+ 0 - 2
contracts/lifecycle/Pausable.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../access/roles/PauserRole.sol";
 
-
 /**
  * @title Pausable
  * @dev Base contract which allows children to implement an emergency stop mechanism.
@@ -13,7 +12,6 @@ contract Pausable is PauserRole {
 
   bool private _paused = false;
 
-
   /**
    * @return true if the contract is paused, false otherwise.
    */

+ 0 - 1
contracts/math/Math.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title Math
  * @dev Assorted math operations

+ 0 - 1
contracts/math/SafeMath.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title SafeMath
  * @dev Math operations with safety checks that revert on error

+ 0 - 1
contracts/mocks/AddressImpl.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../utils/Address.sol";
 
-
 contract AddressImpl {
   function isContract(address account)
     external

+ 0 - 1
contracts/mocks/AllowanceCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/IERC20.sol";
 import "../crowdsale/emission/AllowanceCrowdsale.sol";
 
-
 contract AllowanceCrowdsaleImpl is AllowanceCrowdsale {
 
   constructor (

+ 0 - 1
contracts/mocks/CappedCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/IERC20.sol";
 import "../crowdsale/validation/CappedCrowdsale.sol";
 
-
 contract CappedCrowdsaleImpl is CappedCrowdsale {
 
   constructor (

+ 0 - 1
contracts/mocks/CapperRoleMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../access/roles/CapperRole.sol";
 
-
 contract CapperRoleMock is CapperRole {
   function removeCapper(address account) public {
     _removeCapper(account);

+ 0 - 2
contracts/mocks/ConditionalEscrowMock.sol

@@ -1,9 +1,7 @@
 pragma solidity ^0.4.24;
 
-
 import "../payment/ConditionalEscrow.sol";
 
-
 // mock class using ConditionalEscrow
 contract ConditionalEscrowMock is ConditionalEscrow {
   mapping(address => bool) private _allowed;

+ 0 - 1
contracts/mocks/CounterImpl.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../drafts/Counter.sol";
 
-
 contract CounterImpl {
   using Counter for Counter.Counter;
 

+ 0 - 1
contracts/mocks/DetailedERC20Mock.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/ERC20.sol";
 import "../token/ERC20/ERC20Detailed.sol";
 
-
 contract ERC20DetailedMock is ERC20, ERC20Detailed {
   constructor(
     string name,

+ 0 - 2
contracts/mocks/ECDSAMock.sol

@@ -1,9 +1,7 @@
 pragma solidity ^0.4.24;
 
-
 import "../cryptography/ECDSA.sol";
 
-
 contract ECDSAMock {
   using ECDSA for bytes32;
 

+ 0 - 3
contracts/mocks/ERC165/ERC165InterfacesSupported.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../../introspection/IERC165.sol";
 
-
 /**
  * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-214.md#specification
  * > Any attempts to make state-changing operations inside an execution instance with STATIC set to true will instead throw an exception.
@@ -56,8 +55,6 @@ contract SupportsInterfaceWithLookupMock is IERC165 {
   }
 }
 
-
-
 contract ERC165InterfacesSupported is SupportsInterfaceWithLookupMock {
   constructor (bytes4[] interfaceIds)
     public

+ 0 - 1
contracts/mocks/ERC165/ERC165NotSupported.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 contract ERC165NotSupported {
 
 }

+ 0 - 1
contracts/mocks/ERC165CheckerMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../introspection/ERC165Checker.sol";
 
-
 contract ERC165CheckerMock {
   using ERC165Checker for address;
 

+ 0 - 1
contracts/mocks/ERC165Mock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../introspection/ERC165.sol";
 
-
 contract ERC165Mock is ERC165 {
   function registerInterface(bytes4 interfaceId)
     public

+ 0 - 1
contracts/mocks/ERC20BurnableMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../token/ERC20/ERC20Burnable.sol";
 
-
 contract ERC20BurnableMock is ERC20Burnable {
 
   constructor(address initialAccount, uint256 initialBalance) public {

+ 0 - 1
contracts/mocks/ERC20MintableMock.sol

@@ -3,6 +3,5 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/ERC20Mintable.sol";
 import "./MinterRoleMock.sol";
 
-
 contract ERC20MintableMock is ERC20Mintable, MinterRoleMock {
 }

+ 0 - 1
contracts/mocks/ERC20Mock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../token/ERC20/ERC20.sol";
 
-
 // mock class using ERC20
 contract ERC20Mock is ERC20 {
 

+ 0 - 1
contracts/mocks/ERC20PausableMock.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/ERC20Pausable.sol";
 import "./PauserRoleMock.sol";
 
-
 // mock class using ERC20Pausable
 contract ERC20PausableMock is ERC20Pausable, PauserRoleMock {
 

+ 0 - 1
contracts/mocks/ERC20WithMetadataMock.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/ERC20.sol";
 import "../drafts/ERC1046/TokenMetadata.sol";
 
-
 contract ERC20WithMetadataMock is ERC20, ERC20WithMetadata {
   constructor(string tokenURI) public
     ERC20WithMetadata(tokenURI)

+ 0 - 1
contracts/mocks/ERC721FullMock.sol

@@ -4,7 +4,6 @@ import "../token/ERC721/ERC721Full.sol";
 import "../token/ERC721/ERC721Mintable.sol";
 import "../token/ERC721/ERC721Burnable.sol";
 
-
 /**
  * @title ERC721Mock
  * This mock just provides a public mint and burn functions for testing purposes,

+ 0 - 1
contracts/mocks/ERC721MintableBurnableImpl.sol

@@ -4,7 +4,6 @@ import "../token/ERC721/ERC721Full.sol";
 import "../token/ERC721/ERC721Mintable.sol";
 import "../token/ERC721/ERC721Burnable.sol";
 
-
 /**
  * @title ERC721MintableBurnableImpl
  */

+ 0 - 1
contracts/mocks/ERC721Mock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../token/ERC721/ERC721.sol";
 
-
 /**
  * @title ERC721Mock
  * This mock just provides a public mint and burn functions for testing purposes

+ 0 - 1
contracts/mocks/ERC721PausableMock.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC721/ERC721Pausable.sol";
 import "./PauserRoleMock.sol";
 
-
 /**
  * @title ERC721PausableMock
  * This mock just provides a public mint, burn and exists functions for testing purposes

+ 0 - 1
contracts/mocks/ERC721ReceiverMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../token/ERC721/IERC721Receiver.sol";
 
-
 contract ERC721ReceiverMock is IERC721Receiver {
   bytes4 private _retval;
   bool private _reverts;

+ 0 - 1
contracts/mocks/FinalizableCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/IERC20.sol";
 import "../crowdsale/distribution/FinalizableCrowdsale.sol";
 
-
 contract FinalizableCrowdsaleImpl is FinalizableCrowdsale {
 
   constructor (

+ 0 - 1
contracts/mocks/ForceEther.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 // @title Force Ether into a contract.
 // @notice  even
 // if the contract is not payable.

+ 0 - 1
contracts/mocks/IncreasingPriceCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../crowdsale/price/IncreasingPriceCrowdsale.sol";
 import "../math/SafeMath.sol";
 
-
 contract IncreasingPriceCrowdsaleImpl is IncreasingPriceCrowdsale {
 
   constructor (

+ 0 - 1
contracts/mocks/IndividuallyCappedCrowdsaleImpl.sol

@@ -4,7 +4,6 @@ import "../token/ERC20/IERC20.sol";
 import "../crowdsale/validation/IndividuallyCappedCrowdsale.sol";
 import "./CapperRoleMock.sol";
 
-
 contract IndividuallyCappedCrowdsaleImpl
   is IndividuallyCappedCrowdsale, CapperRoleMock {
 

+ 0 - 2
contracts/mocks/InsecureInvariantTargetBounty.sol

@@ -5,14 +5,12 @@ pragma solidity ^0.4.24;
 // solium-disable-next-line max-len
 import {BreakInvariantBounty, Target} from "../bounties/BreakInvariantBounty.sol";
 
-
 contract InsecureInvariantTargetMock is Target {
   function checkInvariant() public returns(bool) {
     return false;
   }
 }
 
-
 contract InsecureInvariantTargetBounty is BreakInvariantBounty {
   function _deployContract() internal returns (address) {
     return new InsecureInvariantTargetMock();

+ 0 - 2
contracts/mocks/MathMock.sol

@@ -1,9 +1,7 @@
 pragma solidity ^0.4.24;
 
-
 import "../math/Math.sol";
 
-
 contract MathMock {
   function max(uint256 a, uint256 b) public pure returns (uint256) {
     return Math.max(a, b);

+ 0 - 1
contracts/mocks/MerkleProofWrapper.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import { MerkleProof } from "../cryptography/MerkleProof.sol";
 
-
 contract MerkleProofWrapper {
 
   function verify(

+ 0 - 1
contracts/mocks/MessageHelper.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 contract MessageHelper {
 
   event Show(bytes32 b32, uint256 number, string text);

+ 0 - 1
contracts/mocks/MintedCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/ERC20Mintable.sol";
 import "../crowdsale/emission/MintedCrowdsale.sol";
 
-
 contract MintedCrowdsaleImpl is MintedCrowdsale {
 
   constructor (

+ 0 - 1
contracts/mocks/MinterRoleMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../access/roles/MinterRole.sol";
 
-
 contract MinterRoleMock is MinterRole {
   function removeMinter(address account) public {
     _removeMinter(account);

+ 0 - 2
contracts/mocks/PausableMock.sol

@@ -1,10 +1,8 @@
 pragma solidity ^0.4.24;
 
-
 import "../lifecycle/Pausable.sol";
 import "./PauserRoleMock.sol";
 
-
 // mock class using Pausable
 contract PausableMock is Pausable, PauserRoleMock {
   bool public drasticMeasureTaken;

+ 0 - 1
contracts/mocks/PauserRoleMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../access/roles/PauserRole.sol";
 
-
 contract PauserRoleMock is PauserRole {
   function removePauser(address account) public {
     _removePauser(account);

+ 0 - 1
contracts/mocks/PostDeliveryCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/IERC20.sol";
 import "../crowdsale/distribution/PostDeliveryCrowdsale.sol";
 
-
 contract PostDeliveryCrowdsaleImpl is PostDeliveryCrowdsale {
 
   constructor (

+ 0 - 2
contracts/mocks/PullPaymentMock.sol

@@ -1,9 +1,7 @@
 pragma solidity ^0.4.24;
 
-
 import "../payment/PullPayment.sol";
 
-
 // mock class using PullPayment
 contract PullPaymentMock is PullPayment {
 

+ 0 - 1
contracts/mocks/ReentrancyAttack.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 contract ReentrancyAttack {
 
   function callSender(bytes4 data) public {

+ 0 - 1
contracts/mocks/ReentrancyMock.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../utils/ReentrancyGuard.sol";
 import "./ReentrancyAttack.sol";
 
-
 contract ReentrancyMock is ReentrancyGuard {
 
   uint256 public counter;

+ 0 - 1
contracts/mocks/RefundableCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/ERC20Mintable.sol";
 import "../crowdsale/distribution/RefundableCrowdsale.sol";
 
-
 contract RefundableCrowdsaleImpl is RefundableCrowdsale {
 
   constructor (

+ 0 - 1
contracts/mocks/RolesMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../access/Roles.sol";
 
-
 contract RolesMock {
   using Roles for Roles.Role;
 

+ 0 - 3
contracts/mocks/SafeERC20Helper.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/IERC20.sol";
 import "../token/ERC20/SafeERC20.sol";
 
-
 contract ERC20FailingMock is IERC20 {
   function totalSupply() public view returns (uint256) {
     return 0;
@@ -30,7 +29,6 @@ contract ERC20FailingMock is IERC20 {
   }
 }
 
-
 contract ERC20SucceedingMock is IERC20 {
   function totalSupply() public view returns (uint256) {
     return 0;
@@ -57,7 +55,6 @@ contract ERC20SucceedingMock is IERC20 {
   }
 }
 
-
 contract SafeERC20Helper {
   using SafeERC20 for IERC20;
 

+ 0 - 2
contracts/mocks/SafeMathMock.sol

@@ -1,9 +1,7 @@
 pragma solidity ^0.4.24;
 
-
 import "../math/SafeMath.sol";
 
-
 contract SafeMathMock {
 
   function mul(uint256 a, uint256 b) public pure returns (uint256) {

+ 0 - 1
contracts/mocks/SecondaryMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../ownership/Secondary.sol";
 
-
 contract SecondaryMock is Secondary {
   function onlyPrimaryMock() public view onlyPrimary {
   }

+ 0 - 2
contracts/mocks/SecureInvariantTargetBounty.sol

@@ -5,14 +5,12 @@ pragma solidity ^0.4.24;
 // solium-disable-next-line max-len
 import {BreakInvariantBounty, Target} from "../bounties/BreakInvariantBounty.sol";
 
-
 contract SecureInvariantTargetMock is Target {
   function checkInvariant() public returns(bool) {
     return true;
   }
 }
 
-
 contract SecureInvariantTargetBounty is BreakInvariantBounty {
   function _deployContract() internal returns (address) {
     return new SecureInvariantTargetMock();

+ 0 - 1
contracts/mocks/SignatureBouncerMock.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../drafts/SignatureBouncer.sol";
 import "./SignerRoleMock.sol";
 
-
 contract SignatureBouncerMock is SignatureBouncer, SignerRoleMock {
   function checkValidSignature(address account, bytes signature)
     public

+ 0 - 1
contracts/mocks/SignerRoleMock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../access/roles/SignerRole.sol";
 
-
 contract SignerRoleMock is SignerRole {
   function removeSigner(address account) public {
     _removeSigner(account);

+ 0 - 1
contracts/mocks/TimedCrowdsaleImpl.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../token/ERC20/IERC20.sol";
 import "../crowdsale/validation/TimedCrowdsale.sol";
 
-
 contract TimedCrowdsaleImpl is TimedCrowdsale {
 
   constructor (

+ 0 - 3
contracts/ownership/Ownable.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title Ownable
  * @dev The Ownable contract has an owner address, and provides basic authorization control
@@ -9,14 +8,12 @@ pragma solidity ^0.4.24;
 contract Ownable {
   address private _owner;
 
-
   event OwnershipRenounced(address indexed previousOwner);
   event OwnershipTransferred(
     address indexed previousOwner,
     address indexed newOwner
   );
 
-
   /**
    * @dev The Ownable constructor sets the original `owner` of the contract to the sender
    * account.

+ 0 - 1
contracts/ownership/Secondary.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title Secondary
  * @dev A Secondary contract can only be used by its primary account (the one that created it)

+ 0 - 1
contracts/payment/ConditionalEscrow.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./Escrow.sol";
 
-
 /**
  * @title ConditionalEscrow
  * @dev Base abstract escrow to only allow withdrawal if a condition is met.

+ 0 - 1
contracts/payment/Escrow.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "../math/SafeMath.sol";
 import "../ownership/Secondary.sol";
 
-
 /**
  * @title Escrow
  * @dev Base escrow contract, holds funds destinated to a payee until they

+ 0 - 1
contracts/payment/PullPayment.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./Escrow.sol";
 
-
 /**
  * @title PullPayment
  * @dev Base contract supporting async send for pull payments. Inherit from this

+ 0 - 1
contracts/payment/RefundEscrow.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "./ConditionalEscrow.sol";
 import "../ownership/Secondary.sol";
 
-
 /**
  * @title RefundEscrow
  * @dev Escrow that holds funds for a beneficiary, deposited from multiple parties.

+ 0 - 1
contracts/payment/SplitPayment.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "../math/SafeMath.sol";
 
-
 /**
  * @title SplitPayment
  * @dev This contract can be used when payments need to be received by a group

+ 0 - 1
contracts/token/ERC20/ERC20.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "./IERC20.sol";
 import "../../math/SafeMath.sol";
 
-
 /**
  * @title Standard ERC20 token
  *

+ 0 - 1
contracts/token/ERC20/ERC20Burnable.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./ERC20.sol";
 
-
 /**
  * @title Burnable Token
  * @dev Token that can be irreversibly burned (destroyed).

+ 0 - 1
contracts/token/ERC20/ERC20Capped.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./ERC20Mintable.sol";
 
-
 /**
  * @title Capped token
  * @dev Mintable token with a token cap.

+ 0 - 1
contracts/token/ERC20/ERC20Detailed.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./IERC20.sol";
 
-
 /**
  * @title ERC20Detailed token
  * @dev The decimals are only for visualization purposes.

+ 0 - 1
contracts/token/ERC20/ERC20Mintable.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "./ERC20.sol";
 import "../../access/roles/MinterRole.sol";
 
-
 /**
  * @title ERC20Mintable
  * @dev ERC20 minting logic

+ 0 - 1
contracts/token/ERC20/ERC20Pausable.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "./ERC20.sol";
 import "../../lifecycle/Pausable.sol";
 
-
 /**
  * @title Pausable token
  * @dev ERC20 modified with pausable transfers.

+ 0 - 1
contracts/token/ERC20/IERC20.sol

@@ -1,6 +1,5 @@
 pragma solidity ^0.4.24;
 
-
 /**
  * @title ERC20 interface
  * @dev see https://github.com/ethereum/EIPs/issues/20

+ 0 - 1
contracts/token/ERC20/SafeERC20.sol

@@ -3,7 +3,6 @@ pragma solidity ^0.4.24;
 import "./ERC20.sol";
 import "./IERC20.sol";
 
-
 /**
  * @title SafeERC20
  * @dev Wrappers around ERC20 operations that throw on failure.

+ 0 - 1
contracts/token/ERC20/TokenTimelock.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./SafeERC20.sol";
 
-
 /**
  * @title TokenTimelock
  * @dev TokenTimelock is a token holder contract that will allow a

+ 0 - 1
contracts/token/ERC721/ERC721.sol

@@ -6,7 +6,6 @@ import "../../math/SafeMath.sol";
 import "../../utils/Address.sol";
 import "../../introspection/ERC165.sol";
 
-
 /**
  * @title ERC721 Non-Fungible Token Standard basic implementation
  * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md

+ 0 - 1
contracts/token/ERC721/ERC721Burnable.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./ERC721.sol";
 
-
 contract ERC721Burnable is ERC721 {
   function burn(uint256 tokenId)
     public

+ 0 - 1
contracts/token/ERC721/ERC721Enumerable.sol

@@ -4,7 +4,6 @@ import "./IERC721Enumerable.sol";
 import "./ERC721.sol";
 import "../../introspection/ERC165.sol";
 
-
 contract ERC721Enumerable is ERC165, ERC721, IERC721Enumerable {
   // Mapping from owner to list of owned token IDs
   mapping(address => uint256[]) private _ownedTokens;

+ 0 - 1
contracts/token/ERC721/ERC721Full.sol

@@ -4,7 +4,6 @@ import "./ERC721.sol";
 import "./ERC721Enumerable.sol";
 import "./ERC721Metadata.sol";
 
-
 /**
  * @title Full ERC721 Token
  * This implementation includes all the required and some optional functionality of the ERC721 standard

+ 0 - 1
contracts/token/ERC721/ERC721Holder.sol

@@ -2,7 +2,6 @@ pragma solidity ^0.4.24;
 
 import "./IERC721Receiver.sol";
 
-
 contract ERC721Holder is IERC721Receiver {
   function onERC721Received(
     address,

Vissa filer visades inte eftersom för många filer har ändrats