UST-01C: Non-Uniform Storage Pattern
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.
UST-01C: Non-Uniform Storage Pattern
Description:
The overall codebase implements a pointer-based upgradeability-compatible storage pattern that is not applied in the
USTBcontract.Example:
Recommendation:
As is the case with all its dependencies, we advise the
USTBcontract to apply a similar pointer-based storage system.