UNPKG

@price-oracle/v1-core-interfaces

Version:

Price Oracle v1 Core Interfaces and needed integration files

158 lines (154 loc) 2.99 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 { IPricePausable, IPricePausableInterface, } from "../IPricePausable"; const _abi = [ { 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: "bool", name: "_paused", type: "bool", }, ], name: "PausedSet", type: "event", }, { 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: [], name: "pendingGovernance", outputs: [ { internalType: "address", name: "_pendingGovernance", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_governance", type: "address", }, ], name: "setGovernance", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "_paused", type: "bool", }, ], name: "setPaused", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class IPricePausable__factory { static readonly abi = _abi; static createInterface(): IPricePausableInterface { return new utils.Interface(_abi) as IPricePausableInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IPricePausable { return new Contract(address, _abi, signerOrProvider) as IPricePausable; } }