import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common"; export interface MockBluePrintInterface extends Interface { getFunction(nameOrSignature: "approve" | "createOneTimeTicket" | "delegatecall" | "execute" | "executeUnsafe" | "initialize" | "multicall" | "oneTimeTickets" | "owner" | "revokeOneTimeTicket" | "upgradedToMockBluePrint"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Executed" | "Initialized"): EventFragment; encodeFunctionData(functionFragment: "approve", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "createOneTimeTicket", values: [AddressLike]): string; encodeFunctionData(functionFragment: "delegatecall", values: [AddressLike, BytesLike]): string; encodeFunctionData(functionFragment: "execute", values: [AddressLike, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: "executeUnsafe", values: [AddressLike, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string; encodeFunctionData(functionFragment: "multicall", values: [AddressLike[], BigNumberish[], BytesLike[]]): string; encodeFunctionData(functionFragment: "oneTimeTickets", values: [AddressLike]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "revokeOneTimeTicket", values: [AddressLike]): string; encodeFunctionData(functionFragment: "upgradedToMockBluePrint", values?: undefined): string; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "createOneTimeTicket", data: BytesLike): Result; decodeFunctionResult(functionFragment: "delegatecall", data: BytesLike): Result; decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result; decodeFunctionResult(functionFragment: "executeUnsafe", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "multicall", data: BytesLike): Result; decodeFunctionResult(functionFragment: "oneTimeTickets", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "revokeOneTimeTicket", data: BytesLike): Result; decodeFunctionResult(functionFragment: "upgradedToMockBluePrint", data: BytesLike): Result; } export declare namespace ExecutedEvent { type InputTuple = [ target: AddressLike, value: BigNumberish, data: BytesLike ]; type OutputTuple = [target: string, value: bigint, data: string]; interface OutputObject { target: string; value: bigint; data: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace InitializedEvent { type InputTuple = [version: BigNumberish]; type OutputTuple = [version: bigint]; interface OutputObject { version: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface MockBluePrint extends BaseContract { connect(runner?: ContractRunner | null): MockBluePrint; waitForDeployment(): Promise; interface: MockBluePrintInterface; 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; approve: TypedContractMethod<[ token: AddressLike, to: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; createOneTimeTicket: TypedContractMethod<[ caller: AddressLike ], [ void ], "nonpayable">; delegatecall: TypedContractMethod<[ target: AddressLike, data: BytesLike ], [ [boolean, string] & { success: boolean; returnData: string; } ], "nonpayable">; execute: TypedContractMethod<[ target: AddressLike, value: BigNumberish, data: BytesLike ], [ string ], "payable">; executeUnsafe: TypedContractMethod<[ target: AddressLike, value: BigNumberish, data: BytesLike ], [ [boolean, string] & { success: boolean; returnData: string; } ], "payable">; initialize: TypedContractMethod<[_owner: AddressLike], [void], "nonpayable">; multicall: TypedContractMethod<[ targets: AddressLike[], values: BigNumberish[], data: BytesLike[] ], [ string[] ], "nonpayable">; oneTimeTickets: TypedContractMethod<[caller: AddressLike], [boolean], "view">; owner: TypedContractMethod<[], [string], "view">; revokeOneTimeTicket: TypedContractMethod<[ caller: AddressLike ], [ void ], "nonpayable">; upgradedToMockBluePrint: TypedContractMethod<[], [boolean], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "approve"): TypedContractMethod<[ token: AddressLike, to: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "createOneTimeTicket"): TypedContractMethod<[caller: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "delegatecall"): TypedContractMethod<[ target: AddressLike, data: BytesLike ], [ [boolean, string] & { success: boolean; returnData: string; } ], "nonpayable">; getFunction(nameOrSignature: "execute"): TypedContractMethod<[ target: AddressLike, value: BigNumberish, data: BytesLike ], [ string ], "payable">; getFunction(nameOrSignature: "executeUnsafe"): TypedContractMethod<[ target: AddressLike, value: BigNumberish, data: BytesLike ], [ [boolean, string] & { success: boolean; returnData: string; } ], "payable">; getFunction(nameOrSignature: "initialize"): TypedContractMethod<[_owner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "multicall"): TypedContractMethod<[ targets: AddressLike[], values: BigNumberish[], data: BytesLike[] ], [ string[] ], "nonpayable">; getFunction(nameOrSignature: "oneTimeTickets"): TypedContractMethod<[caller: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "revokeOneTimeTicket"): TypedContractMethod<[caller: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "upgradedToMockBluePrint"): TypedContractMethod<[], [boolean], "view">; getEvent(key: "Executed"): TypedContractEvent; getEvent(key: "Initialized"): TypedContractEvent; filters: { "Executed(address,uint256,bytes)": TypedContractEvent; Executed: TypedContractEvent; "Initialized(uint64)": TypedContractEvent; Initialized: TypedContractEvent; }; }