issues
search
White-Whale-Defi-Platform
/
migaloo-chain
Migaloo is a cosmwasm-powered, permissionless blockchain for building decentralized applications.
https://migaloo.zone
MIT License
51
stars
28
forks
source link
Fee burn mechanism
#296
Closed
tungle-notional
closed
8 months ago
tungle-notional
commented
8 months ago
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.
299
Feeburn module - whitewhale
Purpose
Burn an amount of transaction fee
Requirement
Solution
Implementation
Data structure
Msg server
Ante handler