/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ 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 IGraphTokenLockWalletInterface extends Interface { getFunction( nameOrSignature: | "amountPerPeriod" | "approveProtocol" | "beneficiary" | "currentBalance" | "currentPeriod" | "currentTime" | "duration" | "endTime" | "isRevoked" | "managedAmount" | "passedPeriods" | "periodDuration" | "periods" | "releasableAmount" | "release" | "releaseStartTime" | "releasedAmount" | "revocable" | "revokeProtocol" | "sinceStartTime" | "startTime" | "surplusAmount" | "token" | "totalOutstandingAmount" | "usedAmount" | "vestedAmount" | "vestingCliffTime" | "withdrawSurplus" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: | "ManagerUpdated" | "OwnershipTransferred" | "TokenDestinationsApproved" | "TokenDestinationsRevoked" | "TokensReleased" | "TokensRevoked" | "TokensWithdrawn" ): EventFragment; encodeFunctionData( functionFragment: "amountPerPeriod", values?: undefined ): string; encodeFunctionData( functionFragment: "approveProtocol", values?: undefined ): string; encodeFunctionData( functionFragment: "beneficiary", values?: undefined ): string; encodeFunctionData( functionFragment: "currentBalance", values?: undefined ): string; encodeFunctionData( functionFragment: "currentPeriod", values?: undefined ): string; encodeFunctionData( functionFragment: "currentTime", values?: undefined ): string; encodeFunctionData(functionFragment: "duration", values?: undefined): string; encodeFunctionData(functionFragment: "endTime", values?: undefined): string; encodeFunctionData(functionFragment: "isRevoked", values?: undefined): string; encodeFunctionData( functionFragment: "managedAmount", values?: undefined ): string; encodeFunctionData( functionFragment: "passedPeriods", values?: undefined ): string; encodeFunctionData( functionFragment: "periodDuration", values?: undefined ): string; encodeFunctionData(functionFragment: "periods", values?: undefined): string; encodeFunctionData( functionFragment: "releasableAmount", values?: undefined ): string; encodeFunctionData(functionFragment: "release", values?: undefined): string; encodeFunctionData( functionFragment: "releaseStartTime", values?: undefined ): string; encodeFunctionData( functionFragment: "releasedAmount", values?: undefined ): string; encodeFunctionData(functionFragment: "revocable", values?: undefined): string; encodeFunctionData( functionFragment: "revokeProtocol", values?: undefined ): string; encodeFunctionData( functionFragment: "sinceStartTime", values?: undefined ): string; encodeFunctionData(functionFragment: "startTime", values?: undefined): string; encodeFunctionData( functionFragment: "surplusAmount", values?: undefined ): string; encodeFunctionData(functionFragment: "token", values?: undefined): string; encodeFunctionData( functionFragment: "totalOutstandingAmount", values?: undefined ): string; encodeFunctionData( functionFragment: "usedAmount", values?: undefined ): string; encodeFunctionData( functionFragment: "vestedAmount", values?: undefined ): string; encodeFunctionData( functionFragment: "vestingCliffTime", values?: undefined ): string; encodeFunctionData( functionFragment: "withdrawSurplus", values: [BigNumberish] ): string; decodeFunctionResult( functionFragment: "amountPerPeriod", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "approveProtocol", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "beneficiary", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "currentBalance", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "currentPeriod", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "currentTime", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "duration", data: BytesLike): Result; decodeFunctionResult(functionFragment: "endTime", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isRevoked", data: BytesLike): Result; decodeFunctionResult( functionFragment: "managedAmount", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "passedPeriods", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "periodDuration", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "periods", data: BytesLike): Result; decodeFunctionResult( functionFragment: "releasableAmount", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "release", data: BytesLike): Result; decodeFunctionResult( functionFragment: "releaseStartTime", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "releasedAmount", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "revocable", data: BytesLike): Result; decodeFunctionResult( functionFragment: "revokeProtocol", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "sinceStartTime", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "startTime", data: BytesLike): Result; decodeFunctionResult( functionFragment: "surplusAmount", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; decodeFunctionResult( functionFragment: "totalOutstandingAmount", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "usedAmount", data: BytesLike): Result; decodeFunctionResult( functionFragment: "vestedAmount", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "vestingCliffTime", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "withdrawSurplus", data: BytesLike ): Result; } export namespace ManagerUpdatedEvent { export type InputTuple = [_oldManager: AddressLike, _newManager: AddressLike]; export type OutputTuple = [_oldManager: string, _newManager: string]; export interface OutputObject { _oldManager: string; _newManager: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace OwnershipTransferredEvent { export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; export type OutputTuple = [previousOwner: string, newOwner: string]; export interface OutputObject { previousOwner: string; newOwner: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TokenDestinationsApprovedEvent { export type InputTuple = []; export type OutputTuple = []; export interface OutputObject {} export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TokenDestinationsRevokedEvent { export type InputTuple = []; export type OutputTuple = []; export interface OutputObject {} export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TokensReleasedEvent { export type InputTuple = [beneficiary: AddressLike, amount: BigNumberish]; export type OutputTuple = [beneficiary: string, amount: bigint]; export interface OutputObject { beneficiary: string; amount: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TokensRevokedEvent { export type InputTuple = [beneficiary: AddressLike, amount: BigNumberish]; export type OutputTuple = [beneficiary: string, amount: bigint]; export interface OutputObject { beneficiary: string; amount: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TokensWithdrawnEvent { export type InputTuple = [beneficiary: AddressLike, amount: BigNumberish]; export type OutputTuple = [beneficiary: string, amount: bigint]; export interface OutputObject { beneficiary: string; amount: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface IGraphTokenLockWallet extends BaseContract { connect(runner?: ContractRunner | null): IGraphTokenLockWallet; waitForDeployment(): Promise; interface: IGraphTokenLockWalletInterface; 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; amountPerPeriod: TypedContractMethod<[], [bigint], "view">; approveProtocol: TypedContractMethod<[], [void], "nonpayable">; beneficiary: TypedContractMethod<[], [string], "view">; currentBalance: TypedContractMethod<[], [bigint], "view">; currentPeriod: TypedContractMethod<[], [bigint], "view">; currentTime: TypedContractMethod<[], [bigint], "view">; duration: TypedContractMethod<[], [bigint], "view">; endTime: TypedContractMethod<[], [bigint], "view">; isRevoked: TypedContractMethod<[], [boolean], "view">; managedAmount: TypedContractMethod<[], [bigint], "view">; passedPeriods: TypedContractMethod<[], [bigint], "view">; periodDuration: TypedContractMethod<[], [bigint], "view">; periods: TypedContractMethod<[], [bigint], "view">; releasableAmount: TypedContractMethod<[], [bigint], "view">; release: TypedContractMethod<[], [void], "nonpayable">; releaseStartTime: TypedContractMethod<[], [bigint], "view">; releasedAmount: TypedContractMethod<[], [bigint], "view">; revocable: TypedContractMethod<[], [bigint], "view">; revokeProtocol: TypedContractMethod<[], [void], "nonpayable">; sinceStartTime: TypedContractMethod<[], [bigint], "view">; startTime: TypedContractMethod<[], [bigint], "view">; surplusAmount: TypedContractMethod<[], [bigint], "view">; token: TypedContractMethod<[], [string], "view">; totalOutstandingAmount: TypedContractMethod<[], [bigint], "view">; usedAmount: TypedContractMethod<[], [bigint], "view">; vestedAmount: TypedContractMethod<[], [bigint], "view">; vestingCliffTime: TypedContractMethod<[], [bigint], "view">; withdrawSurplus: TypedContractMethod< [_amount: BigNumberish], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "amountPerPeriod" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "approveProtocol" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "beneficiary" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "currentBalance" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "currentPeriod" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "currentTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "duration" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "endTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "isRevoked" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "managedAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "passedPeriods" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "periodDuration" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "periods" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "releasableAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "release" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "releaseStartTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "releasedAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "revocable" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "revokeProtocol" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "sinceStartTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "startTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "surplusAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "token" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "totalOutstandingAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "usedAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "vestedAmount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "vestingCliffTime" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "withdrawSurplus" ): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">; getEvent( key: "ManagerUpdated" ): TypedContractEvent< ManagerUpdatedEvent.InputTuple, ManagerUpdatedEvent.OutputTuple, ManagerUpdatedEvent.OutputObject >; getEvent( key: "OwnershipTransferred" ): TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; getEvent( key: "TokenDestinationsApproved" ): TypedContractEvent< TokenDestinationsApprovedEvent.InputTuple, TokenDestinationsApprovedEvent.OutputTuple, TokenDestinationsApprovedEvent.OutputObject >; getEvent( key: "TokenDestinationsRevoked" ): TypedContractEvent< TokenDestinationsRevokedEvent.InputTuple, TokenDestinationsRevokedEvent.OutputTuple, TokenDestinationsRevokedEvent.OutputObject >; getEvent( key: "TokensReleased" ): TypedContractEvent< TokensReleasedEvent.InputTuple, TokensReleasedEvent.OutputTuple, TokensReleasedEvent.OutputObject >; getEvent( key: "TokensRevoked" ): TypedContractEvent< TokensRevokedEvent.InputTuple, TokensRevokedEvent.OutputTuple, TokensRevokedEvent.OutputObject >; getEvent( key: "TokensWithdrawn" ): TypedContractEvent< TokensWithdrawnEvent.InputTuple, TokensWithdrawnEvent.OutputTuple, TokensWithdrawnEvent.OutputObject >; filters: { "ManagerUpdated(address,address)": TypedContractEvent< ManagerUpdatedEvent.InputTuple, ManagerUpdatedEvent.OutputTuple, ManagerUpdatedEvent.OutputObject >; ManagerUpdated: TypedContractEvent< ManagerUpdatedEvent.InputTuple, ManagerUpdatedEvent.OutputTuple, ManagerUpdatedEvent.OutputObject >; "OwnershipTransferred(address,address)": TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; OwnershipTransferred: TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; "TokenDestinationsApproved()": TypedContractEvent< TokenDestinationsApprovedEvent.InputTuple, TokenDestinationsApprovedEvent.OutputTuple, TokenDestinationsApprovedEvent.OutputObject >; TokenDestinationsApproved: TypedContractEvent< TokenDestinationsApprovedEvent.InputTuple, TokenDestinationsApprovedEvent.OutputTuple, TokenDestinationsApprovedEvent.OutputObject >; "TokenDestinationsRevoked()": TypedContractEvent< TokenDestinationsRevokedEvent.InputTuple, TokenDestinationsRevokedEvent.OutputTuple, TokenDestinationsRevokedEvent.OutputObject >; TokenDestinationsRevoked: TypedContractEvent< TokenDestinationsRevokedEvent.InputTuple, TokenDestinationsRevokedEvent.OutputTuple, TokenDestinationsRevokedEvent.OutputObject >; "TokensReleased(address,uint256)": TypedContractEvent< TokensReleasedEvent.InputTuple, TokensReleasedEvent.OutputTuple, TokensReleasedEvent.OutputObject >; TokensReleased: TypedContractEvent< TokensReleasedEvent.InputTuple, TokensReleasedEvent.OutputTuple, TokensReleasedEvent.OutputObject >; "TokensRevoked(address,uint256)": TypedContractEvent< TokensRevokedEvent.InputTuple, TokensRevokedEvent.OutputTuple, TokensRevokedEvent.OutputObject >; TokensRevoked: TypedContractEvent< TokensRevokedEvent.InputTuple, TokensRevokedEvent.OutputTuple, TokensRevokedEvent.OutputObject >; "TokensWithdrawn(address,uint256)": TypedContractEvent< TokensWithdrawnEvent.InputTuple, TokensWithdrawnEvent.OutputTuple, TokensWithdrawnEvent.OutputObject >; TokensWithdrawn: TypedContractEvent< TokensWithdrawnEvent.InputTuple, TokensWithdrawnEvent.OutputTuple, TokensWithdrawnEvent.OutputObject >; }; }