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

EasyTrack contract gas optimizations #11

Open
Psirex opened this issue Dec 3, 2021 · 0 comments
Open

EasyTrack contract gas optimizations #11

Psirex opened this issue Dec 3, 2021 · 0 comments

Comments

@Psirex
Copy link
Contributor

Psirex commented Dec 3, 2021

In the current implementation of the EasyTrack contract next modifications might reduce gas costs:

  • mark the governanceToken variable as immutable cause this variable is set only once on the deployment step and can't be changed.
  • remove modifiers whenNotPaused from pause() method and whenPaused from unpause() method. This modifiers called in internal methods _pause() and _unpause().
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