This repo contains some scripts that help the analysis of the proposed Dynamic Allocation Pool.
- simulation.R analyzes the self-stake incentive tournament of validators, the implied economic resilience and how much DOT we need to allocate.
- strategic_reserve.R lays out the theory to smooth consumption and the strategic reserve.
- weighting_function_analysis.R investigates the payout function of validators in more detail (level analysis and marginal analysis).
- theoretical_payout_no_change.R investigates the expected payout per validator if hard pressure is implemented and we implement min_self_stake = 10k and min_commission = 10%