ERC827.sol 617 B

1234567891011121314151617181920212223242526
  1. pragma solidity ^0.4.13;
  2. import "./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(
  11. address _spender, uint256 _value, bytes _data
  12. ) public returns (bool);
  13. function transfer(
  14. address _to, uint256 _value, bytes _data
  15. ) public returns (bool);
  16. function transferFrom(
  17. address _from, address _to, uint256 _value, bytes _data
  18. ) public returns (bool);
  19. }