ERC827.sol 606 B

1234567891011121314151617181920
  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( address _from, address _to, uint256 _value, bytes _data ) public returns (bool);
  13. }