When listingan item we deploy it, and when for each swan asset, there is createdAt variable which is setted to block.timestamp
.
We store out listing address with a variable also named createdAt
which make both of them match.
list()
When relisting the item, we override this value to block.timestamp
, which is a wrong value as the creation time is the time of deploying the asset, not the time we relist it.
relist()
This will make listing
mapping have an incorrect value, where the asset (ERC721) createdAt, will be with value differ from the value of createdAt in Swan
contract. Besides createdAt should not get overrides.
Don't override createdAt value when relisting
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.