Open ggwpez opened 1 month ago
Hi @ggwpez, I would like to work on this! Decision deposits could help mitigate some whale activity in OpenGov.
Assigning me would be nice if possible
Thanks @runcomet!
I already have this ready in a branch 😅
https://github.com/paritytech/polkadot-sdk/tree/bkchr-referenda-deposit-contribute this is my current work. Just misses some benchmarking improvements and more tests.
Currently the decision deposit for a referendum must be paid in full by a single address. We should add a mechanism that allows it to be crowdsourced. @bkchr suggested that we can re-use the code of the crowdloan-pallet from the Polkadot runtime. I am not familiar with the code of tha pallet but probably needs a new pallet though to manage the deposits.
Requirement:
n
highest amounts paid and refund the lower ones