Add MinContributors
to avoid malicious campaigns
#20
Labels
Milestone
MinContributors
to avoid malicious campaigns
#20
One person could buy all the funds allocated to a campaign, this is not good for the community and the bootstrapping of the token on SetSwap DEX, therefore we must have a minimum number of contributors before a project is considered successful.
This parameter
MinContributors
is then used relative to thegoal
of the campaign to determine themax_contribution
per contributor.Formula:
max_contribution = goal / MinContributors
For example, if we say that the
MinContributors
is200
and aCampaign-A
has agoal: Balance = 200_000
, then themax_contribution = goal / MinContributors
which in this example is200_000 / 200 = 1_000
, therefore each contributor is limited to contributing1_000
.The text was updated successfully, but these errors were encountered: