事件中增加购买的ceg数量
This commit is contained in:
parent
7e836a135c
commit
f705b89f87
File diff suppressed because one or more lines are too long
@ -25,7 +25,8 @@ contract BETokenMall is MallBase, ReentrancyGuard {
|
||||
address indexed buyer,
|
||||
address tokenAddress,
|
||||
address currency,
|
||||
uint256 amount
|
||||
uint256 amount,
|
||||
uint256 tokenAmount
|
||||
);
|
||||
event TokenAddressUpdated(address tokenAddress);
|
||||
event SellerUpdated(address seller);
|
||||
@ -103,6 +104,6 @@ contract BETokenMall is MallBase, ReentrancyGuard {
|
||||
// Transfer token to buyer
|
||||
IERC20(tokenAddress).safeTransferFrom(seller, buyer, tokenAmount);
|
||||
// emit buy event
|
||||
emit BuyTransaction(buyer, tokenAddress, currency, amount);
|
||||
emit BuyTransaction(buyer, tokenAddress, currency, amount, tokenAmount);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user