| name | token-economics |
| description | 代币经济学建模工具,提供代币分配方案分析、释放计划模拟与治理机制评估。适用于代币设计与通证经济模型学习。为工具,不构成投资建议,不适用于实盘代币发行或治理决策。 |
| version | 1.0.0 |
| author | wangyi |
token-economics
代币经济学设计工具,实现代币分配模型、释放计划模拟、治理机制分析与通胀率计算。仅使用 Python 标准库。
📌 说明:本工具基于简化模型实现和启发式方法。结果仅供学习参考,不构成投资建议或交易依据。
脚本API
analyze_allocation(total_supply, allocations)
分析代币分配方案。
必填: total_supply, allocations
simulate_vesting(total_supply, allocations, vesting_schedules, months=60, start_month=0)
模拟代币释放计划。
必填: total_supply, allocations, vesting_schedules
analyze_vesting_pressure(vesting_result)
分析释放压力。
必填: vesting_result
analyze_governance(token_holders, total_supply, voting_model='token_weighted', quorum=0.1, proposal_threshold=0.01)
分析治理机制。
必填: token_holders, total_supply
调用示例
python scripts/main.py \
--token-holders <token_holders> \
--total-supply <total_supply> \
--voting-model <voting_model> \
--quorum <quorum> \
--proposal-threshold <proposal_threshold>