/* 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 MintingFinished = ContractEventLog<{}>; export type Transfer = ContractEventLog<{ from: string; to: string; tokenId: string; 0: string; 1: string; 2: string; }>; export interface UniqueRefungible extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): UniqueRefungible; clone(): UniqueRefungible; methods: { addCollectionAdmin(newAdmin: string): NonPayableTransactionObject; addToCollectionAllowList(user: string): NonPayableTransactionObject; allowed(user: string): NonPayableTransactionObject; approve( approved: string, tokenId: number | string | BN ): NonPayableTransactionObject; balanceOf(owner: string): NonPayableTransactionObject; burn(tokenId: number | string | BN): NonPayableTransactionObject; burnFrom( from: string, tokenId: number | string | BN ): NonPayableTransactionObject; changeCollectionOwner(newOwner: string): NonPayableTransactionObject; collectionOwner(): NonPayableTransactionObject<[string, string]>; collectionProperty(key: string): NonPayableTransactionObject; collectionSponsor(): NonPayableTransactionObject<[string, string]>; confirmCollectionSponsorship(): NonPayableTransactionObject; contractAddress(): NonPayableTransactionObject; deleteCollectionProperty(key: string): NonPayableTransactionObject; deleteProperty( tokenId: number | string | BN, key: string ): NonPayableTransactionObject; finishMinting(): NonPayableTransactionObject; getApproved( tokenId: number | string | BN ): NonPayableTransactionObject; hasCollectionPendingSponsor(): NonPayableTransactionObject; isApprovedForAll( owner: string, operator: string ): NonPayableTransactionObject; isOwnerOrAdmin(user: string): NonPayableTransactionObject; mint(to: string): NonPayableTransactionObject; mintWithTokenURI( to: string, tokenUri: string ): NonPayableTransactionObject; mintingFinished(): NonPayableTransactionObject; name(): NonPayableTransactionObject; nextTokenId(): NonPayableTransactionObject; ownerOf(tokenId: number | string | BN): NonPayableTransactionObject; property( tokenId: number | string | BN, key: string ): NonPayableTransactionObject; removeCollectionAdmin(admin: string): NonPayableTransactionObject; removeCollectionSponsor(): NonPayableTransactionObject; removeFromCollectionAllowList( user: string ): NonPayableTransactionObject; safeTransferFrom( from: string, to: string, tokenId: number | string | BN ): NonPayableTransactionObject; safeTransferFromWithData( 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(string,uint32)"( limit: string, value: number | string | BN ): NonPayableTransactionObject; "setCollectionLimit(string,bool)"( limit: string, value: boolean ): NonPayableTransactionObject; setCollectionMintMode(mode: boolean): NonPayableTransactionObject; "setCollectionNesting(bool)"( enable: boolean ): NonPayableTransactionObject; "setCollectionNesting(bool,address[])"( enable: boolean, collections: string[] ): NonPayableTransactionObject; setCollectionProperty( key: string, value: string | number[] ): NonPayableTransactionObject; setCollectionSponsor(sponsor: string): NonPayableTransactionObject; setProperty( tokenId: number | string | BN, key: string, value: string | number[] ): NonPayableTransactionObject; setTokenPropertyPermission( key: string, isMutable: boolean, collectionAdmin: boolean, tokenOwner: boolean ): NonPayableTransactionObject; supportsInterface( interfaceID: string | number[] ): NonPayableTransactionObject; symbol(): NonPayableTransactionObject; tokenByIndex( index: number | string | BN ): NonPayableTransactionObject; tokenContractAddress( token: number | string | BN ): NonPayableTransactionObject; tokenOfOwnerByIndex( owner: string, index: number | string | BN ): NonPayableTransactionObject; tokenURI( tokenId: number | string | BN ): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer( to: string, tokenId: number | string | BN ): NonPayableTransactionObject; transferFrom( from: string, to: string, 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; MintingFinished(cb?: Callback): EventEmitter; MintingFinished( 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: "MintingFinished", cb: Callback): void; once( event: "MintingFinished", options: EventOptions, cb: Callback ): void; once(event: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; }