delphi icon indicating copy to clipboard operation
delphi copied to clipboard

Fix bugs and add msg.sender and gaslimit check

Open pash7ka opened this issue 4 years ago • 0 comments

With this fix we

  • add check for tokens being deposited to be registered
  • add reentrancy guard to deposits and withdrawals
  • add whitelist for intermediate contracts, so that deposit/withdraw will be only possible from trusted contracts
  • add check gasleft() to prevent some kind of atacks

pash7ka avatar Nov 13 '20 11:11 pash7ka