/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { EventData, PastEventOptions } from "../Web3Types"; export interface OwnableContract extends Truffle.Contract { "new"(meta?: Truffle.TransactionDetails): Promise; } export interface OwnershipTransferred { name: "OwnershipTransferred"; args: { previousOwner: string; newOwner: string; 0: string; 1: string; }; } type AllEvents = OwnershipTransferred; export interface OwnableInstance extends Truffle.ContractInstance { /** * Returns the address of the current owner. */ owner(txDetails?: Truffle.TransactionDetails): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership: { (txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call(txDetails?: Truffle.TransactionDetails): Promise; sendTransaction(txDetails?: Truffle.TransactionDetails): Promise; estimateGas(txDetails?: Truffle.TransactionDetails): Promise; }; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership: { (newOwner: string, txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call( newOwner: string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( newOwner: string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( newOwner: string, txDetails?: Truffle.TransactionDetails ): Promise; }; methods: { /** * Returns the address of the current owner. */ owner(txDetails?: Truffle.TransactionDetails): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership: { (txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call(txDetails?: Truffle.TransactionDetails): Promise; sendTransaction(txDetails?: Truffle.TransactionDetails): Promise; estimateGas(txDetails?: Truffle.TransactionDetails): Promise; }; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership: { (newOwner: string, txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call( newOwner: string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( newOwner: string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( newOwner: string, txDetails?: Truffle.TransactionDetails ): Promise; }; }; getPastEvents(event: string): Promise; getPastEvents( event: string, options: PastEventOptions, callback: (error: Error, event: EventData) => void ): Promise; getPastEvents(event: string, options: PastEventOptions): Promise; getPastEvents( event: string, callback: (error: Error, event: EventData) => void ): Promise; }