fix: the result of 'npm run lint:sol:fix'
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './payment/PullPayment.sol';
|
||||
import './lifecycle/Destructible.sol';
|
||||
import "./payment/PullPayment.sol";
|
||||
import "./lifecycle/Destructible.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import './Crowdsale.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
import "./Crowdsale.sol";
|
||||
|
||||
/**
|
||||
* @title CappedCrowdsale
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../token/MintableToken.sol';
|
||||
import '../math/SafeMath.sol';
|
||||
import "../token/MintableToken.sol";
|
||||
import "../math/SafeMath.sol";
|
||||
|
||||
/**
|
||||
* @title Crowdsale
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import '../ownership/Ownable.sol';
|
||||
import './Crowdsale.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
import "../ownership/Ownable.sol";
|
||||
import "./Crowdsale.sol";
|
||||
|
||||
/**
|
||||
* @title FinalizableCrowdsale
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import '../ownership/Ownable.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
import "../ownership/Ownable.sol";
|
||||
|
||||
/**
|
||||
* @title RefundVault
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import './FinalizableCrowdsale.sol';
|
||||
import './RefundVault.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
import "./FinalizableCrowdsale.sol";
|
||||
import "./RefundVault.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../ownership/Ownable.sol';
|
||||
import "../ownership/Ownable.sol";
|
||||
|
||||
/**
|
||||
* @title Migrations
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../token/BasicToken.sol';
|
||||
import "../token/BasicToken.sol";
|
||||
|
||||
|
||||
// mock class using BasicToken
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../token/BurnableToken.sol';
|
||||
import "../token/BurnableToken.sol";
|
||||
|
||||
contract BurnableTokenMock is BurnableToken {
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../crowdsale/CappedCrowdsale.sol';
|
||||
import "../crowdsale/CappedCrowdsale.sol";
|
||||
|
||||
|
||||
contract CappedCrowdsaleImpl is CappedCrowdsale {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../token/StandardToken.sol';
|
||||
import '../token/DetailedERC20.sol';
|
||||
import "../token/StandardToken.sol";
|
||||
import "../token/DetailedERC20.sol";
|
||||
|
||||
contract DetailedERC20Mock is StandardToken, DetailedERC20 {
|
||||
function DetailedERC20Mock(string _name, string _symbol, uint8 _decimals) DetailedERC20(_name, _symbol, _decimals) public {}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../ECRecovery.sol';
|
||||
import "../ECRecovery.sol";
|
||||
|
||||
|
||||
contract ECRecoveryMock {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../token/BasicToken.sol';
|
||||
import "../token/BasicToken.sol";
|
||||
|
||||
|
||||
contract ERC23ContractInterface {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../crowdsale/FinalizableCrowdsale.sol';
|
||||
import "../crowdsale/FinalizableCrowdsale.sol";
|
||||
|
||||
|
||||
contract FinalizableCrowdsaleImpl is FinalizableCrowdsale {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../LimitBalance.sol';
|
||||
import "../LimitBalance.sol";
|
||||
|
||||
|
||||
// mock class using LimitBalance
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../lifecycle/Pausable.sol';
|
||||
import "../lifecycle/Pausable.sol";
|
||||
|
||||
|
||||
// mock class using Pausable
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../token/PausableToken.sol';
|
||||
import "../token/PausableToken.sol";
|
||||
|
||||
// mock class using PausableToken
|
||||
contract PausableTokenMock is PausableToken {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../payment/PullPayment.sol';
|
||||
import "../payment/PullPayment.sol";
|
||||
|
||||
|
||||
// mock class using PullPayment
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.8;
|
||||
|
||||
import '../ownership/rbac/RBAC.sol';
|
||||
import "../ownership/rbac/RBAC.sol";
|
||||
|
||||
|
||||
contract RBACMock is RBAC {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../ReentrancyGuard.sol';
|
||||
import './ReentrancyAttack.sol';
|
||||
import "../ReentrancyGuard.sol";
|
||||
import "./ReentrancyAttack.sol";
|
||||
|
||||
contract ReentrancyMock is ReentrancyGuard {
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../crowdsale/RefundableCrowdsale.sol';
|
||||
import "../crowdsale/RefundableCrowdsale.sol";
|
||||
|
||||
|
||||
contract RefundableCrowdsaleImpl is RefundableCrowdsale {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../token/ERC20.sol';
|
||||
import '../token/SafeERC20.sol';
|
||||
import "../token/ERC20.sol";
|
||||
import "../token/SafeERC20.sol";
|
||||
|
||||
contract ERC20FailingMock is ERC20 {
|
||||
function transfer(address, uint256) public returns (bool) {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
|
||||
|
||||
contract SafeMathMock {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../token/StandardToken.sol';
|
||||
import "../token/StandardToken.sol";
|
||||
|
||||
|
||||
// mock class using StandardToken
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './Ownable.sol';
|
||||
import "./Ownable.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './Ownable.sol';
|
||||
import "./Ownable.sol";
|
||||
|
||||
/**
|
||||
* @title Contactable token
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './Claimable.sol';
|
||||
import "./Claimable.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './Roles.sol';
|
||||
import "./Roles.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import '../math/SafeMath.sol';
|
||||
import "../math/SafeMath.sol";
|
||||
|
||||
/**
|
||||
* @title SplitPayment
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './ERC20Basic.sol';
|
||||
import '../math/SafeMath.sol';
|
||||
import "./ERC20Basic.sol";
|
||||
import "../math/SafeMath.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './BasicToken.sol';
|
||||
import "./BasicToken.sol";
|
||||
|
||||
/**
|
||||
* @title Burnable Token
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.11;
|
||||
|
||||
import './MintableToken.sol';
|
||||
import "./MintableToken.sol";
|
||||
|
||||
/**
|
||||
* @title Capped token
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './ERC20.sol';
|
||||
import "./ERC20.sol";
|
||||
|
||||
contract DetailedERC20 is ERC20 {
|
||||
string public name;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './ERC20Basic.sol';
|
||||
import "./ERC20Basic.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './StandardToken.sol';
|
||||
import '../ownership/Ownable.sol';
|
||||
import "./StandardToken.sol";
|
||||
import "../ownership/Ownable.sol";
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './StandardToken.sol';
|
||||
import '../lifecycle/Pausable.sol';
|
||||
import "./StandardToken.sol";
|
||||
import "../lifecycle/Pausable.sol";
|
||||
|
||||
/**
|
||||
* @title Pausable token
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './ERC20Basic.sol';
|
||||
import './ERC20.sol';
|
||||
import "./ERC20Basic.sol";
|
||||
import "./ERC20.sol";
|
||||
|
||||
/**
|
||||
* @title SafeERC20
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './BasicToken.sol';
|
||||
import './ERC20.sol';
|
||||
import "./BasicToken.sol";
|
||||
import "./ERC20.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import './ERC20Basic.sol';
|
||||
import "./ERC20Basic.sol";
|
||||
import "../token/SafeERC20.sol";
|
||||
|
||||
/**
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
import './ERC20Basic.sol';
|
||||
import './SafeERC20.sol';
|
||||
import '../ownership/Ownable.sol';
|
||||
import '../math/SafeMath.sol';
|
||||
import "./ERC20Basic.sol";
|
||||
import "./SafeERC20.sol";
|
||||
import "../ownership/Ownable.sol";
|
||||
import "../math/SafeMath.sol";
|
||||
|
||||
/**
|
||||
* @title TokenVesting
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import '../../contracts/math/Math.sol';
|
||||
import "../../contracts/math/Math.sol";
|
||||
|
||||
|
||||
contract MathMock {
|
||||
|
||||
Reference in New Issue
Block a user