From c2c087bbe45eb4a3fbcbfbffc52d5f124a5b8885 Mon Sep 17 00:00:00 2001 From: sanchaymittal Date: Thu, 4 May 2023 15:44:53 +0900 Subject: [PATCH] chg: indexed event param !review --- contracts/InstadappTarget.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/InstadappTarget.sol b/contracts/InstadappTarget.sol index d2396a6..c553e86 100644 --- a/contracts/InstadappTarget.sol +++ b/contracts/InstadappTarget.sol @@ -22,7 +22,7 @@ contract InstadappTarget is IXReceiver, InstadappAdapter { /// Events /// @dev This event is emitted when the authCast function is called. - event AuthCast(bytes32 transferId, address dsaAddress, address auth, bool success, bytes returnedData); + event AuthCast(bytes32 indexed transferId, address indexed dsaAddress, bool indexed success, address auth, bytes returnedData); /// Modifiers /// @dev This modifier is used to ensure that only the Connext contract can call the function. @@ -88,7 +88,7 @@ contract InstadappTarget is IXReceiver, InstadappAdapter { ) ); - emit AuthCast(_transferId, dsaAddress, auth, success, returnedData); + emit AuthCast(_transferId, dsaAddress, success, auth, returnedData); return returnedData; }