We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4aae8 commit 8d74ce3Copy full SHA for 8d74ce3
src/EulerSwap.sol
@@ -36,6 +36,7 @@ contract EulerSwap is IEulerSwap, EVCUtil {
36
uint112 public reserve1;
37
uint32 public status; // 0 = unactivated, 1 = unlocked, 2 = locked
38
39
+ event EulerSwapCreated(address indexed asset0, address indexed asset1);
40
event Swap(
41
address indexed sender,
42
uint256 amount0In,
@@ -94,6 +95,8 @@ contract EulerSwap is IEulerSwap, EVCUtil {
94
95
priceY = curveParams.priceY;
96
concentrationX = curveParams.concentrationX;
97
concentrationY = curveParams.concentrationY;
98
+
99
+ emit EulerSwapCreated(asset0Addr, asset1Addr);
100
}
101
102
/// @inheritdoc IEulerSwap
0 commit comments