Skip to content

Change struct access modifier from private to public. #44

@rashtrakoff

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.

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