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

Why only the parent address has the right to call flushTokens() for ERC20? #23

Open
PowerStream3604 opened this issue Sep 14, 2021 · 0 comments

Comments

@PowerStream3604
Copy link

Once the parent address is set by the init() method
parentAddress of the Forwarder contract cannot be modified.

That means whoever calls the flushTokens() the ERC20 that Forwarder contract has
will be flushed to parentAddress.

Is there a reason related to security or logic, etc that only enables the parent to call
flushTokens()?

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

No branches or pull requests

1 participant