Skip to content

implement fee burning mechanism #32

@brenzi

Description

@brenzi

Along the tokenomics paper Sec. 6:

We need to

  • count the cumulative number of extrinsics on the chain
  • upon fee payment, burn a fraction of the fees according to the formula in the paper
    • a lookup table with 100 entries is sufficient: yields burning rate resolution of 1%. that's smooth enough.
    • only if more efficient, use fixpoint math instead.
  • transfer the remainder to the treasury

learn more about burning and imbalances: https://blog.polymath.network/substrate-deep-dive-imbalances-8dfa89cc1d1?gi=7948e9237106

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions