Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ERC721Collectibles

Hierarchy

Implements

Index

Constructors

Properties

_erc20: ERC20
_purchaseToken?: string
abi: AbiItem[]
contractAddress?: string

Accessors

  • get account(): Account
  • Returns the Account associated with this connection

    Returns Account

  • get web3(): default
  • Returns the Web3 class assigned to this connection

    Returns default

Methods

  • MAX_PURCHASE(): Promise<number>
  • _baseFeeAddress(): Promise<string>
  • _baseFeeShare(): Promise<number>
  • _closed(): Promise<boolean>
  • _currentTokenId(): Promise<number>
  • _feeAddress(): Promise<string>
  • _feeShare(): Promise<number>
  • _limitedAmount(): Promise<number>
  • _otherAddress(): Promise<string>
  • _otherShare(): Promise<number>
  • alreadyMinted(v1: number): Promise<boolean>
  • approve(to: string, tokenId: number): Promise<TransactionReceipt<any>>
  • approveERC20Transfer(): Promise<TransactionReceipt<any>>
  • balanceOf(owner: string): Promise<number>
  • baseURI(): Promise<string>
  • connect(): Promise<boolean>
  • deploy(deployOptions: DeployOptions, account?: Account): Promise<TransactionReceipt<any>>
  • Deploy the loaded abi contract

    Parameters

    • deployOptions: DeployOptions
    • Optional account: Account

    Returns Promise<TransactionReceipt<any>>

  • deployJsonAbi(name: string, symbol: string, limitedAmount: number, _purchaseToken: string, baseFeeAddress: string, feeAddress: string, otherAddress: string): Promise<TransactionReceipt<any>>
  • exists(tokenId: number): Promise<boolean>
  • getApproved(tokenId: number): Promise<string>
  • getRegisteredIDs(_address: string): Promise<number[]>
  • isApproved(amount: number): Promise<boolean>
  • isApprovedForAll(owner: string, operator: string): Promise<boolean>
  • isLimited(): Promise<boolean>
  • loadAbi(): void
  • loadContract(): Promise<void>
  • lock(): Promise<TransactionReceipt<any>>
  • mint(tokenIdToMint: number): Promise<TransactionReceipt<any>>
  • name(): Promise<string>
  • openPack(amount: number): Promise<TransactionReceipt<any>>
  • openedPacks(): Promise<number>
  • owner(): Promise<string>
  • ownerOf(tokenId: number): Promise<string>
  • pricePerPack(): Promise<string>
  • purchaseToken(): Promise<string>
  • registeredIDs(address: string, tokenId: number): Promise<boolean>
  • registeredIDsArray(v1: string, v2: number): Promise<number>
  • safeTransferFrom(from: string, to: string, tokenId: number, _data?: string): Promise<TransactionReceipt<any>>
  • sendTx(method: ContractSendMethod, value?: any): Promise<TransactionReceipt<any>>
  • Interact with, or change a value of, a property on the contract

    Parameters

    • method: ContractSendMethod
    • Optional value: any

    Returns Promise<TransactionReceipt<any>>

  • sendUnsignedTx(method: ContractSendMethod, value?: any, __namedParameters?: Partial<Web3ConnectionOptions>): Promise<TransactionReceipt<any>>
  • setApprovalForAll(operator: string, approved: boolean): Promise<TransactionReceipt<any>>
  • setBaseURI(baseURI: string): Promise<TransactionReceipt<any>>
  • setFeeAddress(feeAddress: string): Promise<TransactionReceipt<any>>
  • setOtherAddress(otherAddress: string): Promise<TransactionReceipt<any>>
  • setPricePerPack(newPrice: string | number): Promise<TransactionReceipt<any>>
  • setPurchaseTokenAddress(purchaseToken: string): Promise<TransactionReceipt<any>>
  • setShares(feeShare: number, otherShare: number): Promise<TransactionReceipt<any>>
  • setTokenURI(tokenId: number, uri: string): Promise<TransactionReceipt<any>>
  • start(): Promise<void>
  • supportsInterface(interfaceId: string): Promise<boolean>
  • symbol(): Promise<string>
  • tokenByIndex(index: number): Promise<number>
  • tokenOfOwnerByIndex(owner: string, index: number): Promise<number>
  • tokenURI(tokenId: number): Promise<string>
  • totalSupply(): Promise<number>
  • transferFrom(from: string, to: string, tokenId: number): Promise<TransactionReceipt<any>>
  • transferOwnership(newOwner: string): Promise<TransactionReceipt<any>>
  • unlock(): Promise<TransactionReceipt<any>>

Generated using TypeDoc