Consensus/proof_of_burn library
Proof of Burn (PoB) - burn-and-weight mechanics
A demonstration of proof-of-burn economics: users irrevocably 'burn' coins to obtain long-term weight or staking power. This module provides bookkeeping for burns, weight calculation, and simple reweighting rules. It is intended for simulations, protocol experiments, and tests.
Contract:
- Input: burn events (account, amount, timestamp)
- Output: effective weights for accounts
- Errors: throws for invalid events