CAP Draft | Disable Inflation Mechanism
Title: Disable Inflation Mechanism
Author: OrbitLens <email@example.com>
This CAP removes the inflation mechanism.
Inflation mechanism was originally planned as a simple way for users to support important ecosystem projects and keep the overall XLM supply slightly inflationary.
- Currently, it doesn’t serve its original purpose, as users mostly prefer to claim the inflation payouts through the inflation pools instead of sponsoring ecosystem projects. As a result, inflation micropayouts from XLM pools generate a significant validators load and clog the network.
- Payouts get more and more resource consuming for validators over time due to the total lumens circulation supply increase.
- Once the validators vote for the significant base fee increase, such payouts became much less profitable for most lumen holders, and XLM pools will be forced to raise the minimum required account balance to more than 1000XLM to cover transaction fee loses.
- Inflation payouts may lead to additional complications in some edge-cases when programming smart contracts.
- Inflation deprecation opens new possibilities for the more effective targeted reward distributions that require complex logic, like stimulating DEX liquidity providers.
Turning off inflation requires several changes in Stellar Core, namely
SetOptions operations behavior as well as fees processing routine. At the same time, it can be implemented without XDR changes and breaking protocol changes.
CAP requires the following Core behavior changes:
Inflationoperation always returns
SET_OPTIONS_INVALID_INFLATIONresult code when a users tries to change
- Fee processing routine discards paid transaction fees instead of adding them to the fee pool.
- LedgerHeader properties
inflationSeqfor a newly created ledger are set to zero.
The proposed approach does not require breaking protocol changes and allows turning on the inflation mechanism in the future if needed. Due to the simplicity of proposed changes, the implementation potentially should require minimum efforts.
This CAP contains no breaking changes and is fully backward compatible.
- Is it possible (and does it makes sense) to remove
Accountentry, as well as