/* 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: { addCollectionAdminCross( newAdmin: [string, number | string | BN] ): NonPayableTransactionObject; addToCollectionAllowListCross( user: [string, number | string | BN] ): NonPayableTransactionObject; allowance( owner: string, spender: string ): NonPayableTransactionObject; allowanceCross( owner: [string, number | string | BN], spender: [string, number | string | BN] ): NonPayableTransactionObject; allowlistedCross( user: [string, number | string | BN] ): NonPayableTransactionObject; approve( spender: string, amount: number | string | BN ): NonPayableTransactionObject; approveCross( spender: [string, number | string | BN], amount: number | string | BN ): NonPayableTransactionObject; balanceOf(owner: string): NonPayableTransactionObject; balanceOfCross( owner: [string, number | string | BN] ): NonPayableTransactionObject; burnFromCross( from: [string, number | string | BN], amount: 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; decimals(): NonPayableTransactionObject; deleteCollectionProperties( keys: string[] ): NonPayableTransactionObject; description(): NonPayableTransactionObject; hasCollectionPendingSponsor(): NonPayableTransactionObject; isOwnerOrAdminCross( user: [string, number | string | BN] ): NonPayableTransactionObject; mint( to: string, amount: number | string | BN ): NonPayableTransactionObject; mintBulk( amounts: [string, number | string | BN][] ): NonPayableTransactionObject; mintCross( to: [string, number | string | BN], amount: number | string | BN ): NonPayableTransactionObject; name(): NonPayableTransactionObject; removeCollectionAdminCross( admin: [string, number | string | BN] ): NonPayableTransactionObject; removeCollectionSponsor(): NonPayableTransactionObject; removeFromCollectionAllowListCross( user: [string, number | string | BN] ): 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; supportsInterface( interfaceID: string | number[] ): NonPayableTransactionObject; symbol(): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer( to: string, amount: number | string | BN ): NonPayableTransactionObject; transferCross( to: [string, number | string | BN], amount: number | string | BN ): NonPayableTransactionObject; transferFrom( from: string, to: string, amount: number | string | BN ): NonPayableTransactionObject; transferFromCross( from: [string, number | string | BN], to: [string, number | string | BN], 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; }