@sentio/sdk-bundle 2.43.1 → 2.43.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.js +1 -1
- package/lib/aptos/builtin/0x3.js +1 -1
- package/lib/aptos/builtin/index.js +1 -1
- package/lib/aptos/ext/index.js +1 -1
- package/lib/aptos/index.js +1 -1
- package/lib/{chunk-LVT4V5KF.js → chunk-3OIUNVP6.js} +2 -2
- package/lib/{chunk-QMRDLLFP.js → chunk-4JOJNYSP.js} +2 -2
- package/lib/{chunk-2LYCEXFB.js → chunk-F45CHXHP.js} +2 -2
- package/lib/chunk-F6NCVPWZ.js +3 -0
- package/lib/chunk-F6NCVPWZ.js.map +1 -0
- package/lib/{chunk-RLZQMHCL.js → chunk-I4JKHOGT.js} +2 -2
- package/lib/chunk-IMHJUUE4.js +3 -0
- package/lib/chunk-IMHJUUE4.js.map +1 -0
- package/lib/{chunk-QNJCCYY4.js → chunk-KGLMGK6N.js} +2 -2
- package/lib/{chunk-6HIDTZEY.js → chunk-LRBZAJPX.js} +2 -2
- package/lib/{chunk-OF7LMHLE.js → chunk-LZXRYYZE.js} +2 -2
- package/lib/{chunk-6PA4MRGT.js → chunk-M4QUJLGL.js} +2 -2
- package/lib/chunk-M5K6UMVD.js +3 -0
- package/lib/chunk-M5K6UMVD.js.map +1 -0
- package/lib/chunk-OSOMJZEO.js +3 -0
- package/lib/chunk-OSOMJZEO.js.map +1 -0
- package/lib/chunk-SUZKQSXO.js +23 -0
- package/lib/{chunk-X7MJZ7IM.js.map → chunk-SUZKQSXO.js.map} +1 -1
- package/lib/eth/builtin/eacaggregatorproxy.js +1 -1
- package/lib/eth/builtin/erc1155.js +1 -1
- package/lib/eth/builtin/erc20.js +1 -1
- package/lib/eth/builtin/erc721.js +1 -1
- package/lib/eth/builtin/index.js +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
- package/lib/eth/builtin/weth9.js +1 -1
- package/lib/eth/codegen/function-calls.d.ts.map +1 -1
- package/lib/eth/codegen/index.js +0 -14
- package/lib/eth/codegen/index.js.map +1 -1
- package/lib/eth/index.js +1 -1
- package/lib/sui/builtin/0x1.js +1 -1
- package/lib/sui/builtin/0x2.js +1 -1
- package/lib/sui/builtin/0x3.js +1 -1
- package/lib/sui/builtin/index.js +1 -1
- package/lib/sui/ext/index.js +1 -1
- package/lib/sui/index.js +1 -1
- package/lib/testing/index.js +1 -1
- package/lib/utils/index.js +1 -1
- package/package.json +2 -2
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +0 -324
- package/src/eth/builtin/internal/erc1155-processor.ts +0 -132
- package/src/eth/builtin/internal/erc20-processor.ts +0 -259
- package/src/eth/builtin/internal/erc20bytes-processor.ts +0 -125
- package/src/eth/builtin/internal/erc721-processor.ts +0 -206
- package/src/eth/builtin/internal/weth9-processor.ts +0 -145
- package/src/eth/codegen/function-calls.ts +0 -16
- package/lib/chunk-BWPPYXK4.js +0 -3
- package/lib/chunk-BWPPYXK4.js.map +0 -1
- package/lib/chunk-EBTSBYMN.js +0 -3
- package/lib/chunk-EBTSBYMN.js.map +0 -1
- package/lib/chunk-ISYZ5EB6.js +0 -3
- package/lib/chunk-ISYZ5EB6.js.map +0 -1
- package/lib/chunk-X7MJZ7IM.js +0 -23
- package/lib/chunk-Z2YL2LIQ.js +0 -3
- package/lib/chunk-Z2YL2LIQ.js.map +0 -1
- /package/lib/{chunk-LVT4V5KF.js.map → chunk-3OIUNVP6.js.map} +0 -0
- /package/lib/{chunk-QMRDLLFP.js.map → chunk-4JOJNYSP.js.map} +0 -0
- /package/lib/{chunk-2LYCEXFB.js.map → chunk-F45CHXHP.js.map} +0 -0
- /package/lib/{chunk-RLZQMHCL.js.map → chunk-I4JKHOGT.js.map} +0 -0
- /package/lib/{chunk-QNJCCYY4.js.map → chunk-KGLMGK6N.js.map} +0 -0
- /package/lib/{chunk-6HIDTZEY.js.map → chunk-LRBZAJPX.js.map} +0 -0
- /package/lib/{chunk-OF7LMHLE.js.map → chunk-LZXRYYZE.js.map} +0 -0
- /package/lib/{chunk-6PA4MRGT.js.map → chunk-M4QUJLGL.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/eth/builtin/eacaggregatorproxy.ts","../src/eth/builtin/internal/eacaggregatorproxy-processor.ts","../src/eth/builtin/internal/eacaggregatorproxy-test-utils.ts","../src/eth/builtin/internal/EACAggregatorProxy.ts"],"sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\n\nexport * from \"./internal/eacaggregatorproxy-processor.js\";\nexport * from \"./internal/eacaggregatorproxy-test-utils.js\";\nexport * from \"./internal/EACAggregatorProxy.js\";\nexport * from \"./internal/factories/EACAggregatorProxy__factory.js\";\n;process.stdout.write(\"\");","/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nimport { BigNumberish, Overrides, Interface } from \"ethers\";\nimport {\n addContractByABI,\n getContractByABI,\n addProcessor,\n getProcessor,\n getProvider,\n transformEtherError,\n BindOptions,\n BaseProcessor,\n BaseProcessorTemplate,\n BoundContractView,\n ContractContext,\n ContractView,\n DummyProvider,\n EthChainId,\n TypedCallTrace,\n EthContext,\n EthFetchConfig,\n PreprocessResult,\n makeEthCallKey,\n} from \"@sentio/sdk/eth\";\nimport { EthCallParam, EthCallContext, PreparedData } from \"@sentio/protos\";\n\nimport { EACAggregatorProxy__factory } from \"./index.js\";\nimport {\n EACAggregatorProxy,\n AnswerUpdatedEvent,\n AnswerUpdatedEventFilter,\n NewRoundEvent,\n NewRoundEventFilter,\n OwnershipTransferRequestedEvent,\n OwnershipTransferRequestedEventFilter,\n OwnershipTransferredEvent,\n OwnershipTransferredEventFilter,\n} from \"./EACAggregatorProxy.js\";\n\nexport interface AcceptOwnershipCallObject {}\n\nexport type AcceptOwnershipCallTrace = TypedCallTrace<\n [],\n AcceptOwnershipCallObject\n>;\n\nexport interface AccessControllerCallObject {}\n\nexport type AccessControllerCallTrace = TypedCallTrace<\n [],\n AccessControllerCallObject\n>;\n\nexport interface AggregatorCallObject {}\n\nexport type AggregatorCallTrace = TypedCallTrace<[], AggregatorCallObject>;\n\nexport interface ConfirmAggregatorCallObject {\n _aggregator: string;\n}\n\nexport type ConfirmAggregatorCallTrace = TypedCallTrace<\n [string],\n ConfirmAggregatorCallObject\n>;\n\nexport interface DecimalsCallObject {}\n\nexport type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject>;\n\nexport interface DescriptionCallObject {}\n\nexport type DescriptionCallTrace = TypedCallTrace<[], DescriptionCallObject>;\n\nexport interface GetAnswerCallObject {\n _roundId: bigint;\n}\n\nexport type GetAnswerCallTrace = TypedCallTrace<[bigint], GetAnswerCallObject>;\n\nexport interface GetRoundDataCallObject {\n _roundId: bigint;\n}\n\nexport type GetRoundDataCallTrace = TypedCallTrace<\n [bigint],\n GetRoundDataCallObject\n>;\n\nexport interface GetTimestampCallObject {\n _roundId: bigint;\n}\n\nexport type GetTimestampCallTrace = TypedCallTrace<\n [bigint],\n GetTimestampCallObject\n>;\n\nexport interface LatestAnswerCallObject {}\n\nexport type LatestAnswerCallTrace = TypedCallTrace<[], LatestAnswerCallObject>;\n\nexport interface LatestRoundCallObject {}\n\nexport type LatestRoundCallTrace = TypedCallTrace<[], LatestRoundCallObject>;\n\nexport interface LatestRoundDataCallObject {}\n\nexport type LatestRoundDataCallTrace = TypedCallTrace<\n [],\n LatestRoundDataCallObject\n>;\n\nexport interface LatestTimestampCallObject {}\n\nexport type LatestTimestampCallTrace = TypedCallTrace<\n [],\n LatestTimestampCallObject\n>;\n\nexport interface OwnerCallObject {}\n\nexport type OwnerCallTrace = TypedCallTrace<[], OwnerCallObject>;\n\nexport interface PhaseAggregatorsCallObject {}\n\nexport type PhaseAggregatorsCallTrace = TypedCallTrace<\n [bigint],\n PhaseAggregatorsCallObject\n>;\n\nexport interface PhaseIdCallObject {}\n\nexport type PhaseIdCallTrace = TypedCallTrace<[], PhaseIdCallObject>;\n\nexport interface ProposeAggregatorCallObject {\n _aggregator: string;\n}\n\nexport type ProposeAggregatorCallTrace = TypedCallTrace<\n [string],\n ProposeAggregatorCallObject\n>;\n\nexport interface ProposedAggregatorCallObject {}\n\nexport type ProposedAggregatorCallTrace = TypedCallTrace<\n [],\n ProposedAggregatorCallObject\n>;\n\nexport interface ProposedGetRoundDataCallObject {\n _roundId: bigint;\n}\n\nexport type ProposedGetRoundDataCallTrace = TypedCallTrace<\n [bigint],\n ProposedGetRoundDataCallObject\n>;\n\nexport interface ProposedLatestRoundDataCallObject {}\n\nexport type ProposedLatestRoundDataCallTrace = TypedCallTrace<\n [],\n ProposedLatestRoundDataCallObject\n>;\n\nexport interface SetControllerCallObject {\n _accessController: string;\n}\n\nexport type SetControllerCallTrace = TypedCallTrace<\n [string],\n SetControllerCallObject\n>;\n\nexport interface TransferOwnershipCallObject {\n _to: string;\n}\n\nexport type TransferOwnershipCallTrace = TypedCallTrace<\n [string],\n TransferOwnershipCallObject\n>;\n\nexport interface VersionCallObject {}\n\nexport type VersionCallTrace = TypedCallTrace<[], VersionCallObject>;\n\nconst templateContract = EACAggregatorProxy__factory.connect(\n \"0x0\",\n DummyProvider\n);\n\nconst iface = new Interface([\n \"function acceptOwnership() returns ()\",\n \"function accessController() view returns (address)\",\n \"function aggregator() view returns (address)\",\n \"function confirmAggregator(address _aggregator) returns ()\",\n \"function decimals() view returns (uint8)\",\n \"function description() view returns (string)\",\n \"function getAnswer(uint256 _roundId) view returns (int256)\",\n \"function getRoundData(uint80 _roundId) view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)\",\n \"function getTimestamp(uint256 _roundId) view returns (uint256)\",\n \"function latestAnswer() view returns (int256)\",\n \"function latestRound() view returns (uint256)\",\n \"function latestRoundData() view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)\",\n \"function latestTimestamp() view returns (uint256)\",\n \"function owner() view returns (address)\",\n \"function phaseAggregators(uint16) view returns (address)\",\n \"function phaseId() view returns (uint16)\",\n \"function proposeAggregator(address _aggregator) returns ()\",\n \"function proposedAggregator() view returns (address)\",\n \"function proposedGetRoundData(uint80 _roundId) view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)\",\n \"function proposedLatestRoundData() view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)\",\n \"function setController(address _accessController) returns ()\",\n \"function transferOwnership(address _to) returns ()\",\n \"function version() view returns (uint256)\",\n]);\n\nexport class EACAggregatorProxyContractView extends ContractView<EACAggregatorProxy> {\n constructor(contract: EACAggregatorProxy) {\n super(contract);\n this.callStatic.contract = contract;\n }\n\n async accessController(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<string> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"accessController\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"accessController\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"accessController()\")(\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async aggregator(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<string> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"aggregator\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"aggregator\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"aggregator()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async decimals(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"decimals\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface.decodeFunctionResult(\"decimals\", ret).toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"decimals()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async description(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<string> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"description\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"description\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"description()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async getAnswer(\n _roundId: BigNumberish,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"getAnswer\", [_roundId]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface.decodeFunctionResult(\"getAnswer\", ret).toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"getAnswer(uint256)\")(\n _roundId,\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async getRoundData(\n _roundId: BigNumberish,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"getRoundData\", [_roundId]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"getRoundData\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"getRoundData(uint80)\")(\n _roundId,\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async getTimestamp(\n _roundId: BigNumberish,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"getTimestamp\", [_roundId]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"getTimestamp\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"getTimestamp(uint256)\")(\n _roundId,\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async latestAnswer(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"latestAnswer\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"latestAnswer\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"latestAnswer()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async latestRound(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"latestRound\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"latestRound\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"latestRound()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async latestRoundData(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"latestRoundData\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"latestRoundData\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"latestRoundData()\")(\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async latestTimestamp(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"latestTimestamp\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"latestTimestamp\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"latestTimestamp()\")(\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async owner(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<string> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"owner\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface.decodeFunctionResult(\"owner\", ret).toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"owner()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async phaseAggregators(\n arg0: BigNumberish,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<string> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"phaseAggregators\", [arg0]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"phaseAggregators\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"phaseAggregators(uint16)\")(\n arg0,\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async phaseId(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"phaseId\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface.decodeFunctionResult(\"phaseId\", ret).toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"phaseId()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async proposedAggregator(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<string> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"proposedAggregator\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"proposedAggregator\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"proposedAggregator()\")(\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async proposedGetRoundData(\n _roundId: BigNumberish,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"proposedGetRoundData\", [\n _roundId,\n ]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"proposedGetRoundData\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"proposedGetRoundData(uint80)\")(\n _roundId,\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async proposedLatestRoundData(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\n \"proposedLatestRoundData\",\n []\n );\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"proposedLatestRoundData\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"proposedLatestRoundData()\")(\n overrides || {}\n );\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n async version(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<bigint> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"version\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface.decodeFunctionResult(\"version\", ret).toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract.getFunction(\"version()\")(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n }\n\n callStatic = {\n contract: this.contract,\n\n async acceptOwnership(\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<void> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"acceptOwnership\", []);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"acceptOwnership\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract\n .getFunction(\"acceptOwnership()\")\n .staticCall(overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n async confirmAggregator(\n _aggregator: string,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<void> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"confirmAggregator\", [\n _aggregator,\n ]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"confirmAggregator\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract\n .getFunction(\"confirmAggregator(address)\")\n .staticCall(_aggregator, overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n async proposeAggregator(\n _aggregator: string,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<void> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"proposeAggregator\", [\n _aggregator,\n ]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"proposeAggregator\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract\n .getFunction(\"proposeAggregator(address)\")\n .staticCall(_aggregator, overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n async setController(\n _accessController: string,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<void> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"setController\", [\n _accessController,\n ]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"setController\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract\n .getFunction(\"setController(address)\")\n .staticCall(_accessController, overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n async transferOwnership(\n _to: string,\n overrides?: Overrides,\n preparedData?: PreparedData,\n ethCallContext?: EthCallContext\n ): Promise<void> {\n try {\n if (preparedData?.ethCallResults && ethCallContext) {\n const calldata = iface.encodeFunctionData(\"transferOwnership\", [_to]);\n const ethCallKey = makeEthCallKey({\n context: ethCallContext,\n calldata,\n });\n const ret = preparedData.ethCallResults[ethCallKey];\n if (ret) {\n const result = iface\n .decodeFunctionResult(\"transferOwnership\", ret)\n .toArray();\n return result.length == 1 ? result[0] : result;\n }\n }\n return await this.contract\n .getFunction(\"transferOwnership(address)\")\n .staticCall(_to, overrides || {});\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n };\n\n encodeCall = {\n acceptOwnership(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function acceptOwnership()\"]);\n const calldata = iface.encodeFunctionData(\"acceptOwnership\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n accessController(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function accessController()\"]);\n const calldata = iface.encodeFunctionData(\"accessController\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n aggregator(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function aggregator()\"]);\n const calldata = iface.encodeFunctionData(\"aggregator\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n confirmAggregator(\n _aggregator: string,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function confirmAggregator(address)\"]);\n const calldata = iface.encodeFunctionData(\"confirmAggregator\", [\n _aggregator,\n ]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n decimals(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function decimals()\"]);\n const calldata = iface.encodeFunctionData(\"decimals\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n description(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function description()\"]);\n const calldata = iface.encodeFunctionData(\"description\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n getAnswer(\n _roundId: BigNumberish,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function getAnswer(uint256)\"]);\n const calldata = iface.encodeFunctionData(\"getAnswer\", [_roundId]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n getRoundData(\n _roundId: BigNumberish,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function getRoundData(uint80)\"]);\n const calldata = iface.encodeFunctionData(\"getRoundData\", [_roundId]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n getTimestamp(\n _roundId: BigNumberish,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function getTimestamp(uint256)\"]);\n const calldata = iface.encodeFunctionData(\"getTimestamp\", [_roundId]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n latestAnswer(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function latestAnswer()\"]);\n const calldata = iface.encodeFunctionData(\"latestAnswer\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n latestRound(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function latestRound()\"]);\n const calldata = iface.encodeFunctionData(\"latestRound\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n latestRoundData(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function latestRoundData()\"]);\n const calldata = iface.encodeFunctionData(\"latestRoundData\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n latestTimestamp(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function latestTimestamp()\"]);\n const calldata = iface.encodeFunctionData(\"latestTimestamp\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n owner(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function owner()\"]);\n const calldata = iface.encodeFunctionData(\"owner\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n phaseAggregators(\n arg0: BigNumberish,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function phaseAggregators(uint16)\"]);\n const calldata = iface.encodeFunctionData(\"phaseAggregators\", [arg0]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n phaseId(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function phaseId()\"]);\n const calldata = iface.encodeFunctionData(\"phaseId\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n proposeAggregator(\n _aggregator: string,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function proposeAggregator(address)\"]);\n const calldata = iface.encodeFunctionData(\"proposeAggregator\", [\n _aggregator,\n ]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n proposedAggregator(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function proposedAggregator()\"]);\n const calldata = iface.encodeFunctionData(\"proposedAggregator\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n proposedGetRoundData(\n _roundId: BigNumberish,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function proposedGetRoundData(uint80)\"]);\n const calldata = iface.encodeFunctionData(\"proposedGetRoundData\", [\n _roundId,\n ]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n proposedLatestRoundData(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function proposedLatestRoundData()\"]);\n const calldata = iface.encodeFunctionData(\n \"proposedLatestRoundData\",\n []\n );\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n setController(\n _accessController: string,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function setController(address)\"]);\n const calldata = iface.encodeFunctionData(\"setController\", [\n _accessController,\n ]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n transferOwnership(\n _to: string,\n ethCallContext: EthCallContext\n ): EthCallParam {\n try {\n const iface = new Interface([\"function transferOwnership(address)\"]);\n const calldata = iface.encodeFunctionData(\"transferOwnership\", [_to]);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n version(ethCallContext: EthCallContext): EthCallParam {\n try {\n const iface = new Interface([\"function version()\"]);\n const calldata = iface.encodeFunctionData(\"version\", []);\n return {\n context: ethCallContext,\n calldata,\n };\n } catch (e) {\n const stack = new Error().stack;\n throw transformEtherError(e, undefined, stack);\n }\n },\n };\n}\n\nexport class EACAggregatorProxyBoundContractView extends BoundContractView<\n EACAggregatorProxy,\n EACAggregatorProxyContractView\n> {\n async accessController(overrides?: Overrides): Promise<string> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.accessController(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async aggregator(overrides?: Overrides): Promise<string> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.aggregator(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async decimals(overrides?: Overrides): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.decimals(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async description(overrides?: Overrides): Promise<string> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.description(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async getAnswer(\n _roundId: BigNumberish,\n overrides?: Overrides\n ): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.getAnswer(\n _roundId,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async getRoundData(\n _roundId: BigNumberish,\n overrides?: Overrides\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.getRoundData(\n _roundId,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async getTimestamp(\n _roundId: BigNumberish,\n overrides?: Overrides\n ): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.getTimestamp(\n _roundId,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async latestAnswer(overrides?: Overrides): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.latestAnswer(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async latestRound(overrides?: Overrides): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.latestRound(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async latestRoundData(\n overrides?: Overrides\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.latestRoundData(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async latestTimestamp(overrides?: Overrides): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.latestTimestamp(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async owner(overrides?: Overrides): Promise<string> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.owner(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async phaseAggregators(\n arg0: BigNumberish,\n overrides?: Overrides\n ): Promise<string> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.phaseAggregators(\n arg0,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async phaseId(overrides?: Overrides): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.phaseId(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async proposedAggregator(overrides?: Overrides): Promise<string> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.proposedAggregator(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async proposedGetRoundData(\n _roundId: BigNumberish,\n overrides?: Overrides\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.proposedGetRoundData(\n _roundId,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async proposedLatestRoundData(\n overrides?: Overrides\n ): Promise<\n [bigint, bigint, bigint, bigint, bigint] & {\n roundId: bigint;\n answer: bigint;\n startedAt: bigint;\n updatedAt: bigint;\n answeredInRound: bigint;\n }\n > {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.proposedLatestRoundData(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n async version(overrides?: Overrides): Promise<bigint> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.version(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n }\n\n callStatic = {\n view: this.view,\n context: this.context,\n\n async acceptOwnership(overrides?: Overrides): Promise<void> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.callStatic.acceptOwnership(\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n },\n async confirmAggregator(\n _aggregator: string,\n overrides?: Overrides\n ): Promise<void> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.callStatic.confirmAggregator(\n _aggregator,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n },\n async proposeAggregator(\n _aggregator: string,\n overrides?: Overrides\n ): Promise<void> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.callStatic.proposeAggregator(\n _aggregator,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n },\n async setController(\n _accessController: string,\n overrides?: Overrides\n ): Promise<void> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.callStatic.setController(\n _accessController,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n },\n async transferOwnership(_to: string, overrides?: Overrides): Promise<void> {\n const ethCallContext = {\n chainId: this.context.chainId,\n blockTag: \"0x\" + this.context.blockNumber.toString(16),\n address: this.context.address,\n };\n return await this.view.callStatic.transferOwnership(\n _to,\n {\n blockTag: this.context.blockNumber,\n ...overrides,\n },\n this.context.preparedData,\n ethCallContext\n );\n },\n };\n\n encodeCall = {\n view: this.view,\n context: this.context,\n\n acceptOwnership(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.acceptOwnership({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n accessController(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.accessController({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n aggregator(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.aggregator({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n confirmAggregator(\n _aggregator: string,\n overrides?: Overrides\n ): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.confirmAggregator(_aggregator, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n decimals(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.decimals({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n description(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.description({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n getAnswer(_roundId: BigNumberish, overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.getAnswer(_roundId, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n getRoundData(_roundId: BigNumberish, overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.getRoundData(_roundId, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n getTimestamp(_roundId: BigNumberish, overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.getTimestamp(_roundId, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n latestAnswer(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.latestAnswer({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n latestRound(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.latestRound({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n latestRoundData(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.latestRoundData({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n latestTimestamp(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.latestTimestamp({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n owner(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.owner({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n phaseAggregators(arg0: BigNumberish, overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.phaseAggregators(arg0, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n phaseId(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.phaseId({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n proposeAggregator(\n _aggregator: string,\n overrides?: Overrides\n ): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.proposeAggregator(_aggregator, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n proposedAggregator(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.proposedAggregator({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n proposedGetRoundData(\n _roundId: BigNumberish,\n overrides?: Overrides\n ): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.proposedGetRoundData(_roundId, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n proposedLatestRoundData(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.proposedLatestRoundData({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n setController(\n _accessController: string,\n overrides?: Overrides\n ): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.setController(_accessController, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n transferOwnership(_to: string, overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.transferOwnership(_to, {\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n version(overrides?: Overrides): EthCallParam {\n let blockTagWithOverride = \"0x\" + this.context.blockNumber.toString(16);\n if (overrides?.blockTag) {\n blockTagWithOverride =\n typeof overrides.blockTag == \"string\"\n ? overrides.blockTag\n : \"0x\" + overrides.blockTag.toString(16);\n }\n\n return this.view.encodeCall.version({\n chainId: this.context.chainId.toString(),\n address: this.context.address,\n blockTag: blockTagWithOverride,\n });\n },\n };\n}\n\nexport type EACAggregatorProxyContext = ContractContext<\n EACAggregatorProxy,\n EACAggregatorProxyBoundContractView\n>;\n\nexport class EACAggregatorProxyProcessor extends BaseProcessor<\n EACAggregatorProxy,\n EACAggregatorProxyBoundContractView\n> {\n onEventAnswerUpdated(\n handler: (\n event: AnswerUpdatedEvent,\n ctx: EACAggregatorProxyContext\n ) => void,\n filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: AnswerUpdatedEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\n \"AnswerUpdated(int256,uint256,uint256)\"\n ](null, null, null);\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onEventNewRound(\n handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void,\n filter?: NewRoundEventFilter | NewRoundEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: NewRoundEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\"NewRound(uint256,address,uint256)\"](\n null,\n null,\n null\n );\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onEventOwnershipTransferRequested(\n handler: (\n event: OwnershipTransferRequestedEvent,\n ctx: EACAggregatorProxyContext\n ) => void,\n filter?:\n | OwnershipTransferRequestedEventFilter\n | OwnershipTransferRequestedEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: OwnershipTransferRequestedEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\n \"OwnershipTransferRequested(address,address)\"\n ](null, null);\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onEventOwnershipTransferred(\n handler: (\n event: OwnershipTransferredEvent,\n ctx: EACAggregatorProxyContext\n ) => void,\n filter?:\n | OwnershipTransferredEventFilter\n | OwnershipTransferredEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: OwnershipTransferredEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\n \"OwnershipTransferred(address,address)\"\n ](null, null);\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onCallAcceptOwnership(\n handler: (\n call: AcceptOwnershipCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: AcceptOwnershipCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x79ba5097\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallAccessController(\n handler: (\n call: AccessControllerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: AccessControllerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xbc43cbaf\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallAggregator(\n handler: (\n call: AggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: AggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x245a7bfc\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallConfirmAggregator(\n handler: (\n call: ConfirmAggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: ConfirmAggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xa928c096\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallDecimals(\n handler: (call: DecimalsCallTrace, ctx: EACAggregatorProxyContext) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: DecimalsCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x313ce567\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallDescription(\n handler: (\n call: DescriptionCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: DescriptionCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x7284e416\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallGetAnswer(\n handler: (call: GetAnswerCallTrace, ctx: EACAggregatorProxyContext) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: GetAnswerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xb5ab58dc\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallGetRoundData(\n handler: (\n call: GetRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: GetRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x9a6fc8f5\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallGetTimestamp(\n handler: (\n call: GetTimestampCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: GetTimestampCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xb633620c\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallLatestAnswer(\n handler: (\n call: LatestAnswerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: LatestAnswerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x50d25bcd\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallLatestRound(\n handler: (\n call: LatestRoundCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: LatestRoundCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x668a0f02\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallLatestRoundData(\n handler: (\n call: LatestRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: LatestRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xfeaf968c\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallLatestTimestamp(\n handler: (\n call: LatestTimestampCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: LatestTimestampCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x8205bf6a\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallOwner(\n handler: (call: OwnerCallTrace, ctx: EACAggregatorProxyContext) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: OwnerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x8da5cb5b\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallPhaseAggregators(\n handler: (\n call: PhaseAggregatorsCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: PhaseAggregatorsCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xc1597304\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallPhaseId(\n handler: (call: PhaseIdCallTrace, ctx: EACAggregatorProxyContext) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: PhaseIdCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x58303b10\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallProposeAggregator(\n handler: (\n call: ProposeAggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: ProposeAggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xf8a2abd3\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallProposedAggregator(\n handler: (\n call: ProposedAggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: ProposedAggregatorCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xe8c4be30\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallProposedGetRoundData(\n handler: (\n call: ProposedGetRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: ProposedGetRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x6001ac53\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallProposedLatestRoundData(\n handler: (\n call: ProposedLatestRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: ProposedLatestRoundDataCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x8f6b4d91\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallSetController(\n handler: (\n call: SetControllerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: SetControllerCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x92eefe9b\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallTransferOwnership(\n handler: (\n call: TransferOwnershipCallTrace,\n ctx: EACAggregatorProxyContext\n ) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: TransferOwnershipCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0xf2fde38b\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n onCallVersion(\n handler: (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => void,\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n call: VersionCallTrace,\n ctx: EACAggregatorProxyContext\n ) => Promise<PreprocessResult>\n ): this {\n return super.onEthTrace(\n \"0x54fd4d50\",\n handler as any,\n fetchConfig,\n preprocessHandler\n );\n }\n\n public static filters = {\n AnswerUpdated(\n current?: BigNumberish | null,\n roundId?: BigNumberish | null,\n updatedAt?: null\n ): AnswerUpdatedEventFilter {\n return templateContract.filters[\"AnswerUpdated(int256,uint256,uint256)\"](\n current,\n roundId,\n updatedAt\n );\n },\n NewRound(\n roundId?: BigNumberish | null,\n startedBy?: string | null,\n startedAt?: null\n ): NewRoundEventFilter {\n return templateContract.filters[\"NewRound(uint256,address,uint256)\"](\n roundId,\n startedBy,\n startedAt\n );\n },\n OwnershipTransferRequested(\n from?: string | null,\n to?: string | null\n ): OwnershipTransferRequestedEventFilter {\n return templateContract.filters[\n \"OwnershipTransferRequested(address,address)\"\n ](from, to);\n },\n OwnershipTransferred(\n from?: string | null,\n to?: string | null\n ): OwnershipTransferredEventFilter {\n return templateContract.filters[\"OwnershipTransferred(address,address)\"](\n from,\n to\n );\n },\n };\n\n protected CreateBoundContractView(): EACAggregatorProxyBoundContractView {\n const view = getEACAggregatorProxyContract(\n this.config.network,\n this.config.address\n );\n return new EACAggregatorProxyBoundContractView(this.config.address, view);\n }\n\n public static bind(options: BindOptions): EACAggregatorProxyProcessor {\n if (!options.name) {\n options.name = \"EACAggregatorProxy\";\n }\n let processor = getProcessor(options) as EACAggregatorProxyProcessor;\n if (!processor) {\n processor = new EACAggregatorProxyProcessor(options);\n addProcessor(options, processor);\n }\n return processor;\n }\n}\n\nexport class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<\n EACAggregatorProxy,\n EACAggregatorProxyBoundContractView\n> {\n bindInternal(options: BindOptions) {\n if (!options.name) {\n options.name = \"EACAggregatorProxy\";\n }\n let processor = getProcessor(options) as EACAggregatorProxyProcessor;\n if (!processor) {\n processor = new EACAggregatorProxyProcessor(options);\n addProcessor(options, processor);\n }\n return processor;\n }\n\n onEventAnswerUpdated(\n handler: (\n event: AnswerUpdatedEvent,\n ctx: EACAggregatorProxyContext\n ) => void,\n filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: AnswerUpdatedEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\n \"AnswerUpdated(int256,uint256,uint256)\"\n ](null, null, null);\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onEventNewRound(\n handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void,\n filter?: NewRoundEventFilter | NewRoundEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: NewRoundEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\"NewRound(uint256,address,uint256)\"](\n null,\n null,\n null\n );\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onEventOwnershipTransferRequested(\n handler: (\n event: OwnershipTransferRequestedEvent,\n ctx: EACAggregatorProxyContext\n ) => void,\n filter?:\n | OwnershipTransferRequestedEventFilter\n | OwnershipTransferRequestedEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: OwnershipTransferRequestedEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\n \"OwnershipTransferRequested(address,address)\"\n ](null, null);\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n\n onEventOwnershipTransferred(\n handler: (\n event: OwnershipTransferredEvent,\n ctx: EACAggregatorProxyContext\n ) => void,\n filter?:\n | OwnershipTransferredEventFilter\n | OwnershipTransferredEventFilter[],\n fetchConfig?: Partial<EthFetchConfig>,\n preprocessHandler?: (\n event: OwnershipTransferredEvent,\n ctx: EACAggregatorProxyContext,\n preprocessStore: { [k: string]: any }\n ) => Promise<PreprocessResult>\n ): this {\n if (!filter) {\n filter = templateContract.filters[\n \"OwnershipTransferred(address,address)\"\n ](null, null);\n }\n return super.onEthEvent(handler, filter!, fetchConfig, preprocessHandler);\n }\n}\n\nexport function getEACAggregatorProxyContract(\n chainId: EthChainId,\n address: string\n): EACAggregatorProxyContractView {\n let contract = getContractByABI(\n \"EACAggregatorProxy\",\n address,\n chainId\n ) as EACAggregatorProxyContractView;\n if (!contract) {\n const rawContract = EACAggregatorProxy__factory.connect(\n address,\n getProvider(chainId)\n );\n contract = new EACAggregatorProxyContractView(rawContract);\n addContractByABI(\"EACAggregatorProxy\", address, chainId, contract);\n }\n return contract;\n}\n\nexport function getEACAggregatorProxyContractOnContext(\n context: EthContext,\n address: string\n): EACAggregatorProxyBoundContractView {\n const view = getEACAggregatorProxyContract(context.getChainId(), address);\n const boundView = new EACAggregatorProxyBoundContractView(address, view);\n boundView.context = context;\n if (boundView.callStatic) {\n boundView.callStatic.context = context;\n }\n return boundView;\n}\n;process.stdout.write(\"\");","/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nimport { LogParams } from \"ethers/providers\";\nimport { EthChainId } from \"@sentio/sdk/eth\";\nimport {\n AnswerUpdatedEventObject,\n NewRoundEventObject,\n OwnershipTransferRequestedEventObject,\n OwnershipTransferredEventObject,\n} from \"./EACAggregatorProxy.js\";\nimport { getEACAggregatorProxyContract } from \"./eacaggregatorproxy-processor.js\";\nconst mockField = {\n blockHash:\n \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n blockNumber: 0,\n logIndex: 0,\n removed: false,\n transactionHash:\n \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n transactionIndex: 0,\n};\n\nexport function mockAnswerUpdatedLog(\n contractAddress: string,\n event: AnswerUpdatedEventObject\n): LogParams {\n const contract = getEACAggregatorProxyContract(\n EthChainId.ETHEREUM,\n contractAddress\n );\n const encodedLog = contract.rawContract.interface.encodeEventLog(\n \"AnswerUpdated(int256,uint256,uint256)\",\n [event.current, event.roundId, event.updatedAt]\n );\n return {\n ...mockField,\n index: 0,\n address: contractAddress,\n data: encodedLog.data,\n topics: encodedLog.topics,\n };\n}\n\nexport function mockNewRoundLog(\n contractAddress: string,\n event: NewRoundEventObject\n): LogParams {\n const contract = getEACAggregatorProxyContract(\n EthChainId.ETHEREUM,\n contractAddress\n );\n const encodedLog = contract.rawContract.interface.encodeEventLog(\n \"NewRound(uint256,address,uint256)\",\n [event.roundId, event.startedBy, event.startedAt]\n );\n return {\n ...mockField,\n index: 0,\n address: contractAddress,\n data: encodedLog.data,\n topics: encodedLog.topics,\n };\n}\n\nexport function mockOwnershipTransferRequestedLog(\n contractAddress: string,\n event: OwnershipTransferRequestedEventObject\n): LogParams {\n const contract = getEACAggregatorProxyContract(\n EthChainId.ETHEREUM,\n contractAddress\n );\n const encodedLog = contract.rawContract.interface.encodeEventLog(\n \"OwnershipTransferRequested(address,address)\",\n [event.from, event.to]\n );\n return {\n ...mockField,\n index: 0,\n address: contractAddress,\n data: encodedLog.data,\n topics: encodedLog.topics,\n };\n}\n\nexport function mockOwnershipTransferredLog(\n contractAddress: string,\n event: OwnershipTransferredEventObject\n): LogParams {\n const contract = getEACAggregatorProxyContract(\n EthChainId.ETHEREUM,\n contractAddress\n );\n const encodedLog = contract.rawContract.interface.encodeEventLog(\n \"OwnershipTransferred(address,address)\",\n [event.from, event.to]\n );\n return {\n ...mockField,\n index: 0,\n address: contractAddress,\n data: encodedLog.data,\n topics: encodedLog.topics,\n };\n}\n;process.stdout.write(\"\");","/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseContract, Interface } from \"ethers\";\nimport type { ContractRunner } from \"ethers/providers\";\nimport type { TypedEventFilter, TypedEvent, PromiseOrValue } from \"./common.js\";\n\nexport interface EACAggregatorProxyInterface extends Interface {}\n\nexport interface AnswerUpdatedEventObject {\n current: bigint;\n roundId: bigint;\n updatedAt: bigint;\n}\nexport type AnswerUpdatedEvent = TypedEvent<\n [bigint, bigint, bigint],\n AnswerUpdatedEventObject\n>;\n\nexport type AnswerUpdatedEventFilter = TypedEventFilter<AnswerUpdatedEvent>;\n\nexport interface NewRoundEventObject {\n roundId: bigint;\n startedBy: string;\n startedAt: bigint;\n}\nexport type NewRoundEvent = TypedEvent<\n [bigint, string, bigint],\n NewRoundEventObject\n>;\n\nexport type NewRoundEventFilter = TypedEventFilter<NewRoundEvent>;\n\nexport interface OwnershipTransferRequestedEventObject {\n from: string;\n to: string;\n}\nexport type OwnershipTransferRequestedEvent = TypedEvent<\n [string, string],\n OwnershipTransferRequestedEventObject\n>;\n\nexport type OwnershipTransferRequestedEventFilter =\n TypedEventFilter<OwnershipTransferRequestedEvent>;\n\nexport interface OwnershipTransferredEventObject {\n from: string;\n to: string;\n}\nexport type OwnershipTransferredEvent = TypedEvent<\n [string, string],\n OwnershipTransferredEventObject\n>;\n\nexport type OwnershipTransferredEventFilter =\n TypedEventFilter<OwnershipTransferredEvent>;\n\nexport interface EACAggregatorProxy extends BaseContract {\n connect(runner: null | ContractRunner): this;\n\n interface: EACAggregatorProxyInterface;\n}\n;process.stdout.write(\"\");"],"mappings":";yLAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yCAAAE,EAAA,mCAAAC,EAAA,gCAAAC,EAAA,wCAAAC,EAAA,gCAAAC,EAAA,kCAAAC,EAAA,2CAAAC,EAAA,yBAAAC,EAAA,oBAAAC,EAAA,sCAAAC,EAAA,gCAAAC,IC8LA,IAAMC,EAAmBC,EAA4B,QAC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,MAAM,WAAW6B,EAASC,EAASC,EAAaC,CAAiB,CAC1E,CAEA,sBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,uBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,iBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,wBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,eACEH,EACAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,kBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,gBACEH,EACAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,mBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,mBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,mBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,kBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,sBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,sBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,YACEH,EACAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,uBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,cACEH,EACAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,wBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,yBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,2BACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,8BACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,oBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,wBACEH,EAIAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CAEA,cACEH,EACAE,EACAC,EAIM,CACN,OAAO,MAAM,WACX,aACAH,EACAE,EACAC,CACF,CACF,CA4CU,yBAA+D,CACvE,IAAMC,EAAOC,EACX,KAAK,OAAO,QACZ,KAAK,OAAO,OACd,EACA,OAAO,IAAIV,EAAoC,KAAK,OAAO,QAASS,CAAI,CAC1E,CAEA,OAAc,KAAKE,EAAmD,CAC/DA,EAAQ,OACXA,EAAQ,KAAO,sBAEjB,IAAIC,EAAYC,EAAaF,CAAO,EACpC,OAAKC,IACHA,EAAY,IAAIT,EAA4BQ,CAAO,EACnDG,EAAaH,EAASC,CAAS,GAE1BA,CACT,CACF,EA9jBaG,EAANZ,EAigBLa,EAjgBWD,EAigBG,UAAU,CACtB,cACEE,EACAC,EACAC,EAC0B,CAC1B,OAAO3C,EAAiB,QAAQ,uCAAuC,EACrEyC,EACAC,EACAC,CACF,CACF,EACA,SACED,EACAE,EACAC,EACqB,CACrB,OAAO7C,EAAiB,QAAQ,mCAAmC,EACjE0C,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UAAU,eAChD,wCACA,CAACC,EAAM,KAAMA,EAAM,EAAE,CACvB,EACA,MAAO,CACL,GAAGH,EACH,MAAO,EACP,QAASE,EACT,KAAME,EAAW,KACjB,OAAQA,EAAW,MACrB,CACF,CACC,QAAQ,OAAO,MAAM,EAAE,EC5CvB,QAAQ,OAAO,MAAM,EAAE,EHtDvB,QAAQ,OAAO,MAAM,EAAE","names":["eacaggregatorproxy_exports","__export","EACAggregatorProxyBoundContractView","EACAggregatorProxyContractView","EACAggregatorProxyProcessor","EACAggregatorProxyProcessorTemplate","EACAggregatorProxy__factory","getEACAggregatorProxyContract","getEACAggregatorProxyContractOnContext","mockAnswerUpdatedLog","mockNewRoundLog","mockOwnershipTransferRequestedLog","mockOwnershipTransferredLog","templateContract","EACAggregatorProxy__factory","DummyProvider","iface","Interface","EACAggregatorProxyContractView","ContractView","contract","overrides","preparedData","ethCallContext","calldata","ethCallKey","makeEthCallKey","ret","result","e","stack","transformEtherError","_roundId","arg0","_aggregator","_accessController","_to","EACAggregatorProxyBoundContractView","BoundContractView","blockTagWithOverride","_EACAggregatorProxyProcessor","BaseProcessor","handler","filter","fetchConfig","preprocessHandler","view","getEACAggregatorProxyContract","options","processor","getProcessor","addProcessor","EACAggregatorProxyProcessor","__publicField","current","roundId","updatedAt","startedBy","startedAt","from","to","EACAggregatorProxyProcessorTemplate","BaseProcessorTemplate","chainId","address","getContractByABI","rawContract","getProvider","addContractByABI","getEACAggregatorProxyContractOnContext","context","boundView","mockField","mockAnswerUpdatedLog","contractAddress","event","encodedLog","getEACAggregatorProxyContract","mockNewRoundLog","mockOwnershipTransferRequestedLog","mockOwnershipTransferredLog"]}
|