Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MinContributors to avoid malicious campaigns #20

Open
balqaasem opened this issue Jan 25, 2022 · 0 comments
Open

Add MinContributors to avoid malicious campaigns #20

balqaasem opened this issue Jan 25, 2022 · 0 comments

Comments

@balqaasem
Copy link
Contributor

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 the goal of the campaign to determine the max_contribution per contributor.
Formula: max_contribution = goal / MinContributors

For example, if we say that the MinContributors is 200 and a Campaign-A has a goal: Balance = 200_000, then the max_contribution = goal / MinContributors which in this example is 200_000 / 200 = 1_000, therefore each contributor is limited to contributing 1_000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant