Skip to content

Commit

Permalink
UNUSED EVENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
pahor167 committed Jul 27, 2023
1 parent 108dc90 commit 17bb4ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/protocol/contracts/common/FeeHandler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ contract FeeHandler is
event DailyLimitHit(address token, uint256 burning);
event MaxSlippageSet(address token, uint256 maxSlippage);
event DailySellLimitUpdated(uint256 amount);
event RouterAddressSet(address token, address router);
event RouterAddressRemoved(address token, address router);
event RouterUsed(address router);
event FeeBeneficiarySet(address newBeneficiary);
event BurnFractionSet(uint256 fraction);
event TokenAdded(address tokenAddress, address handlerAddress);
event TokenRemoved(address tokenAddress);

/**
* @notice Sets initialized == true on implementation contracts.
Expand Down Expand Up @@ -236,6 +235,7 @@ contract FeeHandler is
tokenState.handler = handlerAddress;

activeTokens.add(tokenAddress);
emit TokenAdded(tokenAddress, handlerAddress)
}

/**
Expand Down Expand Up @@ -285,6 +285,7 @@ contract FeeHandler is
_deactivateToken(tokenAddress);
TokenState storage tokenState = tokenStates[tokenAddress];
tokenState.handler = address(0);
emit TokenRemoved(tokenAddress);
}

function _sell(address tokenAddress) private onlyWhenNotFrozen nonReentrant {
Expand Down

0 comments on commit 17bb4ed

Please sign in to comment.