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

NameTypeDescription

name_

string

symbol_

string

balanceOf

balanceOf(address) view public

NameTypeDescription

owner

address

Returns:

NameTypeDescription

[0]

uint256

ownerOf

ownerOf(uint256) view public

NameTypeDescription

tokenId

uint256

Returns:

NameTypeDescription

[0]

address

name

name() view public

Returns:

NameTypeDescription

[0]

string

symbol

symbol() view public

Returns:

NameTypeDescription

[0]

string

tokenURI

tokenURI(uint256) view public

NameTypeDescription

tokenId

uint256

Returns:

NameTypeDescription

[0]

string

baseURI

baseURI() view public

Returns:

NameTypeDescription

[0]

string

tokenOfOwnerByIndex

tokenOfOwnerByIndex(address,uint256) view public

NameTypeDescription

owner

address

index

uint256

Returns:

NameTypeDescription

[0]

uint256

totalSupply

totalSupply() view public

Returns:

NameTypeDescription

[0]

uint256

tokenByIndex

tokenByIndex(uint256) view public

NameTypeDescription

index

uint256

Returns:

NameTypeDescription

[0]

uint256

approve

approve(address,uint256) public

NameTypeDescription

to

address

tokenId

uint256

getApproved

getApproved(uint256) view public

NameTypeDescription

tokenId

uint256

Returns:

NameTypeDescription

[0]

address

setApprovalForAll

setApprovalForAll(address,bool) public

NameTypeDescription

operator

address

approved

bool

isApprovedForAll

isApprovedForAll(address,address) view public

NameTypeDescription

owner

address

operator

address

Returns:

NameTypeDescription

[0]

bool

transferFrom

transferFrom(address,address,uint256) public

NameTypeDescription

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256) public

NameTypeDescription

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256,bytes) public

NameTypeDescription

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

NameTypeDescription

name_

string

symbol_

string

balanceOf

balanceOf(address) view public

NameTypeDescription

owner

address

Returns:

NameTypeDescription

[0]

uint256

ownerOf

ownerOf(uint256) view public

NameTypeDescription

tokenId

uint256

Returns:

NameTypeDescription

[0]

address

name

name() view public

Returns:

NameTypeDescription

[0]

string

symbol

symbol() view public

Returns:

NameTypeDescription

[0]

string

tokenURI

tokenURI(uint256) view public

NameTypeDescription

tokenId

uint256

Returns:

NameTypeDescription

[0]

string

baseURI

baseURI() view public

Returns:

NameTypeDescription

[0]

string

tokenOfOwnerByIndex

tokenOfOwnerByIndex(address,uint256) view public

NameTypeDescription

owner

address

index

uint256

Returns:

NameTypeDescription

[0]

uint256

totalSupply

totalSupply() view public

Returns:

NameTypeDescription

[0]

uint256

tokenByIndex

tokenByIndex(uint256) view public

NameTypeDescription

index

uint256

Returns:

NameTypeDescription

[0]

uint256

approve

approve(address,uint256) public

NameTypeDescription

to

address

tokenId

uint256

getApproved

getApproved(uint256) view public

NameTypeDescription

tokenId

uint256

Returns:

NameTypeDescription

[0]

address

setApprovalForAll

setApprovalForAll(address,bool) public

NameTypeDescription

operator

address

approved

bool

isApprovedForAll

isApprovedForAll(address,address) view public

NameTypeDescription

owner

address

operator

address

Returns:

NameTypeDescription

[0]

bool

transferFrom

transferFrom(address,address,uint256) public

NameTypeDescription

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256) public

NameTypeDescription

from

address

to

address

tokenId

uint256

safeTransferFrom

safeTransferFrom(address,address,uint256,bytes) public

NameTypeDescription

from

address

to

address

tokenId

uint256

_data

bytes