4everland-dao-contracts
v0.1.3
Published
DAO Contracts for 4everland
Downloads
18
Maintainers
Readme
4EVERLAND
4EVERLAND is a Web 3.0 cloud computing platform that integrates storage, computing, and network core capabilities. It aims to help the user to make a smooth leap from Web 2.0 to Web 3.0 and become the infrastructure for millions of Web 3.0 developers and applications
Contracts
The contracts are upgradable, following the Open Zeppelin Proxy Upgrade Pattern. Each contract will be explained in brief detail below.
Stake
Allows users to register a secodary candidate, the candidate can stake 4EVER to obtain 4EVER from the protocol, candidate can be voted to upgrade to be a major candidate, the major candidate will obtain much more 4EVER than secodary candidate. the candidate can divide a part of rewards to its voters to attract more votes.
Election
Any one can vote a candidate to obtain 4EVER, the top nine candidates will be major candidates.
Slasher
Any candidate can draft a proposal to slash another candidate, if there are .
4EVER_Token
An ERC-20 token (4EVER) that is used as a work token to power the network incentives. The token is linear inflationary.
Contract Addresses
The testnet runs on Mumbai, while mainnet is on Polygon Mainnet. The addresses for both of these can be found in ./deployments
.
Local Setup
To setup the contracts locally, checkout the dev
branch, then run:
yarn
yarn build
Testing
yarn test
Gas reporter
yarn gas
Generate documentation
yarn doc
Copyright
Copyright © 2022 4everland.
Licensed under GPL license.