added operational budget
This commit is contained in:
parent
4315447b66
commit
ea7dad9367
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 |
|
|
@ -173,6 +173,8 @@
|
||||||
"env_processes = {}\n",
|
"env_processes = {}\n",
|
||||||
"initial_condition = {\n",
|
"initial_condition = {\n",
|
||||||
" 'fiat_reserve': float(2000),#unit: fiat\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_reserve': float(2000),#unit: tok\n",
|
||||||
" 'token_supply': float(5000),#unit: tok\n",
|
" 'token_supply': float(5000),#unit: tok\n",
|
||||||
" 'tx_volume': float(2000), #unit: fiat\n",
|
" 'tx_volume': float(2000), #unit: fiat\n",
|
||||||
|
|
@ -307,6 +309,19 @@
|
||||||
" return {'tokens_paid': tokens_paid}"
|
" 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",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
|
@ -416,7 +431,13 @@
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"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",
|
"cell_type": "code",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue