Core Contracts

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

Orchestrator will initially vest 0.1% more than expected

Vulnerability Details

On docs it is mentioned that 65% of total supply must be allocated by the orchestrator. See here.

Yet on construction time 65.1% is written to storage. See here:

// Initialize category allocations
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%)

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

Impact

Wrong initial allocation. The orchestrator will be vesting 0.1% more than expected. This can be changed with the updateCategoryAllocation() function so it does not have a high impact. Yet the initial value is incorrect and should be fixed.

Recommendations

Substract 0.1% from any of the allocations.

Updates

Lead Judging Commences

inallhonesty Lead Judge 5 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.