Skip to main content

contracts.ERC721Enumerable

@bosonprotocol/ethers-sdk / Exports / contracts / ERC721Enumerable

Interface: ERC721Enumerable

contracts.ERC721Enumerable

Hierarchy

  • BaseContract

    ERC721Enumerable

Table of contents

Properties

Methods

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>
mint(to: string, tokenId: BigNumberish, tokenURI: string, overrides?: CallOverrides) => Promise<void>
name(overrides?: CallOverrides) => Promise<string>
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(to: string, approved: boolean, overrides?: CallOverrides) => Promise<void>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<boolean>
symbol(overrides?: CallOverrides) => Promise<string>
tokenByIndex(index: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
tokenOfOwnerByIndex(owner: string, index: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<string>
totalSupply(overrides?: CallOverrides) => Promise<BigNumber>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: CallOverrides) => Promise<void>

Overrides

BaseContract.callStatic

Defined in

src/contracts/ERC721Enumerable.ts:368


contractName

contractName: "ERC721Enumerable"

Defined in

src/contracts/ERC721Enumerable.ts:174


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<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>
mint(to: string, tokenId: BigNumberish, tokenURI: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
name(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<string> }) => Promise<BigNumber>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setApprovalForAll(to: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<BigNumber>
symbol(overrides?: CallOverrides) => Promise<BigNumber>
tokenByIndex(index: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
tokenOfOwnerByIndex(owner: string, index: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
totalSupply(overrides?: CallOverrides) => Promise<BigNumber>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

src/contracts/ERC721Enumerable.ts:485


filters

filters: Object

Type declaration

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

Overrides

BaseContract.filters

Defined in

src/contracts/ERC721Enumerable.ts:450


functions

functions: Object

Type declaration

NameType
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
balanceOf(owner: string, overrides?: CallOverrides) => Promise<[BigNumber]>
getApproved(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<[string]>
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides) => Promise<[boolean]>
mint(to: string, tokenId: BigNumberish, tokenURI: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
name(overrides?: CallOverrides) => Promise<[string]>
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<[string]>
safeTransferFrom(address,address,uint256)(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setApprovalForAll(to: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<[boolean]>
symbol(overrides?: CallOverrides) => Promise<[string]>
tokenByIndex(index: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber]>
tokenOfOwnerByIndex(owner: string, index: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber]>
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<[string]>
totalSupply(overrides?: CallOverrides) => Promise<[BigNumber]>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>

Overrides

BaseContract.functions

Defined in

src/contracts/ERC721Enumerable.ts:200


interface

interface: ERC721EnumerableInterface

Overrides

BaseContract.interface

Defined in

src/contracts/ERC721Enumerable.ts:179


off

off: OnEvent<ERC721Enumerable>

Overrides

BaseContract.off

Defined in

src/contracts/ERC721Enumerable.ts:195


on

on: OnEvent<ERC721Enumerable>

Overrides

BaseContract.on

Defined in

src/contracts/ERC721Enumerable.ts:196


once

once: OnEvent<ERC721Enumerable>

Overrides

BaseContract.once

Defined in

src/contracts/ERC721Enumerable.ts:197


populateTransaction

populateTransaction: Object

Type declaration

NameType
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<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>
mint(to: string, tokenId: BigNumberish, tokenURI: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
name(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<string> }) => Promise<PopulatedTransaction>
safeTransferFrom(address,address,uint256,bytes)(from: string, to: string, tokenId: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setApprovalForAll(to: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
symbol(overrides?: CallOverrides) => Promise<PopulatedTransaction>
tokenByIndex(index: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
tokenOfOwnerByIndex(owner: string, index: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
totalSupply(overrides?: CallOverrides) => Promise<PopulatedTransaction>
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

src/contracts/ERC721Enumerable.ts:573


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

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


removeListener

removeListener: OnEvent<ERC721Enumerable>

Overrides

BaseContract.removeListener

Defined in

src/contracts/ERC721Enumerable.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 | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/ERC721Enumerable.ts:300


attach

attach(addressOrName): ERC721Enumerable

Parameters

NameType
addressOrNamestring

Returns

ERC721Enumerable

Overrides

BaseContract.attach

Defined in

src/contracts/ERC721Enumerable.ts:176


balanceOf

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

Parameters

NameType
ownerstring
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

src/contracts/ERC721Enumerable.ts:343


connect

connect(signerOrProvider): ERC721Enumerable

Parameters

NameType
signerOrProviderstring | Signer | Provider

Returns

ERC721Enumerable

Overrides

BaseContract.connect

Defined in

src/contracts/ERC721Enumerable.ts:175


deployed

deployed(): Promise<ERC721Enumerable>

Returns

Promise<ERC721Enumerable>

Overrides

BaseContract.deployed

Defined in

src/contracts/ERC721Enumerable.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

src/contracts/ERC721Enumerable.ts:295


isApprovedForAll

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

Parameters

NameType
ownerstring
operatorstring
overrides?CallOverrides

Returns

Promise<boolean>

Defined in

src/contracts/ERC721Enumerable.ts:355


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

src/contracts/ERC721Enumerable.ts:187

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

src/contracts/ERC721Enumerable.ts:190


mint

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

Parameters

NameType
tostring
tokenIdBigNumberish
tokenURIstring
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/ERC721Enumerable.ts:361


name

name(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

src/contracts/ERC721Enumerable.ts:293


ownerOf

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

Parameters

NameType
tokenIdBigNumberish
overrides?CallOverrides

Returns

Promise<string>

Defined in

src/contracts/ERC721Enumerable.ts:341


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

src/contracts/ERC721Enumerable.ts:181


removeAllListeners

removeAllListeners<TEvent>(eventFilter): ERC721Enumerable

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

ERC721Enumerable

Overrides

BaseContract.removeAllListeners

Defined in

src/contracts/ERC721Enumerable.ts:191

removeAllListeners(eventName?): ERC721Enumerable

Parameters

NameType
eventName?string

Returns

ERC721Enumerable

Overrides

BaseContract.removeAllListeners

Defined in

src/contracts/ERC721Enumerable.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 | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/ERC721Enumerable.ts:321


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 | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/ERC721Enumerable.ts:328


setApprovalForAll

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

Parameters

NameType
tostring
approvedboolean
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/ERC721Enumerable.ts:347


supportsInterface

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

Parameters

NameType
interfaceIdBytesLike
overrides?CallOverrides

Returns

Promise<boolean>

Defined in

src/contracts/ERC721Enumerable.ts:288


symbol

symbol(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

src/contracts/ERC721Enumerable.ts:345


tokenByIndex

tokenByIndex(index, overrides?): Promise<BigNumber>

Parameters

NameType
indexBigNumberish
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

src/contracts/ERC721Enumerable.ts:336


tokenOfOwnerByIndex

tokenOfOwnerByIndex(owner, index, overrides?): Promise<BigNumber>

Parameters

NameType
ownerstring
indexBigNumberish
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

src/contracts/ERC721Enumerable.ts:315


tokenURI

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

Parameters

NameType
tokenIdBigNumberish
overrides?CallOverrides

Returns

Promise<string>

Defined in

src/contracts/ERC721Enumerable.ts:353


totalSupply

totalSupply(overrides?): Promise<BigNumber>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

src/contracts/ERC721Enumerable.ts:306


transferFrom

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

Parameters

NameType
fromstring
tostring
tokenIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/ERC721Enumerable.ts:308