From 5caa4be03e88e6d1cd337c3c464578bd88c18f3c Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Thu, 3 Jul 2025 10:40:51 +0300 Subject: [PATCH] feat: add quoter updated event --- solidity/SwapPool.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/solidity/SwapPool.sol b/solidity/SwapPool.sol index 7cb001e..493c840 100644 --- a/solidity/SwapPool.sol +++ b/solidity/SwapPool.sol @@ -60,6 +60,8 @@ contract SwapPool { uint256 amountOut ); + event QuoterUpdated(address indexed newQuoter); + constructor(string memory _name, string memory _symbol, uint8 _decimals, address _tokenRegistry, address _tokenLimiter) { name = _name; symbol = _symbol; @@ -105,6 +107,7 @@ contract SwapPool { require(!isSealed(QUOTER_STATE), "ERR_SEAL"); require(msg.sender == owner, "ERR_AXX"); quoter = _quoter; + emit QuoterUpdated(_quoter); } // Implements EIP173