Omniscia BlazeSwap Audit
BlazeSwapFAssetReward Manual Review Findings
BlazeSwapFAssetReward Manual Review Findings
BSA-01M: Test Code
Type | Severity | Location |
---|---|---|
Code Style | BlazeSwapFAssetReward.sol:L33-L34, L57-L58, L65-L68, L70 |
Description:
The code of the contract appears unfinished and as such cannot be considered production-ready.
Example:
contracts/core/BlazeSwapFAssetReward.sol
65function fAssetConfigParams() external view onlyDelegatedCall returns (uint256, string memory) {66 BlazeSwapFAssetRewardStorage.Layout storage l = BlazeSwapFAssetRewardStorage.layout();67 return (l.testValue1, l.testValue2);68}69
70function unclaimedRewards() public view onlyDelegatedCall returns (uint256 totalRewards) {}
Recommendation:
We advise the contract to be fleshed out prior to performing a formal audit of it.
Alleviation:
The BlazeSwap team stated that this contract is a stub and thus should not have been in scope of the audit. As a result, we consider this exhibit nullified.