/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "../../common"; export interface GasCompensationVaultInterface extends Interface { getFunction( nameOrSignature: | "GovernanceAddress" | "compensateGas" | "withdrawToGovernance" ): FunctionFragment; encodeFunctionData( functionFragment: "GovernanceAddress", values?: undefined ): string; encodeFunctionData( functionFragment: "compensateGas", values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "withdrawToGovernance", values: [BigNumberish] ): string; decodeFunctionResult( functionFragment: "GovernanceAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "compensateGas", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "withdrawToGovernance", data: BytesLike ): Result; } export interface GasCompensationVault extends BaseContract { connect(runner?: ContractRunner | null): GasCompensationVault; waitForDeployment(): Promise; interface: GasCompensationVaultInterface; 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; GovernanceAddress: TypedContractMethod<[], [string], "view">; compensateGas: TypedContractMethod< [recipient: AddressLike, gasAmount: BigNumberish], [void], "nonpayable" >; withdrawToGovernance: TypedContractMethod< [amount: BigNumberish], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "GovernanceAddress" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "compensateGas" ): TypedContractMethod< [recipient: AddressLike, gasAmount: BigNumberish], [void], "nonpayable" >; getFunction( nameOrSignature: "withdrawToGovernance" ): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">; filters: {}; }