From 7a41d3c332fe56986940c93fdbc8e7fa9f18f283 Mon Sep 17 00:00:00 2001 From: Benjamin Bollen Date: Fri, 7 Jun 2024 16:49:42 +0100 Subject: [PATCH 1/2] (erc20Lift): add event of deployed wrapper contract --- src/lift/ERC20Lift.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lift/ERC20Lift.sol b/src/lift/ERC20Lift.sol index 8b70dbe..1196f15 100644 --- a/src/lift/ERC20Lift.sol +++ b/src/lift/ERC20Lift.sol @@ -26,6 +26,10 @@ contract ERC20Lift is ProxyFactory, IERC20Lift, ICirclesErrors { mapping(CirclesType => mapping(address => address)) public erc20Circles; + // Events + + event ERC20WrapperDeployed(address indexed avatar, address indexed erc20Wrapper, CirclesType circlesType); + // Constructor constructor( @@ -83,6 +87,8 @@ contract ERC20Lift is ProxyFactory, IERC20Lift, ICirclesErrors { if (erc20Wrapper == address(0)) { erc20Wrapper = _deployERC20(masterCopyERC20Wrapper[uint256(_circlesType)], _avatar); erc20Circles[_circlesType][_avatar] = erc20Wrapper; + + emit ERC20WrapperDeployed(_avatar, erc20Wrapper, _circlesType); } return erc20Wrapper; } From e685bd77f0b9b9ecf3ec777300d085c77b4db9f9 Mon Sep 17 00:00:00 2001 From: Benjamin Bollen Date: Fri, 7 Jun 2024 17:06:05 +0100 Subject: [PATCH 2/2] trigger CI