// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.12; import "src/contracts/interfaces/IStrategyManager.sol"; interface IStrategyManagerEvents { /** * @notice Emitted when a new deposit occurs on behalf of `depositor`. * @param depositor Is the staker who is depositing funds into EigenLayer. * @param strategy Is the strategy that `depositor` has deposited into. * @param token Is the token that `depositor` deposited. * @param shares Is the number of new shares `depositor` has been granted in `strategy`. */ event Deposit(address depositor, IERC20 token, IStrategy strategy, uint256 shares); /** * @notice Emitted when a new withdrawal occurs on behalf of `depositor`. * @param depositor Is the staker who is queuing a withdrawal from EigenLayer. * @param nonce Is the withdrawal's unique identifier (to the depositor). * @param strategy Is the strategy that `depositor` has queued to withdraw from. * @param shares Is the number of shares `depositor` has queued to withdraw. */ event ShareWithdrawalQueued(address depositor, uint96 nonce, IStrategy strategy, uint256 shares); /** * @notice Emitted when a new withdrawal is queued by `depositor`. * @param depositor Is the staker who is withdrawing funds from EigenLayer. * @param nonce Is the withdrawal's unique identifier (to the depositor). * @param withdrawer Is the party specified by `staker` who will be able to complete the queued withdrawal and receive the withdrawn funds. * @param delegatedAddress Is the party who the `staker` was delegated to at the time of creating the queued withdrawal * @param withdrawalRoot Is a hash of the input data for the withdrawal. */ event WithdrawalQueued( address depositor, uint96 nonce, address withdrawer, address delegatedAddress, bytes32 withdrawalRoot ); /// @notice Emitted when a queued withdrawal is completed event WithdrawalCompleted( address indexed depositor, uint96 nonce, address indexed withdrawer, bytes32 withdrawalRoot ); /// @notice Emitted when `thirdPartyTransfersForbidden` is updated for a strategy and value by the owner event UpdatedThirdPartyTransfersForbidden(IStrategy strategy, bool value); /// @notice Emitted when the `strategyWhitelister` is changed event StrategyWhitelisterChanged(address previousAddress, address newAddress); /// @notice Emitted when a strategy is added to the approved list of strategies for deposit event StrategyAddedToDepositWhitelist(IStrategy strategy); /// @notice Emitted when a strategy is removed from the approved list of strategies for deposit event StrategyRemovedFromDepositWhitelist(IStrategy strategy); /// @notice Emitted when the `withdrawalDelayBlocks` variable is modified from `previousValue` to `newValue`. event WithdrawalDelayBlocksSet(uint256 previousValue, uint256 newValue); }