Move ERC1820 and ERC777 out of drafts (#1742)

* Moved ERC1820 related contracts out of drafts and into introspection.

* Moved ERC777 related contracts out of drafts and into token.
pull/1747/head
Nicolás Venturo 6 years ago committed by GitHub
parent c92b75305e
commit c794c96617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      contracts/introspection/ERC1820Implementer.sol
  2. 0
      contracts/introspection/IERC1820Implementer.sol
  3. 0
      contracts/introspection/IERC1820Registry.sol
  4. 2
      contracts/mocks/ERC1820ImplementerMock.sol
  5. 2
      contracts/mocks/ERC777Mock.sol
  6. 10
      contracts/mocks/ERC777SenderRecipientMock.sol
  7. 2
      contracts/token/ERC777/ERC777.sol
  8. 0
      contracts/token/ERC777/IERC777.sol
  9. 0
      contracts/token/ERC777/IERC777Recipient.sol
  10. 0
      contracts/token/ERC777/IERC777Sender.sol

@ -1,6 +1,6 @@
pragma solidity ^0.5.0; pragma solidity ^0.5.0;
import "../drafts/ERC1820Implementer.sol"; import "../introspection/ERC1820Implementer.sol";
contract ERC1820ImplementerMock is ERC1820Implementer { contract ERC1820ImplementerMock is ERC1820Implementer {
function registerInterfaceForAddress(bytes32 interfaceHash, address account) public { function registerInterfaceForAddress(bytes32 interfaceHash, address account) public {

@ -1,6 +1,6 @@
pragma solidity ^0.5.0; pragma solidity ^0.5.0;
import "../drafts/ERC777/ERC777.sol"; import "../token/ERC777/ERC777.sol";
contract ERC777Mock is ERC777 { contract ERC777Mock is ERC777 {
constructor( constructor(

@ -1,10 +1,10 @@
pragma solidity ^0.5.0; pragma solidity ^0.5.0;
import "../drafts/ERC777/IERC777.sol"; import "../token/ERC777/IERC777.sol";
import "../drafts/ERC777/IERC777Sender.sol"; import "../token/ERC777/IERC777Sender.sol";
import "../drafts/ERC777/IERC777Recipient.sol"; import "../token/ERC777/IERC777Recipient.sol";
import "../drafts/IERC1820Registry.sol"; import "../introspection/IERC1820Registry.sol";
import "../drafts/ERC1820Implementer.sol"; import "../introspection/ERC1820Implementer.sol";
contract ERC777SenderRecipientMock is IERC777Sender, IERC777Recipient, ERC1820Implementer { contract ERC777SenderRecipientMock is IERC777Sender, IERC777Recipient, ERC1820Implementer {
event TokensToSendCalled( event TokensToSendCalled(

@ -6,7 +6,7 @@ import "./IERC777Sender.sol";
import "../../token/ERC20/IERC20.sol"; import "../../token/ERC20/IERC20.sol";
import "../../math/SafeMath.sol"; import "../../math/SafeMath.sol";
import "../../utils/Address.sol"; import "../../utils/Address.sol";
import "../IERC1820Registry.sol"; import "../../introspection/IERC1820Registry.sol";
/** /**
* @title ERC777 token implementation, with granularity harcoded to 1. * @title ERC777 token implementation, with granularity harcoded to 1.
Loading…
Cancel
Save