/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../common"; export type ItUint64Struct = { ciphertext: BigNumberish; signature: BytesLike }; export type ItUint64StructOutput = [ciphertext: bigint, signature: string] & { ciphertext: bigint; signature: string; }; export interface PrivateAuctionInterface extends Interface { getFunction( nameOrSignature: | "auctionEnd" | "beneficiary" | "bid" | "bidCounter" | "claim" | "contractOwner" | "doIHaveHighestBid" | "endTime" | "getBid" | "manuallyStopped" | "stop" | "stoppable" | "tokenContract" | "tokenTransferred" | "withdraw" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "HighestBid" | "Winner"): EventFragment; encodeFunctionData( functionFragment: "auctionEnd", values?: undefined ): string; encodeFunctionData( functionFragment: "beneficiary", values?: undefined ): string; encodeFunctionData(functionFragment: "bid", values: [ItUint64Struct]): string; encodeFunctionData( functionFragment: "bidCounter", values?: undefined ): string; encodeFunctionData(functionFragment: "claim", values?: undefined): string; encodeFunctionData( functionFragment: "contractOwner", values?: undefined ): string; encodeFunctionData( functionFragment: "doIHaveHighestBid", values?: undefined ): string; encodeFunctionData(functionFragment: "endTime", values?: undefined): string; encodeFunctionData(functionFragment: "getBid", values?: undefined): string; encodeFunctionData( functionFragment: "manuallyStopped", values?: undefined ): string; encodeFunctionData(functionFragment: "stop", values?: undefined): string; encodeFunctionData(functionFragment: "stoppable", values?: undefined): string; encodeFunctionData( functionFragment: "tokenContract", values?: undefined ): string; encodeFunctionData( functionFragment: "tokenTransferred", values?: undefined ): string; encodeFunctionData(functionFragment: "withdraw", values?: undefined): string; decodeFunctionResult(functionFragment: "auctionEnd", data: BytesLike): Result; decodeFunctionResult( functionFragment: "beneficiary", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "bid", data: BytesLike): Result; decodeFunctionResult(functionFragment: "bidCounter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; decodeFunctionResult( functionFragment: "contractOwner", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "doIHaveHighestBid", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "endTime", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getBid", data: BytesLike): Result; decodeFunctionResult( functionFragment: "manuallyStopped", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "stop", data: BytesLike): Result; decodeFunctionResult(functionFragment: "stoppable", data: BytesLike): Result; decodeFunctionResult( functionFragment: "tokenContract", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "tokenTransferred", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; } export namespace HighestBidEvent { export type InputTuple = [isHighestBid: BigNumberish]; export type OutputTuple = [isHighestBid: bigint]; export interface OutputObject { isHighestBid: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace WinnerEvent { export type InputTuple = [who: AddressLike]; export type OutputTuple = [who: string]; export interface OutputObject { who: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface PrivateAuction extends BaseContract { connect(runner?: ContractRunner | null): PrivateAuction; waitForDeployment(): Promise; interface: PrivateAuctionInterface; queryFilter( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; queryFilter( filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; on( event: TCEvent, listener: TypedListener ): Promise; on( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; once( event: TCEvent, listener: TypedListener ): Promise; once( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; listeners( event: TCEvent ): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners( event?: TCEvent ): Promise; auctionEnd: TypedContractMethod<[], [void], "nonpayable">; beneficiary: TypedContractMethod<[], [string], "view">; bid: TypedContractMethod<[itBid: ItUint64Struct], [void], "nonpayable">; bidCounter: TypedContractMethod<[], [bigint], "view">; claim: TypedContractMethod<[], [void], "nonpayable">; contractOwner: TypedContractMethod<[], [string], "view">; doIHaveHighestBid: TypedContractMethod<[], [void], "nonpayable">; endTime: TypedContractMethod<[], [bigint], "view">; getBid: TypedContractMethod<[], [bigint], "nonpayable">; manuallyStopped: TypedContractMethod<[], [boolean], "view">; stop: TypedContractMethod<[], [void], "nonpayable">; stoppable: TypedContractMethod<[], [boolean], "view">; tokenContract: TypedContractMethod<[], [string], "view">; tokenTransferred: TypedContractMethod<[], [boolean], "view">; withdraw: TypedContractMethod<[], [void], "nonpayable">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "auctionEnd" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "beneficiary" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "bid" ): TypedContractMethod<[itBid: ItUint64Struct], [void], "nonpayable">; getFunction( nameOrSignature: "bidCounter" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "claim" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "contractOwner" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "doIHaveHighestBid" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "endTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "getBid" ): TypedContractMethod<[], [bigint], "nonpayable">; getFunction( nameOrSignature: "manuallyStopped" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "stop" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "stoppable" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "tokenContract" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "tokenTransferred" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "withdraw" ): TypedContractMethod<[], [void], "nonpayable">; getEvent( key: "HighestBid" ): TypedContractEvent< HighestBidEvent.InputTuple, HighestBidEvent.OutputTuple, HighestBidEvent.OutputObject >; getEvent( key: "Winner" ): TypedContractEvent< WinnerEvent.InputTuple, WinnerEvent.OutputTuple, WinnerEvent.OutputObject >; filters: { "HighestBid(uint256)": TypedContractEvent< HighestBidEvent.InputTuple, HighestBidEvent.OutputTuple, HighestBidEvent.OutputObject >; HighestBid: TypedContractEvent< HighestBidEvent.InputTuple, HighestBidEvent.OutputTuple, HighestBidEvent.OutputObject >; "Winner(address)": TypedContractEvent< WinnerEvent.InputTuple, WinnerEvent.OutputTuple, WinnerEvent.OutputObject >; Winner: TypedContractEvent< WinnerEvent.InputTuple, WinnerEvent.OutputTuple, WinnerEvent.OutputObject >; }; }