Skip to main content
Version: next

Interface: IERC721

token.erc721.IERC721

Hierarchy

  • BaseContract

    IERC721

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

BaseContract._deployedPromise

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:100


_runningEvents

_runningEvents: Object

Index signature

[eventTag: string]: RunningEvent

Inherited from

BaseContract._runningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:101


_wrappedEmits

_wrappedEmits: Object

Index signature

[eventTag: string]: (...args: any[]) => void

Inherited from

BaseContract._wrappedEmits

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:104


address

Readonly address: string

Inherited from

BaseContract.address

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:79


callStatic

callStatic: Object

Type declaration

NameType
approve(to: string, tokenId: BigNumberish, overrides?: CallOverrides) => Promise<void>
balanceOf(owner: string, overrides?: CallOverrides) => Promise<BigNumber>
getApproved(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<string>
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides) => Promise<boolean>
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<string>
safeTransferFrom(address,address,uint256)(from: string, to: string, tokenId: BigNumberish, overrides?: CallOverrides) => Promise<void>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: CallOverrides) => Promise<void>
setApprovalForAll(operator: string, approved: boolean, overrides?: CallOverrides) => Promise<void>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<boolean>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: CallOverrides) => Promise<void>

Overrides

BaseContract.callStatic

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:316


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:99


estimateGas

estimateGas: Object

Type declaration

NameType
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
balanceOf(owner: string, overrides?: CallOverrides) => Promise<BigNumber>
getApproved(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides) => Promise<BigNumber>
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
safeTransferFrom(address,address,uint256)(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<BigNumber>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:407


filters

filters: Object

Type declaration

NameType
Approval(owner?: null | string, approved?: null | string, tokenId?: null | BigNumberish) => ApprovalEventFilter
Approval(address,address,uint256)(owner?: null | string, approved?: null | string, tokenId?: null | BigNumberish) => ApprovalEventFilter
ApprovalForAll(owner?: null | string, operator?: null | string, approved?: null) => ApprovalForAllEventFilter
ApprovalForAll(address,address,bool)(owner?: null | string, operator?: null | string, approved?: null) => ApprovalForAllEventFilter
Transfer(from?: null | string, to?: null | string, tokenId?: null | BigNumberish) => TransferEventFilter
Transfer(address,address,uint256)(from?: null | string, to?: null | string, tokenId?: null | BigNumberish) => TransferEventFilter

Overrides

BaseContract.filters

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:372


functions

functions: Object

Type declaration

NameType
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
balanceOf(owner: string, overrides?: CallOverrides) => Promise<[BigNumber] & { balance: BigNumber }>
getApproved(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { operator: string }>
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides) => Promise<[boolean]>
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { owner: string }>
safeTransferFrom(address,address,uint256)(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<[boolean]>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>

Overrides

BaseContract.functions

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:200


interface

interface: IERC721Interface

Overrides

BaseContract.interface

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:179


off

off: OnEvent<IERC721>

Overrides

BaseContract.off

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:195


on

on: OnEvent<IERC721>

Overrides

BaseContract.on

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:196


once

once: OnEvent<IERC721>

Overrides

BaseContract.once

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:197


populateTransaction

populateTransaction: Object

Type declaration

NameType
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
balanceOf(owner: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getApproved(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
safeTransferFrom(address,address,uint256)(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:466


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:82


removeListener

removeListener: OnEvent<IERC721>

Overrides

BaseContract.removeListener

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:198


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

BaseContract.resolvedAddress

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:98


signer

Readonly signer: Signer

Inherited from

BaseContract.signer

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:81

Methods

_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

NameType
runningEventRunningEvent

Returns

void

Inherited from

BaseContract._checkRunningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:121


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
blockTag?BlockTag

Returns

Promise<Contract>

Inherited from

BaseContract._deployed

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:114


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

BaseContract._wrapEvent

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:122


approve

approve(to, tokenId, overrides?): Promise<ContractTransaction>

Parameters

NameType
tostring
tokenIdBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:262


attach

attach(addressOrName): IERC721

Parameters

NameType
addressOrNamestring

Returns

IERC721

Overrides

BaseContract.attach

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:176


balanceOf

balanceOf(owner, overrides?): Promise<BigNumber>

Parameters

NameType
ownerstring
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:268


connect

connect(signerOrProvider): IERC721

Parameters

NameType
signerOrProviderstring | Provider | Signer

Returns

IERC721

Overrides

BaseContract.connect

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:175


deployed

deployed(): Promise<IERC721>

Returns

Promise<IERC721>

Overrides

BaseContract.deployed

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:177


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

BaseContract.emit

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:127


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

BaseContract.fallback

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:115


getApproved

getApproved(tokenId, overrides?): Promise<string>

Parameters

NameType
tokenIdBigNumberish
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:270


isApprovedForAll

isApprovedForAll(owner, operator, overrides?): Promise<boolean>

Parameters

NameType
ownerstring
operatorstring
overrides?CallOverrides

Returns

Promise<boolean>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:275


listenerCount

listenerCount(eventName?): number

Parameters

NameType
eventName?string | EventFilter

Returns

number

Inherited from

BaseContract.listenerCount

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:128


listeners

listeners<TEvent>(eventFilter?): TypedListener<TEvent>[]

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Overrides

BaseContract.listeners

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:187

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:190


ownerOf

ownerOf(tokenId, overrides?): Promise<string>

Parameters

NameType
tokenIdBigNumberish
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:281


queryFilter

queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns

Promise<TEvent[]>

Overrides

BaseContract.queryFilter

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:181


removeAllListeners

removeAllListeners<TEvent>(eventFilter): IERC721

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

IERC721

Overrides

BaseContract.removeAllListeners

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:191

removeAllListeners(eventName?): IERC721

Parameters

NameType
eventName?string

Returns

IERC721

Overrides

BaseContract.removeAllListeners

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:194


safeTransferFrom(address,address,uint256)

safeTransferFrom(address,address,uint256)(from, to, tokenId, overrides?): Promise<ContractTransaction>

Parameters

NameType
fromstring
tostring
tokenIdBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:283


safeTransferFrom(address,address,uint256,bytes)

safeTransferFrom(address,address,uint256,bytes)(from, to, tokenId, data, overrides?): Promise<ContractTransaction>

Parameters

NameType
fromstring
tostring
tokenIdBigNumberish
dataBytesLike
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:290


setApprovalForAll

setApprovalForAll(operator, approved, overrides?): Promise<ContractTransaction>

Parameters

NameType
operatorstring
approvedboolean
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:298


supportsInterface

supportsInterface(interfaceId, overrides?): Promise<boolean>

Parameters

NameType
interfaceIdBytesLike
overrides?CallOverrides

Returns

Promise<boolean>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:304


transferFrom

transferFrom(from, to, tokenId, overrides?): Promise<ContractTransaction>

Parameters

NameType
fromstring
tostring
tokenIdBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/@openzeppelin/contracts/token/ERC721/IERC721.ts:309