Colony Network smart contracts
Latest commit 1aef6b7 Dec 10, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Fix parity download path Dec 6, 2018
contracts Remove some ABIEncoder experimental pragmas where not needed Dec 10, 2018
docs Add docs logo back in Dec 8, 2018
helpers Fix tocken lock getter function in test helper Dec 8, 2018
lib Update submodules Dec 4, 2018
migrations Use a valid empty address parameter Dec 4, 2018
packages Use struct returns out of reputation mining contracts Dec 10, 2018
scripts Fix script generating upgraded contracts Dec 8, 2018
test-gas-costs Update gas cost tests [skip ci] Dec 4, 2018
test-upgrade Rename Token to ERC20ExtendedToken Dec 4, 2018
test Use strict equality comparer in tests Dec 10, 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 Add script to provision CLNY token contracts Dec 4, 2018
parity-genesis.template.json Make 0xdeadbeef hex strings start at the more common sense 01 Dec 5, 2018
truffle.js Fixes for review notes by Daniel Oct 22, 2018
yarn.lock Update lockfile Dec 4, 2018

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.


git clone
cd colonyNetwork
yarn run provision:token:contracts
git submodule update --init


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.


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


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