Contracts for this repo are created for the Block Array crowdsale .
Contracts are generated by ICO Wizard.
Parameters of ICO Wizard used to generate the instance of token contract for the audit.
Field | Value |
---|---|
Token name | Block Array |
Token Ticker | ARY |
Decimals | 18 |
Reserved tokens | Yes* |
*34,003,500 tokens to 0xd8ec5f137d45273f60065985b6a5b766aa978855
Remarks:
- "Reserved tokens - None" no % or fixed tokens
Parameters of ICO Wizard used to generate the instance of crowdsale for the audit.
Field | Value |
---|---|
Tiers | 1 |
Supply | 54,406,500 |
Rate | 4731 |
Allow modifying | Yes |
Disable whitelist | Yes |
Start date | 2017-12-23T17:55 (GMT - 5) |
End date | 2018-01-14T18:00 (GMT - 5) |
Remarks:
- Rate - how many tokens for 1 ETH
- Supply - max cap of tokens. Token is mintable. Unsold tokens will not be produced.
- "Allow modifying - No" means that rate, supply, start date, end date are not modifiable.
- "Disable whitelist - No" means that whitelist is enable and only whitelisted accounts could participate in the crowdsale.
Source code for code audit is located in /icowizard_Mainnet_0xa5F8fC0921880Cb7342368BD128eb8050442B1a1/ folder of the repository
Files have prefixes corresponding to order of execution, e.g. a file with prefix 001_
will be deployed before a file with prefix 002_
.
A .sol
file contain contract code.
A .txt
file contain metadata
Contracts are deployed on Mainnet and verified
SafeMathLibExt
. The code of verified SafeMathLibExt is here.CrowdsaleTokenExt
. The token contract. The code of verified CrowdsaleTokenExt is here.FlatPricingExt
. The pricing strategy contract. The code of verified FlatPricingExt is here.MintedTokenCappedCrowdsaleExt
. The crowdsale contract for a tier. The code of verified MintedTokenCappedCrowdsaleExt is here.NullFinalizeAgentExt
. The finalize agent contract. The example of verified NullFinalizeAgentExt is here.
After all of the contracts are deployed next methods are executed at deployment stage:
setMintAgent
- setsfinalizeAgent
contract and crowdsale contract addresses as mint agents of token contract.setFinalizeAgent
- setsfinalizeAgent
contract address as a finalize agent of the crowdsale contract.setReleaseAgent
- setsfinalizeAgent
contract address as a release agent of token contract.transferOwnership
- transfers ownership of token contract to the address that holds collected ether, which filled at step 2 of ICO Wizard.