During the distribution we do the following
The finalAmount
is the total price that the beneficiary has to pay, excluding their own part.
Let's take examples with the following values
value = 333
divisor = 3
, total of 3 beneficiaries
multiplier = 2
finalAmount = 333 / 3 * 2 = 222
That's correct, but then during the transfers, we use
finalAmount / divisor
222 / 2 = 111
The 111 tokens remain in the contract. After that, the beneficiary can call withdrawInheritedFunds
and get back 37 tokens
Change the operator to multiplier
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.