The claimThrone() function increases the claimFee using the formula:
The feeIncreasePercentage remains static, and there is no upper bound or dynamic adjustment mechanism. As a result, the claimFee compounds exponentially with every throne claim.
Over time, this causes the cost of claiming the throne to skyrocket, even though the percentage increase is fixed. Since the fee is based on the previous value, it grows faster with each claim.
Game Lock: After several claims, the claimFee becomes unaffordable, preventing players from continuing the game. This causes a soft DoS (denial-of-service) where the throne is no longer contestable.
Locked Funds: The pot becomes permanently unclaimable unless the owner resets the game. This breaks the autonomous nature of the protocol and introduces centralization risk.
Poor Game Dynamics: Early players benefit from low fees, while later players are effectively blocked, reducing fairness and engagement over time.
The claimThrone() function allows players to claim the throne by paying a specified claimFee. After each successful claim, the fee is increased by a percentage (feeIncreasePercentage) to gradually raise the cost for subsequent players. This mechanism is designed to add increasing difficulty and grow the pot value over time.
The feeIncreasePercentage remains static and is not updated or capped within the contract. As a result, the claimFee grows exponentially over successive claims. Eventually, the cost to claim the throne becomes prohibitively high, preventing new players from participating. This leads to a soft denial-of-service (DoS), where the game becomes stuck unless the owner manually resets or lowers the fee
Likelihood:
Reason 1: This occurs naturally after a moderate number of users claim the throne, since the claimFee increases exponentially with each claim due to compounding.
Reason 2: There is no automatic mechanism to reset or reduce the claimFee, so the fee continues to grow over time without owner intervention.
Impact:
Impact 1: Players will eventually be priced out of participation, leading to a soft denial-of-service (DoS) where no one can claim the throne anymore.
Impact 2: The pot becomes permanently locked unless the owner manually resets the game.
This test simulates multiple players claiming the throne in sequence. Since the feeIncreasePercentage is fixed and there is no cap or decay mechanism, the claimFee increases exponentially with each claim. The output shows how the cost quickly becomes unaffordable.
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.