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

Burn DPR to recover the decreased credit #189

Open
kernel1983 opened this issue Feb 11, 2022 · 0 comments
Open

Burn DPR to recover the decreased credit #189

kernel1983 opened this issue Feb 11, 2022 · 0 comments

Comments

@kernel1983
Copy link

Summary

The deeper devices must repeatedly submit ImOnline to keep the heartbeats with a deeper chain.
However, the device may accidentally fail to submit the heartbeat, which leads to the decrease of the credit.

Motivation

To avoid such consequences, we proposed to purchase the credit with DPR.
Users should be able to recover their credit lost if they will.
But the amount of credit cannot exceed the highest credit of the user before.

Design

In the design, we simply added a method in the credit pallet.
The DPRs consumed for the credits are sent to the treasury module (account).

The price for the credit purchased needs to be discussed within the community.
Once the price is adjusted well until we see a pattern, we could automate it in the future version.

@AmadeusGB AmadeusGB changed the title DIP: Burn DPR to recover the decreased credit DIP-1: Burn DPR to recover the decreased credit Feb 11, 2022
@AmadeusGB AmadeusGB changed the title DIP-1: Burn DPR to recover the decreased credit Burn DPR to recover the decreased credit Apr 18, 2022
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

2 participants
@kernel1983 and others