Closed JackBekket closed 2 years ago
add mapping (uint => uint) lastSoldPrice inside Marketplace struct (https://github.com/MoonSHRD/UniversalNFTMarketplace/blob/master/contracts/721/singleton/MetaMarketplace.sol#L48)
add getter for this variable respectively
set sold price (probably) when
and check it in tests
Store last sold price for nft in MetaMarketplace.sol
Users should know what was the last price this nft has been sold
Not sure yet where exactly this info should store