/* 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 CollectionChanged = ContractEventLog<{ collectionId: string; 0: string; }>; export type CollectionCreated = ContractEventLog<{ owner: string; collectionId: string; 0: string; 1: string; }>; export type CollectionDestroyed = ContractEventLog<{ collectionId: string; 0: string; }>; export interface CollectionHelpers extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): CollectionHelpers; clone(): CollectionHelpers; methods: { collectionAddress( collectionId: number | string | BN ): NonPayableTransactionObject; collectionCreationFee(): NonPayableTransactionObject; collectionId( collectionAddress: string ): NonPayableTransactionObject; createCollection( data: [ string, string, string, number | string | BN, number | string | BN, [string, string | number[]][], [string, [number | string | BN, boolean][]][], [string, number | string | BN][], [boolean, boolean, string[]], [number | string | BN, number | string | BN][], [string, number | string | BN], number | string | BN ] ): PayableTransactionObject; createFTCollection( name: string, decimals: number | string | BN, description: string, tokenPrefix: string ): PayableTransactionObject; createNFTCollection( name: string, description: string, tokenPrefix: string ): PayableTransactionObject; createRFTCollection( name: string, description: string, tokenPrefix: string ): PayableTransactionObject; destroyCollection( collectionAddress: string ): NonPayableTransactionObject; isCollectionExist( collectionAddress: string ): NonPayableTransactionObject; makeCollectionERC721MetadataCompatible( collection: string, baseUri: string ): NonPayableTransactionObject; supportsInterface( interfaceID: string | number[] ): NonPayableTransactionObject; }; events: { CollectionChanged(cb?: Callback): EventEmitter; CollectionChanged( options?: EventOptions, cb?: Callback ): EventEmitter; CollectionCreated(cb?: Callback): EventEmitter; CollectionCreated( options?: EventOptions, cb?: Callback ): EventEmitter; CollectionDestroyed(cb?: Callback): EventEmitter; CollectionDestroyed( options?: EventOptions, cb?: Callback ): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "CollectionChanged", cb: Callback): void; once( event: "CollectionChanged", options: EventOptions, cb: Callback ): void; once(event: "CollectionCreated", cb: Callback): void; once( event: "CollectionCreated", options: EventOptions, cb: Callback ): void; once(event: "CollectionDestroyed", cb: Callback): void; once( event: "CollectionDestroyed", options: EventOptions, cb: Callback ): void; }