msg.sender is allocatorrole which is admin so why we changing the state in each function call if this allocatorRole is always same? NO need of nested mapping.
In Treasury.sol's allocateFunds function:
Unnecessary bytecode and gas is wasted while storing these mappings.
Tools Used
Manual review
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.