12345import type BN from "bn.js";6import type { ContractOptions } from "web3-eth-contract";7import type { EventLog } from "web3-core";8import type { EventEmitter } from "events";9import type {10 Callback,11 PayableTransactionObject,12 NonPayableTransactionObject,13 BlockType,14 ContractEventLog,15 BaseContract,16} from "./types";1718export interface EventOptions {19 filter?: object;20 fromBlock?: BlockType;21 topics?: string[];22}2324export type MintToSub = ContractEventLog<{25 _toEth: string;26 _toSub: string;27 _collection: string;28 _tokenId: string;29 0: string;30 1: string;31 2: string;32 3: string;33}>;3435export interface EvmToSubstrate extends BaseContract {36 constructor(37 jsonInterface: any[],38 address?: string,39 options?: ContractOptions40 ): EvmToSubstrate;41 clone(): EvmToSubstrate;42 methods: {43 mintToSubstrate(44 _collection: string,45 _substrateReceiver: number | string | BN46 ): NonPayableTransactionObject<void>;4748 mintToSubstrateWithProperty(49 _collection: string,50 _substrateReceiver: number | string | BN,51 properties: [string, string | number[]][]52 ): NonPayableTransactionObject<void>;53 };54 events: {55 MintToSub(cb?: Callback<MintToSub>): EventEmitter;56 MintToSub(options?: EventOptions, cb?: Callback<MintToSub>): EventEmitter;5758 allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;59 };6061 once(event: "MintToSub", cb: Callback<MintToSub>): void;62 once(63 event: "MintToSub",64 options: EventOptions,65 cb: Callback<MintToSub>66 ): void;67}