/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import Contract, { CustomOptions, contractOptions } from "web3/eth/contract"; import { TransactionObject, BlockType } from "web3/eth/types"; import { Callback, EventLog } from "web3/types"; import { EventEmitter } from "events"; import { Provider } from "web3/providers"; export class DaiPriceOracle { constructor(jsonInterface: any[], address?: string, options?: CustomOptions); _address: string; options: contractOptions; methods: { DEVIATION_PARAMS(): TransactionObject<{ denominator: string; maximumPerSecond: string; maximumAbsolute: string; 0: string; 1: string; 2: string; }>; g_priceInfo(): TransactionObject<{ price: string; lastUpdate: string; 0: string; 1: string; }>; getPrice(arg0: string): TransactionObject<{ value: string }>; renounceOwnership(): TransactionObject; transferOwnership(newOwner: string): TransactionObject; ownerSetPokerAddress(newPoker: string): TransactionObject; updatePrice( minimum: { value: number | string }, maximum: { value: number | string } ): TransactionObject<{ price: string; lastUpdate: string }>; UNISWAP_USDC_ETH(): TransactionObject; UNISWAP_DAI_ETH(): TransactionObject; CURVE(): TransactionObject; ONE_DOLLAR(): TransactionObject; g_poker(): TransactionObject; owner(): TransactionObject; isOwner(): TransactionObject; WETH(): TransactionObject; DAI(): TransactionObject; getBoundedTargetPrice(): TransactionObject<{ value: string }>; getTargetPrice(): TransactionObject<{ value: string }>; getCurvePrice(): TransactionObject; getUniswapPrice(): TransactionObject; }; deploy(options: { data: string; arguments: any[]; }): TransactionObject; events: { PriceSet( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback ): EventEmitter; OwnershipTransferred( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback ): EventEmitter; allEvents: ( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback ) => EventEmitter; }; getPastEvents( event: string, options?: { filter?: object; fromBlock?: BlockType; toBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback ): Promise; setProvider(provider: Provider): void; clone(): DaiPriceOracle; }