-
Notifications
You must be signed in to change notification settings - Fork 1
[UST-01C] Non-Uniform Storage Pattern #18
Copy link
Copy link
Open
Description
UST-01C: Non-Uniform Storage Pattern
| Type | Severity | Location |
|---|---|---|
| Code Style | ![]() |
USTB.sol:L29, L31 |
Description:
The overall codebase implements a pointer-based upgradeability-compatible storage pattern that is not applied in the USTB contract.
Example:
contract USTB is IUSTB, LayerZeroRebaseTokenUpgradeable, UUPSUpgradeable {
using SafeERC20 for IERC20;
address public constant UNDERLYING = 0x59D9356E565Ab3A36dD77763Fc0d87fEaf85508C;
address public rebaseIndexManager;
bool private _isMainChain;Recommendation:
As is the case with all its dependencies, we advise the USTB contract to apply a similar pointer-based storage system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
