ERC721Upgradeable

Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}.

Methods

approve

function approve(address to, uint256 tokenId) external nonpayable

See {IERC721-approve}.

Parameters

Name
Type
Description

to

address

undefined

tokenId

uint256

undefined

balanceOf

function balanceOf(address owner) external view returns (uint256)

See {IERC721-balanceOf}.

Parameters

Name
Type
Description

owner

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

getApproved

See {IERC721-getApproved}.

Parameters

Name
Type
Description

tokenId

uint256

undefined

Returns

Name
Type
Description

_0

address

undefined

isApprovedForAll

See {IERC721-isApprovedForAll}.

Parameters

Name
Type
Description

owner

address

undefined

operator

address

undefined

Returns

Name
Type
Description

_0

bool

undefined

name

See {IERC721Metadata-name}.

Returns

Name
Type
Description

_0

string

undefined

ownerOf

See {IERC721-ownerOf}.

Parameters

Name
Type
Description

tokenId

uint256

undefined

Returns

Name
Type
Description

_0

address

undefined

safeTransferFrom

See {IERC721-safeTransferFrom}.

Parameters

Name
Type
Description

from

address

undefined

to

address

undefined

tokenId

uint256

undefined

safeTransferFrom

See {IERC721-safeTransferFrom}.

Parameters

Name
Type
Description

from

address

undefined

to

address

undefined

tokenId

uint256

undefined

data

bytes

undefined

setApprovalForAll

See {IERC721-setApprovalForAll}.

Parameters

Name
Type
Description

operator

address

undefined

approved

bool

undefined

supportsInterface

See {IERC165-supportsInterface}.

Parameters

Name
Type
Description

interfaceId

bytes4

undefined

Returns

Name
Type
Description

_0

bool

undefined

symbol

See {IERC721Metadata-symbol}.

Returns

Name
Type
Description

_0

string

undefined

tokenURI

See {IERC721Metadata-tokenURI}.

Parameters

Name
Type
Description

tokenId

uint256

undefined

Returns

Name
Type
Description

_0

string

undefined

transferFrom

See {IERC721-transferFrom}.

Parameters

Name
Type
Description

from

address

undefined

to

address

undefined

tokenId

uint256

undefined

Events

Approval

Parameters

Name
Type
Description

owner indexed

address

undefined

approved indexed

address

undefined

tokenId indexed

uint256

undefined

ApprovalForAll

Parameters

Name
Type
Description

owner indexed

address

undefined

operator indexed

address

undefined

approved

bool

undefined

Initialized

Parameters

Name
Type
Description

version

uint8

undefined

Transfer

Parameters

Name
Type
Description

from indexed

address

undefined

to indexed

address

undefined

tokenId indexed

uint256

undefined

Last updated