-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path827flat.sol
More file actions
15 lines (14 loc) · 984 Bytes
/
827flat.sol
File metadata and controls
15 lines (14 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pragma solidity ^0.4.23;
contract ERC827 {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
function allowance(address owner, address spender) public view returns (uint256);
function transferFrom(address from, address to, uint256 value) public returns (bool);
function approve(address spender, uint256 value) public returns (bool);
event Approval(address indexed owner, address indexed spender, uint256 value);
function approveAndCall(address _spender, uint256 _value, bytes _data) public payable returns (bool);
function transferAndCall(address _to, uint256 _value, bytes _data) public payable returns (bool);
function transferFromAndCall(address _from, address _to, uint256 _value, bytes _data) public payable returns (bool);
}