Skip to content

Commit fdf2285

Browse files
feat: add vote script (#40)
1 parent 03f5e58 commit fdf2285

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

scripts/deploy_scrvusd.ipynb

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,30 @@
275275
"metadata": {},
276276
"outputs": [],
277277
"source": [
278-
"# ACTIONS = [(ab.controller_factory, \"set_fee_receiver\", fs)]\n",
279-
"# DESCRIPTION = \"Set the fee receiver to the fee splitter, to lay the foundation for autobribe, st-crvUSD and rebalancing donations. This vote **is not** about changing the fee distribution (100% of revenues will still go to veCRV holders).\"\n",
280-
"# curve_dao.create_vote(ab.dao, ACTIONS, DESCRIPTION, ETHERSCAN_API_KEY, PINATA_API_KEY)"
278+
"import curve_dao\n",
279+
"\n",
280+
"change_fee_splitter_receivers = (\n",
281+
" ab.fee_splitter,\n",
282+
" \"set_receivers\",\n",
283+
" (\n",
284+
" [\n",
285+
" (vault_address, 1_000),\n",
286+
" (ab.crvusd_fee_collector, 9_000),\n",
287+
" ]\n",
288+
" ),\n",
289+
")\n",
290+
"\n",
291+
"accept_vault_role_manager = (vault, \"accept_role_manager\", ())\n",
292+
"\n",
293+
"ACTIONS = [change_fee_splitter_receivers, accept_vault_role_manager]\n",
294+
"DESCRIPTION = \"This proposal starts streaming a part of crvUSD fees to scrvUSD. To enact this the fee splitter will now send (at least) 90% of the revenues to the fee collector (previously 100%), and (at most) 10%, which might be reached only if the number of depositors grows, to sustain the yield.\"\n",
295+
"curve_dao.create_vote(\n",
296+
" curve_dao.get_dao_parameters(\"ownership\"),\n",
297+
" ACTIONS,\n",
298+
" DESCRIPTION,\n",
299+
" ETHERSCAN_API_KEY,\n",
300+
" PINATA_API_KEY,\n",
301+
") # ACTIONS = [(ab.controller_factory, \"set_fee_receiver\", fs)]"
281302
]
282303
},
283304
{

0 commit comments

Comments
 (0)