ERC721
ERC721
ERC721 Non-Fungible Token Standard basic implementation
Developer note: see https://eips.ethereum.org/EIPS/eip-721
Functions
constructor
constructor(string,string)
public
name_
string
symbol_
string
balanceOf
balanceOf(address)
view public
owner
address
Returns:
[0]
uint256
ownerOf
ownerOf(uint256)
view public
tokenId
uint256
Returns:
[0]
address
name
name()
view public
Returns:
[0]
string
symbol
symbol()
view public
Returns:
[0]
string
tokenURI
tokenURI(uint256)
view public
tokenId
uint256
Returns:
[0]
string
baseURI
baseURI()
view public
Returns:
[0]
string
tokenOfOwnerByIndex
tokenOfOwnerByIndex(address,uint256)
view public
owner
address
index
uint256
Returns:
[0]
uint256
totalSupply
totalSupply()
view public
Returns:
[0]
uint256
tokenByIndex
tokenByIndex(uint256)
view public
index
uint256
Returns:
[0]
uint256
approve
approve(address,uint256)
public
to
address
tokenId
uint256
getApproved
getApproved(uint256)
view public
tokenId
uint256
Returns:
[0]
address
setApprovalForAll
setApprovalForAll(address,bool)
public
operator
address
approved
bool
isApprovedForAll
isApprovedForAll(address,address)
view public
owner
address
operator
address
Returns:
[0]
bool
transferFrom
transferFrom(address,address,uint256)
public
from
address
to
address
tokenId
uint256
safeTransferFrom
safeTransferFrom(address,address,uint256)
public
from
address
to
address
tokenId
uint256
safeTransferFrom
safeTransferFrom(address,address,uint256,bytes)
public
from
address
to
address
tokenId
uint256
_data
bytes
ERC721
ERC721 Non-Fungible Token Standard basic implementation
Developer note: see https://eips.ethereum.org/EIPS/eip-721
Functions
constructor
constructor(string,string)
public
name_
string
symbol_
string
balanceOf
balanceOf(address)
view public
owner
address
Returns:
[0]
uint256
ownerOf
ownerOf(uint256)
view public
tokenId
uint256
Returns:
[0]
address
name
name()
view public
Returns:
[0]
string
symbol
symbol()
view public
Returns:
[0]
string
tokenURI
tokenURI(uint256)
view public
tokenId
uint256
Returns:
[0]
string
baseURI
baseURI()
view public
Returns:
[0]
string
tokenOfOwnerByIndex
tokenOfOwnerByIndex(address,uint256)
view public
owner
address
index
uint256
Returns:
[0]
uint256
totalSupply
totalSupply()
view public
Returns:
[0]
uint256
tokenByIndex
tokenByIndex(uint256)
view public
index
uint256
Returns:
[0]
uint256
approve
approve(address,uint256)
public
to
address
tokenId
uint256
getApproved
getApproved(uint256)
view public
tokenId
uint256
Returns:
[0]
address
setApprovalForAll
setApprovalForAll(address,bool)
public
operator
address
approved
bool
isApprovedForAll
isApprovedForAll(address,address)
view public
owner
address
operator
address
Returns:
[0]
bool
transferFrom
transferFrom(address,address,uint256)
public
from
address
to
address
tokenId
uint256
safeTransferFrom
safeTransferFrom(address,address,uint256)
public
from
address
to
address
tokenId
uint256
safeTransferFrom
safeTransferFrom(address,address,uint256,bytes)
public
from
address
to
address
tokenId
uint256
_data
bytes