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

Earn a reward #189

Open
EDzidziguri opened this issue Oct 27, 2022 · 0 comments
Open

Earn a reward #189

EDzidziguri opened this issue Oct 27, 2022 · 0 comments

Comments

@EDzidziguri
Copy link
Collaborator

Statement of Value

As a Contributor
I want to earn a reward
So that I will be able to sell or collect it

———

Acceptance Criteria

Given:
A campaign is published
and
A campaign is not completed (campaign status is "Finalizing" / "Reverting" / "Success" / "Failed")
and
A campaign contains a reward with the "Active" status

When:
A Contributor invests to a campaign
and
The invested amount is greater than a collectible's minimum funding amount
or
The invested amount equals a collectible's minimum funding amount
and
A Contributor hasn't earned the same collectible before

Then:
Assign a collectible to a Contributor (a collectible (one instance) becomes unavailable for other contributors and will be provided to a Contributor who earned it after a campaign is successfully completed)
and
Collectible's "Q-ty" parameter must be updated:
• if the "Q-ty" is Limited, then subtract earned collectible (one instance) from the current amount

———

Additional Information

High-level process
Image

Specification
Domain model, data dictionary can be found here.

User flows
User flows that outline the detailed process can be found here.

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

2 participants