Separate ERC20 and ERC827 form tokens implementations in contracts and test folders

pull/688/head
AugustoL 7 years ago
parent 4fbd44fd40
commit b67856c69d
  1. 2
      contracts/lifecycle/TokenDestructible.sol
  2. 2
      contracts/mocks/DetailedERC20Mock.sol
  3. 2
      contracts/mocks/ERC827TokenMock.sol
  4. 4
      contracts/mocks/SafeERC20Helper.sol
  5. 4
      contracts/ownership/CanReclaimToken.sol
  6. 2
      contracts/token/BasicToken.sol
  7. 0
      contracts/token/ERC20/DetailedERC20.sol
  8. 0
      contracts/token/ERC20/ERC20.sol
  9. 0
      contracts/token/ERC20/ERC20Basic.sol
  10. 0
      contracts/token/ERC20/SafeERC20.sol
  11. 2
      contracts/token/ERC827/ERC827.sol
  12. 2
      contracts/token/ERC827/ERC827Token.sol
  13. 2
      contracts/token/StandardToken.sol
  14. 3
      contracts/token/TokenTimelock.sol
  15. 4
      contracts/token/TokenVesting.sol
  16. 0
      test/token/ERC20/DetailedERC20.test.js
  17. 0
      test/token/ERC20/SafeERC20.test.js
  18. 0
      test/token/ERC827/ERC827Token.js

@ -1,7 +1,7 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "../ownership/Ownable.sol"; import "../ownership/Ownable.sol";
import "../token/ERC20Basic.sol"; import "../token/ERC20/ERC20Basic.sol";
/** /**

@ -1,7 +1,7 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "../token/StandardToken.sol"; import "../token/StandardToken.sol";
import "../token/DetailedERC20.sol"; import "../token/ERC20/DetailedERC20.sol";
contract DetailedERC20Mock is StandardToken, DetailedERC20 { contract DetailedERC20Mock is StandardToken, DetailedERC20 {

@ -1,7 +1,7 @@
pragma solidity ^0.4.13; pragma solidity ^0.4.13;
import "../token/ERC827Token.sol"; import "../token/ERC827/ERC827Token.sol";
// mock class using ERC827 Token // mock class using ERC827 Token

@ -1,7 +1,7 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "../token/ERC20.sol"; import "../token/ERC20/ERC20.sol";
import "../token/SafeERC20.sol"; import "../token/ERC20/SafeERC20.sol";
contract ERC20FailingMock is ERC20 { contract ERC20FailingMock is ERC20 {

@ -1,8 +1,8 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "./Ownable.sol"; import "./Ownable.sol";
import "../token/ERC20Basic.sol"; import "../token/ERC20/ERC20Basic.sol";
import "../token/SafeERC20.sol"; import "../token/ERC20/SafeERC20.sol";
/** /**

@ -1,7 +1,7 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "./ERC20Basic.sol"; import "./ERC20/ERC20Basic.sol";
import "../math/SafeMath.sol"; import "../math/SafeMath.sol";

@ -1,7 +1,7 @@
pragma solidity ^0.4.13; pragma solidity ^0.4.13;
import "./ERC20.sol"; import "../ERC20/ERC20.sol";
/** /**

@ -1,7 +1,7 @@
pragma solidity ^0.4.13; pragma solidity ^0.4.13;
import "./ERC827.sol"; import "./ERC827.sol";
import "./StandardToken.sol"; import "../StandardToken.sol";
/** /**
@title ERC827, an extension of ERC20 token standard @title ERC827, an extension of ERC20 token standard

@ -2,7 +2,7 @@ pragma solidity ^0.4.18;
import "./BasicToken.sol"; import "./BasicToken.sol";
import "./ERC20.sol"; import "./ERC20/ERC20.sol";
/** /**

@ -1,7 +1,6 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "./ERC20Basic.sol"; import "./ERC20/SafeERC20.sol";
import "../token/SafeERC20.sol";
/** /**

@ -1,7 +1,7 @@
pragma solidity ^0.4.18; pragma solidity ^0.4.18;
import "./ERC20Basic.sol"; import "./ERC20/ERC20Basic.sol";
import "./SafeERC20.sol"; import "./ERC20/SafeERC20.sol";
import "../ownership/Ownable.sol"; import "../ownership/Ownable.sol";
import "../math/SafeMath.sol"; import "../math/SafeMath.sol";

Loading…
Cancel
Save