code-423n4 / 2022-01-trader-joe-findings

2 stars 0 forks source link

Use constructors #282

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

Czar102

Vulnerability details

Impact

Usage of constructors allows immutable variables to be defined and can lower usage gas costs.

Proof of Concept

RocketJoeStaking contract contains joe and rJoe variables that could have been immutable.

Tools Used

Manual analysis