Skip to content

codeaudit/colonySale

 
 

Repository files navigation

Colony Logo

Colony Token and Crowdsale contracts

About

This is the repository for the postponed Colony token sale.

If you're curious, you can read the blog post about why we postponed the sale.

For a description of the sale contract and its design, have a look at Elena's post on the Token Sale Contract and the CLNY token.

The contracts contained in this repo have been released under a GPL-3.0 license.

It should go without saying, but the code contained herein is designed to handle potentially large amounts of Ether, and as such should be deployed at your own risk and sole responsibility.

If you've found a bug, please reach out to us here on github or by email.

Install

git clone https://github.com/JoinColony/colonySale.git
yarn global add mkdirp gulp@3.9.1
yarn --pure-lockfile
git submodule update --init --recursive --remote

Contracts

The CLNY Token contract is defined in contracts/Token.sol and contracts/EtherRouter.sol.

The Token Sale contract is defined in contracts/ColonyTokenSale.sol

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

Testing

To run all tests:

gulp test:contracts

To run tests with code coverage using solidity-coverage:

gulp test:contracts:coverage

To lint contracts using Solium

gulp lint:contracts

About

Colony Token and Crowdsale Contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%