Skip to main content

IERC20.sol

Read code on GitHub

Methods

allowance

Solidity
function allowance(address owner, address spender) external view returns (uint256)

Parameters

NameTypeDescription
owneraddressundefined
spenderaddressundefined

Returns

NameTypeDescription
_0uint256undefined

approve

Solidity
function approve(address spender, uint256 amount) external nonpayable returns (bool)

Parameters

NameTypeDescription
spenderaddressundefined
amountuint256undefined

Returns

NameTypeDescription
_0boolundefined

balanceOf

Solidity
function balanceOf(address account) external view returns (uint256)

Parameters

NameTypeDescription
accountaddressundefined

Returns

NameTypeDescription
_0uint256undefined

decimals

Solidity
function decimals() external view returns (uint8)

Returns

NameTypeDescription
_0uint8undefined

totalSupply

Solidity
function totalSupply() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

transfer

Solidity
function transfer(address recipient, uint256 amount) external nonpayable returns (bool)

Parameters

NameTypeDescription
recipientaddressundefined
amountuint256undefined

Returns

NameTypeDescription
_0boolundefined

transferFrom

Solidity
function transferFrom(address sender, address recipient, uint256 amount) external nonpayable returns (bool)

Parameters

NameTypeDescription
senderaddressundefined
recipientaddressundefined
amountuint256undefined

Returns

NameTypeDescription
_0boolundefined

Events

Approval

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

Parameters

NameTypeDescription
owner indexedaddressundefined
spender indexedaddressundefined
valueuint256undefined

Transfer

Solidity
event Transfer(address indexed from, address indexed to, uint256 value)

Parameters

NameTypeDescription
from indexedaddressundefined
to indexedaddressundefined
valueuint256undefined