@price-oracle/v1-core-interfaces
Version:
Price Oracle v1 Core Interfaces and needed integration files
68 lines (64 loc) • 1.49 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 {
IPoolManagerDeployer,
IPoolManagerDeployerInterface,
} from "../IPoolManagerDeployer";
const _abi = [
{
inputs: [],
name: "PoolManagerDeployer_OnlyPoolManagerFactory",
type: "error",
},
{
inputs: [],
name: "POOL_MANAGER_FACTORY",
outputs: [
{
internalType: "contract IPoolManagerFactory",
name: "_poolManagerFactory",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "contract IUniswapV3Pool",
name: "_pool",
type: "address",
},
],
name: "deployPoolManager",
outputs: [
{
internalType: "contract IPoolManager",
name: "_poolManager",
type: "address",
},
],
stateMutability: "nonpayable",
type: "function",
},
];
export class IPoolManagerDeployer__factory {
static readonly abi = _abi;
static createInterface(): IPoolManagerDeployerInterface {
return new utils.Interface(_abi) as IPoolManagerDeployerInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IPoolManagerDeployer {
return new Contract(
address,
_abi,
signerOrProvider
) as IPoolManagerDeployer;
}
}