Crates.io | xand_governance |
lib.rs | xand_governance |
version | 2.1.0 |
source | src |
created_at | 2023-02-16 18:30:45.545097 |
updated_at | 2023-02-16 18:30:45.545097 |
description | Library of the governance rules for a Xand network |
homepage | |
repository | |
max_upload_size | |
id | 786968 |
size | 72,132 |
This crate defines our domain models and logic for the xand governance. IE: This is the code that defines Proposals and their relevant rules and permissions (voting, propsoing, tallying). It is free of major dependencies and should remain so to provide a clean environment for concentrating on domain code.
Practically speaking this code is consumed in other places for two purposes:
The crate has an std
feature that is enabled by default. Disabling the feature allows the
crate to compile in no-std mode. The substrate runtime requires this, and no-std support must
be maintained.