added operational budget

This commit is contained in:
Michael Zargham 2019-01-05 19:15:11 -08:00
parent 4315447b66
commit ea7dad9367
3 changed files with 22 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 KiB

After

Width:  |  Height:  |  Size: 528 KiB

View File

@ -173,6 +173,8 @@
"env_processes = {}\n",
"initial_condition = {\n",
" 'fiat_reserve': float(2000),#unit: fiat\n",
" 'overhead_costs': float(100), #unit: fiat\n",
" 'operational_budget': float(2000), #unit: fiat\n",
" 'token_reserve': float(2000),#unit: tok\n",
" 'token_supply': float(5000),#unit: tok\n",
" 'tx_volume': float(2000), #unit: fiat\n",
@ -307,6 +309,19 @@
" return {'tokens_paid': tokens_paid}"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#governance decision ~ system policy for budgeting to cover overhead costs\n",
"\n",
"def producer_compensation_policy(step, sL, s):\n",
" budget_released = \n",
" return {'budget_released': budget_released}"
]
},
{
"cell_type": "code",
"execution_count": null,
@ -416,7 +431,13 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
"source": [
"def release_funds(step, sL, s, _input):\n",
" #tokens outbound\n",
" y = 'fiat_reserve'\n",
" x = s['fiat_reserve'] - _input['budget_released']\n",
" return (y, x)"
]
},
{
"cell_type": "code",