Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 1.88 KB

ERC20.md

File metadata and controls

86 lines (65 loc) · 1.88 KB

ERC20 interface (ERC20.sol)

contract ERC20 is ERC20Basic

ERC20

see ethereum/EIPs#20

Events

event Approval(address indexed owner, address indexed spender, uint256 value);

Functions

allowance

function allowance(address _owner, address _spender) public view
returns(uint256)

Arguments

Name Type Description
_owner address
_spender address

transferFrom

function transferFrom(address _from, address _to, uint256 _value) public
returns(bool)

Arguments

Name Type Description
_from address
_to address
_value uint256

approve

function approve(address _spender, uint256 _value) public
returns(bool)

Arguments

Name Type Description
_spender address
_value uint256

Contracts