delphi
delphi copied to clipboard
Fix bugs and add msg.sender and gaslimit check
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