A function intended to be a constructor is named incorrectly, which causes it to end up in the runtime bytecode instead of being a constructor.
Anyone can call the function that was supposed to be the constructor. As a result anyone can change the state variables initialized in this function.
- Use
constructorinstead of a named constructor
- Rubixi uses
DynamicPyramidinstead ofRubixias a constructor - An incorrectly named constructor