Skip to content

Commit 23c9556

Browse files
committed
index event recipients
1 parent c2413ee commit 23c9556

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Payroll.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ contract Payroll {
2323
uint256 endTime;
2424
}
2525

26-
event SetRecipient(address recipient, uint256 amount, uint256 endTime);
27-
event AmountWithdrawn(address recipient, uint256 amount);
26+
event SetRecipient(address indexed recipient, uint256 amount, uint256 endTime);
27+
event AmountWithdrawn(address indexed recipient, uint256 amount);
2828

2929
constructor(address _treasuryAddress, address _governance, address _asset) {
3030
require(IERC20(_asset).decimals() == 18, "Payroll::constructor: asset must have 18 decimals");

0 commit comments

Comments
 (0)