From 1020bfd6760f2f510c58c8074502b292148d4efb Mon Sep 17 00:00:00 2001 From: Ivan Zhelyazkov Date: Tue, 28 Nov 2023 14:19:35 +0200 Subject: [PATCH] carbon pol eth conversion - minor fix --- contracts/pol/CarbonPOL.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/pol/CarbonPOL.sol b/contracts/pol/CarbonPOL.sol index fcef544c..2a3d89a7 100644 --- a/contracts/pol/CarbonPOL.sol +++ b/contracts/pol/CarbonPOL.sol @@ -308,7 +308,7 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils } else { inputAmount = _sellTokenForETH(token, amount); } - emit TokenTraded(msg.sender, token, inputAmount, amount); + emit TokenTraded({ caller: msg.sender, token: token, inputAmount: inputAmount, outputAmount: amount }); } function _sellTokenForETH(Token token, uint128 amount) private returns (uint128) {