From ced1ad5a55b5b2eb00b8642028d9ab9ce3fd25c0 Mon Sep 17 00:00:00 2001 From: ckoopmann Date: Thu, 4 Jan 2024 16:27:05 +0800 Subject: [PATCH] Add comment with link to optimistic governor reference implementation of _constructClaim --- contracts/adapters/OptimisticAuctionRebalanceExtensionV1.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/adapters/OptimisticAuctionRebalanceExtensionV1.sol b/contracts/adapters/OptimisticAuctionRebalanceExtensionV1.sol index 447a69d9..6ddd28a4 100644 --- a/contracts/adapters/OptimisticAuctionRebalanceExtensionV1.sol +++ b/contracts/adapters/OptimisticAuctionRebalanceExtensionV1.sol @@ -377,6 +377,7 @@ contract OptimisticAuctionRebalanceExtensionV1 is AuctionRebalanceExtension, As /* ============ Internal Functions ============ */ // Constructs the claim that will be asserted at the Optimistic Oracle V3. + // @dev Inspired by the equivalent function in the OptimisticGovernor: https://github.com/UMAprotocol/protocol/blob/96cf5be32a3f57ac761f004890dd3466c63e1fa5/packages/core/contracts/optimistic-governor/implementation/OptimisticGovernor.sol#L437 function _constructClaim(bytes32 proposalHash, bytes32 rulesHash) internal pure returns (bytes memory) { return abi.encodePacked(