/// import BN from "bn.js"; import { ContractOptions } from "web3-eth-contract"; import { EventLog } from "web3-core"; import { EventEmitter } from "events"; import { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export declare type DepositNFTAndMintToken = ContractEventLog<{ nftId: string; 0: string; }>; export declare type BurnTokenAndWithdrawNFT = ContractEventLog<{ nftId: string; 0: string; }>; export declare type Transfer = ContractEventLog<{ from: string; to: string; value: string; 0: string; 1: string; 2: string; }>; export declare type Approval = ContractEventLog<{ owner: string; spender: string; value: string; 0: string; 1: string; 2: string; }>; export interface WrappedNFTAbi extends BaseContract { constructor(jsonInterface: any[], address?: string, options?: ContractOptions): WrappedNFTAbi; clone(): WrappedNFTAbi; methods: { burnTokensAndWithdrawNfts(_nftIds: (number | string | BN)[], _destinationAddresses: string[]): NonPayableTransactionObject; name(): NonPayableTransactionObject; approve(spender: string, value: number | string | BN): NonPayableTransactionObject; onERC721Received(_operator: string, _from: string, _tokenId: number | string | BN, _data: string | number[]): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; batchRemoveWithdrawnNFTsFromStorage(_numSlotsToCheck: number | string | BN): NonPayableTransactionObject; transferFrom(from: string, to: string, value: number | string | BN): NonPayableTransactionObject; decimals(): NonPayableTransactionObject; wyvernTokenTransferProxyAddress(): NonPayableTransactionObject; uniswapFactoryAddress(): NonPayableTransactionObject; increaseAllowance(spender: string, addedValue: number | string | BN): NonPayableTransactionObject; balanceOf(owner: string): NonPayableTransactionObject; nftIsDepositedInContract(arg0: number | string | BN): NonPayableTransactionObject; symbol(): NonPayableTransactionObject; depositNftsAndMintTokens(_nftIds: (number | string | BN)[]): NonPayableTransactionObject; decreaseAllowance(spender: string, subtractedValue: number | string | BN): NonPayableTransactionObject; transfer(to: string, value: number | string | BN): NonPayableTransactionObject; allowance(owner: string, spender: string): NonPayableTransactionObject; nftCoreAddress(): NonPayableTransactionObject; wrappedNFTLiquidationProxyAddress(): NonPayableTransactionObject; }; events: { DepositNFTAndMintToken(cb?: Callback): EventEmitter; DepositNFTAndMintToken(options?: EventOptions, cb?: Callback): EventEmitter; BurnTokenAndWithdrawNFT(cb?: Callback): EventEmitter; BurnTokenAndWithdrawNFT(options?: EventOptions, cb?: Callback): EventEmitter; Transfer(cb?: Callback): EventEmitter; Transfer(options?: EventOptions, cb?: Callback): EventEmitter; Approval(cb?: Callback): EventEmitter; Approval(options?: EventOptions, cb?: Callback): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "DepositNFTAndMintToken", cb: Callback): void; once(event: "DepositNFTAndMintToken", options: EventOptions, cb: Callback): void; once(event: "BurnTokenAndWithdrawNFT", cb: Callback): void; once(event: "BurnTokenAndWithdrawNFT", options: EventOptions, cb: Callback): void; once(event: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; once(event: "Approval", cb: Callback): void; once(event: "Approval", options: EventOptions, cb: Callback): void; }