Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

Incorrect Vesting Allocation Percentage

Summary

The contract's documentation states that 65% of the total RAAC token supply should be allocated for vesting. However, the sum of the category allocations in the constructor adds up to 65.1%, potentially leading to misallocation of tokens as 0.1% of total supply is quite significant.

Vulnerability Details

The constructor initializes category allocations as follows:

categoryAllocations[TEAM_CATEGORY] = 18_000_000 ether; // 18%
categoryAllocations[ADVISOR_CATEGORY] = 10_300_000 ether; // 10.3%
categoryAllocations[TREASURY_CATEGORY] = 5_000_000 ether; // 5%
categoryAllocations[PRIVATE_SALE_CATEGORY] = 10_000_000 ether;// 10%
categoryAllocations[PUBLIC_SALE_CATEGORY] = 15_000_000 ether; // 15%
categoryAllocations[LIQUIDITY_CATEGORY] = 6_800_000 ether; // 6.8% (5.8% + 1%)

Issue

Adding these allocations:

18% + 10.3% + 5% + 10% + 15% + 6.8% = 65.1%

The total percentage is 65.1%, not 65%, as claimed in the documentation.

This discrepancy suggests an over-allocation of 0.1% of total supply, which could lead to unallocated or missing tokens.

Without correction, the contract may not correctly distribute tokens, leading to governance or operational issues.

Impact

  • Misallocation of tokens, potentially leaving 0.1% unaccounted for.

  • Discrepancies between expectations and actual implementation, which could lead to confusion among stakeholders.

Tools Used

  • Manual code review

Recommendations

  • Adjust allocation values: If the intended allocation is truly 65%, then increase category allocations accordingly.

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.