From 8cb40199846cf935da0a55e7cfa68840d34bf42e Mon Sep 17 00:00:00 2001 From: Ihor Farion Date: Thu, 13 Nov 2025 10:05:27 -0800 Subject: [PATCH] emit AdminExternalCallExecuted event Signed-off-by: Ihor Farion --- contracts/SpokePool.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/SpokePool.sol b/contracts/SpokePool.sol index adfdabf98..490f134c5 100644 --- a/contracts/SpokePool.sol +++ b/contracts/SpokePool.sol @@ -202,6 +202,9 @@ abstract contract SpokePool is event PausedFills(bool isPaused); event SetOFTMessenger(address indexed token, address indexed messenger); + /// @notice Emitted when the call to external contract is executed, triggered by an admin action + event AdminExternalCallExecuted(address indexed target, bytes data); + error OFTTokenMismatch(); /// @notice Thrown when the native fee sent by the caller is insufficient to cover the OFT transfer. error OFTFeeUnderpaid(); @@ -388,6 +391,7 @@ abstract contract SpokePool is (success, returnData) = target.call(data); if (!success) revert ExternalCallExecutionFailed(); + emit AdminExternalCallExecuted(target, data); } /**************************************