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

Fee burn mechanism #296

Closed
tungleanh0902 opened this issue Jan 2, 2024 · 0 comments
Closed

Fee burn mechanism #296

tungleanh0902 opened this issue Jan 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tungleanh0902
Copy link
Contributor

tungleanh0902 commented Jan 2, 2024

#299

Feeburn module - whitewhale

Purpose

Burn an amount of transaction fee

Requirement

  • Change percentage of transaction fee to burn

Solution

  • Create a module that update percentage of the fee to be burnt and use ante handler to burn a part of transaction fee

Implementation

Data structure

  • feeBurnPercent: the percentage of fee to be burn

Msg server

  • UpdateFeeBurnPercent: edit the percentage of fee to be burnt

Ante handler

  • Running logic to burn a part of transaction fee before each transaction.
@tungleanh0902 tungleanh0902 added the enhancement New feature or request label Jan 2, 2024
@tungleanh0902 tungleanh0902 self-assigned this Jan 2, 2024
@hoank101 hoank101 closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants