Skip to content

Commit

Permalink
enhance PrincipalWithdrawalProcessed event
Browse files Browse the repository at this point in the history
  • Loading branch information
danoctavian committed Oct 6, 2024
1 parent 10b8d50 commit e083962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ynEIGEN/EigenStrategyManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface IEigenStrategyManagerEvents {
event StrategyAdded(address indexed asset, address indexed strategy);
event StakedAssetsToNode(uint256 indexed nodeId, IERC20[] assets, uint256[] amounts);
event DepositedToEigenlayer(IERC20[] depositAssets, uint256[] depositAmounts, IStrategy[] strategiesForNode);
event PrincipalWithdrawalProcessed(uint256 nodeId, uint256 amountToReinvest, uint256 amountToQueue);
event PrincipalWithdrawalProcessed(uint256 indexed nodeId, address indexed asset, uint256 amountToReinvest, uint256 amountToQueue);
event StrategyBalanceUpdated(address indexed asset, address indexed strategy, uint256 nodeCount, uint128 stakedBalance, uint128 withdrawnBalance);
}

Expand Down Expand Up @@ -378,7 +378,7 @@ contract EigenStrategyManager is

_updateTokenStakingNodesBalances(IERC20(_action.asset), IStrategy(address(0)));

emit PrincipalWithdrawalProcessed(_action.nodeId, _action.amountToReinvest, _action.amountToQueue);
emit PrincipalWithdrawalProcessed(_action.nodeId, _action.asset, _action.amountToReinvest, _action.amountToQueue);
}

//--------------------------------------------------------------------------------------
Expand Down

0 comments on commit e083962

Please sign in to comment.