/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import BN from "bn.js"; import Contract, { contractOptions } from "web3/eth/contract"; import { EventLog, Callback, EventEmitter } from "web3/types"; import { TransactionObject, BlockType } from "web3/eth/types"; import { ContractEvent } from "./types"; interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export class Migrations extends Contract { constructor( jsonInterface: any[], address?: string, options?: contractOptions ); clone(): Migrations; methods: { setCompleted(completed: number | string): TransactionObject; upgrade(new_address: string): TransactionObject; last_completed_migration(): TransactionObject; owner(): TransactionObject; }; events: { allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }