From deaf733f275b73b949193f3d3d749c2c7bb952ab Mon Sep 17 00:00:00 2001 From: Sir-Deon Date: Wed, 3 Apr 2024 18:45:20 +0100 Subject: [PATCH] Finished Treasury --- contracts/Treasury.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/Treasury.sol b/contracts/Treasury.sol index 11dff59..82da7ff 100644 --- a/contracts/Treasury.sol +++ b/contracts/Treasury.sol @@ -24,6 +24,7 @@ contract Treasury is ITreasury, Ownable, ReentrancyGuard { address indexed _token, uint256 _amount ); + event UnauthorizedAccess(address indexed _user, bool status); constructor( address _multisig1, @@ -199,6 +200,7 @@ contract Treasury is ITreasury, Ownable, ReentrancyGuard { return true; } _pause(); + emit UnauthorizedAccess(msg.sender, paused); return false; }