ERC827.sol 632 B

123456789101112131415161718192021222324252627
  1. pragma solidity ^0.4.13;
  2. import "../ERC20/ERC20.sol";
  3. /**
  4. @title ERC827 interface, an extension of ERC20 token standard
  5. Interface of a ERC827 token, following the ERC20 standard with extra
  6. methods to transfer value and data and execute calls in transfers and
  7. approvals.
  8. */
  9. contract ERC827 is ERC20 {
  10. function approve( address _spender, uint256 _value, bytes _data ) public returns (bool);
  11. function transfer( address _to, uint256 _value, bytes _data ) public returns (bool);
  12. function transferFrom(
  13. address _from,
  14. address _to,
  15. uint256 _value,
  16. bytes _data
  17. )
  18. public
  19. returns (bool);
  20. }