-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[encointer] introduce swap options for businesses through democracy (#…
…541) This introduces new functionality for Encointer communities: * democracy proposals can grant swap options to businesses for them to swap community currency for KSM from the community treasury. relevant pallet changes: encointer/pallets#411 ### Motivation In order for community treasuries holding KSM to act as a reserve for community currencies, we need to enable some form of swap functionality. This functionality, however, needs to be permissioned, as we can't allow everyone to "exit" the demurrage-bearing community currency as this would undermine the community currency and deplete the treasury for no good. Businesses making real turnover in community currency, however, should have an option to reduce their exposure. Otherwise, the most popular businesses will be punished by bearing the greatest risk by accumulating community currency before economic circles can be closed (which will eventually allow them to spend their community currency on goods and services they need). The best available source of information which businesses add real value to the community is the community members. Therefore, we let the community vote on swap allowances for businesses using Encointer's personhood-based democracy process. --------- Co-authored-by: Adrian Catangiu <adrian@parity.io>
- Loading branch information
Showing
6 changed files
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
system-parachains/encointer/src/weights/pallet_encointer_treasuries.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.