Skip to content

Commit

Permalink
Separate ERC20 and ERC827 form tokens implementations in contracts an…
Browse files Browse the repository at this point in the history
…d test folders
  • Loading branch information
AugustoL committed Jan 17, 2018
1 parent 4fbd44f commit b67856c
Show file tree
Hide file tree
Showing 18 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion contracts/lifecycle/TokenDestructible.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.18;

import "../ownership/Ownable.sol";
import "../token/ERC20Basic.sol";
import "../token/ERC20/ERC20Basic.sol";


/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/DetailedERC20Mock.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.18;

import "../token/StandardToken.sol";
import "../token/DetailedERC20.sol";
import "../token/ERC20/DetailedERC20.sol";


contract DetailedERC20Mock is StandardToken, DetailedERC20 {
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/ERC827TokenMock.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.13;


import "../token/ERC827Token.sol";
import "../token/ERC827/ERC827Token.sol";


// mock class using ERC827 Token
Expand Down
4 changes: 2 additions & 2 deletions contracts/mocks/SafeERC20Helper.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.18;

import "../token/ERC20.sol";
import "../token/SafeERC20.sol";
import "../token/ERC20/ERC20.sol";
import "../token/ERC20/SafeERC20.sol";


contract ERC20FailingMock is ERC20 {
Expand Down
4 changes: 2 additions & 2 deletions contracts/ownership/CanReclaimToken.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pragma solidity ^0.4.18;

import "./Ownable.sol";
import "../token/ERC20Basic.sol";
import "../token/SafeERC20.sol";
import "../token/ERC20/ERC20Basic.sol";
import "../token/ERC20/SafeERC20.sol";


/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/BasicToken.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.18;


import "./ERC20Basic.sol";
import "./ERC20/ERC20Basic.sol";
import "../math/SafeMath.sol";


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.13;


import "./ERC20.sol";
import "../ERC20/ERC20.sol";


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.13;

import "./ERC827.sol";
import "./StandardToken.sol";
import "../StandardToken.sol";

/**
@title ERC827, an extension of ERC20 token standard
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/StandardToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pragma solidity ^0.4.18;


import "./BasicToken.sol";
import "./ERC20.sol";
import "./ERC20/ERC20.sol";


/**
Expand Down
3 changes: 1 addition & 2 deletions contracts/token/TokenTimelock.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pragma solidity ^0.4.18;

import "./ERC20Basic.sol";
import "../token/SafeERC20.sol";
import "./ERC20/SafeERC20.sol";


/**
Expand Down
4 changes: 2 additions & 2 deletions contracts/token/TokenVesting.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.18;

import "./ERC20Basic.sol";
import "./SafeERC20.sol";
import "./ERC20/ERC20Basic.sol";
import "./ERC20/SafeERC20.sol";
import "../ownership/Ownable.sol";
import "../math/SafeMath.sol";

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b67856c

Please sign in to comment.