Skip to content

Commit

Permalink
Merge pull request #31 from soramitsu/feature/add_extra_details_to_pe…
Browse files Browse the repository at this point in the history
…nalty_pool_claim

[Update] add PenaltyClaim event in ERC721
  • Loading branch information
ayodeko authored Jun 12, 2024
2 parents 4c25dc2 + 10a964c commit 2d5fde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/pools/ERC721/ERC721PenaltyFeePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ contract draftERC721PenaltyFeepPool is
pool.totalClaimed += pending;
pool.totalPenalties += penalityAmount;
IERC20(pool.rewardToken).safeTransfer(msg.sender, pending);
emit Claim(msg.sender, pending);
emit PenaltyClaim(msg.sender, pending, penalityAmount, pool.totalPenalties);
} else {
revert NothingToClaim();
}
Expand Down

0 comments on commit 2d5fde2

Please sign in to comment.