/* 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; spender: string; value: string; 0: string; 1: string; 2: string; }>; export type Transfer = ContractEventLog<{ from: string; to: string; value: string; 0: string; 1: string; 2: string; }>; export interface UniqueFungible extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): UniqueFungible; clone(): UniqueFungible; methods: { addCollectionAdmin(newAdmin: string): NonPayableTransactionObject; addToCollectionAllowList(user: string): NonPayableTransactionObject; allowance( owner: string, spender: string ): NonPayableTransactionObject; allowed(user: string): NonPayableTransactionObject; approve( spender: string, amount: number | string | BN ): NonPayableTransactionObject; balanceOf(owner: string): NonPayableTransactionObject; burnFrom( from: string, amount: number | string | BN ): NonPayableTransactionObject; changeCollectionOwner(newOwner: string): NonPayableTransactionObject; collectionOwner(): NonPayableTransactionObject<[string, string]>; collectionProperty(key: string): NonPayableTransactionObject; collectionSponsor(): NonPayableTransactionObject<[string, string]>; confirmCollectionSponsorship(): NonPayableTransactionObject; contractAddress(): NonPayableTransactionObject; decimals(): NonPayableTransactionObject; deleteCollectionProperty(key: string): NonPayableTransactionObject; hasCollectionPendingSponsor(): NonPayableTransactionObject; isOwnerOrAdmin(user: string): NonPayableTransactionObject; mint( to: string, amount: number | string | BN ): NonPayableTransactionObject; mintBulk( amounts: [string, number | string | BN][] ): NonPayableTransactionObject; name(): NonPayableTransactionObject; removeCollectionAdmin(admin: string): NonPayableTransactionObject; removeCollectionSponsor(): NonPayableTransactionObject; removeFromCollectionAllowList( user: string ): 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; supportsInterface( interfaceID: string | number[] ): NonPayableTransactionObject; symbol(): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer( to: string, amount: number | string | BN ): NonPayableTransactionObject; transferFrom( from: string, to: string, amount: number | string | BN ): NonPayableTransactionObject; uniqueCollectionType(): NonPayableTransactionObject; }; events: { Approval(cb?: Callback): EventEmitter; Approval(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: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; }