ERC20 interface (IERC20.sol)
View Source: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
↘ Derived Contracts: ERC20
IERC20
see https://eips.ethereum.org/EIPS/eip-20
Events
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
Functions
transfer
⤿ Overridden Implementation(s): ERC20.transfer,SecurityToken.transfer
function transfer(address to, uint256 value) external nonpayable
returns(bool)
Arguments
Name
Type
Description
to
address
value
uint256
approve
⤿ Overridden Implementation(s): ERC20.approve
function approve(address spender, uint256 value) external nonpayable
returns(bool)
Arguments
Name
Type
Description
spender
address
value
uint256
transferFrom
⤿ Overridden Implementation(s): ERC20.transferFrom,SecurityToken.transferFrom
function transferFrom(address from, address to, uint256 value) external nonpayable
returns(bool)
Arguments
Name
Type
Description
from
address
to
address
value
uint256
totalSupply
⤿ Overridden Implementation(s): ERC20.totalSupply
function totalSupply() external view
returns(uint256)
Arguments
Name
Type
Description
balanceOf
⤿ Overridden Implementation(s): ERC20.balanceOf
function balanceOf(address who) external view
returns(uint256)
Arguments
Name
Type
Description
who
address
allowance
⤿ Overridden Implementation(s): ERC20.allowance
function allowance(address owner, address spender) external view
returns(uint256)
Arguments
Name
Type
Description
owner
address
spender
address
Last updated
Was this helpful?