Instead of allowing buyer to control arbiter fee on deployment, consider implementing a fixed % of fee extracted from i_price
when arbiter is required to resolve disputes. If not it can lead to the following scenarios:
If a dispute is initiated by seller, and arbiter sides with seller, he will be forced to resolve dispute and send the unagreed price of tokens to seller, leading to arbiter receiving no/lesser fees and seller being under-compensated for his work.
The same case occurs when arbiter agrees with buyer and resolves dispute to send back funds escrowed to buyer, in which he will receive no/lesser fees for resolving dispute. Although in this case, arbiter has the power to withhold fees from buyer.
Manual Analysis
Consider implementing a fixed percentage for arbiter fee extracted from i_price
and computed within the constructor.
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.