Skip to content

Commit

Permalink
Include fee in event
Browse files Browse the repository at this point in the history
  • Loading branch information
wbt committed Oct 21, 2023
1 parent 84b2ae6 commit a497083
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/hardhat/contracts/SubscryptoToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ contract SubscryptoToken is ERC20, ERC20Burnable, Ownable, ERC20Permit {
event RevenueRealized(
address indexed merchant,
address indexed customer,
uint amount
uint amount,
uint fee
);

event TopUp(
Expand Down Expand Up @@ -238,7 +239,8 @@ contract SubscryptoToken is ERC20, ERC20Burnable, Ownable, ERC20Permit {
emit RevenueRealized(
merchant,
customer,
merchantRevenue
merchantRevenue,
fee
);
}
}
Expand Down

0 comments on commit a497083

Please sign in to comment.