Skip to content

Commit

Permalink
chore: log fee recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Feb 16, 2024
1 parent 07c1c4c commit 17f4b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PublicAllocator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ contract PublicAllocator is IPublicAllocatorStaticTyping {
function transferFee(address payable feeRecipient) external onlyOwner {
uint256 balance = address(this).balance;
feeRecipient.transfer(balance);
emit EventsLib.TransferFee(balance);
emit EventsLib.TransferFee(balance, feeRecipient);
}

/// @inheritdoc IPublicAllocatorBase
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/EventsLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ library EventsLib {
event SetFee(uint256 fee);

/// @notice Emitted when the owner transfers the fee.
event TransferFee(uint256 amount);
event TransferFee(uint256 amount, address indexed feeRecipient);

/// @notice Emitted when the owner updates some flow caps.
event SetFlowCaps(FlowConfig[] flowCaps);
Expand Down

0 comments on commit 17f4b84

Please sign in to comment.