#41374 [SC-Insight] Incorrect NFT Boost Value in Lookup Array
Description
Brief/Intro
Vulnerability Details
uint256[26] public nftBoostLookup = [
0,
345,
540,
675,
765,
840,
900,
960,
1005,
1050,
1080,
1100, // This value should be 1110 for 11 NFTs as per the documentation.
1155,
1185,
1215,
1245,
1275,
1305,
1335,
1365,
1380,
1400,
1440,
1455,
1470,
1500
];Impact Details
References
Proof of Concept
Proof of Concept
Step 1: Understanding the nftBoostLookup Mechanism
Step 2: Identifying the Incorrect Value
Step 3: Reproducing the Issue
Step 4: Impact Analysis
Step 5: Suggested Fix
Previous#41365 [SC-Critical] Vested tokens are counted as accumulated revenueNext#41377 [SC-Low] Retroactive Reward Cap Manipulation Allows Theft/Loss of Unclaimed Yield
Was this helpful?