UNPKG

@price-oracle/v1-core-interfaces

Version:

Price Oracle v1 Core Interfaces and needed integration files

406 lines (402 loc) 7.63 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 { IPositionMinterJob, IPositionMinterJobInterface, } from "../IPositionMinterJob"; const _abi = [ { inputs: [], name: "InvalidKeeper", type: "error", }, { inputs: [ { internalType: "contract IPoolManager", name: "_poolManager", type: "address", }, ], name: "PositionMinterJob_InvalidPoolManager", type: "error", }, { inputs: [], name: "PriceGovernable_NoGovernanceZeroAddress", type: "error", }, { inputs: [], name: "PriceGovernable_OnlyGovernance", type: "error", }, { inputs: [], name: "PriceGovernable_OnlyPendingGovernance", type: "error", }, { inputs: [], name: "PricePausable_Paused", type: "error", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_pendingGovernance", type: "address", }, ], name: "GovernanceProposal", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_governance", type: "address", }, ], name: "GovernanceSet", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IERC20", name: "_bond", type: "address", }, { indexed: false, internalType: "uint256", name: "_minBond", type: "uint256", }, { indexed: false, internalType: "uint256", name: "_earnings", type: "uint256", }, { indexed: false, internalType: "uint256", name: "_age", type: "uint256", }, ], name: "Keep3rRequirementsSet", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IKeep3r", name: "_keep3r", type: "address", }, ], name: "Keep3rSet", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool", name: "_paused", type: "bool", }, ], name: "PausedSet", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IPoolManager", name: "_poolManager", type: "address", }, ], name: "Worked", type: "event", }, { inputs: [], name: "POOL_MANAGER_FACTORY", outputs: [ { internalType: "contract IPoolManagerFactory", name: "_poolManagerFactory", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "acceptGovernance", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "governance", outputs: [ { internalType: "address", name: "_governance", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "isPaused", outputs: [ { internalType: "bool", name: "_isPaused", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IPoolManager", name: "_poolManager", type: "address", }, ], name: "isWorkable", outputs: [ { internalType: "bool", name: "_workable", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IPoolManager", name: "_poolManager", type: "address", }, { internalType: "address", name: "_keeper", type: "address", }, ], name: "isWorkable", outputs: [ { internalType: "bool", name: "_workable", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "keep3r", outputs: [ { internalType: "contract IKeep3r", name: "_keep3r", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "pendingGovernance", outputs: [ { internalType: "address", name: "_pendingGovernance", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "requiredAge", outputs: [ { internalType: "uint256", name: "_requiredAge", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "requiredBond", outputs: [ { internalType: "contract IERC20", name: "_requiredBond", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "requiredEarnings", outputs: [ { internalType: "uint256", name: "_requiredEarnings", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "requiredMinBond", outputs: [ { internalType: "uint256", name: "_requiredMinBond", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_governance", type: "address", }, ], name: "setGovernance", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IKeep3r", name: "_keep3r", type: "address", }, ], name: "setKeep3r", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IERC20", name: "_bond", type: "address", }, { internalType: "uint256", name: "_minBond", type: "uint256", }, { internalType: "uint256", name: "_earnings", type: "uint256", }, { internalType: "uint256", name: "_age", type: "uint256", }, ], name: "setKeep3rRequirements", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "_paused", type: "bool", }, ], name: "setPaused", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IPoolManager", name: "_poolManager", type: "address", }, ], name: "work", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class IPositionMinterJob__factory { static readonly abi = _abi; static createInterface(): IPositionMinterJobInterface { return new utils.Interface(_abi) as IPositionMinterJobInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IPositionMinterJob { return new Contract(address, _abi, signerOrProvider) as IPositionMinterJob; } }