Skip to content

Change struct access modifier from private to public. #44

Description

@rashtrakoff

topUps is a private struct that could have been public. Because of this, there are two extra functions (getTopUpByIndex and getTopUp). Change the access modifier to public to reduce contract size.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

OptimizationGas optimization possibilitynon-criticalDoes not impose immediate risk but is relevant to security best practices.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions