ERC20 interface (IPoly.sol)

View Source: contracts/interfaces/IPoly.sol

IPoly

see https://github.com/ethereum/EIPs/issues/20

Events

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

Functions

decimals

function decimals() external view
returns(uint8)

Arguments

Name

Type

Description

totalSupply

function totalSupply() external view
returns(uint256)

Arguments

Name

Type

Description

balanceOf

function balanceOf(address _owner) external view
returns(uint256)

Arguments

Name

Type

Description

_owner

address

allowance

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

Arguments

Name

Type

Description

_owner

address

_spender

address

transfer

function transfer(address _to, uint256 _value) external nonpayable
returns(bool)

Arguments

Name

Type

Description

_to

address

_value

uint256

transferFrom

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

Arguments

Name

Type

Description

_from

address

_to

address

_value

uint256

approve

function approve(address _spender, uint256 _value) external nonpayable
returns(bool)

Arguments

Name

Type

Description

_spender

address

_value

uint256

decreaseApproval

function decreaseApproval(address _spender, uint256 _subtractedValue) external nonpayable
returns(bool)

Arguments

Name

Type

Description

_spender

address

_subtractedValue

uint256

increaseApproval

function increaseApproval(address _spender, uint256 _addedValue) external nonpayable
returns(bool)

Arguments

Name

Type

Description

_spender

address

_addedValue

uint256