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
Type
Description

name_

string

symbol_

string

balanceOf

balanceOf(address) view public

Name
Type
Description

owner

address

Returns:

Name
Type
Description

[0]

uint256

ownerOf

ownerOf(uint256) view public

Name
Type
Description

tokenId

uint256

Returns:

Name
Type
Description

[0]

address

name

name() view public

Returns:

Name
Type
Description

[0]

string

symbol

symbol() view public

Returns:

Name
Type
Description

[0]

string

tokenURI

tokenURI(uint256) view public

Name
Type
Description

tokenId

uint256

Returns:

Name
Type
Description

[0]

string

baseURI

baseURI() view public

Returns:

Name
Type
Description

[0]

string

tokenOfOwnerByIndex

tokenOfOwnerByIndex(address,uint256) view public

Name
Type
Description

owner

address

index

uint256

Returns:

Name
Type
Description

[0]

uint256

totalSupply

totalSupply() view public

Returns:

Name
Type
Description

[0]

uint256

tokenByIndex

tokenByIndex(uint256) view public

Name
Type
Description

index

uint256

Returns:

Name
Type
Description

[0]

uint256

approve

approve(address,uint256) public

Name
Type
Description

to

address

tokenId

uint256

getApproved

getApproved(uint256) view public

Name
Type
Description

tokenId

uint256

Returns:

Name
Type
Description

[0]

address

setApprovalForAll

setApprovalForAll(address,bool) public

Name
Type
Description

operator

address

approved

bool

isApprovedForAll

isApprovedForAll(address,address) view public

Name
Type
Description

owner

address

operator

address

Returns:

Name
Type
Description

[0]

bool

transferFrom

transferFrom(address,address,uint256) public

Name
Type
Description

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256) public

Name
Type
Description

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256,bytes) public

Name
Type
Description

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
Type
Description

name_

string

symbol_

string

balanceOf

balanceOf(address) view public

Name
Type
Description

owner

address

Returns:

Name
Type
Description

[0]

uint256

ownerOf

ownerOf(uint256) view public

Name
Type
Description

tokenId

uint256

Returns:

Name
Type
Description

[0]

address

name

name() view public

Returns:

Name
Type
Description

[0]

string

symbol

symbol() view public

Returns:

Name
Type
Description

[0]

string

tokenURI

tokenURI(uint256) view public

Name
Type
Description

tokenId

uint256

Returns:

Name
Type
Description

[0]

string

baseURI

baseURI() view public

Returns:

Name
Type
Description

[0]

string

tokenOfOwnerByIndex

tokenOfOwnerByIndex(address,uint256) view public

Name
Type
Description

owner

address

index

uint256

Returns:

Name
Type
Description

[0]

uint256

totalSupply

totalSupply() view public

Returns:

Name
Type
Description

[0]

uint256

tokenByIndex

tokenByIndex(uint256) view public

Name
Type
Description

index

uint256

Returns:

Name
Type
Description

[0]

uint256

approve

approve(address,uint256) public

Name
Type
Description

to

address

tokenId

uint256

getApproved

getApproved(uint256) view public

Name
Type
Description

tokenId

uint256

Returns:

Name
Type
Description

[0]

address

setApprovalForAll

setApprovalForAll(address,bool) public

Name
Type
Description

operator

address

approved

bool

isApprovedForAll

isApprovedForAll(address,address) view public

Name
Type
Description

owner

address

operator

address

Returns:

Name
Type
Description

[0]

bool

transferFrom

transferFrom(address,address,uint256) public

Name
Type
Description

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256) public

Name
Type
Description

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256,bytes) public

Name
Type
Description

from

address

to

address

tokenId

uint256

_data

bytes