/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, } from "ethers"; import { Contract, ContractTransaction, Overrides, CallOverrides, } from "@ethersproject/contracts"; import { BytesLike } from "@ethersproject/bytes"; import { Listener, Provider } from "@ethersproject/providers"; import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; interface TestChaoswapRouterInterface extends ethers.utils.Interface { functions: { "chaoswapSwapCallback(int256,int256,bytes)": FunctionFragment; "swapForExact0Multi(address,address,address,uint256)": FunctionFragment; "swapForExact1Multi(address,address,address,uint256)": FunctionFragment; }; encodeFunctionData( functionFragment: "chaoswapSwapCallback", values: [BigNumberish, BigNumberish, BytesLike] ): string; encodeFunctionData( functionFragment: "swapForExact0Multi", values: [string, string, string, BigNumberish] ): string; encodeFunctionData( functionFragment: "swapForExact1Multi", values: [string, string, string, BigNumberish] ): string; decodeFunctionResult( functionFragment: "chaoswapSwapCallback", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "swapForExact0Multi", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "swapForExact1Multi", data: BytesLike ): Result; events: { "SwapCallback(int256,int256)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "SwapCallback"): EventFragment; } export class TestChaoswapRouter extends Contract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; on(event: EventFilter | string, listener: Listener): this; once(event: EventFilter | string, listener: Listener): this; addListener(eventName: EventFilter | string, listener: Listener): this; removeAllListeners(eventName: EventFilter | string): this; removeListener(eventName: any, listener: Listener): this; interface: TestChaoswapRouterInterface; functions: { chaoswapSwapCallback( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; "chaoswapSwapCallback(int256,int256,bytes)"( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; swapForExact0Multi( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact0Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; swapForExact1Multi( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact1Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; }; chaoswapSwapCallback( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; "chaoswapSwapCallback(int256,int256,bytes)"( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; swapForExact0Multi( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact0Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; swapForExact1Multi( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact1Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; callStatic: { chaoswapSwapCallback( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: CallOverrides ): Promise; "chaoswapSwapCallback(int256,int256,bytes)"( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: CallOverrides ): Promise; swapForExact0Multi( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: CallOverrides ): Promise; "swapForExact0Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: CallOverrides ): Promise; swapForExact1Multi( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: CallOverrides ): Promise; "swapForExact1Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: CallOverrides ): Promise; }; filters: { SwapCallback(amount0Delta: null, amount1Delta: null): EventFilter; }; estimateGas: { chaoswapSwapCallback( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; "chaoswapSwapCallback(int256,int256,bytes)"( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; swapForExact0Multi( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact0Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; swapForExact1Multi( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact1Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; }; populateTransaction: { chaoswapSwapCallback( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; "chaoswapSwapCallback(int256,int256,bytes)"( amount0Delta: BigNumberish, amount1Delta: BigNumberish, data: BytesLike, overrides?: Overrides ): Promise; swapForExact0Multi( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact0Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount0Out: BigNumberish, overrides?: Overrides ): Promise; swapForExact1Multi( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; "swapForExact1Multi(address,address,address,uint256)"( recipient: string, poolInput: string, poolOutput: string, amount1Out: BigNumberish, overrides?: Overrides ): Promise; }; }