import { Contract , Signer } from "ethers" ; import { Provider } from "@ethersproject/providers" ; import type { IFlashLiquidationAdapter } from "../IFlashLiquidationAdapter" ; export class IFlashLiquidationAdapter__factory { static connect ( address , signerOrProvider ) { return new Contract ( address , _abi , signerOrProvider ) as IFlashLiquidationAdapter ; } } const _abi = [ { inputs : [ ] , name : "FLASHLOAN_PREMIUM_TOTAL" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ ] , name : "MAX_SLIPPAGE_PERCENT" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ ] , name : "ORACLE" , outputs : [ { internalType : "address" , name : "" , type : "address" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ ] , name : "UNISWAP_ROUTER" , outputs : [ { internalType : "address" , name : "" , type : "address" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ ] , name : "USD_ADDRESS" , outputs : [ { internalType : "address" , name : "" , type : "address" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ ] , name : "WETH_ADDRESS" , outputs : [ { internalType : "address" , name : "" , type : "address" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ { internalType : "uint256" , name : "amountOut" , type : "uint256" , } , { internalType : "address" , name : "reserveIn" , type : "address" , } , { internalType : "address" , name : "reserveOut" , type : "address" , } , ] , name : "getAmountsIn" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "address[]" , name : "" , type : "address[]" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "uint256" , name : "amountIn" , type : "uint256" , } , { internalType : "address" , name : "reserveIn" , type : "address" , } , { internalType : "address" , name : "reserveOut" , type : "address" , } , ] , name : "getAmountsOut" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "uint256" , name : "" , type : "uint256" , } , { internalType : "address[]" , name : "" , type : "address[]" , } , ] , stateMutability : "view" , type : "function" , } , ] ;