Add INFLATION_MINT_STAKER/MACHINA transaction log types (IIP-62)#170
Open
CoderZhi wants to merge 1 commit into
Open
Add INFLATION_MINT_STAKER/MACHINA transaction log types (IIP-62)#170CoderZhi wants to merge 1 commit into
CoderZhi wants to merge 1 commit into
Conversation
ac415d5 to
e5a68f9
Compare
Productive inflation (IIP-62) mints IOTX every block and splits it between the staker reward pool and the Machina DAO. These two TransactionLogType values let indexers attribute the per-block protocol mint. Sender is empty on both (protocol mint, no source account).
e5a68f9 to
046fa39
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TransactionLogTypeenum values for IIP-62 productive inflation:INFLATION_MINT_STAKER = 12— per-block protocol mint into the staker reward poolINFLATION_MINT_MACHINA = 13— per-block protocol mint into the Machina DAO recipient accountsenderto denote a protocol mint with no source account (mirrors the convention that an emptyrecipientdenotes a burn).Context
IIP-62 ("IOTX Disinflation Curve") replaces the Foundation's manual reward-pool refills with a deterministic per-block protocol mint, split 80/20 between stakers and Machina DAO. The iotex-core reference implementation emits these two log types from the rewarding protocol's per-block mint step so explorers/indexers can attribute the new issuance.
Notes
transaction_log.pb.goregenerated viamake gogen. The diff is the two enum entries, the name/value maps, and the rawDesc descriptor bytes (plus a protoc version header line from the local toolchain).🤖 Generated with Claude Code