From 84472d26ed27a834e2c21b19c91e19753972e2f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hi=E1=BA=BFu=20Ph=E1=BA=A1m?= Date: Wed, 7 Feb 2024 16:32:08 +0700 Subject: [PATCH] add biddingUnixNano in BuyArtwork event --- contracts/FeralfileArtworkV5.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/FeralfileArtworkV5.sol b/contracts/FeralfileArtworkV5.sol index 9a4a76c..e11f20e 100644 --- a/contracts/FeralfileArtworkV5.sol +++ b/contracts/FeralfileArtworkV5.sol @@ -413,7 +413,7 @@ contract FeralfileExhibitionV5 is } } - emit BuyArtwork(saleData_.destination, saleData_.tokenIds[i]); + emit BuyArtwork(saleData_.destination, saleData_.tokenIds[i], saleData_.biddingUnixNano); } require( @@ -651,7 +651,7 @@ contract FeralfileExhibitionV5 is event BurnArtwork(uint256 indexed tokenId, uint256 amount); /// @notice Event emitted when Artwork has been sold - event BuyArtwork(address indexed buyer, uint256 indexed tokenId); + event BuyArtwork(address indexed buyer, uint256 indexed tokenId, uint256 biddingUnixNano); /// @notice Event emitted when contract URI has been updated event ContractURIUpdated();