The current version of the FundFlowController lacks the logic to update the claimPeriod when the Chainlink Staking contract modifies it. As a result, the outdated claimPeriod is used, disrupting the claiming process.
The FundFlowController initializes the claimPeriod during contract setup but does not provide a mechanism to update this value. If the Chainlink Staking contract updates the claimPeriod through the following function: https://etherscan.io/address/0x996913c8c08472f584ab8834e925b06d0eb1d813#code#F18#L786, the claiming logic in the FundFlowController will become misaligned.
This oversight can significantly disrupt the claiming logic, leading to potential errors in token distribution and misalignment between the expected and actual claim periods. As a result, operators may experience confusion regarding their claim eligibility, and the overall integrity of the staking mechanism could be compromised.
Manual review.
Implement a setter function to allow updates to the claimPeriod as needed. Alternatively, consider dynamically retrieving the claimPeriod value directly from the Chainlink Staking contract. This approach ensures that the FundFlowController remains in sync with any changes made to the claimPeriod, maintaining the integrity of the claiming logic.
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.