import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; import type { FunctionFragment, Result } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; export interface NativeSwapInterface extends utils.Interface { functions: { "hashValues(bytes32,uint256,address,address,uint256)": FunctionFragment; "swaps(bytes32)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "hashValues" | "swaps"): FunctionFragment; encodeFunctionData(functionFragment: "hashValues", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "swaps", values: [PromiseOrValue]): string; decodeFunctionResult(functionFragment: "hashValues", data: BytesLike): Result; decodeFunctionResult(functionFragment: "swaps", data: BytesLike): Result; events: {}; } export interface NativeSwap extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: NativeSwapInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { hashValues(preimageHash: PromiseOrValue, amount: PromiseOrValue, claimAddress: PromiseOrValue, refundAddress: PromiseOrValue, timelock: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; swaps(arg0: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; hashValues(preimageHash: PromiseOrValue, amount: PromiseOrValue, claimAddress: PromiseOrValue, refundAddress: PromiseOrValue, timelock: PromiseOrValue, overrides?: CallOverrides): Promise; swaps(arg0: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; callStatic: { hashValues(preimageHash: PromiseOrValue, amount: PromiseOrValue, claimAddress: PromiseOrValue, refundAddress: PromiseOrValue, timelock: PromiseOrValue, overrides?: CallOverrides): Promise; swaps(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: {}; estimateGas: { hashValues(preimageHash: PromiseOrValue, amount: PromiseOrValue, claimAddress: PromiseOrValue, refundAddress: PromiseOrValue, timelock: PromiseOrValue, overrides?: CallOverrides): Promise; swaps(arg0: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; populateTransaction: { hashValues(preimageHash: PromiseOrValue, amount: PromiseOrValue, claimAddress: PromiseOrValue, refundAddress: PromiseOrValue, timelock: PromiseOrValue, overrides?: CallOverrides): Promise; swaps(arg0: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; }