Skip to content

SyncraDAO/contracts.syncra.xyz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ink!

Syncra's smart contracts.

What is it?

It is a set of rust traits and DAO smart contracts built using ink! with some features based on OpenBrush.

None of the contracts have been audited, and all the work is still in progress!

How does it work?

The contracts work as a whole system. The DAO core contract implements the Governor and GovernorManager trait. It allows to combine it with other traits that give more functionalities depending on DAO needs and desired features. The "strategy" behind creating and voting on proposals depends on seperate smart contracts (see Proposal Basic, Proposal Poll and Proposal Weighted).

GovernorPSP22Lock is a PSP22-based DAO where creating a proposal, voting and delegation requires locking certain amount of the Governance Token for some period of time. The tokens can be released when the period ends (see more in Docs).

GovernorWhitelist is a membership-list-based DAO. Each member has 1 unit of voting power which can be used to vote on proposals and/or can be delegated to other members (see more in Docs).

Project structure:

.
├── contracts           <- smart contracts implementation
├── governance_traits
├── scripts         
├── incubator           <- incubator features not yet ready 
├── Cargo.toml
├── lib.rs              <- factory contract implementation
└──  README.md

License

The entire code within this repository is licensed under the Apache License 2.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors