* Update to ganache-cli v6.1.0 and truffle v4.1.0 * Update to stable version of ganache-cli * fix: update event emission warning - Fix event emission warnings for solidity 4.21 after truffle has been updated to use this version * fix pr review comments * update to truffle v4.1.5 * update package-lock * add additional emit keywords * update solidity-coverage to 0.4.15 * update to solium 1.1.6 * fix MerkleProof coverage analysis by testing through wrapper * change version pragma to ^0.4.21 * fix solium linting errors
28 lines
632 B
Solidity
28 lines
632 B
Solidity
pragma solidity ^0.4.21;
|
|
|
|
|
|
import "../ERC20/ERC20.sol";
|
|
|
|
|
|
/**
|
|
@title ERC827 interface, an extension of ERC20 token standard
|
|
|
|
Interface of a ERC827 token, following the ERC20 standard with extra
|
|
methods to transfer value and data and execute calls in transfers and
|
|
approvals.
|
|
*/
|
|
contract ERC827 is ERC20 {
|
|
|
|
function approve( address _spender, uint256 _value, bytes _data ) public returns (bool);
|
|
function transfer( address _to, uint256 _value, bytes _data ) public returns (bool);
|
|
function transferFrom(
|
|
address _from,
|
|
address _to,
|
|
uint256 _value,
|
|
bytes _data
|
|
)
|
|
public
|
|
returns (bool);
|
|
|
|
}
|