Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Governance | pre voting #133

Merged
merged 8 commits into from
Nov 16, 2021
Merged

Governance | pre voting #133

merged 8 commits into from
Nov 16, 2021

Conversation

FloppyDisck
Copy link
Contributor

Added proposal funding period to limit proposal spamming. The created proposals are placed in a funding period much like the voting period where users must fund and reach a certain limit, if that limit is reached before the funding deadline the proposal will go into a voting period and return all of the funds to their respective users, if the limit is not reached then it will be sent to treasury (currently not implemented since im waiting for treasury funding handles)

Another thing that was added was more efficient storage for proposal related information, for example votes, amounts, deadlines and status are in their respective storages, this allows for cheaper serialization/deserialization.

@FloppyDisck FloppyDisck added the governance Contract that governs the system label Nov 4, 2021
This was linked to issues Nov 4, 2021
# Conflicts:
#	contracts/governance/src/contract.rs
#	contracts/governance/src/handle.rs
#	packages/network_integration/src/contract_helpers/initializer.rs
# Conflicts:
#	packages/network_integration/src/contract_helpers/initializer.rs
@FloppyDisck FloppyDisck merged commit 2ccbe79 into dev Nov 16, 2021
@FloppyDisck FloppyDisck deleted the governance/pre-voting branch November 16, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
governance Contract that governs the system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal funding period Rewrite proposal structure
2 participants