UNPKG

@price-oracle/v1-core-interfaces

Version:

Price Oracle v1 Core Interfaces and needed integration files

101 lines (97 loc) 2.4 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { ILockManagerFactory, ILockManagerFactoryInterface, } from "../ILockManagerFactory"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "contract ILockManager", name: "_lockManager", type: "address", }, ], name: "LockManagerCreated", type: "event", }, { inputs: [ { components: [ { internalType: "contract IPoolManagerFactory", name: "factory", type: "address", }, { internalType: "contract IStrategy", name: "strategy", type: "address", }, { internalType: "contract IERC20", name: "token", type: "address", }, { internalType: "contract IUniswapV3Pool", name: "pool", type: "address", }, { internalType: "bool", name: "isWethToken0", type: "bool", }, { internalType: "uint24", name: "fee", type: "uint24", }, { internalType: "address", name: "governance", type: "address", }, { internalType: "uint256", name: "index", type: "uint256", }, ], internalType: "struct IPoolManager.LockManagerParams", name: "_lockManagerParams", type: "tuple", }, ], name: "createLockManager", outputs: [ { internalType: "contract ILockManager", name: "_lockManager", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, ]; export class ILockManagerFactory__factory { static readonly abi = _abi; static createInterface(): ILockManagerFactoryInterface { return new utils.Interface(_abi) as ILockManagerFactoryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): ILockManagerFactory { return new Contract(address, _abi, signerOrProvider) as ILockManagerFactory; } }