From 85d723191e3204ab5b62bd302018571d884ede9e Mon Sep 17 00:00:00 2001 From: jatZama Date: Fri, 10 Jan 2025 15:57:31 +0100 Subject: [PATCH] feat: add event in DecryptionOracleCaller --- decryption/DecryptionOracleCaller.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/decryption/DecryptionOracleCaller.sol b/decryption/DecryptionOracleCaller.sol index 16a6bd79..80a8c470 100644 --- a/decryption/DecryptionOracleCaller.sol +++ b/decryption/DecryptionOracleCaller.sol @@ -40,6 +40,8 @@ abstract contract DecryptionOracleCaller { mapping(uint256 => address[]) private paramsAddress; mapping(uint256 => uint256[]) private paramsUint256; + event DecryptionFulfilled(uint256 indexed requestID); + constructor() {} function addParamsEBool(uint256 requestID, ebool _ebool) internal { @@ -258,5 +260,6 @@ abstract contract DecryptionOracleCaller { revert InvalidKMSSignatures(); } _; + emit DecryptionFulfilled(requestID); } }