Listing struct can be removedThe Listing struct contains 2 parameters that are useless in the contract context:
The nft parameter is only used inside the list function, when the listing is created. Its value is always set to address(this) so it can be removed without any impact. If we need to access the NFT address, we can directly call address(this) instead of using the object parameter nft:
The tokenId parameter of listings is always matching the listing id. We don't need to track both the token id and the listing id, so we can get rid of this parameter as well.
Delete the useless parameters:
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.
The contest is complete and the rewards are being distributed.