Skip to content

Commit

Permalink
feat: add event in DecryptionOracleCaller
Browse files Browse the repository at this point in the history
  • Loading branch information
jatZama committed Jan 10, 2025
1 parent 89c3288 commit 85d7231
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions decryption/DecryptionOracleCaller.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -258,5 +260,6 @@ abstract contract DecryptionOracleCaller {
revert InvalidKMSSignatures();
}
_;
emit DecryptionFulfilled(requestID);
}
}

0 comments on commit 85d7231

Please sign in to comment.