The allocateFunds
function allows allocators to allocate any amount of funds to any recipient, which could be problematic if the allocation process is not carefully managed. There is no mechanism to track the total funds available or ensure that allocations are within the treasury’s balance.
An allocator could allocate more funds than are available in the treasury, leading to an overdrawn state.
Introduce checks to ensure that the total allocated amount does not exceed the available balance in the treasury. This ensures that fund allocations do not exceed available resources.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.