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 PendlePtOracleInterface extends Interface { getFunction(nameOrSignature: "BLOCK_CYCLE_DENOMINATOR" | "blockCycleNumerator" | "claimOwnership" | "getOracleState" | "getPtToAssetRate" | "owner" | "pendingOwner" | "setBlockCycleNumerator" | "transferOwnership"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Initialized" | "OwnershipTransferred" | "SetBlockCycleNumerator"): EventFragment; encodeFunctionData(functionFragment: "BLOCK_CYCLE_DENOMINATOR", values?: undefined): string; encodeFunctionData(functionFragment: "blockCycleNumerator", values?: undefined): string; encodeFunctionData(functionFragment: "claimOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "getOracleState", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "getPtToAssetRate", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string; encodeFunctionData(functionFragment: "setBlockCycleNumerator", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike, boolean, boolean]): string; decodeFunctionResult(functionFragment: "BLOCK_CYCLE_DENOMINATOR", data: BytesLike): Result; decodeFunctionResult(functionFragment: "blockCycleNumerator", data: BytesLike): Result; decodeFunctionResult(functionFragment: "claimOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getOracleState", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPtToAssetRate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setBlockCycleNumerator", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; } 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 declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace SetBlockCycleNumeratorEvent { type InputTuple = [newBlockCycleNumerator: BigNumberish]; type OutputTuple = [newBlockCycleNumerator: bigint]; interface OutputObject { newBlockCycleNumerator: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface PendlePtOracle extends BaseContract { connect(runner?: ContractRunner | null): PendlePtOracle; waitForDeployment(): Promise; interface: PendlePtOracleInterface; 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; BLOCK_CYCLE_DENOMINATOR: TypedContractMethod<[], [bigint], "view">; blockCycleNumerator: TypedContractMethod<[], [bigint], "view">; claimOwnership: TypedContractMethod<[], [void], "nonpayable">; getOracleState: TypedContractMethod<[ market: AddressLike, duration: BigNumberish ], [ [ boolean, bigint, boolean ] & { increaseCardinalityRequired: boolean; cardinalityRequired: bigint; oldestObservationSatisfied: boolean; } ], "view">; getPtToAssetRate: TypedContractMethod<[ market: AddressLike, duration: BigNumberish ], [ bigint ], "view">; owner: TypedContractMethod<[], [string], "view">; pendingOwner: TypedContractMethod<[], [string], "view">; setBlockCycleNumerator: TypedContractMethod<[ newBlockCycleNumerator: BigNumberish ], [ void ], "nonpayable">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike, direct: boolean, renounce: boolean ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "BLOCK_CYCLE_DENOMINATOR"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "blockCycleNumerator"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "claimOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "getOracleState"): TypedContractMethod<[ market: AddressLike, duration: BigNumberish ], [ [ boolean, bigint, boolean ] & { increaseCardinalityRequired: boolean; cardinalityRequired: bigint; oldestObservationSatisfied: boolean; } ], "view">; getFunction(nameOrSignature: "getPtToAssetRate"): TypedContractMethod<[ market: AddressLike, duration: BigNumberish ], [ bigint ], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "setBlockCycleNumerator"): TypedContractMethod<[ newBlockCycleNumerator: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[ newOwner: AddressLike, direct: boolean, renounce: boolean ], [ void ], "nonpayable">; getEvent(key: "Initialized"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "SetBlockCycleNumerator"): TypedContractEvent; filters: { "Initialized(uint8)": TypedContractEvent; Initialized: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "SetBlockCycleNumerator(uint16)": TypedContractEvent; SetBlockCycleNumerator: TypedContractEvent; }; }