Skip to content

Commit b16ba59

Browse files
committed
Add minipool scrubbed event
1 parent 74a2fc8 commit b16ba59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contracts/contract/minipool/RocketMinipoolDelegate.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ contract RocketMinipoolDelegate is RocketMinipoolStorageLayout, RocketMinipoolIn
3737
// Events
3838
event StatusUpdated(uint8 indexed status, uint256 time);
3939
event ScrubVoted(address indexed member, uint256 time);
40+
event MinipoolScrubbed(uint256 time);
4041
event EtherDeposited(address indexed from, uint256 amount, uint256 time);
4142
event EtherWithdrawn(address indexed to, uint256 amount, uint256 time);
4243
event EtherWithdrawalProcessed(address indexed executed, uint256 nodeAmount, uint256 userAmount, uint256 totalBalance, uint256 time);
@@ -478,6 +479,8 @@ contract RocketMinipoolDelegate is RocketMinipoolStorageLayout, RocketMinipoolIn
478479
if (totalScrubVotes.add(1) > quorum) {
479480
// Dissolve this minipool, recycling ETH back to deposit pool
480481
_dissolve();
482+
// Emit event
483+
emit MinipoolScrubbed(block.timestamp);
481484
} else {
482485
// Increment total
483486
totalScrubVotes = totalScrubVotes.add(1);

0 commit comments

Comments
 (0)