Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 7 commits into
base: release-1.0
Choose a base branch
from

Conversation

pash7ka
Copy link
Contributor

@pash7ka pash7ka commented Nov 13, 2020

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