Skip to content

Commit

Permalink
feat: log default admin in initialized event
Browse files Browse the repository at this point in the history
  • Loading branch information
failingtwice committed Jan 31, 2025
1 parent 18f184b commit 9839009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/0.8.25/vaults/Permissions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ abstract contract Permissions is AccessControlMutuallyConfirmable {

_setConfirmLifetime(7 days);

emit Initialized();
emit Initialized(_defaultAdmin);
}

function stakingVault() public view returns (IStakingVault) {
Expand Down Expand Up @@ -193,7 +193,7 @@ abstract contract Permissions is AccessControlMutuallyConfirmable {
/**
* @notice Emitted when the contract is initialized
*/
event Initialized();
event Initialized(address _defaultAdmin);

/**
* @notice Error when direct calls to the implementation are forbidden
Expand Down

0 comments on commit 9839009

Please sign in to comment.