From 6f64c2ecc350f8d05c6162c61e2f137d4ee0f273 Mon Sep 17 00:00:00 2001 From: sarmat Date: Wed, 15 Mar 2023 22:39:49 -0600 Subject: [PATCH] reaction add event --- contracts/OBSSStorage.sol | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contracts/OBSSStorage.sol b/contracts/OBSSStorage.sol index 598cd94..27f58dc 100644 --- a/contracts/OBSSStorage.sol +++ b/contracts/OBSSStorage.sol @@ -445,6 +445,13 @@ contract OBSSStorage is if (msg.value > 0) { payable(legacyReaction.reaction.reactionOwner).transfer(msg.value); } + emit ReactionAdded( + legacyReaction.reaction.reactionOwner, + 0, + legacyReaction.reaction.reactionType, + reactionId, + 0 + ); unchecked { ++i; }