/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type BN from "bn.js"; import type { ContractOptions } from "web3-eth-contract"; import type { EventLog } from "web3-core"; import type { EventEmitter } from "events"; import type { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract, } from "./types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export type Approval = ContractEventLog<{ owner: string; approved: string; tokenId: string; 0: string; 1: string; 2: string; }>; export type ApprovalForAll = ContractEventLog<{ owner: string; operator: string; approved: boolean; 0: string; 1: string; 2: boolean; }>; export type TokenChanged = ContractEventLog<{ tokenId: string; 0: string; }>; export type Transfer = ContractEventLog<{ from: string; to: string; tokenId: string; 0: string; 1: string; 2: string; }>; export interface UniqueNFT extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): UniqueNFT; clone(): UniqueNFT; methods: { addCollectionAdminCross( newAdmin: [string, number | string | BN] ): NonPayableTransactionObject; addToCollectionAllowListCross( user: [string, number | string | BN] ): NonPayableTransactionObject; allowlistedCross( user: [string, number | string | BN] ): NonPayableTransactionObject; approve( approved: string, tokenId: number | string | BN ): NonPayableTransactionObject; approveCross( approved: [string, number | string | BN], tokenId: number | string | BN ): NonPayableTransactionObject; balanceOf(owner: string): NonPayableTransactionObject; balanceOfCross( owner: [string, number | string | BN] ): NonPayableTransactionObject; burn(tokenId: number | string | BN): NonPayableTransactionObject; burnFromCross( from: [string, number | string | BN], tokenId: number | string | BN ): NonPayableTransactionObject; changeCollectionOwnerCross( newOwner: [string, number | string | BN] ): NonPayableTransactionObject; collectionAdmins(): NonPayableTransactionObject<[string, string][]>; collectionHelperAddress(): NonPayableTransactionObject; collectionLimits(): NonPayableTransactionObject< [string, [boolean, string]][] >; collectionNesting(): NonPayableTransactionObject< [boolean, boolean, string[]] >; collectionOwner(): NonPayableTransactionObject<[string, string]>; collectionProperties( keys: string[] ): NonPayableTransactionObject<[string, string][]>; collectionProperty(key: string): NonPayableTransactionObject; collectionSponsor(): NonPayableTransactionObject<[string, string]>; confirmCollectionSponsorship(): NonPayableTransactionObject; contractAddress(): NonPayableTransactionObject; deleteCollectionProperties( keys: string[] ): NonPayableTransactionObject; deleteProperties( tokenId: number | string | BN, keys: string[] ): NonPayableTransactionObject; description(): NonPayableTransactionObject; getApproved( tokenId: number | string | BN ): NonPayableTransactionObject; hasCollectionPendingSponsor(): NonPayableTransactionObject; isApprovedForAll( owner: string, operator: string ): NonPayableTransactionObject; isOwnerOrAdminCross( user: [string, number | string | BN] ): NonPayableTransactionObject; mint(to: string): NonPayableTransactionObject; mintBulkCross( data: [[string, number | string | BN], [string, string | number[]][]][] ): NonPayableTransactionObject; mintCross( to: [string, number | string | BN], properties: [string, string | number[]][] ): NonPayableTransactionObject; mintWithTokenURI( to: string, tokenUri: string ): NonPayableTransactionObject; name(): NonPayableTransactionObject; nextTokenId(): NonPayableTransactionObject; ownerOf(tokenId: number | string | BN): NonPayableTransactionObject; ownerOfCross( tokenId: number | string | BN ): NonPayableTransactionObject<[string, string]>; properties( tokenId: number | string | BN, keys: string[] ): NonPayableTransactionObject<[string, string][]>; property( tokenId: number | string | BN, key: string ): NonPayableTransactionObject; removeCollectionAdminCross( admin: [string, number | string | BN] ): NonPayableTransactionObject; removeCollectionSponsor(): NonPayableTransactionObject; removeFromCollectionAllowListCross( user: [string, number | string | BN] ): NonPayableTransactionObject; "safeTransferFrom(address,address,uint256)"( from: string, to: string, tokenId: number | string | BN ): NonPayableTransactionObject; "safeTransferFrom(address,address,uint256,bytes)"( from: string, to: string, tokenId: number | string | BN, data: string | number[] ): NonPayableTransactionObject; setApprovalForAll( operator: string, approved: boolean ): NonPayableTransactionObject; setCollectionAccess( mode: number | string | BN ): NonPayableTransactionObject; setCollectionLimit( limit: [number | string | BN, [boolean, number | string | BN]] ): NonPayableTransactionObject; setCollectionMintMode(mode: boolean): NonPayableTransactionObject; setCollectionNesting( collectionNestingAndPermissions: [boolean, boolean, string[]] ): NonPayableTransactionObject; setCollectionProperties( properties: [string, string | number[]][] ): NonPayableTransactionObject; setCollectionSponsorCross( sponsor: [string, number | string | BN] ): NonPayableTransactionObject; setProperties( tokenId: number | string | BN, properties: [string, string | number[]][] ): NonPayableTransactionObject; setTokenPropertyPermissions( permissions: [string, [number | string | BN, boolean][]][] ): NonPayableTransactionObject; supportsInterface( interfaceID: string | number[] ): NonPayableTransactionObject; symbol(): NonPayableTransactionObject; tokenByIndex( index: number | string | BN ): NonPayableTransactionObject; tokenOfOwnerByIndex( owner: string, index: number | string | BN ): NonPayableTransactionObject; tokenPropertyPermissions(): NonPayableTransactionObject< [string, [string, boolean][]][] >; tokenURI( tokenId: number | string | BN ): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer( to: string, tokenId: number | string | BN ): NonPayableTransactionObject; transferCross( to: [string, number | string | BN], tokenId: number | string | BN ): NonPayableTransactionObject; transferFrom( from: string, to: string, tokenId: number | string | BN ): NonPayableTransactionObject; transferFromCross( from: [string, number | string | BN], to: [string, number | string | BN], tokenId: number | string | BN ): NonPayableTransactionObject; uniqueCollectionType(): NonPayableTransactionObject; }; events: { Approval(cb?: Callback): EventEmitter; Approval(options?: EventOptions, cb?: Callback): EventEmitter; ApprovalForAll(cb?: Callback): EventEmitter; ApprovalForAll( options?: EventOptions, cb?: Callback ): EventEmitter; TokenChanged(cb?: Callback): EventEmitter; TokenChanged( options?: EventOptions, cb?: Callback ): EventEmitter; Transfer(cb?: Callback): EventEmitter; Transfer(options?: EventOptions, cb?: Callback): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "Approval", cb: Callback): void; once(event: "Approval", options: EventOptions, cb: Callback): void; once(event: "ApprovalForAll", cb: Callback): void; once( event: "ApprovalForAll", options: EventOptions, cb: Callback ): void; once(event: "TokenChanged", cb: Callback): void; once( event: "TokenChanged", options: EventOptions, cb: Callback ): void; once(event: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; }