The Neutron governance is based on DAO DAO contracts, with some modifications. In addition, we implemented 3 contracts that manage Neutron’s funds.
- The Neutron DAO.
- Multiple subDAOs Subdao is basically an entity to delegate a control of minor network properties. They're pretty similar to main DAO, but every SubDAO proposal is timelocked for a certain period, during which the main DAO can cancel the proposal via an overrule proposal.
- The Treasury holds the vested NTRNs and sends them to the Reserve and Distribution contracts.
- The Reserve contract keeps funds vested from treasury for one-off payments
- The Distribution contract is responsible of the second step of token distribution where tokens sent to this contract are distributed between
share holders
, whereshare holders
are a configurable set of addresses with number of shares. This contract allows shareholders to withdraw collected tokens.
- from
neutron
run:make init
. - run
./test_proposal.sh
or./test_subdao_proposal.sh
. - see that proposal has passed.
There are a number of integration tests to cover main functionality.
Distributed under the BSL 1.1 License. See LICENSE
for more information.
Contributions are what makes the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
). - Commit your Changes (
git commit -m 'Add some AmazingFeature'
). - Push to the Branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
Neutron - @Neutron_org - info (a) neutron.org
Project Link: https://github.com/neutron-org/neutron-dao