Skip to content

Fix bugs and add msg.sender and gaslimit check#40

Open
pash7ka wants to merge 7 commits into
release-1.0from
hack-fix-savings
Open

Fix bugs and add msg.sender and gaslimit check#40
pash7ka wants to merge 7 commits into
release-1.0from
hack-fix-savings

Conversation

@pash7ka

@pash7ka pash7ka commented Nov 13, 2020

Copy link
Copy Markdown
Contributor

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 pash7ka changed the title Add reentrancy guard and check deposited tokens are registered Fix bugs and add msg.sender and gaslimit check Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants