UNPKG

@price-oracle/v1-core-interfaces

Version:

Price Oracle v1 Core Interfaces and needed integration files

224 lines (186 loc) 6.03 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type BN from "bn.js"; import type { ContractOptions } from "web3-eth-contract"; import type { EventLog } from "web3-core"; import type { EventEmitter } from "events"; import type { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract, } from "./types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export type CollectMultiplierSet = ContractEventLog<{ _collectMultiplier: string; 0: string; }>; export type GovernanceProposal = ContractEventLog<{ _pendingGovernance: string; 0: string; }>; export type GovernanceSet = ContractEventLog<{ _governance: string; 0: string; }>; export type Keep3rRequirementsSet = ContractEventLog<{ _bond: string; _minBond: string; _earnings: string; _age: string; 0: string; 1: string; 2: string; 3: string; }>; export type Keep3rSet = ContractEventLog<{ _keep3r: string; 0: string; }>; export type PausedSet = ContractEventLog<{ _paused: boolean; 0: boolean; }>; export type WorkedLockManager = ContractEventLog<{ _lockManager: string; _positions: [string, string][]; 0: string; 1: [string, string][]; }>; export type WorkedPoolManager = ContractEventLog<{ _poolManager: string; 0: string; }>; export interface IFeeCollectorJob extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): IFeeCollectorJob; clone(): IFeeCollectorJob; methods: { POOL_MANAGER_FACTORY(): NonPayableTransactionObject<string>; acceptGovernance(): NonPayableTransactionObject<void>; collectMultiplier(): NonPayableTransactionObject<string>; governance(): NonPayableTransactionObject<string>; isPaused(): NonPayableTransactionObject<boolean>; keep3r(): NonPayableTransactionObject<string>; pendingGovernance(): NonPayableTransactionObject<string>; requiredAge(): NonPayableTransactionObject<string>; requiredBond(): NonPayableTransactionObject<string>; requiredEarnings(): NonPayableTransactionObject<string>; requiredMinBond(): NonPayableTransactionObject<string>; setCollectMultiplier( _collectMultiplier: number | string | BN ): NonPayableTransactionObject<void>; setGovernance(_governance: string): NonPayableTransactionObject<void>; setKeep3r(_keep3r: string): NonPayableTransactionObject<void>; setKeep3rRequirements( _bond: string, _minBond: number | string | BN, _earnings: number | string | BN, _age: number | string | BN ): NonPayableTransactionObject<void>; setPaused(_paused: boolean): NonPayableTransactionObject<void>; "work(address)"(_poolManager: string): NonPayableTransactionObject<void>; "work(address,(int24,int24)[])"( _poolManager: string, _positions: [number | string | BN, number | string | BN][] ): NonPayableTransactionObject<void>; }; events: { CollectMultiplierSet(cb?: Callback<CollectMultiplierSet>): EventEmitter; CollectMultiplierSet( options?: EventOptions, cb?: Callback<CollectMultiplierSet> ): EventEmitter; GovernanceProposal(cb?: Callback<GovernanceProposal>): EventEmitter; GovernanceProposal( options?: EventOptions, cb?: Callback<GovernanceProposal> ): EventEmitter; GovernanceSet(cb?: Callback<GovernanceSet>): EventEmitter; GovernanceSet( options?: EventOptions, cb?: Callback<GovernanceSet> ): EventEmitter; Keep3rRequirementsSet(cb?: Callback<Keep3rRequirementsSet>): EventEmitter; Keep3rRequirementsSet( options?: EventOptions, cb?: Callback<Keep3rRequirementsSet> ): EventEmitter; Keep3rSet(cb?: Callback<Keep3rSet>): EventEmitter; Keep3rSet(options?: EventOptions, cb?: Callback<Keep3rSet>): EventEmitter; PausedSet(cb?: Callback<PausedSet>): EventEmitter; PausedSet(options?: EventOptions, cb?: Callback<PausedSet>): EventEmitter; WorkedLockManager(cb?: Callback<WorkedLockManager>): EventEmitter; WorkedLockManager( options?: EventOptions, cb?: Callback<WorkedLockManager> ): EventEmitter; WorkedPoolManager(cb?: Callback<WorkedPoolManager>): EventEmitter; WorkedPoolManager( options?: EventOptions, cb?: Callback<WorkedPoolManager> ): EventEmitter; allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; once(event: "CollectMultiplierSet", cb: Callback<CollectMultiplierSet>): void; once( event: "CollectMultiplierSet", options: EventOptions, cb: Callback<CollectMultiplierSet> ): void; once(event: "GovernanceProposal", cb: Callback<GovernanceProposal>): void; once( event: "GovernanceProposal", options: EventOptions, cb: Callback<GovernanceProposal> ): void; once(event: "GovernanceSet", cb: Callback<GovernanceSet>): void; once( event: "GovernanceSet", options: EventOptions, cb: Callback<GovernanceSet> ): void; once( event: "Keep3rRequirementsSet", cb: Callback<Keep3rRequirementsSet> ): void; once( event: "Keep3rRequirementsSet", options: EventOptions, cb: Callback<Keep3rRequirementsSet> ): void; once(event: "Keep3rSet", cb: Callback<Keep3rSet>): void; once( event: "Keep3rSet", options: EventOptions, cb: Callback<Keep3rSet> ): void; once(event: "PausedSet", cb: Callback<PausedSet>): void; once( event: "PausedSet", options: EventOptions, cb: Callback<PausedSet> ): void; once(event: "WorkedLockManager", cb: Callback<WorkedLockManager>): void; once( event: "WorkedLockManager", options: EventOptions, cb: Callback<WorkedLockManager> ): void; once(event: "WorkedPoolManager", cb: Callback<WorkedPoolManager>): void; once( event: "WorkedPoolManager", options: EventOptions, cb: Callback<WorkedPoolManager> ): void; }