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 tier information to payment logs when allocating tokens. #22

Open
csmuller opened this issue Aug 31, 2018 · 0 comments
Open

Add tier information to payment logs when allocating tokens. #22

csmuller opened this issue Aug 31, 2018 · 0 comments

Comments

@csmuller
Copy link
Member

For better transparency of the token allocation, we could also add tier information to the payment logs. I.e. for every payment log store the information of which tier the allocated tokens have been taken. Without this it is not clear what discount has been applied when allocating the tokens.

Since for one payment tokens can be drawn from multiple tiers (in case it overflow the one tier) a new table would be needed. The tables entries reference a payment log and store token amounts and the tier from which the tokens where drawn from.

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

No branches or pull requests

1 participant