import { TypedEventFilter , TypedEvent , TypedListener , OnEvent } from "./common" ; import { FunctionFragment , Result , EventFragment } from "@ethersproject/abi" ; import { Listener , Provider } from "@ethersproject/providers" ; import { BaseContract , BigNumber , BytesLike , CallOverrides , ContractTransaction , Overrides , PopulatedTransaction , Signer , utils , } from "ethers" ; export interface OwnableInterface extends utils . Interface { functions : { "owner()" : FunctionFragment ; "renounceOwnership()" : FunctionFragment ; "transferOwnership(address)" : FunctionFragment ; } ; encodeFunctionData ( functionFragment , values ? ) : string ; encodeFunctionData ( functionFragment , values ? ) : string ; encodeFunctionData ( functionFragment , values ) : string ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; events : { "OwnershipTransferred(address,address)" : EventFragment ; } ; getEvent ( nameOrSignatureOrTopic ) : EventFragment ; } export type OwnershipTransferredEvent = TypedEvent < [ string , string ] , { previousOwner : string ; newOwner : string ; } > ; export type OwnershipTransferredEventFilter = TypedEventFilter < OwnershipTransferredEvent > ; export interface Ownable extends BaseContract { connect ( signerOrProvider ) : this ; attach ( addressOrName ) : this ; deployed ( ) : Promise < this > ; interface : OwnableInterface ; queryFilter < TEvent extends TypedEvent > ( event , fromBlockOrBlockhash ? , toBlock ? ) : Promise < Array < TEvent > > ; listeners < TEvent extends TypedEvent > ( eventFilter ? ) : Array < TypedListener < TEvent > > ; listeners ( eventName ? ) : Array < Listener > ; removeAllListeners < TEvent extends TypedEvent > ( eventFilter ) : this ; removeAllListeners ( eventName ? ) : this ; off : OnEvent < this > ; on : OnEvent < this > ; once : OnEvent < this > ; removeListener : OnEvent < this > ; functions : { owner ( overrides ? ) : Promise < [ string ] > ; renounceOwnership ( overrides ? ) : Promise < ContractTransaction > ; transferOwnership ( newOwner , overrides ? ) : Promise < ContractTransaction > ; } ; owner ( overrides ? ) : Promise < string > ; renounceOwnership ( overrides ? ) : Promise < ContractTransaction > ; transferOwnership ( newOwner , overrides ? ) : Promise < ContractTransaction > ; callStatic : { owner ( overrides ? ) : Promise < string > ; renounceOwnership ( overrides ? ) : Promise < void > ; transferOwnership ( newOwner , overrides ? ) : Promise < void > ; } ; filters : { "OwnershipTransferred(address,address)" ( previousOwner ? , newOwner ? ) : OwnershipTransferredEventFilter ; OwnershipTransferred ( previousOwner ? , newOwner ? ) : OwnershipTransferredEventFilter ; } ; estimateGas : { owner ( overrides ? ) : Promise < BigNumber > ; renounceOwnership ( overrides ? ) : Promise < BigNumber > ; transferOwnership ( newOwner , overrides ? ) : Promise < BigNumber > ; } ; populateTransaction : { owner ( overrides ? ) : Promise < PopulatedTransaction > ; renounceOwnership ( overrides ? ) : Promise < PopulatedTransaction > ; transferOwnership ( newOwner , overrides ? ) : Promise < PopulatedTransaction > ; } ; }