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 EACAggregatorProxyInterface extends Interface { getFunction(nameOrSignature: "acceptOwnership" | "accessController" | "aggregator" | "confirmAggregator" | "decimals" | "description" | "getAnswer" | "getRoundData" | "getTimestamp" | "latestAnswer" | "latestRound" | "latestRoundData" | "latestTimestamp" | "owner" | "phaseAggregators" | "phaseId" | "proposeAggregator" | "proposedAggregator" | "proposedGetRoundData" | "proposedLatestRoundData" | "setController" | "transferOwnership" | "version"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "AnswerUpdated" | "NewRound" | "OwnershipTransferRequested" | "OwnershipTransferred"): EventFragment; encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "accessController", values?: undefined): string; encodeFunctionData(functionFragment: "aggregator", values?: undefined): string; encodeFunctionData(functionFragment: "confirmAggregator", values: [AddressLike]): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData(functionFragment: "description", values?: undefined): string; encodeFunctionData(functionFragment: "getAnswer", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "getRoundData", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "getTimestamp", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "latestAnswer", values?: undefined): string; encodeFunctionData(functionFragment: "latestRound", values?: undefined): string; encodeFunctionData(functionFragment: "latestRoundData", values?: undefined): string; encodeFunctionData(functionFragment: "latestTimestamp", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "phaseAggregators", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "phaseId", values?: undefined): string; encodeFunctionData(functionFragment: "proposeAggregator", values: [AddressLike]): string; encodeFunctionData(functionFragment: "proposedAggregator", values?: undefined): string; encodeFunctionData(functionFragment: "proposedGetRoundData", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "proposedLatestRoundData", values?: undefined): string; encodeFunctionData(functionFragment: "setController", values: [AddressLike]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; encodeFunctionData(functionFragment: "version", values?: undefined): string; decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "accessController", data: BytesLike): Result; decodeFunctionResult(functionFragment: "aggregator", data: BytesLike): Result; decodeFunctionResult(functionFragment: "confirmAggregator", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "description", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getAnswer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRoundData", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getTimestamp", data: BytesLike): Result; decodeFunctionResult(functionFragment: "latestAnswer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "latestRound", data: BytesLike): Result; decodeFunctionResult(functionFragment: "latestRoundData", data: BytesLike): Result; decodeFunctionResult(functionFragment: "latestTimestamp", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "phaseAggregators", data: BytesLike): Result; decodeFunctionResult(functionFragment: "phaseId", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proposeAggregator", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proposedAggregator", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proposedGetRoundData", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proposedLatestRoundData", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setController", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; } export declare namespace AnswerUpdatedEvent { type InputTuple = [ current: BigNumberish, roundId: BigNumberish, updatedAt: BigNumberish ]; type OutputTuple = [ current: bigint, roundId: bigint, updatedAt: bigint ]; interface OutputObject { current: bigint; roundId: bigint; updatedAt: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NewRoundEvent { type InputTuple = [ roundId: BigNumberish, startedBy: AddressLike, startedAt: BigNumberish ]; type OutputTuple = [ roundId: bigint, startedBy: string, startedAt: bigint ]; interface OutputObject { roundId: bigint; startedBy: string; startedAt: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferRequestedEvent { type InputTuple = [from: AddressLike, to: AddressLike]; type OutputTuple = [from: string, to: string]; interface OutputObject { from: string; to: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [from: AddressLike, to: AddressLike]; type OutputTuple = [from: string, to: string]; interface OutputObject { from: string; to: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface EACAggregatorProxy extends BaseContract { connect(runner?: ContractRunner | null): EACAggregatorProxy; waitForDeployment(): Promise; interface: EACAggregatorProxyInterface; 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; acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; accessController: TypedContractMethod<[], [string], "view">; aggregator: TypedContractMethod<[], [string], "view">; confirmAggregator: TypedContractMethod<[ _aggregator: AddressLike ], [ void ], "nonpayable">; decimals: TypedContractMethod<[], [bigint], "view">; description: TypedContractMethod<[], [string], "view">; getAnswer: TypedContractMethod<[_roundId: BigNumberish], [bigint], "view">; getRoundData: TypedContractMethod<[ _roundId: BigNumberish ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; getTimestamp: TypedContractMethod<[_roundId: BigNumberish], [bigint], "view">; latestAnswer: TypedContractMethod<[], [bigint], "view">; latestRound: TypedContractMethod<[], [bigint], "view">; latestRoundData: TypedContractMethod<[ ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; latestTimestamp: TypedContractMethod<[], [bigint], "view">; owner: TypedContractMethod<[], [string], "view">; phaseAggregators: TypedContractMethod<[arg0: BigNumberish], [string], "view">; phaseId: TypedContractMethod<[], [bigint], "view">; proposeAggregator: TypedContractMethod<[ _aggregator: AddressLike ], [ void ], "nonpayable">; proposedAggregator: TypedContractMethod<[], [string], "view">; proposedGetRoundData: TypedContractMethod<[ _roundId: BigNumberish ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; proposedLatestRoundData: TypedContractMethod<[ ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; setController: TypedContractMethod<[ _accessController: AddressLike ], [ void ], "nonpayable">; transferOwnership: TypedContractMethod<[ _to: AddressLike ], [ void ], "nonpayable">; version: TypedContractMethod<[], [bigint], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "accessController"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "aggregator"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "confirmAggregator"): TypedContractMethod<[_aggregator: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "description"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "getAnswer"): TypedContractMethod<[_roundId: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "getRoundData"): TypedContractMethod<[ _roundId: BigNumberish ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; getFunction(nameOrSignature: "getTimestamp"): TypedContractMethod<[_roundId: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "latestAnswer"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "latestRound"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "latestRoundData"): TypedContractMethod<[ ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; getFunction(nameOrSignature: "latestTimestamp"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "phaseAggregators"): TypedContractMethod<[arg0: BigNumberish], [string], "view">; getFunction(nameOrSignature: "phaseId"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "proposeAggregator"): TypedContractMethod<[_aggregator: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "proposedAggregator"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "proposedGetRoundData"): TypedContractMethod<[ _roundId: BigNumberish ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; getFunction(nameOrSignature: "proposedLatestRoundData"): TypedContractMethod<[ ], [ [ bigint, bigint, bigint, bigint, bigint ] & { roundId: bigint; answer: bigint; startedAt: bigint; updatedAt: bigint; answeredInRound: bigint; } ], "view">; getFunction(nameOrSignature: "setController"): TypedContractMethod<[ _accessController: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[_to: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "version"): TypedContractMethod<[], [bigint], "view">; getEvent(key: "AnswerUpdated"): TypedContractEvent; getEvent(key: "NewRound"): TypedContractEvent; getEvent(key: "OwnershipTransferRequested"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; filters: { "AnswerUpdated(int256,uint256,uint256)": TypedContractEvent; AnswerUpdated: TypedContractEvent; "NewRound(uint256,address,uint256)": TypedContractEvent; NewRound: TypedContractEvent; "OwnershipTransferRequested(address,address)": TypedContractEvent; OwnershipTransferRequested: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; }; }