/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../../common"; export interface IControllerToolshedInterface extends Interface { getFunction( nameOrSignature: | "acceptOwnership" | "getContractProxy" | "getGovernor" | "governor" | "partialPaused" | "paused" | "pendingGovernor" | "setContractProxy" | "setPartialPaused" | "setPauseGuardian" | "setPaused" | "transferOwnership" | "unsetContractProxy" | "updateController" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: "NewOwnership" | "NewPendingOwnership" ): EventFragment; encodeFunctionData( functionFragment: "acceptOwnership", values?: undefined ): string; encodeFunctionData( functionFragment: "getContractProxy", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "getGovernor", values?: undefined ): string; encodeFunctionData(functionFragment: "governor", values?: undefined): string; encodeFunctionData( functionFragment: "partialPaused", values?: undefined ): string; encodeFunctionData(functionFragment: "paused", values?: undefined): string; encodeFunctionData( functionFragment: "pendingGovernor", values?: undefined ): string; encodeFunctionData( functionFragment: "setContractProxy", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "setPartialPaused", values: [boolean] ): string; encodeFunctionData( functionFragment: "setPauseGuardian", values: [AddressLike] ): string; encodeFunctionData(functionFragment: "setPaused", values: [boolean]): string; encodeFunctionData( functionFragment: "transferOwnership", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "unsetContractProxy", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "updateController", values: [BytesLike, AddressLike] ): string; decodeFunctionResult( functionFragment: "acceptOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getContractProxy", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getGovernor", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result; decodeFunctionResult( functionFragment: "partialPaused", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result; decodeFunctionResult( functionFragment: "pendingGovernor", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setContractProxy", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setPartialPaused", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setPauseGuardian", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "setPaused", data: BytesLike): Result; decodeFunctionResult( functionFragment: "transferOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "unsetContractProxy", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "updateController", data: BytesLike ): Result; } export namespace NewOwnershipEvent { export type InputTuple = [from: AddressLike, to: AddressLike]; export type OutputTuple = [from: string, to: string]; export interface OutputObject { from: string; to: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace NewPendingOwnershipEvent { export type InputTuple = [from: AddressLike, to: AddressLike]; export type OutputTuple = [from: string, to: string]; export interface OutputObject { from: string; to: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface IControllerToolshed extends BaseContract { connect(runner?: ContractRunner | null): IControllerToolshed; waitForDeployment(): Promise; interface: IControllerToolshedInterface; queryFilter( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; queryFilter( filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; on( event: TCEvent, listener: TypedListener ): Promise; on( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; once( event: TCEvent, listener: TypedListener ): Promise; once( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; listeners( event: TCEvent ): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners( event?: TCEvent ): Promise; acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; getContractProxy: TypedContractMethod<[id: BytesLike], [string], "view">; getGovernor: TypedContractMethod<[], [string], "view">; governor: TypedContractMethod<[], [string], "view">; partialPaused: TypedContractMethod<[], [boolean], "view">; paused: TypedContractMethod<[], [boolean], "view">; pendingGovernor: TypedContractMethod<[], [string], "view">; setContractProxy: TypedContractMethod< [id: BytesLike, contractAddress: AddressLike], [void], "nonpayable" >; setPartialPaused: TypedContractMethod< [partialPause: boolean], [void], "nonpayable" >; setPauseGuardian: TypedContractMethod< [newPauseGuardian: AddressLike], [void], "nonpayable" >; setPaused: TypedContractMethod<[pause: boolean], [void], "nonpayable">; transferOwnership: TypedContractMethod< [newGovernor: AddressLike], [void], "nonpayable" >; unsetContractProxy: TypedContractMethod< [id: BytesLike], [void], "nonpayable" >; updateController: TypedContractMethod< [id: BytesLike, controller: AddressLike], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "acceptOwnership" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "getContractProxy" ): TypedContractMethod<[id: BytesLike], [string], "view">; getFunction( nameOrSignature: "getGovernor" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "governor" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "partialPaused" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "paused" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "pendingGovernor" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "setContractProxy" ): TypedContractMethod< [id: BytesLike, contractAddress: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "setPartialPaused" ): TypedContractMethod<[partialPause: boolean], [void], "nonpayable">; getFunction( nameOrSignature: "setPauseGuardian" ): TypedContractMethod<[newPauseGuardian: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "setPaused" ): TypedContractMethod<[pause: boolean], [void], "nonpayable">; getFunction( nameOrSignature: "transferOwnership" ): TypedContractMethod<[newGovernor: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "unsetContractProxy" ): TypedContractMethod<[id: BytesLike], [void], "nonpayable">; getFunction( nameOrSignature: "updateController" ): TypedContractMethod< [id: BytesLike, controller: AddressLike], [void], "nonpayable" >; getEvent( key: "NewOwnership" ): TypedContractEvent< NewOwnershipEvent.InputTuple, NewOwnershipEvent.OutputTuple, NewOwnershipEvent.OutputObject >; getEvent( key: "NewPendingOwnership" ): TypedContractEvent< NewPendingOwnershipEvent.InputTuple, NewPendingOwnershipEvent.OutputTuple, NewPendingOwnershipEvent.OutputObject >; filters: { "NewOwnership(address,address)": TypedContractEvent< NewOwnershipEvent.InputTuple, NewOwnershipEvent.OutputTuple, NewOwnershipEvent.OutputObject >; NewOwnership: TypedContractEvent< NewOwnershipEvent.InputTuple, NewOwnershipEvent.OutputTuple, NewOwnershipEvent.OutputObject >; "NewPendingOwnership(address,address)": TypedContractEvent< NewPendingOwnershipEvent.InputTuple, NewPendingOwnershipEvent.OutputTuple, NewPendingOwnershipEvent.OutputObject >; NewPendingOwnership: TypedContractEvent< NewPendingOwnershipEvent.InputTuple, NewPendingOwnershipEvent.OutputTuple, NewPendingOwnershipEvent.OutputObject >; }; }