The LLMOracleCoordinator contract lacks a mechanism for oracles to withdraw the fees they have earned for generating and validating requests. While the system correctly allocates and tracks the fees owed to oracles by increasing their allowance, it fails to provide a method for these funds to be withdrawn, leading to potential financial losses for oracles and undermining their operational incentive.
The function _increaseAllowance
within the LLMOracleCoordinator is used to adjust the allowances of oracles to reflect the fees they earn during task generation and validation. However, this adjustment only increases their allowance without transferring actual funds or enabling a subsequent withdrawal.
Oracles that contribute to the system by generating and validating responses are not compensated for their services, which can lead to a decrease in active participation.
Manual Review
Introduce a withdrawFees function in the LLMOracleCoordinator that allows oracles to withdraw their earned fees. This function should check the oracle's accumulated fee allowance and transfer the corresponding amount.
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.