#deposit
#withdraw
Maybe some kind of variable update was missed?
Because the code omits updating listings.deposit in withdraw(), the user can call it any number of times until the contract is emptied.
by RareSkills
by Jeiwan
by RareSkills
by RareSkills
by Andreas M. Antonopoulos, Gavin Wood
by Micah Dameron
Compare execution layer differences between chains
Dive deep into the storage of any contract