/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../../../common"; export interface VestingInterface extends Interface { getFunction( nameOrSignature: | "SECONDS_PER_MONTH" | "beneficiary" | "blockTimestamp" | "cliffInMonths" | "durationInMonths" | "release" | "released" | "startTimestamp" | "token" | "vestedAmount" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Released"): EventFragment; encodeFunctionData( functionFragment: "SECONDS_PER_MONTH", values?: undefined ): string; encodeFunctionData( functionFragment: "beneficiary", values?: undefined ): string; encodeFunctionData( functionFragment: "blockTimestamp", values?: undefined ): string; encodeFunctionData( functionFragment: "cliffInMonths", values?: undefined ): string; encodeFunctionData( functionFragment: "durationInMonths", values?: undefined ): string; encodeFunctionData(functionFragment: "release", values?: undefined): string; encodeFunctionData(functionFragment: "released", values?: undefined): string; encodeFunctionData( functionFragment: "startTimestamp", values?: undefined ): string; encodeFunctionData(functionFragment: "token", values?: undefined): string; encodeFunctionData( functionFragment: "vestedAmount", values?: undefined ): string; decodeFunctionResult( functionFragment: "SECONDS_PER_MONTH", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "beneficiary", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "blockTimestamp", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "cliffInMonths", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "durationInMonths", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "release", data: BytesLike): Result; decodeFunctionResult(functionFragment: "released", data: BytesLike): Result; decodeFunctionResult( functionFragment: "startTimestamp", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; decodeFunctionResult( functionFragment: "vestedAmount", data: BytesLike ): Result; } export namespace ReleasedEvent { export type InputTuple = [amount: BigNumberish]; export type OutputTuple = [amount: bigint]; export interface OutputObject { amount: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface Vesting extends BaseContract { connect(runner?: ContractRunner | null): Vesting; waitForDeployment(): Promise; interface: VestingInterface; 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; SECONDS_PER_MONTH: TypedContractMethod<[], [bigint], "view">; beneficiary: TypedContractMethod<[], [string], "view">; blockTimestamp: TypedContractMethod<[], [bigint], "view">; cliffInMonths: TypedContractMethod<[], [bigint], "view">; durationInMonths: TypedContractMethod<[], [bigint], "view">; release: TypedContractMethod<[], [void], "nonpayable">; released: TypedContractMethod<[], [bigint], "view">; startTimestamp: TypedContractMethod<[], [bigint], "view">; token: TypedContractMethod<[], [string], "view">; vestedAmount: TypedContractMethod<[], [bigint], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "SECONDS_PER_MONTH" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "beneficiary" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "blockTimestamp" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "cliffInMonths" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "durationInMonths" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "release" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "released" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "startTimestamp" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "token" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "vestedAmount" ): TypedContractMethod<[], [bigint], "view">; getEvent( key: "Released" ): TypedContractEvent< ReleasedEvent.InputTuple, ReleasedEvent.OutputTuple, ReleasedEvent.OutputObject >; filters: { "Released(uint256)": TypedContractEvent< ReleasedEvent.InputTuple, ReleasedEvent.OutputTuple, ReleasedEvent.OutputObject >; Released: TypedContractEvent< ReleasedEvent.InputTuple, ReleasedEvent.OutputTuple, ReleasedEvent.OutputObject >; }; }