To buy an order a buyer need to provide the seller address and order index to specify the order he wants to buy. But currently there's no way to easily view the s_userToSellOrders
mapping to get info on a sellers orders. So it's hard for a buyer to fetch the array index of an order they want to buy. Moreover, the current SellOrder
struct doesn't provide info of what NFT tokenId and address is the selling token a share of. So there's no possible way for a buyer to know what particular NFT tokenId shares are they purchasing.
Manual Review
Make a getter function to return the array of sell orders of a particular seller
Add more information to the SellOrder
struct
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.