Colony Network smart contracts
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Fix parity download path Dec 6, 2018
contracts Enable distributing CLNY not through a task Dec 12, 2018
docs Fixed wrong install order Dec 14, 2018
helpers Move accommodateChallenge function to test-helper file Dec 18, 2018
lib Update submodules Dec 4, 2018
migrations Use a valid empty address parameter Dec 4, 2018
packages fix(package): update ganache-core to version 2.3.2 Dec 18, 2018
scripts Clearly delineate the two types of Patricia Trees Dec 11, 2018
test-gas-costs Clearly delineate the two types of Patricia Trees Dec 11, 2018
test-upgrade Rename Token to ERC20ExtendedToken Dec 4, 2018
test Move accommodateChallenge function to test-helper file Dec 18, 2018
.babelrc Fix CI May 12, 2017
.eslintignore Simplify eslintignore Jun 19, 2018
.eslintrc Disable no-unused-expressions as that doesn't play with chai expect s… Oct 22, 2018
.gitattributes Fixed file name Mar 31, 2018
.gitignore Add script to provision CLNY token contracts Dec 4, 2018
.gitmodules Reference branch in colonyToken repo Dec 4, 2018
.nvmrc Update .nvmrc to match required node version Jul 3, 2018
.solcover.js Make ganache-cli generate 12 test accounts Dec 4, 2018
.soliumignore Add script to provision CLNY token contracts Dec 4, 2018
.soliumrc.json Add remaining missing require error messages Aug 18, 2018
.yarnrc Add .yarnrc for yarn versions <= 1.3.2 Jun 7, 2018
LICENSE Create LICENSE Feb 3, 2018
genesis.json Add third address to preallocation Sep 22, 2017
greenkeeper.json Added greenkeeper.json for multiple package.json-s Aug 9, 2018
package-lock.json Cleanup package.json Feb 2, 2018
package.json Move back to mainline truffle next release Dec 11, 2018
parity-genesis.template.json Make 0xdeadbeef hex strings start at the more common sense 01 Dec 5, 2018
truffle.js Network IDs should be numbers, unless they're * Dec 12, 2018
yarn.lock Update lockfile Dec 18, 2018

README.md

The Colony Network

Contracts for running the Colony Network as defined in the Colony White Paper

Bug Bounty Program

Colony is offering substantial rewards to external developers who report bugs and flaws in the colonyNetwork contracts.

See the Bug Bounty program overview for more information about bounties, rules, and terms.

Install

git clone https://github.com/JoinColony/colonyNetwork.git
cd colonyNetwork
yarn
git submodule update --init
yarn run provision:token:contracts

Contracts

The contract upgradability is using the EtherRouter pattern, see Upgrades to the Colony Network in the documentation for implementation details.

The math, erc20, auth, roles and a significant part of the token contract have been reused from the Dappsys library.

Testing

To run all tests:

yarn run test:contracts

To run tests with code coverage using solidity-coverage:

yarn run test:contracts:coverage

To lint contracts using Solium

yarn run solium

To lint JS using eslint (this is also a pre-commit hook)

yarn run eslint

Contributing

For details about how to contribute you can check the contributing page