@price-oracle/v1-core-interfaces
Version:
Price Oracle v1 Core Interfaces and needed integration files
50 lines (46 loc) • 1.11 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
IPriceOracleCorrections,
IPriceOracleCorrectionsInterface,
} from "../IPriceOracleCorrections";
const _abi = [
{
inputs: [
{
internalType: "contract IUniswapV3Pool",
name: "_pool",
type: "address",
},
],
name: "isManipulated",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "pure",
type: "function",
},
];
export class IPriceOracleCorrections__factory {
static readonly abi = _abi;
static createInterface(): IPriceOracleCorrectionsInterface {
return new utils.Interface(_abi) as IPriceOracleCorrectionsInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IPriceOracleCorrections {
return new Contract(
address,
_abi,
signerOrProvider
) as IPriceOracleCorrections;
}
}