The function comment states: "If there's a previous king, a small portion of the new claim fee is sent to them." However, the implementation doesn't actually pay out to the previous king.
Likelihood:
This will always happen whenever a new player claims the throne after someone else — the previous king is never rewarded.
The issue is systemic and tied directly to how the claim logic is structured, meaning it affects every throne transition.
Impact:
Breaks the core reward system of the contract — players are not incentivized to become king if they don’t earn anything after being dethroned.
Damages user trust and game dynamics; may cause players to abandon the game or never participate at all.
The following Foundry test demonstrates that the previous king does not receive any payout when a new player claims the throne:
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.