0.2.7 • Published 1 year ago

@4everland/dao-contracts v0.2.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

License: GPLVersion Badge

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.

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.

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago