Closed HKskn closed 3 months ago
Omniscia: SLG-03M: Understood, we will make sure to reflect this in the audit report. We can either remove the finding entirely, or add an alleviation chapter that states it was incorrect. Whichever you opt for is fine by us, and we value transparency!
SLG-03M: Inexistent Prevention of Dutch Auction Overlap
Description:
The newly introduced Dutch payment feature is simultaneously available with loan extensions as well as clearances despite the
DutchAuction
structure containing aduration
variable.Impact:
Loan extensions via the
SalvorLending::extend
become meaningless when Dutch auctions are available as a would-be loan extender can simply repay the original loan without any mark-up to unlock the NFT.Example:
Recommendation:
We advise the
SalvorLending::makeBidForDutchAuction
function to be accessible solely when the auction is active rather than when it has started, ensuring that bids cannot be made at the same time extensions and clearances can occur.