Skip to content

Commit 19dae92

Browse files
committed
add feeAmount to Deposit Event
1 parent 3da8bf4 commit 19dae92

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

interface/IEscrow.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct DepositParams {
2828
* - A protocol fee can be configured and applied to deposits.
2929
*/
3030
interface IEscrow {
31-
event Deposited (uint indexed depositId, address indexed token, address indexed recipient, address sender, uint netAmount, uint claimDeadline);
31+
event Deposited (uint indexed depositId, address indexed token, address indexed recipient, address sender, uint netAmount, uint feeAmount, uint claimDeadline);
3232
event Claimed (uint indexed depositId, address indexed recipient, uint amount);
3333
event Reclaimed (uint indexed depositId, address indexed sender, uint amount);
3434
event CanClaimSet (address indexed recipient, bool status);

src/Escrow.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ contract Escrow is Owned, IEscrow {
109109
param.recipient,
110110
param.sender,
111111
netAmount,
112+
feeAmount,
112113
block.timestamp + param.claimPeriod
113114
);
114115

0 commit comments

Comments
 (0)