Core Contracts

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

Allocators cannot withdraw funds from the treasury

Summary

The treasury implements a role based access control, the allocator role has the ability to assign allocations to different users, however the withdraw function only allows the manager to perform such an action:

function withdraw(
address token,
uint256 amount,
address recipient
) external override nonReentrant onlyRole(MANAGER_ROLE) {
...

This renders useless the funds allocation mechanism.

Vulnerability Details

Impact

Tools Used

Manual review.

Recommendations

Allow allocators to withdraw their allocated funds.

Updates

Lead Judging Commences

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

Give us feedback!