Core Contracts

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

Allocated Funds Are Not Sent and Cannot Be Withdrawn by Recipients Due to Role Restrictions

Summary

The allocateFunds function in the Treasury contract allows for the allocation of funds to specific recipients, but the allocated funds are never transferred. Additionally, only users with the MANAGER_ROLE can withdraw funds from Treasury.sol, preventing recipients from accessing their allocations.

Vulnerability Details

  1. Allocation Without Transfer: The allocateFunds function records allocations in the _allocations mapping but does not transfer any tokens to the recipient.

  2. Withdrawal Restrictions: Only users with the MANAGER_ROLE can withdraw funds, meaning recipients cannot access their allocated amounts.

Impact

Users, that had allocated funds, cannot acces their funds.

Recommendations

  1. Transfer Allocated Funds: Modify the allocateFunds function to transfer the allocated funds to the recipient's address.

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Validated
Assigned finding tags:

What do people do with allocations

Support

FAQs

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