An ERC20 compliant Token & Crowdsale Application on Ethereum Platform written in truffle framework.
At the technical level DayToken is a self-distributing ERC20-compliant token. Details about the token can be found in the Chronologic Whitepaper
Tests for the token are written using Mocha and Chai framework.
- AddressCappedCrowdsale.sol: Child contract of Crowdsale.sol, making it address capped
- BonusFinalizeAgent.sol: Child contract of FinalizeAgent.sol. Used to finalize crowdsale
- ConsenSysWallet.sol: ConsenSys Multi Signature wallet Contract
- Crowdsale.sol: Main Crowdsale contract.
- DayToken.sol: Main contract for the Day Token
- ERC20.sol: Standard ERC20 token code
- ERC20Basic.sol: Standard ERC20 Basic token code
- FinalizeAgent.sol: Contract code used to finalise crowdsale
- FlatPricing.sol: Contract to define pricing of DayTokens during Crowdsale
- Haltable.sol: Standard Haltable ERC20 token code
- MintableToken.sol: Adds Minting feature to DayToken
- Ownable.sol: Standard ERC20 token code for ownership of DayToken
- PricingStrategy.sol: Contract responsible for defining the pricing statergy of DayToken during Crowdsale
- ReleasableToken.sol: Standard ERC20 token code making the token Releasable
- SafeMathLib.sol: Contract responsible for executing all math operations safely
- StandardToken.sol: Standard ERC20 token code
- UpgradeAgent.sol: Defines UpgradeAgent, letting owner upgrade the token code
- UpgradeableToken.sol: Standard ERC20 token code making the token Upgradeable
- newToken.sol: New code for the upgraded token
See INSTRUCTIONS.md for instructions on how to test and deploy the contracts.
Code for the Day token is being reviewed by:
- See Audit details here: Independent External Auditors