SpookySwap
implement repayments at in SpookySwap:trickOrTreat
and SpookySwap:resolveTrick
, which repays exceeded amounts. Therefore, doing it so to msg.sender
contracts and even to those with heavy computations might always revert DOS
and may require higher gas computation for just SpookySwap:trickOrTreat
.
SpookySwap
implement repayments, which repays exceeded amounts. Therefore, doing it so to msg.sender
contracts and even to those with heavy computations might always revert DOS
and may require higher gas computation for just SpookySwap:trickOrTreat
.
Although repays are done via msg.call{value}
repaying in the same transaction give users the flexibility to run in their fallback any code, that in case of heavy computations
it can revert and even generate higher cost per transaction.
Manual Review
Foundry Testing Tool
mantain a record of pending-repay
consider an implementation for allowing user to withdraw
repays.
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.